PinpointSMSVoiceV2 / Client / update_sender_id
update_sender_id#
- PinpointSMSVoiceV2.Client.update_sender_id(**kwargs)#
Updates the configuration of an existing sender ID.
See also: AWS API Documentation
Request Syntax
response = client.update_sender_id( SenderId='string', IsoCountryCode='string', DeletionProtectionEnabled=True|False )
- Parameters:
SenderId (string) –
[REQUIRED]
The sender ID to update.
IsoCountryCode (string) –
[REQUIRED]
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
DeletionProtectionEnabled (boolean) – By default this is set to false. When set to true the sender ID can’t be deleted.
- Return type:
dict
- Returns:
Response Syntax
{ 'SenderIdArn': 'string', 'SenderId': 'string', 'IsoCountryCode': 'string', 'MessageTypes': [ 'TRANSACTIONAL'|'PROMOTIONAL', ], 'MonthlyLeasingPrice': 'string', 'DeletionProtectionEnabled': True|False, 'Registered': True|False, 'RegistrationId': 'string' }
Response Structure
(dict) –
SenderIdArn (string) –
The Amazon Resource Name (ARN) associated with the SenderId.
SenderId (string) –
The sender ID that was updated.
IsoCountryCode (string) –
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
MessageTypes (list) –
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.
(string) –
MonthlyLeasingPrice (string) –
The monthly price, in US dollars, to lease the sender ID.
DeletionProtectionEnabled (boolean) –
By default this is set to false. When set to true the sender ID can’t be deleted.
Registered (boolean) –
True if the sender ID is registered..
RegistrationId (string) –
The unique identifier for the registration.
Exceptions
PinpointSMSVoiceV2.Client.exceptions.ThrottlingException
PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException
PinpointSMSVoiceV2.Client.exceptions.ResourceNotFoundException
PinpointSMSVoiceV2.Client.exceptions.ValidationException
PinpointSMSVoiceV2.Client.exceptions.InternalServerException