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

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



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

  

  Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.

  

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


  **Request Syntax**
  ::

    response = client.put_configuration_set_delivery_options(
        ConfigurationSetName='string',
        TlsPolicy='REQUIRE'|'OPTIONAL',
        SendingPoolName='string',
        MaxDeliverySeconds=123
    )
    
  :type ConfigurationSetName: string
  :param ConfigurationSetName: **[REQUIRED]** 

    The name of the configuration set to associate with a dedicated IP pool.

    

  
  :type TlsPolicy: string
  :param TlsPolicy: 

    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.

    

  
  :type SendingPoolName: string
  :param SendingPoolName: 

    The name of the dedicated IP pool to associate with the configuration set.

    

  
  :type MaxDeliverySeconds: integer
  :param MaxDeliverySeconds: 

    The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

    

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

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

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

  