Class: Aws::Pinpoint::Types::EndpointLocation
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::EndpointLocation
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
Overview
When making an API call, you may pass EndpointLocation data as a hash:
{
city: "__string",
country: "__string",
latitude: 1.0,
longitude: 1.0,
postal_code: "__string",
region: "__string",
}
Location data for the endpoint.
Instance Attribute Summary collapse
-
#city ⇒ String
The city where the endpoint is located.
-
#country ⇒ String
The two-letter code for the country or region of the endpoint.
-
#latitude ⇒ Float
The latitude of the endpoint location, rounded to one decimal place.
-
#longitude ⇒ Float
The longitude of the endpoint location, rounded to one decimal place.
-
#postal_code ⇒ String
The postal code or zip code of the endpoint.
-
#region ⇒ String
The region of the endpoint location.
Instance Attribute Details
#city ⇒ String
The city where the endpoint is located.
3782 3783 3784 3785 3786 3787 3788 3789 3790 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3782 class EndpointLocation < Struct.new( :city, :country, :latitude, :longitude, :postal_code, :region) include Aws::Structure end |
#country ⇒ String
The two-letter code for the country or region of the endpoint. Specified as an ISO 3166-1 alpha-2 code, such as “US” for the United States.
3782 3783 3784 3785 3786 3787 3788 3789 3790 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3782 class EndpointLocation < Struct.new( :city, :country, :latitude, :longitude, :postal_code, :region) include Aws::Structure end |
#latitude ⇒ Float
The latitude of the endpoint location, rounded to one decimal place.
3782 3783 3784 3785 3786 3787 3788 3789 3790 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3782 class EndpointLocation < Struct.new( :city, :country, :latitude, :longitude, :postal_code, :region) include Aws::Structure end |
#longitude ⇒ Float
The longitude of the endpoint location, rounded to one decimal place.
3782 3783 3784 3785 3786 3787 3788 3789 3790 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3782 class EndpointLocation < Struct.new( :city, :country, :latitude, :longitude, :postal_code, :region) include Aws::Structure end |
#postal_code ⇒ String
The postal code or zip code of the endpoint.
3782 3783 3784 3785 3786 3787 3788 3789 3790 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3782 class EndpointLocation < Struct.new( :city, :country, :latitude, :longitude, :postal_code, :region) include Aws::Structure end |
#region ⇒ String
The region of the endpoint location. For example, in the United States, this corresponds to a state.
3782 3783 3784 3785 3786 3787 3788 3789 3790 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3782 class EndpointLocation < Struct.new( :city, :country, :latitude, :longitude, :postal_code, :region) include Aws::Structure end |