| 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 |
Amazonka.SecurityHub.Types.GeoLocation
Description
Synopsis
- data GeoLocation = GeoLocation' {}
- newGeoLocation :: GeoLocation
- geoLocation_lat :: Lens' GeoLocation (Maybe Double)
- geoLocation_lon :: Lens' GeoLocation (Maybe Double)
Documentation
data GeoLocation Source #
Provides the latitude and longitude coordinates of a location.
See: newGeoLocation smart constructor.
Constructors
| GeoLocation' | |
Instances
newGeoLocation :: GeoLocation Source #
Create a value of GeoLocation 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:lat:GeoLocation', geoLocation_lat - The latitude of the location.
$sel:lon:GeoLocation', geoLocation_lon - The longitude of the location.
geoLocation_lat :: Lens' GeoLocation (Maybe Double) Source #
The latitude of the location.
geoLocation_lon :: Lens' GeoLocation (Maybe Double) Source #
The longitude of the location.