| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.Types.EndpointLocation
Description
Synopsis
- data EndpointLocation = EndpointLocation' {}
- newEndpointLocation :: EndpointLocation
- endpointLocation_city :: Lens' EndpointLocation (Maybe Text)
- endpointLocation_country :: Lens' EndpointLocation (Maybe Text)
- endpointLocation_latitude :: Lens' EndpointLocation (Maybe Double)
- endpointLocation_longitude :: Lens' EndpointLocation (Maybe Double)
- endpointLocation_postalCode :: Lens' EndpointLocation (Maybe Text)
- endpointLocation_region :: Lens' EndpointLocation (Maybe Text)
Documentation
data EndpointLocation Source #
Specifies geographic information about an endpoint.
See: newEndpointLocation smart constructor.
Constructors
| EndpointLocation' | |
Fields
| |
Instances
newEndpointLocation :: EndpointLocation Source #
Create a value of EndpointLocation with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:city:EndpointLocation', endpointLocation_city - The name of the city where the endpoint is located.
$sel:country:EndpointLocation', endpointLocation_country - 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.
$sel:latitude:EndpointLocation', endpointLocation_latitude - The latitude coordinate of the endpoint location, rounded to one decimal
place.
$sel:longitude:EndpointLocation', endpointLocation_longitude - The longitude coordinate of the endpoint location, rounded to one
decimal place.
$sel:postalCode:EndpointLocation', endpointLocation_postalCode - The postal or ZIP code for the area where the endpoint is located.
$sel:region:EndpointLocation', endpointLocation_region - The name of the region where the endpoint is located. For locations in
the United States, this value is the name of a state.
endpointLocation_city :: Lens' EndpointLocation (Maybe Text) Source #
The name of the city where the endpoint is located.
endpointLocation_country :: Lens' EndpointLocation (Maybe Text) Source #
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.
endpointLocation_latitude :: Lens' EndpointLocation (Maybe Double) Source #
The latitude coordinate of the endpoint location, rounded to one decimal place.
endpointLocation_longitude :: Lens' EndpointLocation (Maybe Double) Source #
The longitude coordinate of the endpoint location, rounded to one decimal place.
endpointLocation_postalCode :: Lens' EndpointLocation (Maybe Text) Source #
The postal or ZIP code for the area where the endpoint is located.
endpointLocation_region :: Lens' EndpointLocation (Maybe Text) Source #
The name of the region where the endpoint is located. For locations in the United States, this value is the name of a state.