amazonka-sesv2-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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

AWSRequest 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 #

Read PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Show PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

NFData PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Eq PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Hashable PutAccountSuppressionAttributes Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

type AWSResponse 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" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "PutAccountSuppressionAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "suppressedReasons") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SuppressionListReason]))))

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:

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
Generic 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

NFData PutAccountSuppressionAttributesResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutAccountSuppressionAttributes

Eq 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" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" '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