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"], # 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.

Constant Summary collapse

SENSITIVE =
[]

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:



14412
14413
14414
14415
14416
14417
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 14412

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

#gps_pointTypes::GPSPointDimension

The GPS location and range for the segment.



14412
14413
14414
14415
14416
14417
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 14412

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