PinpointSMSVoiceV2 / Client / set_media_message_spend_limit_override

set_media_message_spend_limit_override#

PinpointSMSVoiceV2.Client.set_media_message_spend_limit_override(**kwargs)#

Sets an account level monthly spend limit override for sending MMS messages. The requested spend limit must be less than or equal to the MaxLimit, which is set by Amazon Web Services.

See also: AWS API Documentation

Request Syntax

response = client.set_media_message_spend_limit_override(
    MonthlyLimit=123
)
Parameters:

MonthlyLimit (integer) –

[REQUIRED]

The new monthly limit to enforce on text messages.

Return type:

dict

Returns:

Response Syntax

{
    'MonthlyLimit': 123
}

Response Structure

  • (dict) –

    • MonthlyLimit (integer) –

      The current monthly limit to enforce on sending text messages.

Exceptions

  • PinpointSMSVoiceV2.Client.exceptions.ThrottlingException

  • PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException

  • PinpointSMSVoiceV2.Client.exceptions.ValidationException

  • PinpointSMSVoiceV2.Client.exceptions.InternalServerException