RequestPhoneNumberResult
¶
Source code in docs_src/capo_pinpoint_sms_voice_v2/types/request_phone_number_result.py
created_timestamp
instance-attribute
¶
created_timestamp: NotRequired[datetime]
The time when the phone number was created, in UNIX epoch time format.
deletion_protection_enabled
instance-attribute
¶
deletion_protection_enabled: bool
By default this is set to false. When set to true the phone number can't be deleted.
international_sending_enabled
instance-attribute
¶
international_sending_enabled: bool
By default this is set to false. When set to true the international sending of phone number is Enabled.
iso_country_code
instance-attribute
¶
iso_country_code: NotRequired[IsoCountryCode]
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
message_type
instance-attribute
¶
message_type: NotRequired[MessageType]
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
monthly_leasing_price
instance-attribute
¶
monthly_leasing_price: NotRequired[str]
The monthly price, in US dollars, to lease the phone number.
number_capabilities
instance-attribute
¶
number_capabilities: NotRequired[NumberCapabilityList]
Indicates if the phone number will be used for text messages, voice messages or both.
number_type
instance-attribute
¶
number_type: NotRequired[RequestableNumberType]
The type of number that was released.
opt_out_list_name
instance-attribute
¶
opt_out_list_name: NotRequired[OptOutListName]
The name of the OptOutList that is associated with the requested phone number.
phone_number
instance-attribute
¶
phone_number: NotRequired[PhoneNumber]
The new phone number that was requested.
phone_number_arn
instance-attribute
¶
phone_number_arn: NotRequired[str]
The Amazon Resource Name (ARN) of the requested phone number.
phone_number_id
instance-attribute
¶
phone_number_id: NotRequired[str]
The unique identifier of the new phone number.
pool_id
instance-attribute
¶
pool_id: NotRequired[str]
The unique identifier of the pool associated with the phone number
registration_id
instance-attribute
¶
registration_id: NotRequired[str]
The unique identifier for the registration.
self_managed_opt_outs_enabled
instance-attribute
¶
self_managed_opt_outs_enabled: bool
By default this is set to false. When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
tags
instance-attribute
¶
tags: NotRequired[TagList]
An array of key and value pair tags that are associated with the phone number.
two_way_channel_arn
instance-attribute
¶
two_way_channel_arn: NotRequired[TwoWayChannelArn]
The ARN used to identify the two way channel.
two_way_channel_role
instance-attribute
¶
two_way_channel_role: NotRequired[IamRoleArn]
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.