update_contact_list

update_contact_list(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.update_contact_list(
    ContactListName='string',
    Topics=[
        {
            'TopicName': 'string',
            'DisplayName': 'string',
            'Description': 'string',
            'DefaultSubscriptionStatus': 'OPT_IN'|'OPT_OUT'
        },
    ],
    Description='string'
)
Parameters
  • ContactListName (string) --

    [REQUIRED]

    The name of the contact list.

  • Topics (list) --

    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.

  • Description (string) -- A description of what the contact list is about.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • SESV2.Client.exceptions.BadRequestException
  • SESV2.Client.exceptions.TooManyRequestsException
  • SESV2.Client.exceptions.NotFoundException
  • SESV2.Client.exceptions.ConcurrentModificationException