PinpointSMSVoiceV2 / Client / set_voice_message_spend_limit_override

set_voice_message_spend_limit_override#

PinpointSMSVoiceV2.Client.set_voice_message_spend_limit_override(**kwargs)#

Sets an account level monthly spend limit override for sending voice 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_voice_message_spend_limit_override(
    MonthlyLimit=123
)
Parameters:

MonthlyLimit (integer) –

[REQUIRED]

The new monthly limit to enforce on voice messages.

Return type:

dict

Returns:

Response Syntax

{
    'MonthlyLimit': 123
}

Response Structure

  • (dict) –

    • MonthlyLimit (integer) –

      The current monthly limit to enforce on sending voice messages.

Exceptions

  • PinpointSMSVoiceV2.Client.exceptions.ThrottlingException

  • PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException

  • PinpointSMSVoiceV2.Client.exceptions.ValidationException

  • PinpointSMSVoiceV2.Client.exceptions.InternalServerException