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 GeoLocationDetails = GeoLocationDetails' {}
- newGeoLocationDetails :: GeoLocationDetails
- geoLocationDetails_subdivisionName :: Lens' GeoLocationDetails (Maybe Text)
- geoLocationDetails_subdivisionCode :: Lens' GeoLocationDetails (Maybe Text)
- geoLocationDetails_countryName :: Lens' GeoLocationDetails (Maybe Text)
- geoLocationDetails_countryCode :: Lens' GeoLocationDetails (Maybe Text)
- geoLocationDetails_continentCode :: Lens' GeoLocationDetails (Maybe Text)
- geoLocationDetails_continentName :: Lens' GeoLocationDetails (Maybe Text)
Documentation
data GeoLocationDetails Source #
A complex type that contains the codes and full continent, country, and
subdivision names for the specified geolocation
code.
See: newGeoLocationDetails
smart constructor.
GeoLocationDetails' | |
|
Instances
newGeoLocationDetails :: GeoLocationDetails Source #
Create a value of GeoLocationDetails
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:subdivisionName:GeoLocationDetails'
, geoLocationDetails_subdivisionName
- The full name of the subdivision. Route 53 currently supports only
states in the United States.
$sel:subdivisionCode:GeoLocationDetails'
, geoLocationDetails_subdivisionCode
- The code for the subdivision, such as a particular state within the
United States. For a list of US state abbreviations, see
Appendix B: Two–Letter State and Possession Abbreviations
on the United States Postal Service website. For a list of all supported
subdivision codes, use the
ListGeoLocations
API.
$sel:countryName:GeoLocationDetails'
, geoLocationDetails_countryName
- The name of the country.
$sel:countryCode:GeoLocationDetails'
, geoLocationDetails_countryCode
- The two-letter code for the country.
$sel:continentCode:GeoLocationDetails'
, geoLocationDetails_continentCode
- The two-letter code for the continent.
$sel:continentName:GeoLocationDetails'
, geoLocationDetails_continentName
- The full name of the continent.
geoLocationDetails_subdivisionName :: Lens' GeoLocationDetails (Maybe Text) Source #
The full name of the subdivision. Route 53 currently supports only states in the United States.
geoLocationDetails_subdivisionCode :: Lens' GeoLocationDetails (Maybe Text) Source #
The code for the subdivision, such as a particular state within the United States. For a list of US state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website. For a list of all supported subdivision codes, use the ListGeoLocations API.
geoLocationDetails_countryName :: Lens' GeoLocationDetails (Maybe Text) Source #
The name of the country.
geoLocationDetails_countryCode :: Lens' GeoLocationDetails (Maybe Text) Source #
The two-letter code for the country.
geoLocationDetails_continentCode :: Lens' GeoLocationDetails (Maybe Text) Source #
The two-letter code for the continent.
geoLocationDetails_continentName :: Lens' GeoLocationDetails (Maybe Text) Source #
The full name of the continent.