| 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.GetSuppressedDestination
Description
Retrieves information about a specific email address that's on the suppression list for your account.
Synopsis
- data GetSuppressedDestination = GetSuppressedDestination' {
- emailAddress :: Text
- newGetSuppressedDestination :: Text -> GetSuppressedDestination
- getSuppressedDestination_emailAddress :: Lens' GetSuppressedDestination Text
- data GetSuppressedDestinationResponse = GetSuppressedDestinationResponse' {}
- newGetSuppressedDestinationResponse :: Int -> SuppressedDestination -> GetSuppressedDestinationResponse
- getSuppressedDestinationResponse_httpStatus :: Lens' GetSuppressedDestinationResponse Int
- getSuppressedDestinationResponse_suppressedDestination :: Lens' GetSuppressedDestinationResponse SuppressedDestination
Creating a Request
data GetSuppressedDestination Source #
A request to retrieve information about an email address that's on the suppression list for your account.
See: newGetSuppressedDestination smart constructor.
Constructors
| GetSuppressedDestination' | |
Fields
| |
Instances
newGetSuppressedDestination Source #
Arguments
| :: Text | |
| -> GetSuppressedDestination |
Create a value of GetSuppressedDestination 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:
GetSuppressedDestination, getSuppressedDestination_emailAddress - The email address that's on the account suppression list.
Request Lenses
getSuppressedDestination_emailAddress :: Lens' GetSuppressedDestination Text Source #
The email address that's on the account suppression list.
Destructuring the Response
data GetSuppressedDestinationResponse Source #
Information about the suppressed email address.
See: newGetSuppressedDestinationResponse smart constructor.
Constructors
| GetSuppressedDestinationResponse' | |
Fields
| |
Instances
newGetSuppressedDestinationResponse Source #
Arguments
| :: Int | |
| -> SuppressedDestination |
|
| -> GetSuppressedDestinationResponse |
Create a value of GetSuppressedDestinationResponse 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:
$sel:httpStatus:GetSuppressedDestinationResponse', getSuppressedDestinationResponse_httpStatus - The response's http status code.
$sel:suppressedDestination:GetSuppressedDestinationResponse', getSuppressedDestinationResponse_suppressedDestination - An object containing information about the suppressed email address.
Response Lenses
getSuppressedDestinationResponse_httpStatus :: Lens' GetSuppressedDestinationResponse Int Source #
The response's http status code.
getSuppressedDestinationResponse_suppressedDestination :: Lens' GetSuppressedDestinationResponse SuppressedDestination Source #
An object containing information about the suppressed email address.