libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.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
Eq IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

Read IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

Show 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 #

NFData IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

Methods

rnf :: IpGeoLocation -> () #

Hashable IpGeoLocation Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpGeoLocation

FromJSON 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" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" '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.