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

Description

 
Synopsis

Documentation

data PhoneNumber Source #

A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice Connector.

See: newPhoneNumber smart constructor.

Constructors

PhoneNumber' 

Fields

Instances

Instances details
Eq PhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumber

Show PhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumber

Generic PhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumber

Associated Types

type Rep PhoneNumber :: Type -> Type #

NFData PhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumber

Methods

rnf :: PhoneNumber -> () #

Hashable PhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumber

FromJSON PhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumber

type Rep PhoneNumber Source # 
Instance details

Defined in Amazonka.Chime.Types.PhoneNumber

type Rep PhoneNumber = D1 ('MetaData "PhoneNumber" "Amazonka.Chime.Types.PhoneNumber" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "PhoneNumber'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PhoneNumberStatus)) :*: (S1 ('MetaSel ('Just "deletionTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "phoneNumberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "country") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "updatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "productType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PhoneNumberProductType))))) :*: ((S1 ('MetaSel ('Just "e164PhoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "associations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PhoneNumberAssociation])) :*: S1 ('MetaSel ('Just "callingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PhoneNumberType)) :*: S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PhoneNumberCapabilities)) :*: S1 ('MetaSel ('Just "callingNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CallingNameStatus)))))))

newPhoneNumber :: PhoneNumber Source #

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

$sel:deletionTimestamp:PhoneNumber', phoneNumber_deletionTimestamp - The deleted phone number timestamp, in ISO 8601 format.

$sel:phoneNumberId:PhoneNumber', phoneNumber_phoneNumberId - The phone number ID.

$sel:country:PhoneNumber', phoneNumber_country - The phone number country. Format: ISO 3166-1 alpha-2.

$sel:updatedTimestamp:PhoneNumber', phoneNumber_updatedTimestamp - The updated phone number timestamp, in ISO 8601 format.

$sel:productType:PhoneNumber', phoneNumber_productType - The phone number product type.

$sel:e164PhoneNumber:PhoneNumber', phoneNumber_e164PhoneNumber - The phone number, in E.164 format.

$sel:associations:PhoneNumber', phoneNumber_associations - The phone number associations.

$sel:callingName:PhoneNumber', phoneNumber_callingName - The outbound calling name associated with the phone number.

$sel:type':PhoneNumber', phoneNumber_type - The phone number type.

$sel:createdTimestamp:PhoneNumber', phoneNumber_createdTimestamp - The phone number creation timestamp, in ISO 8601 format.

$sel:capabilities:PhoneNumber', phoneNumber_capabilities - The phone number capabilities.

$sel:callingNameStatus:PhoneNumber', phoneNumber_callingNameStatus - The outbound calling name status.

phoneNumber_deletionTimestamp :: Lens' PhoneNumber (Maybe UTCTime) Source #

The deleted phone number timestamp, in ISO 8601 format.

phoneNumber_country :: Lens' PhoneNumber (Maybe Text) Source #

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

phoneNumber_updatedTimestamp :: Lens' PhoneNumber (Maybe UTCTime) Source #

The updated phone number timestamp, in ISO 8601 format.

phoneNumber_e164PhoneNumber :: Lens' PhoneNumber (Maybe Text) Source #

The phone number, in E.164 format.

phoneNumber_callingName :: Lens' PhoneNumber (Maybe Text) Source #

The outbound calling name associated with the phone number.

phoneNumber_createdTimestamp :: Lens' PhoneNumber (Maybe UTCTime) Source #

The phone number creation timestamp, in ISO 8601 format.