libZSservicesZSamazonka-sesv2ZSamazonka-sesv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SESV2.PutConfigurationSetSuppressionOptions

Description

Specify the account suppression list preferences for a configuration set.

Synopsis

Creating a Request

data PutConfigurationSetSuppressionOptions Source #

A request to change the account suppression list preferences for a specific configuration set.

See: newPutConfigurationSetSuppressionOptions smart constructor.

Constructors

PutConfigurationSetSuppressionOptions' 

Fields

  • suppressedReasons :: Maybe [SuppressionListReason]

    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.
  • configurationSetName :: Text

    The name of the configuration set to change the suppression list preferences for.

Instances

Instances details
Eq PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

Read PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

Show PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

Generic PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

NFData PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

Hashable PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

ToJSON PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

AWSRequest PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

ToHeaders PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

ToPath PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

ToQuery PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

type Rep PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

type Rep PutConfigurationSetSuppressionOptions = D1 ('MetaData "PutConfigurationSetSuppressionOptions" "Amazonka.SESV2.PutConfigurationSetSuppressionOptions" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "PutConfigurationSetSuppressionOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "suppressedReasons") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SuppressionListReason])) :*: S1 ('MetaSel ('Just "configurationSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PutConfigurationSetSuppressionOptions Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

newPutConfigurationSetSuppressionOptions Source #

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.

Constructors

PutConfigurationSetSuppressionOptionsResponse' 

Fields

Instances

Instances details
Eq PutConfigurationSetSuppressionOptionsResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

Read PutConfigurationSetSuppressionOptionsResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

Show PutConfigurationSetSuppressionOptionsResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

Generic PutConfigurationSetSuppressionOptionsResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

NFData PutConfigurationSetSuppressionOptionsResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutConfigurationSetSuppressionOptions

type Rep PutConfigurationSetSuppressionOptionsResponse Source # 
Instance details

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 #

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