Class: Aws::Pinpoint::Types::SegmentLocation

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass SegmentLocation data as a hash:

{
  country: {
    dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
    values: ["__string"], # required
  },
  gps_point: {
    coordinates: { # required
      latitude: 1.0, # required
      longitude: 1.0, # required
    },
    range_in_kilometers: 1.0,
  },
}

Specifies geographical dimension settings for a segment.

Instance Attribute Summary collapse

Instance Attribute Details

#countryTypes::SetDimension

The country or region code, in ISO 3166-1 alpha-2 format, for the segment.

Returns:



13433
13434
13435
13436
13437
# File 'lib/aws-sdk-pinpoint/types.rb', line 13433

class SegmentLocation < Struct.new(
  :country,
  :gps_point)
  include Aws::Structure
end

#gps_pointTypes::GPSPointDimension

The GPS location and range for the segment.



13433
13434
13435
13436
13437
# File 'lib/aws-sdk-pinpoint/types.rb', line 13433

class SegmentLocation < Struct.new(
  :country,
  :gps_point)
  include Aws::Structure
end