amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MacieV2.Types.IpGeoLocation

Description

 
Synopsis

Documentation

data IpGeoLocation Source #

Provides geographic coordinates that indicate where a specified IP address originated from.

See: newIpGeoLocation smart constructor.

Constructors

IpGeoLocation' 

Fields

  • lat :: Maybe Double

    The latitude coordinate of the location, rounded to four decimal places.

  • lon :: Maybe Double

    The longitude coordinate of the location, rounded to four decimal places.

Instances

Instances details
FromJSON IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

Generic IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

Associated Types

type Rep IpGeoLocation :: Type -> Type #

Read IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

Show IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

NFData IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

Methods

rnf :: IpGeoLocation -> () #

Eq IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

Hashable IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

type Rep IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

type Rep IpGeoLocation = D1 ('MetaData "IpGeoLocation" "Amazonka.MacieV2.Types.IpGeoLocation" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "IpGeoLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "lon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newIpGeoLocation :: IpGeoLocation Source #

Create a value of IpGeoLocation 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:IpGeoLocation', ipGeoLocation_lat - The latitude coordinate of the location, rounded to four decimal places.

$sel:lon:IpGeoLocation', ipGeoLocation_lon - The longitude coordinate of the location, rounded to four decimal places.

ipGeoLocation_lat :: Lens' IpGeoLocation (Maybe Double) Source #

The latitude coordinate of the location, rounded to four decimal places.

ipGeoLocation_lon :: Lens' IpGeoLocation (Maybe Double) Source #

The longitude coordinate of the location, rounded to four decimal places.