SESV2Client.list_suppressed_destinations
rboto-sesv2==0.4.0 · Service index · Types
Model summary (excerpt): Retrieves a list of email addresses that are on the suppression list for your account or for a specific tenant. To target a tenant's suppression list, specify the TenantName parameter. If you omit TenantName , the operation targets the account-level suppression list.
Install and imports
from rboto import SESV2Client
from collections.abc import Sequence
from rboto_sesv2.types import (
ListSuppressedDestinationsOutput,
SuppressionListReason,
)
Signature
async def list_suppressed_destinations(
*,
tenant_name: str | None = None,
reasons: Sequence[SuppressionListReason] | None = None,
start_date: str | None = None,
end_date: str | None = None,
next_token: str | None = None,
page_size: int | None = None,
) -> ListSuppressedDestinationsOutput: ...
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) |
|---|---|---|
tenant_name |
No | The name of the tenant whose suppression list you want to retrieve. If you omit this parameter, the operation targets the account-level suppression list. |
reasons |
No | The factors that caused the email address to be added to the suppression list for your account or for a specific tenant. |
start_date |
No | Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list after a specific date. |
end_date |
No | Used to filter the list of suppressed email destinations so that it only includes addresses that were added to the list before a specific date. |
next_token |
No | A token returned from a previous call to ListSuppressedDestinations to indicate the position in the list of suppressed email addresses. |
page_size |
No | The number of results to show in a single call to ListSuppressedDestinations . 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. |
Output
ListSuppressedDestinationsOutput.
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 |
|---|---|---|---|
suppressed_destination_summaries |
list[SuppressedDestinationSummaryOutput] | None |
Always present | SuppressedDestinationSummaryOutput |
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
ListSuppressedDestinationsOutput, SuppressionListReason
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_suppressed_destinations(...) accepts the same arguments and returns AsyncIterator[ListSuppressedDestinationsOutput]. 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, InvalidNextTokenError, NotFoundError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.