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.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
Eq PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Read PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

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

NFData PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Hashable PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

ToJSON PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

AWSRequest 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

type Rep PutSuppressedDestination Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

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

Defined in Amazonka.SESV2.PutSuppressedDestination

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:

$sel:emailAddress:PutSuppressedDestination', putSuppressedDestination_emailAddress - The email address that should be added to the suppression list for your account.

$sel:reason: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
Eq PutSuppressedDestinationResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Read PutSuppressedDestinationResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Show PutSuppressedDestinationResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Generic PutSuppressedDestinationResponse Source # 
Instance details

Defined in Amazonka.SESV2.PutSuppressedDestination

Associated Types

type Rep PutSuppressedDestinationResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" '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