:doc:`PinpointSMSVoiceV2 <../../pinpoint-sms-voice-v2>` / Client / set_media_message_spend_limit_override

**************************************
set_media_message_spend_limit_override
**************************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetMediaMessageSpendLimitOverride>`_  


  **Request Syntax**
  ::

    response = client.set_media_message_spend_limit_override(
        MonthlyLimit=123
    )
    
  :type MonthlyLimit: integer
  :param MonthlyLimit: **[REQUIRED]** 

    The new monthly limit to enforce on text messages.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'MonthlyLimit': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **MonthlyLimit** *(integer) --* 

        The current monthly limit to enforce on sending text messages.

        
  
  **Exceptions**
  
  *   :py:class:`PinpointSMSVoiceV2.Client.exceptions.ThrottlingException`

  
  *   :py:class:`PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`PinpointSMSVoiceV2.Client.exceptions.ValidationException`

  
  *   :py:class:`PinpointSMSVoiceV2.Client.exceptions.InternalServerException`

  