list_identities
(**kwargs)¶Returns a list containing all of the identities (email addresses and domains) for your AWS account in the current AWS Region, regardless of verification status.
You can execute this operation no more than once per second.
See also: AWS API Documentation
Request Syntax
response = client.list_identities(
IdentityType='EmailAddress'|'Domain',
NextToken='string',
MaxItems=123
)
dict
Response Syntax
{
'Identities': [
'string',
],
'NextToken': 'string'
}
Response Structure
(dict) --
A list of all identities that you have attempted to verify under your AWS account, regardless of verification status.
Identities (list) --
A list of identities.
NextToken (string) --
The token used for pagination.
Examples
The following example lists the email address identities that have been submitted for verification with Amazon SES:
response = client.list_identities(
IdentityType='EmailAddress',
MaxItems=123,
NextToken='',
)
print(response)
Expected Output:
{
'Identities': [
'user@example.com',
],
'NextToken': '',
'ResponseMetadata': {
'...': '...',
},
}