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.PutAccountSuppressionAttributes

Description

Change the settings for the account-level suppression list.

Synopsis

Creating a Request

data PutAccountSuppressionAttributes Source #

A request to change your account's suppression preferences.

See: newPutAccountSuppressionAttributes smart constructor.

Constructors

PutAccountSuppressionAttributes' 

Fields

  • suppressedReasons :: Maybe [SuppressionListReason]

    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.

Instances

Instances details
Eq PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Read PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Show PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Generic PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Associated Types

type Rep PutAccountSuppressionAttributes :: Type -> Type #

NFData PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Hashable PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

ToJSON PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

AWSRequest PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

ToHeaders PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

ToPath PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

ToQuery PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

type Rep PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

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

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

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.

Constructors

PutAccountSuppressionAttributesResponse' 

Fields

Instances

Instances details
Eq PutAccountSuppressionAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Read PutAccountSuppressionAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Show PutAccountSuppressionAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Generic PutAccountSuppressionAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

NFData PutAccountSuppressionAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

type Rep PutAccountSuppressionAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

type Rep PutAccountSuppressionAttributesResponse = D1 ('MetaData "PutAccountSuppressionAttributesResponse" "Amazonka.SESV2.PutAccountSuppressionAttributes" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "PutAccountSuppressionAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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