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

*******************
update_contact_list
*******************



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

  

  Updates contact list metadata. This operation does a complete replacement.

  

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


  **Request Syntax**
  ::

    response = client.update_contact_list(
        ContactListName='string',
        Topics=[
            {
                'TopicName': 'string',
                'DisplayName': 'string',
                'Description': 'string',
                'DefaultSubscriptionStatus': 'OPT_IN'|'OPT_OUT'
            },
        ],
        Description='string'
    )
    
  :type ContactListName: string
  :param ContactListName: **[REQUIRED]** 

    The name of the contact list.

    

  
  :type Topics: list
  :param Topics: 

    An interest group, theme, or label within a list. A contact list can have multiple topics.

    

  
    - *(dict) --* 

      An interest group, theme, or label within a list. Lists can have multiple topics.

      

    
      - **TopicName** *(string) --* **[REQUIRED]** 

        The name of the topic.

        

      
      - **DisplayName** *(string) --* **[REQUIRED]** 

        The name of the topic the contact will see.

        

      
      - **Description** *(string) --* 

        A description of what the topic is about, which the contact will see.

        

      
      - **DefaultSubscriptionStatus** *(string) --* **[REQUIRED]** 

        The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.

        

      
    

  :type Description: string
  :param Description: 

    A description of what the contact list is about.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`SESV2.Client.exceptions.BadRequestException`

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

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

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

  