Updates the configuration of an existing origination phone number. You can update the opt-out list, enable or disable two-way messaging, change the TwoWayChannelArn, enable or disable self-managed opt-outs, and enable or disable deletion protection.
See https://www.paws-r-sdk.com/docs/pinpointsmsvoicev2_update_phone_number/ for full documentation.
pinpointsmsvoicev2_update_phone_number(
PhoneNumberId,
TwoWayEnabled = NULL,
TwoWayChannelArn = NULL,
SelfManagedOptOutsEnabled = NULL,
OptOutListName = NULL,
DeletionProtectionEnabled = NULL
)
[required] The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.
By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
The Amazon Resource Name (ARN) of the two way channel.
By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint 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.
The OptOutList to add the phone number to. Valid values for this field can be either the OutOutListName or OutOutListArn.
By default this is set to false. When set to true the phone number can't be deleted.