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

***************************************
put_configuration_set_archiving_options
***************************************



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

  

  Associate the configuration set with a MailManager archive. When you send email using the ``SendEmail`` or ``SendBulkEmail`` operations the message as it will be given to the receiving SMTP server will be archived, along with the recipient information.

  

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


  **Request Syntax**
  ::

    response = client.put_configuration_set_archiving_options(
        ConfigurationSetName='string',
        ArchiveArn='string'
    )
    
  :type ConfigurationSetName: string
  :param ConfigurationSetName: **[REQUIRED]** 

    The name of the configuration set to associate with a MailManager archive.

    

  
  :type ArchiveArn: string
  :param ArchiveArn: 

    The Amazon Resource Name (ARN) of the MailManager archive that the Amazon SES API v2 sends email to.

    

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

  