Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data EndpointLocation = EndpointLocation' {}
- newEndpointLocation :: EndpointLocation
- endpointLocation_postalCode :: Lens' EndpointLocation (Maybe Text)
- endpointLocation_latitude :: Lens' EndpointLocation (Maybe Double)
- endpointLocation_country :: Lens' EndpointLocation (Maybe Text)
- endpointLocation_city :: Lens' EndpointLocation (Maybe Text)
- endpointLocation_region :: Lens' EndpointLocation (Maybe Text)
- endpointLocation_longitude :: Lens' EndpointLocation (Maybe Double)
Documentation
data EndpointLocation Source #
Specifies geographic information about an endpoint.
See: newEndpointLocation
smart constructor.
EndpointLocation' | |
|
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:postalCode:EndpointLocation'
, endpointLocation_postalCode
- The postal or ZIP code for the area where the endpoint is located.
$sel:latitude:EndpointLocation'
, endpointLocation_latitude
- The latitude coordinate of the endpoint location, rounded to one decimal
place.
$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:city:EndpointLocation'
, endpointLocation_city
- The name of the city 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.
$sel:longitude:EndpointLocation'
, endpointLocation_longitude
- 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_latitude :: Lens' EndpointLocation (Maybe Double) Source #
The latitude coordinate of the endpoint location, rounded to one decimal place.
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_city :: Lens' EndpointLocation (Maybe Text) Source #
The name of the city 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.
endpointLocation_longitude :: Lens' EndpointLocation (Maybe Double) Source #
The longitude coordinate of the endpoint location, rounded to one decimal place.