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 |
Specify the account suppression list preferences for a configuration set.
Synopsis
- data PutConfigurationSetSuppressionOptions = PutConfigurationSetSuppressionOptions' {}
- newPutConfigurationSetSuppressionOptions :: Text -> PutConfigurationSetSuppressionOptions
- putConfigurationSetSuppressionOptions_suppressedReasons :: Lens' PutConfigurationSetSuppressionOptions (Maybe [SuppressionListReason])
- putConfigurationSetSuppressionOptions_configurationSetName :: Lens' PutConfigurationSetSuppressionOptions Text
- data PutConfigurationSetSuppressionOptionsResponse = PutConfigurationSetSuppressionOptionsResponse' {
- httpStatus :: Int
- newPutConfigurationSetSuppressionOptionsResponse :: Int -> PutConfigurationSetSuppressionOptionsResponse
- putConfigurationSetSuppressionOptionsResponse_httpStatus :: Lens' PutConfigurationSetSuppressionOptionsResponse Int
Creating a Request
data PutConfigurationSetSuppressionOptions Source #
A request to change the account suppression list preferences for a specific configuration set.
See: newPutConfigurationSetSuppressionOptions
smart constructor.
PutConfigurationSetSuppressionOptions' | |
|
Instances
newPutConfigurationSetSuppressionOptions Source #
:: Text |
|
-> PutConfigurationSetSuppressionOptions |
Create a value of PutConfigurationSetSuppressionOptions
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:PutConfigurationSetSuppressionOptions'
, putConfigurationSetSuppressionOptions_suppressedReasons
- A list that contains the reasons that email addresses are 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.
$sel:configurationSetName:PutConfigurationSetSuppressionOptions'
, putConfigurationSetSuppressionOptions_configurationSetName
- The name of the configuration set to change the suppression list
preferences for.
Request Lenses
putConfigurationSetSuppressionOptions_suppressedReasons :: Lens' PutConfigurationSetSuppressionOptions (Maybe [SuppressionListReason]) Source #
A list that contains the reasons that email addresses are 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.
putConfigurationSetSuppressionOptions_configurationSetName :: Lens' PutConfigurationSetSuppressionOptions Text Source #
The name of the configuration set to change the suppression list preferences for.
Destructuring the Response
data PutConfigurationSetSuppressionOptionsResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutConfigurationSetSuppressionOptionsResponse
smart constructor.
PutConfigurationSetSuppressionOptionsResponse' | |
|
Instances
Eq PutConfigurationSetSuppressionOptionsResponse Source # | |
Read PutConfigurationSetSuppressionOptionsResponse Source # | |
Show PutConfigurationSetSuppressionOptionsResponse Source # | |
Generic PutConfigurationSetSuppressionOptionsResponse Source # | |
NFData PutConfigurationSetSuppressionOptionsResponse Source # | |
type Rep PutConfigurationSetSuppressionOptionsResponse Source # | |
Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions type Rep PutConfigurationSetSuppressionOptionsResponse = D1 ('MetaData "PutConfigurationSetSuppressionOptionsResponse" "Amazonka.SESV2.PutConfigurationSetSuppressionOptions" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "PutConfigurationSetSuppressionOptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutConfigurationSetSuppressionOptionsResponse Source #
:: Int |
|
-> PutConfigurationSetSuppressionOptionsResponse |
Create a value of PutConfigurationSetSuppressionOptionsResponse
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:PutConfigurationSetSuppressionOptionsResponse'
, putConfigurationSetSuppressionOptionsResponse_httpStatus
- The response's http status code.
Response Lenses
putConfigurationSetSuppressionOptionsResponse_httpStatus :: Lens' PutConfigurationSetSuppressionOptionsResponse Int Source #
The response's http status code.