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",
}
Endpoint location data
Instance Attribute Summary collapse
-
#city ⇒ String
The city where the endpoint is located.
-
#country ⇒ String
Country according to ISO 3166-1 Alpha-2 codes.
-
#latitude ⇒ Float
The latitude of the endpoint location.
-
#longitude ⇒ Float
The longitude of the endpoint location.
-
#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.
3222 3223 3224 3225 3226 3227 3228 3229 3230 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3222 class EndpointLocation < Struct.new( :city, :country, :latitude, :longitude, :postal_code, :region) include Aws::Structure end |
#country ⇒ String
Country according to ISO 3166-1 Alpha-2 codes. For example, US.
3222 3223 3224 3225 3226 3227 3228 3229 3230 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3222 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 (Roughly corresponding to a mile).
3222 3223 3224 3225 3226 3227 3228 3229 3230 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3222 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 (Roughly corresponding to a mile).
3222 3223 3224 3225 3226 3227 3228 3229 3230 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3222 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.
3222 3223 3224 3225 3226 3227 3228 3229 3230 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3222 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, corresponds to a state in US.
3222 3223 3224 3225 3226 3227 3228 3229 3230 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3222 class EndpointLocation < Struct.new( :city, :country, :latitude, :longitude, :postal_code, :region) include Aws::Structure end |