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.IpCity

Description

 
Synopsis

Documentation

data IpCity Source #

Provides information about the city that an IP address originated from.

See: newIpCity smart constructor.

Constructors

IpCity' 

Fields

Instances

Instances details
Eq IpCity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpCity

Methods

(==) :: IpCity -> IpCity -> Bool #

(/=) :: IpCity -> IpCity -> Bool #

Read IpCity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpCity

Show IpCity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpCity

Generic IpCity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpCity

Associated Types

type Rep IpCity :: Type -> Type #

Methods

from :: IpCity -> Rep IpCity x #

to :: Rep IpCity x -> IpCity #

NFData IpCity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpCity

Methods

rnf :: IpCity -> () #

Hashable IpCity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpCity

Methods

hashWithSalt :: Int -> IpCity -> Int #

hash :: IpCity -> Int #

FromJSON IpCity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpCity

type Rep IpCity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IpCity

type Rep IpCity = D1 ('MetaData "IpCity" "Amazonka.MacieV2.Types.IpCity" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "IpCity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newIpCity :: IpCity Source #

Create a value of IpCity 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:name:IpCity', ipCity_name - The name of the city.

ipCity_name :: Lens' IpCity (Maybe Text) Source #

The name of the city.