libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.Types.PhoneNumberCountry

Description

 
Synopsis

Documentation

data PhoneNumberCountry Source #

The phone number country.

See: newPhoneNumberCountry smart constructor.

Constructors

PhoneNumberCountry' 

Fields

Instances

Instances details
Eq PhoneNumberCountry Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberCountry

Read PhoneNumberCountry Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberCountry

Show PhoneNumberCountry Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberCountry

Generic PhoneNumberCountry Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberCountry

Associated Types

type Rep PhoneNumberCountry :: Type -> Type #

NFData PhoneNumberCountry Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberCountry

Methods

rnf :: PhoneNumberCountry -> () #

Hashable PhoneNumberCountry Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberCountry

FromJSON PhoneNumberCountry Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberCountry

type Rep PhoneNumberCountry Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumberCountry

type Rep PhoneNumberCountry = D1 ('MetaData "PhoneNumberCountry" "Amazonka.Chime.Types.PhoneNumberCountry" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "PhoneNumberCountry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "supportedPhoneNumberTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumberType])) :*: S1 ('MetaSel ('Just "countryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPhoneNumberCountry :: PhoneNumberCountry Source #

Create a value of PhoneNumberCountry 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:supportedPhoneNumberTypes:PhoneNumberCountry', phoneNumberCountry_supportedPhoneNumberTypes - The supported phone number types.

$sel:countryCode:PhoneNumberCountry', phoneNumberCountry_countryCode - The phone number country code. Format: ISO 3166-1 alpha-2.

phoneNumberCountry_countryCode :: Lens' PhoneNumberCountry (Maybe Text) Source #

The phone number country code. Format: ISO 3166-1 alpha-2.