libZSservicesZSamazonka-sesZSamazonka-ses
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.SES.SetIdentityFeedbackForwardingEnabled

Description

Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.

Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS.

You can execute this operation no more than once per second.

For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

Synopsis

Creating a Request

data SetIdentityFeedbackForwardingEnabled Source #

Represents a request to enable or disable whether Amazon SES forwards you bounce and complaint notifications through email. For information about email feedback forwarding, see the Amazon SES Developer Guide.

See: newSetIdentityFeedbackForwardingEnabled smart constructor.

Constructors

SetIdentityFeedbackForwardingEnabled' 

Fields

  • identity :: Text

    The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com, example.com.

  • forwardingEnabled :: Bool

    Sets whether Amazon SES will forward bounce and complaint notifications as email. true specifies that Amazon SES will forward bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false specifies that Amazon SES will publish bounce and complaint notifications only through Amazon SNS. This value can only be set to false when Amazon SNS topics are set for both Bounce and Complaint notification types.

Instances

Instances details
Eq SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

Read SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

Show SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

Generic SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

NFData SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

Hashable SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

AWSRequest SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

ToHeaders SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

ToPath SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

ToQuery SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

type Rep SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

type Rep SetIdentityFeedbackForwardingEnabled = D1 ('MetaData "SetIdentityFeedbackForwardingEnabled" "Amazonka.SES.SetIdentityFeedbackForwardingEnabled" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "SetIdentityFeedbackForwardingEnabled'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "forwardingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))
type AWSResponse SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

newSetIdentityFeedbackForwardingEnabled Source #

Create a value of SetIdentityFeedbackForwardingEnabled 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:identity:SetIdentityFeedbackForwardingEnabled', setIdentityFeedbackForwardingEnabled_identity - The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com, example.com.

$sel:forwardingEnabled:SetIdentityFeedbackForwardingEnabled', setIdentityFeedbackForwardingEnabled_forwardingEnabled - Sets whether Amazon SES will forward bounce and complaint notifications as email. true specifies that Amazon SES will forward bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false specifies that Amazon SES will publish bounce and complaint notifications only through Amazon SNS. This value can only be set to false when Amazon SNS topics are set for both Bounce and Complaint notification types.

Request Lenses

setIdentityFeedbackForwardingEnabled_identity :: Lens' SetIdentityFeedbackForwardingEnabled Text Source #

The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com, example.com.

setIdentityFeedbackForwardingEnabled_forwardingEnabled :: Lens' SetIdentityFeedbackForwardingEnabled Bool Source #

Sets whether Amazon SES will forward bounce and complaint notifications as email. true specifies that Amazon SES will forward bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false specifies that Amazon SES will publish bounce and complaint notifications only through Amazon SNS. This value can only be set to false when Amazon SNS topics are set for both Bounce and Complaint notification types.

Destructuring the Response

data SetIdentityFeedbackForwardingEnabledResponse Source #

An empty element returned on a successful request.

See: newSetIdentityFeedbackForwardingEnabledResponse smart constructor.

Constructors

SetIdentityFeedbackForwardingEnabledResponse' 

Fields

Instances

Instances details
Eq SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

Read SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

Show SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

Generic SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

NFData SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

type Rep SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled

type Rep SetIdentityFeedbackForwardingEnabledResponse = D1 ('MetaData "SetIdentityFeedbackForwardingEnabledResponse" "Amazonka.SES.SetIdentityFeedbackForwardingEnabled" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "SetIdentityFeedbackForwardingEnabledResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSetIdentityFeedbackForwardingEnabledResponse Source #

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

Response Lenses