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

**************************************
put_configuration_set_tracking_options
**************************************



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

  

  Specify a custom domain to use for open and click tracking elements in email that you send.

  

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


  **Request Syntax**
  ::

    response = client.put_configuration_set_tracking_options(
        ConfigurationSetName='string',
        CustomRedirectDomain='string',
        HttpsPolicy='REQUIRE'|'REQUIRE_OPEN_ONLY'|'OPTIONAL'
    )
    
  :type ConfigurationSetName: string
  :param ConfigurationSetName: **[REQUIRED]** 

    The name of the configuration set.

    

  
  :type CustomRedirectDomain: string
  :param CustomRedirectDomain: 

    The domain to use to track open and click events.

    

  
  :type HttpsPolicy: string
  :param HttpsPolicy: 

    The https policy to use for tracking open and click events. If the value is OPTIONAL or HttpsPolicy is not specified, the open trackers use HTTP and click tracker use the original protocol of the link. If the value is REQUIRE, both open and click tracker uses HTTPS and if the value is REQUIRE_OPEN_ONLY open tracker uses HTTPS and link tracker is same as original protocol of the link.

    

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

  