list_domain_deliverability_campaigns
async
¶
list_domain_deliverability_campaigns(
start_date: Timestamp,
end_date: Timestamp,
subscribed_domain: Domain,
*,
config_overrides: Optional[AsyncPinpointEmailClientConfig] = None,
next_token: Optional[NextToken] = None,
page_size: Optional[MaxItems] = None,
) -> ListDomainDeliverabilityCampaignsResponse
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 (PutDeliverabilityDashboardOption operation) for the domain.
Parameters:
-
start_date(Timestamp) –The first day, in Unix time format, that you want to obtain deliverability data for.
-
end_date(Timestamp) –The last day, in Unix time format, 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
StartDateparameter. -
subscribed_domain(Domain) –The domain to obtain deliverability data for.
-
next_token(Optional[NextToken], default:None) –A token that’s returned from a previous call to the
ListDomainDeliverabilityCampaignsoperation. This token indicates the position of a campaign in the list of campaigns. -
page_size(Optional[MaxItems], default:None) –The maximum number of results to include in response to a single call to the
ListDomainDeliverabilityCampaignsoperation. If the number of results is larger than the number that you specify in this parameter, the response includes aNextTokenelement, which you can use to obtain additional results.
Raises:
-
BadRequestException–The input you provided is invalid.
-
NotFoundException–The resource you attempted to access doesn't exist.
-
TooManyRequestsException–Too many requests have been made to the operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_pinpoint_email/_services/async_pinpoint_email.py
1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 | |