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"],
  },
  gps_point: {
    coordinates: {
      latitude: 1.0,
      longitude: 1.0,
    },
    range_in_kilometers: 1.0,
  },
}

Segment location dimensions

Instance Attribute Summary collapse

Instance Attribute Details

#countryTypes::SetDimension

The country or region, in ISO 3166-1 alpha-2 format.

Returns:



8327
8328
8329
8330
8331
# File 'lib/aws-sdk-pinpoint/types.rb', line 8327

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

#gps_pointTypes::GPSPointDimension

The GPS Point dimension.



8327
8328
8329
8330
8331
# File 'lib/aws-sdk-pinpoint/types.rb', line 8327

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