Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data PhoneNumber = PhoneNumber' {
- status :: Maybe PhoneNumberStatus
- deletionTimestamp :: Maybe POSIX
- phoneNumberId :: Maybe Text
- country :: Maybe Text
- updatedTimestamp :: Maybe POSIX
- productType :: Maybe PhoneNumberProductType
- e164PhoneNumber :: Maybe (Sensitive Text)
- associations :: Maybe [PhoneNumberAssociation]
- callingName :: Maybe (Sensitive Text)
- type' :: Maybe PhoneNumberType
- createdTimestamp :: Maybe POSIX
- capabilities :: Maybe PhoneNumberCapabilities
- callingNameStatus :: Maybe CallingNameStatus
- newPhoneNumber :: PhoneNumber
- phoneNumber_status :: Lens' PhoneNumber (Maybe PhoneNumberStatus)
- phoneNumber_deletionTimestamp :: Lens' PhoneNumber (Maybe UTCTime)
- phoneNumber_phoneNumberId :: Lens' PhoneNumber (Maybe Text)
- phoneNumber_country :: Lens' PhoneNumber (Maybe Text)
- phoneNumber_updatedTimestamp :: Lens' PhoneNumber (Maybe UTCTime)
- phoneNumber_productType :: Lens' PhoneNumber (Maybe PhoneNumberProductType)
- phoneNumber_e164PhoneNumber :: Lens' PhoneNumber (Maybe Text)
- phoneNumber_associations :: Lens' PhoneNumber (Maybe [PhoneNumberAssociation])
- phoneNumber_callingName :: Lens' PhoneNumber (Maybe Text)
- phoneNumber_type :: Lens' PhoneNumber (Maybe PhoneNumberType)
- phoneNumber_createdTimestamp :: Lens' PhoneNumber (Maybe UTCTime)
- phoneNumber_capabilities :: Lens' PhoneNumber (Maybe PhoneNumberCapabilities)
- phoneNumber_callingNameStatus :: Lens' PhoneNumber (Maybe CallingNameStatus)
Documentation
data PhoneNumber Source #
A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice Connector.
See: newPhoneNumber
smart constructor.
PhoneNumber' | |
|
Instances
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_status :: Lens' PhoneNumber (Maybe PhoneNumberStatus) Source #
The phone number status.
phoneNumber_deletionTimestamp :: Lens' PhoneNumber (Maybe UTCTime) Source #
The deleted phone number timestamp, in ISO 8601 format.
phoneNumber_phoneNumberId :: Lens' PhoneNumber (Maybe Text) Source #
The phone number ID.
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_productType :: Lens' PhoneNumber (Maybe PhoneNumberProductType) Source #
The phone number product type.
phoneNumber_e164PhoneNumber :: Lens' PhoneNumber (Maybe Text) Source #
The phone number, in E.164 format.
phoneNumber_associations :: Lens' PhoneNumber (Maybe [PhoneNumberAssociation]) Source #
The phone number associations.
phoneNumber_callingName :: Lens' PhoneNumber (Maybe Text) Source #
The outbound calling name associated with the phone number.
phoneNumber_type :: Lens' PhoneNumber (Maybe PhoneNumberType) Source #
The phone number type.
phoneNumber_createdTimestamp :: Lens' PhoneNumber (Maybe UTCTime) Source #
The phone number creation timestamp, in ISO 8601 format.
phoneNumber_capabilities :: Lens' PhoneNumber (Maybe PhoneNumberCapabilities) Source #
The phone number capabilities.
phoneNumber_callingNameStatus :: Lens' PhoneNumber (Maybe CallingNameStatus) Source #
The outbound calling name status.