| 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.DeleteSuppressedDestination
Description
Removes an email address from the suppression list for your account.
Synopsis
- data DeleteSuppressedDestination = DeleteSuppressedDestination' {
- emailAddress :: Text
- newDeleteSuppressedDestination :: Text -> DeleteSuppressedDestination
- deleteSuppressedDestination_emailAddress :: Lens' DeleteSuppressedDestination Text
- data DeleteSuppressedDestinationResponse = DeleteSuppressedDestinationResponse' {
- httpStatus :: Int
- newDeleteSuppressedDestinationResponse :: Int -> DeleteSuppressedDestinationResponse
- deleteSuppressedDestinationResponse_httpStatus :: Lens' DeleteSuppressedDestinationResponse Int
Creating a Request
data DeleteSuppressedDestination Source #
A request to remove an email address from the suppression list for your account.
See: newDeleteSuppressedDestination smart constructor.
Constructors
| DeleteSuppressedDestination' | |
Fields
| |
Instances
newDeleteSuppressedDestination Source #
Arguments
| :: Text | |
| -> DeleteSuppressedDestination |
Create a value of DeleteSuppressedDestination 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:
DeleteSuppressedDestination, deleteSuppressedDestination_emailAddress - The suppressed email destination to remove from the account suppression
list.
Request Lenses
deleteSuppressedDestination_emailAddress :: Lens' DeleteSuppressedDestination Text Source #
The suppressed email destination to remove from the account suppression list.
Destructuring the Response
data DeleteSuppressedDestinationResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newDeleteSuppressedDestinationResponse smart constructor.
Constructors
| DeleteSuppressedDestinationResponse' | |
Fields
| |
Instances
newDeleteSuppressedDestinationResponse Source #
Arguments
| :: Int | |
| -> DeleteSuppressedDestinationResponse |
Create a value of DeleteSuppressedDestinationResponse 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:DeleteSuppressedDestinationResponse', deleteSuppressedDestinationResponse_httpStatus - The response's http status code.
Response Lenses
deleteSuppressedDestinationResponse_httpStatus :: Lens' DeleteSuppressedDestinationResponse Int Source #
The response's http status code.