:doc:`SES <../../ses>` / Client / put_configuration_set_delivery_options

**************************************
put_configuration_set_delivery_options
**************************************



.. py:method:: SES.Client.put_configuration_set_delivery_options(**kwargs)

  

  Adds or updates the delivery options for a configuration set.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutConfigurationSetDeliveryOptions>`_  


  **Request Syntax**
  ::

    response = client.put_configuration_set_delivery_options(
        ConfigurationSetName='string',
        DeliveryOptions={
            'TlsPolicy': 'Require'|'Optional'
        }
    )
    
  :type ConfigurationSetName: string
  :param ConfigurationSetName: **[REQUIRED]** 

    The name of the configuration set.

    

  
  :type DeliveryOptions: dict
  :param DeliveryOptions: 

    Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).

    

  
    - **TlsPolicy** *(string) --* 

      Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is ``Require``, messages are only delivered if a TLS connection can be established. If the value is ``Optional``, messages can be delivered in plain text if a TLS connection can't be established.

      

    
  
  
  :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:`SES.Client.exceptions.ConfigurationSetDoesNotExistException`

  
  *   :py:class:`SES.Client.exceptions.InvalidDeliveryOptionsException`

  