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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
# File 'lib/aws-sdk-pinpoint/types.rb', line 4797

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)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
# File 'lib/aws-sdk-pinpoint/types.rb', line 4797

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)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
# File 'lib/aws-sdk-pinpoint/types.rb', line 4797

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)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
# File 'lib/aws-sdk-pinpoint/types.rb', line 4797

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)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
# File 'lib/aws-sdk-pinpoint/types.rb', line 4797

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)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
# File 'lib/aws-sdk-pinpoint/types.rb', line 4797

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