:doc:`PinpointEmail <../../pinpoint-email>` / Client / put_configuration_set_sending_options

*************************************
put_configuration_set_sending_options
*************************************



.. py:method:: PinpointEmail.Client.put_configuration_set_sending_options(**kwargs)

  

  Enable or disable email sending for messages that use a particular configuration set in a specific AWS Region.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetSendingOptions>`_  


  **Request Syntax**
  ::

    response = client.put_configuration_set_sending_options(
        ConfigurationSetName='string',
        SendingEnabled=True|False
    )
    
  :type ConfigurationSetName: string
  :param ConfigurationSetName: **[REQUIRED]** 

    The name of the configuration set that you want to enable or disable email sending for.

    

  
  :type SendingEnabled: boolean
  :param SendingEnabled: 

    If ``true``, email sending is enabled for the configuration set. If ``false``, email sending is disabled for the configuration set.

    

  
  
  :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:`PinpointEmail.Client.exceptions.NotFoundException`

  
  *   :py:class:`PinpointEmail.Client.exceptions.TooManyRequestsException`

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

  