libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.GeoLocation

Description

 
Synopsis

Documentation

data GeoLocation Source #

Provides the latitude and longitude coordinates of a location.

See: newGeoLocation smart constructor.

Constructors

GeoLocation' 

Fields

Instances

Instances details
Eq GeoLocation Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.GeoLocation

Read GeoLocation Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.GeoLocation

Show GeoLocation Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.GeoLocation

Generic GeoLocation Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.GeoLocation

Associated Types

type Rep GeoLocation :: Type -> Type #

NFData GeoLocation Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.GeoLocation

Methods

rnf :: GeoLocation -> () #

Hashable GeoLocation Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.GeoLocation

ToJSON GeoLocation Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.GeoLocation

FromJSON GeoLocation Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.GeoLocation

type Rep GeoLocation Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.GeoLocation

type Rep GeoLocation = D1 ('MetaData "GeoLocation" "Amazonka.SecurityHub.Types.GeoLocation" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "GeoLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "lon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

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.