SESV2Client.list_domain_deliverability_campaigns
rboto-sesv2==0.4.0 · Service index · Types
Model summary (excerpt): Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard for the domain.
Install and imports
from rboto import SESV2Client
from rboto_sesv2.types import (
ListDomainDeliverabilityCampaignsOutput,
)
Signature
async def list_domain_deliverability_campaigns(
*,
start_date: str,
end_date: str,
subscribed_domain: str,
next_token: str | None = None,
page_size: int | None = None,
) -> ListDomainDeliverabilityCampaignsOutput: ...
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) |
|---|---|---|
start_date |
Yes | The first day that you want to obtain deliverability data for. |
end_date |
Yes | The last day that you want to obtain deliverability data for. This value has to be less than or equal to 30 days after the value of the StartDate parameter. |
subscribed_domain |
Yes | The domain to obtain deliverability data for. |
next_token |
No | A token that’s returned from a previous call to the ListDomainDeliverabilityCampaigns operation. This token indicates the position of a campaign in the list of campaigns. |
page_size |
No | The maximum number of results to include in response to a single call to the ListDomainDeliverabilityCampaigns operation. If the number of results is larger than the number that you specify in this parameter, the response includes a NextToken element, which you can use to obtain additional results. |
Output
ListDomainDeliverabilityCampaignsOutput.
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 |
|---|---|---|---|
domain_deliverability_campaigns |
list[DomainDeliverabilityCampaignOutput] |
Always present | DomainDeliverabilityCampaignOutput |
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
ListDomainDeliverabilityCampaignsOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_domain_deliverability_campaigns(...) accepts the same arguments and returns AsyncIterator[ListDomainDeliverabilityCampaignsOutput]. 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, NotFoundError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.