:doc:`SESV2 <../../sesv2>` / Client / put_account_sending_attributes

******************************
put_account_sending_attributes
******************************



.. py:method:: SESV2.Client.put_account_sending_attributes(**kwargs)

  

  Enable or disable the ability of your account to send email.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSendingAttributes>`_  


  **Request Syntax**
  ::

    response = client.put_account_sending_attributes(
        SendingEnabled=True|False
    )
    
  :type SendingEnabled: boolean
  :param SendingEnabled: 

    Enables or disables your account's ability to send email. Set to ``true`` to enable email sending, or set to ``false`` to disable email sending.

     

    .. note::

      

      If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.

      

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      An HTTP 200 response if the request succeeds, or an error message if the request fails.

      
  
  **Exceptions**
  
  *   :py:class:`SESV2.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`SESV2.Client.exceptions.BadRequestException`

  