libZSservicesZSamazonka-snsZSamazonka-sns
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.SNS.Types.PhoneNumberInformation

Description

 
Synopsis

Documentation

data PhoneNumberInformation Source #

A list of phone numbers and their metadata.

See: newPhoneNumberInformation smart constructor.

Constructors

PhoneNumberInformation' 

Fields

Instances

Instances details
Eq PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Read PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Show PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Generic PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Associated Types

type Rep PhoneNumberInformation :: Type -> Type #

NFData PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

Methods

rnf :: PhoneNumberInformation -> () #

Hashable PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

FromXML PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

type Rep PhoneNumberInformation Source # 
Instance details

Defined in Amazonka.SNS.Types.PhoneNumberInformation

type Rep PhoneNumberInformation = D1 ('MetaData "PhoneNumberInformation" "Amazonka.SNS.Types.PhoneNumberInformation" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "PhoneNumberInformation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "iso2CountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "numberCapabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NumberCapability])) :*: S1 ('MetaSel ('Just "routeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteType))))))

newPhoneNumberInformation :: PhoneNumberInformation Source #

Create a value of PhoneNumberInformation 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:status:PhoneNumberInformation', phoneNumberInformation_status - The status of the phone number.

$sel:iso2CountryCode:PhoneNumberInformation', phoneNumberInformation_iso2CountryCode - The two-character code for the country or region, in ISO 3166-1 alpha-2 format.

$sel:createdAt:PhoneNumberInformation', phoneNumberInformation_createdAt - The date and time when the phone number was created.

$sel:phoneNumber:PhoneNumberInformation', phoneNumberInformation_phoneNumber - The phone number.

$sel:numberCapabilities:PhoneNumberInformation', phoneNumberInformation_numberCapabilities - The capabilities of each phone number.

$sel:routeType:PhoneNumberInformation', phoneNumberInformation_routeType - The list of supported routes.

phoneNumberInformation_iso2CountryCode :: Lens' PhoneNumberInformation (Maybe Text) Source #

The two-character code for the country or region, in ISO 3166-1 alpha-2 format.

phoneNumberInformation_createdAt :: Lens' PhoneNumberInformation (Maybe UTCTime) Source #

The date and time when the phone number was created.