Class: Aws::Pinpoint::Types::EndpointLocation

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

Overview

Specifies geographic information about an endpoint.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cityString

The name of the city where the endpoint is located.

Returns:

  • (String)


4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 4774

class EndpointLocation < Struct.new(
  :city,
  :country,
  :latitude,
  :longitude,
  :postal_code,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#countryString

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the endpoint is located. For example, US for the United States.

Returns:

  • (String)


4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 4774

class EndpointLocation < Struct.new(
  :city,
  :country,
  :latitude,
  :longitude,
  :postal_code,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#latitudeFloat

The latitude coordinate of the endpoint location, rounded to one decimal place.

Returns:

  • (Float)


4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 4774

class EndpointLocation < Struct.new(
  :city,
  :country,
  :latitude,
  :longitude,
  :postal_code,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#longitudeFloat

The longitude coordinate of the endpoint location, rounded to one decimal place.

Returns:

  • (Float)


4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 4774

class EndpointLocation < Struct.new(
  :city,
  :country,
  :latitude,
  :longitude,
  :postal_code,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#postal_codeString

The postal or ZIP code for the area where the endpoint is located.

Returns:

  • (String)


4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 4774

class EndpointLocation < Struct.new(
  :city,
  :country,
  :latitude,
  :longitude,
  :postal_code,
  :region)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The name of the region where the endpoint is located. For locations in the United States, this value is the name of a state.

Returns:

  • (String)


4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 4774

class EndpointLocation < Struct.new(
  :city,
  :country,
  :latitude,
  :longitude,
  :postal_code,
  :region)
  SENSITIVE = []
  include Aws::Structure
end