Retrieves a list of email addresses that are on the suppression list for your account or for a specific tenant¶
Description¶
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.
Usage¶
Arguments¶
-
TenantNameThe name of the tenant whose suppression list you want to retrieve. If you omit this parameter, the operation targets the account-level suppression list.
-
ReasonsThe factors that caused the email address to be added to the suppression list for your account or for a specific tenant.
-
StartDateUsed to filter the list of suppressed email destinations so that it only includes addresses that were added to the list after a specific date.
-
EndDateUsed to filter the list of suppressed email destinations so that it only includes addresses that were added to the list before a specific date.
-
NextTokenA token returned from a previous call to
list_suppressed_destinationsto indicate the position in the list of suppressed email addresses. -
PageSizeThe number of results to show in a single call to
list_suppressed_destinations. If the number of results is larger than the number you specified in this parameter, then the response includes aNextTokenelement, which you can use to obtain additional results.
Value¶
A list with the following syntax:
list(
SuppressedDestinationSummaries = list(
list(
EmailAddress = "string",
Reason = "BOUNCE"|"COMPLAINT",
LastUpdateTime = as.POSIXct(
"2015-01-01"
)
)
),
NextToken = "string"
)