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

Description

Adds an email address to the suppression list for your account.

Synopsis

Creating a Request

data PutSuppressedDestination Source #

A request to add an email destination to the suppression list for your account.

See: newPutSuppressedDestination smart constructor.

Constructors

PutSuppressedDestination' 

Fields

  • emailAddress :: Text

    The email address that should be added to the suppression list for your account.

  • reason :: SuppressionListReason

    The factors that should cause the email address to be added to the suppression list for your account.

Instances

Instances details
ToJSON PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

ToHeaders PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

ToPath PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

ToQuery PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

AWSRequest PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Generic PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Associated Types

type Rep PutSuppressedDestination :: Type -> Type #

Read PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Show PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

NFData PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Eq PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Hashable PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

type AWSResponse PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

type Rep PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

type Rep PutSuppressedDestination = D1 ('MetaData "PutSuppressedDestination" "Amazonka.SESV2.PutSuppressedDestination" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "PutSuppressedDestination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SuppressionListReason)))

newPutSuppressedDestination Source #

Create a value of PutSuppressedDestination 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:

PutSuppressedDestination, putSuppressedDestination_emailAddress - The email address that should be added to the suppression list for your account.

PutSuppressedDestination, putSuppressedDestination_reason - The factors that should cause the email address to be added to the suppression list for your account.

Request Lenses

putSuppressedDestination_emailAddress :: Lens' PutSuppressedDestination Text Source #

The email address that should be added to the suppression list for your account.

putSuppressedDestination_reason :: Lens' PutSuppressedDestination SuppressionListReason Source #

The factors that should cause the email address to be added to the suppression list for your account.

Destructuring the Response

data PutSuppressedDestinationResponse Source #

An HTTP 200 response if the request succeeds, or an error message if the request fails.

See: newPutSuppressedDestinationResponse smart constructor.

Constructors

PutSuppressedDestinationResponse' 

Fields

Instances

Instances details
Generic PutSuppressedDestinationResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Associated Types

type Rep PutSuppressedDestinationResponse :: Type -> Type #

Read PutSuppressedDestinationResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Show PutSuppressedDestinationResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

NFData PutSuppressedDestinationResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Eq PutSuppressedDestinationResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

type Rep PutSuppressedDestinationResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

type Rep PutSuppressedDestinationResponse = D1 ('MetaData "PutSuppressedDestinationResponse" "Amazonka.SESV2.PutSuppressedDestination" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "PutSuppressedDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutSuppressedDestinationResponse Source #

Create a value of PutSuppressedDestinationResponse 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:PutSuppressedDestinationResponse', putSuppressedDestinationResponse_httpStatus - The response's http status code.

Response Lenses