Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Change the settings for the account-level suppression list.
Synopsis
- data PutAccountSuppressionAttributes = PutAccountSuppressionAttributes' {}
- newPutAccountSuppressionAttributes :: PutAccountSuppressionAttributes
- putAccountSuppressionAttributes_suppressedReasons :: Lens' PutAccountSuppressionAttributes (Maybe [SuppressionListReason])
- data PutAccountSuppressionAttributesResponse = PutAccountSuppressionAttributesResponse' {
- httpStatus :: Int
- newPutAccountSuppressionAttributesResponse :: Int -> PutAccountSuppressionAttributesResponse
- putAccountSuppressionAttributesResponse_httpStatus :: Lens' PutAccountSuppressionAttributesResponse Int
Creating a Request
data PutAccountSuppressionAttributes Source #
A request to change your account's suppression preferences.
See: newPutAccountSuppressionAttributes
smart constructor.
PutAccountSuppressionAttributes' | |
|
Instances
newPutAccountSuppressionAttributes :: PutAccountSuppressionAttributes Source #
Create a value of PutAccountSuppressionAttributes
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:suppressedReasons:PutAccountSuppressionAttributes'
, putAccountSuppressionAttributes_suppressedReasons
- A list that contains the reasons that email addresses will be
automatically added to the suppression list for your account. This list
can contain any or all of the following:
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
Request Lenses
putAccountSuppressionAttributes_suppressedReasons :: Lens' PutAccountSuppressionAttributes (Maybe [SuppressionListReason]) Source #
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
Destructuring the Response
data PutAccountSuppressionAttributesResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutAccountSuppressionAttributesResponse
smart constructor.
PutAccountSuppressionAttributesResponse' | |
|
Instances
newPutAccountSuppressionAttributesResponse Source #
Create a value of PutAccountSuppressionAttributesResponse
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:PutAccountSuppressionAttributesResponse'
, putAccountSuppressionAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
putAccountSuppressionAttributesResponse_httpStatus :: Lens' PutAccountSuppressionAttributesResponse Int Source #
The response's http status code.