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) --


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
Response Syntax
    'ConfigurationSetArn': 'string',
    'ConfigurationSetName': 'string',

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.


  • PinpointSMSVoiceV2.Client.exceptions.ThrottlingException
  • PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException
  • PinpointSMSVoiceV2.Client.exceptions.ResourceNotFoundException
  • PinpointSMSVoiceV2.Client.exceptions.ValidationException
  • PinpointSMSVoiceV2.Client.exceptions.InternalServerException