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

Description

 
Synopsis

Documentation

data Country Source #

Information about a country.

See: newCountry smart constructor.

Constructors

Country' 

Fields

Instances

Instances details
Eq Country Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Country

Methods

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

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

Read Country Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Country

Show Country Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Country

Generic Country Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Country

Associated Types

type Rep Country :: Type -> Type #

Methods

from :: Country -> Rep Country x #

to :: Rep Country x -> Country #

NFData Country Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Country

Methods

rnf :: Country -> () #

Hashable Country Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Country

Methods

hashWithSalt :: Int -> Country -> Int #

hash :: Country -> Int #

ToJSON Country Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Country

FromJSON Country Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Country

type Rep Country Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Country

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

newCountry :: Country Source #

Create a value of Country 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:countryName:Country', country_countryName - The name of the country.

$sel:countryCode:Country', country_countryCode - The 2-letter ISO 3166 country code for the country.

country_countryName :: Lens' Country (Maybe Text) Source #

The name of the country.

country_countryCode :: Lens' Country (Maybe Text) Source #

The 2-letter ISO 3166 country code for the country.