libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.Types.City

Description

 
Synopsis

Documentation

data City Source #

Contains information about the city associated with the IP address.

See: newCity smart constructor.

Constructors

City' 

Fields

Instances

Instances details
Eq City Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.City

Methods

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

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

Read City Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.City

Show City Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.City

Methods

showsPrec :: Int -> City -> ShowS #

show :: City -> String #

showList :: [City] -> ShowS #

Generic City Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.City

Associated Types

type Rep City :: Type -> Type #

Methods

from :: City -> Rep City x #

to :: Rep City x -> City #

NFData City Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.City

Methods

rnf :: City -> () #

Hashable City Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.City

Methods

hashWithSalt :: Int -> City -> Int #

hash :: City -> Int #

FromJSON City Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.City

type Rep City Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.City

type Rep City = D1 ('MetaData "City" "Amazonka.GuardDuty.Types.City" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "City'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cityName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newCity :: City Source #

Create a value of City 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:cityName:City', city_cityName - The city name of the remote IP address.

city_cityName :: Lens' City (Maybe Text) Source #

The city name of the remote IP address.