PinpointSMSVoiceV2 / Client / delete_default_message_type
delete_default_message_type#
- PinpointSMSVoiceV2.Client.delete_default_message_type(**kwargs)#
Deletes an existing default message type on a configuration set.
A message type is a type of messages that you plan to send. If you send account-related messages or time-sensitive messages such as one-time passcodes, choose Transactional. If you plan to send messages that contain marketing material or other promotional content, choose Promotional. This setting applies to your entire Amazon Web Services account.
See also: AWS API Documentation
Request Syntax
response = client.delete_default_message_type( ConfigurationSetName='string' )
- Parameters:
ConfigurationSetName (string) –
[REQUIRED]
The name of the configuration set or the configuration set Amazon Resource Name (ARN) to delete the default message type from. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.
- Return type:
dict
- Returns:
Response Syntax
{ 'ConfigurationSetArn': 'string', 'ConfigurationSetName': 'string', 'MessageType': 'TRANSACTIONAL'|'PROMOTIONAL' }
Response Structure
(dict) –
ConfigurationSetArn (string) –
The Amazon Resource Name (ARN) of the configuration set.
ConfigurationSetName (string) –
The name of the configuration set.
MessageType (string) –
The current message type for the configuration set.
Exceptions
PinpointSMSVoiceV2.Client.exceptions.ThrottlingException
PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException
PinpointSMSVoiceV2.Client.exceptions.ResourceNotFoundException
PinpointSMSVoiceV2.Client.exceptions.ValidationException
PinpointSMSVoiceV2.Client.exceptions.InternalServerException