SESV2Client.list_email_identities
rboto-sesv2==0.4.0 · Service index · Types
Model summary (excerpt): Returns a list of all of the email identities that are associated with your Amazon Web Services account. An identity can be either an email address or a domain. This operation returns identities that are verified as well as those that aren't. This operation returns identities that are associated with Amazon SES and Amazon Pinpoint.
Install and imports
from rboto import SESV2Client
from rboto_sesv2.types import (
IdentityFilterKey,
ListEmailIdentitiesOutput,
)
Signature
async def list_email_identities(
*,
filter: dict[IdentityFilterKey, str] | None = None,
next_token: str | None = None,
page_size: int | None = None,
) -> ListEmailIdentitiesOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
filter |
No | An object that contains filters to apply when listing email identities. You can filter by a substring of the identity name, by identity type, or by verification status. |
next_token |
No | A token returned from a previous call to ListEmailIdentities to indicate the position in the list of identities. |
page_size |
No | The number of results to show in a single call to ListEmailIdentities . If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results. The value you specify has to be at least 0, and can be no more than 1000. |
Output
ListEmailIdentitiesOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
email_identities |
list[IdentityInfoOutput] | None |
Always present | IdentityInfoOutput |
next_token |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
IdentityFilterKey, ListEmailIdentitiesOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_email_identities(...) accepts the same arguments and returns AsyncIterator[ListEmailIdentitiesOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: next_token. Page-size argument: page_size.
No output stream.
Errors
Import from rboto_sesv2.exceptions:
BadRequestError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.