SESV2.Client.
list_contact_lists
(**kwargs)¶Lists all of the contact lists available.
See also: AWS API Documentation
Request Syntax
response = client.list_contact_lists(
PageSize=123,
NextToken='string'
)
NextToken
element is sent in the response. Use the NextToken
value in subsequent requests to retrieve additional lists.dict
Response Syntax
{
'ContactLists': [
{
'ContactListName': 'string',
'LastUpdatedTimestamp': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
ContactLists (list) --
The available contact lists.
(dict) --
A list that contains contacts that have subscribed to a particular topic or topics.
ContactListName (string) --
The name of the contact list.
LastUpdatedTimestamp (datetime) --
A timestamp noting the last time the contact list was updated.
NextToken (string) --
A string token indicating that there might be additional contact lists available to be listed. Copy this token to a subsequent call to ListContactLists
with the same parameters to retrieve the next page of contact lists.
Exceptions
SESV2.Client.exceptions.BadRequestException
SESV2.Client.exceptions.TooManyRequestsException