You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/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 filter according to ISO 3166-1 Alpha-2 codes.

Returns:



7192
7193
7194
7195
7196
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 7192

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

#gps_pointTypes::GPSPointDimension

The GPS Point dimension.



7192
7193
7194
7195
7196
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 7192

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