v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14109583546.7 KB

Sets the default message type on a configuration set.

Choose the category of SMS messages that you plan to send from this account. 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.

post/#X-Amz-Target=PinpointSMSVoiceV2.SetDefaultMessageType

Headers

X-Amz-Target'PinpointSMSVoiceV2.SetDefaultMessageType' required

Request body

ConfigurationSetNamestring required

The configuration set to update with a new default message type. This field can be the ConsigurationSetName or ConfigurationSetArn.

MessageType'TRANSACTIONAL' | 'PROMOTIONAL' required

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.

Response

Success

ConfigurationSetArnstring

The Amazon Resource Name (ARN) of the updated configuration set.

ConfigurationSetNamestring

The name of the configuration set that was updated.

MessageType'TRANSACTIONAL' | 'PROMOTIONAL'

The new default message type of the configuration set.