UpdatePhoneNumberRequest
¶
Source code in docs_src/capo_pinpoint_sms_voice_v2/types/update_phone_number_request.py
deletion_protection_enabled
instance-attribute
¶
deletion_protection_enabled: NotRequired[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: NotRequired[bool]
By default this is set to false. When set to true the international sending of phone number is Enabled.
opt_out_list_name
instance-attribute
¶
opt_out_list_name: NotRequired[OptOutListNameOrArn]
The OptOutList to add the phone number to. You can use either the opt out list name or the opt out list ARN.
phone_number_id
instance-attribute
¶
phone_number_id: PhoneNumberIdOrArn
The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.
If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).
self_managed_opt_outs_enabled
instance-attribute
¶
self_managed_opt_outs_enabled: NotRequired[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.
two_way_channel_arn
instance-attribute
¶
two_way_channel_arn: NotRequired[TwoWayChannelArn]
The Amazon Resource Name (ARN) of 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.