| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SESV2.ListSuppressedDestinations
Description
Retrieves a list of email addresses that are on the suppression list for your account.
Synopsis
- data ListSuppressedDestinations = ListSuppressedDestinations' {}
- newListSuppressedDestinations :: ListSuppressedDestinations
- listSuppressedDestinations_endDate :: Lens' ListSuppressedDestinations (Maybe UTCTime)
- listSuppressedDestinations_nextToken :: Lens' ListSuppressedDestinations (Maybe Text)
- listSuppressedDestinations_pageSize :: Lens' ListSuppressedDestinations (Maybe Int)
- listSuppressedDestinations_reasons :: Lens' ListSuppressedDestinations (Maybe [SuppressionListReason])
- listSuppressedDestinations_startDate :: Lens' ListSuppressedDestinations (Maybe UTCTime)
- data ListSuppressedDestinationsResponse = ListSuppressedDestinationsResponse' {}
- newListSuppressedDestinationsResponse :: Int -> ListSuppressedDestinationsResponse
- listSuppressedDestinationsResponse_nextToken :: Lens' ListSuppressedDestinationsResponse (Maybe Text)
- listSuppressedDestinationsResponse_suppressedDestinationSummaries :: Lens' ListSuppressedDestinationsResponse (Maybe [SuppressedDestinationSummary])
- listSuppressedDestinationsResponse_httpStatus :: Lens' ListSuppressedDestinationsResponse Int
Creating a Request
data ListSuppressedDestinations Source #
A request to obtain a list of email destinations that are on the suppression list for your account.
See: newListSuppressedDestinations smart constructor.
Constructors
| ListSuppressedDestinations' | |
Fields
| |
Instances
newListSuppressedDestinations :: ListSuppressedDestinations Source #
Create a value of ListSuppressedDestinations with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListSuppressedDestinations, listSuppressedDestinations_endDate - 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.
ListSuppressedDestinations, listSuppressedDestinations_nextToken - A token returned from a previous call to ListSuppressedDestinations to
indicate the position in the list of suppressed email addresses.
$sel:pageSize:ListSuppressedDestinations', listSuppressedDestinations_pageSize - 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.
$sel:reasons:ListSuppressedDestinations', listSuppressedDestinations_reasons - The factors that caused the email address to be added to .
ListSuppressedDestinations, listSuppressedDestinations_startDate - 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.
Request Lenses
listSuppressedDestinations_endDate :: Lens' ListSuppressedDestinations (Maybe UTCTime) Source #
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.
listSuppressedDestinations_nextToken :: Lens' ListSuppressedDestinations (Maybe Text) Source #
A token returned from a previous call to ListSuppressedDestinations to
indicate the position in the list of suppressed email addresses.
listSuppressedDestinations_pageSize :: Lens' ListSuppressedDestinations (Maybe Int) Source #
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.
listSuppressedDestinations_reasons :: Lens' ListSuppressedDestinations (Maybe [SuppressionListReason]) Source #
The factors that caused the email address to be added to .
listSuppressedDestinations_startDate :: Lens' ListSuppressedDestinations (Maybe UTCTime) Source #
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.
Destructuring the Response
data ListSuppressedDestinationsResponse Source #
A list of suppressed email addresses.
See: newListSuppressedDestinationsResponse smart constructor.
Constructors
| ListSuppressedDestinationsResponse' | |
Fields
| |
Instances
newListSuppressedDestinationsResponse Source #
Arguments
| :: Int | |
| -> ListSuppressedDestinationsResponse |
Create a value of ListSuppressedDestinationsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListSuppressedDestinations, listSuppressedDestinationsResponse_nextToken - A token that indicates that there are additional email addresses on the
suppression list for your account. To view additional suppressed
addresses, issue another request to ListSuppressedDestinations, and
pass this token in the NextToken parameter.
$sel:suppressedDestinationSummaries:ListSuppressedDestinationsResponse', listSuppressedDestinationsResponse_suppressedDestinationSummaries - A list of summaries, each containing a summary for a suppressed email
destination.
$sel:httpStatus:ListSuppressedDestinationsResponse', listSuppressedDestinationsResponse_httpStatus - The response's http status code.
Response Lenses
listSuppressedDestinationsResponse_nextToken :: Lens' ListSuppressedDestinationsResponse (Maybe Text) Source #
A token that indicates that there are additional email addresses on the
suppression list for your account. To view additional suppressed
addresses, issue another request to ListSuppressedDestinations, and
pass this token in the NextToken parameter.
listSuppressedDestinationsResponse_suppressedDestinationSummaries :: Lens' ListSuppressedDestinationsResponse (Maybe [SuppressedDestinationSummary]) Source #
A list of summaries, each containing a summary for a suppressed email destination.
listSuppressedDestinationsResponse_httpStatus :: Lens' ListSuppressedDestinationsResponse Int Source #
The response's http status code.