Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data SetIdentityFeedbackForwardingEnabled = SetIdentityFeedbackForwardingEnabled' {}
- newSetIdentityFeedbackForwardingEnabled :: Text -> Bool -> SetIdentityFeedbackForwardingEnabled
- setIdentityFeedbackForwardingEnabled_identity :: Lens' SetIdentityFeedbackForwardingEnabled Text
- setIdentityFeedbackForwardingEnabled_forwardingEnabled :: Lens' SetIdentityFeedbackForwardingEnabled Bool
- data SetIdentityFeedbackForwardingEnabledResponse = SetIdentityFeedbackForwardingEnabledResponse' {
- httpStatus :: Int
- newSetIdentityFeedbackForwardingEnabledResponse :: Int -> SetIdentityFeedbackForwardingEnabledResponse
- setIdentityFeedbackForwardingEnabledResponse_httpStatus :: Lens' SetIdentityFeedbackForwardingEnabledResponse Int
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.
SetIdentityFeedbackForwardingEnabled' | |
|
Instances
newSetIdentityFeedbackForwardingEnabled Source #
:: Text | |
-> Bool |
|
-> SetIdentityFeedbackForwardingEnabled |
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.
SetIdentityFeedbackForwardingEnabledResponse' | |
|
Instances
Eq SetIdentityFeedbackForwardingEnabledResponse Source # | |
Read SetIdentityFeedbackForwardingEnabledResponse Source # | |
Show SetIdentityFeedbackForwardingEnabledResponse Source # | |
Generic SetIdentityFeedbackForwardingEnabledResponse Source # | |
Defined in Amazonka.SES.SetIdentityFeedbackForwardingEnabled type Rep SetIdentityFeedbackForwardingEnabledResponse :: Type -> Type # | |
NFData SetIdentityFeedbackForwardingEnabledResponse Source # | |
type Rep SetIdentityFeedbackForwardingEnabledResponse Source # | |
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 #
:: Int |
|
-> SetIdentityFeedbackForwardingEnabledResponse |
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
setIdentityFeedbackForwardingEnabledResponse_httpStatus :: Lens' SetIdentityFeedbackForwardingEnabledResponse Int Source #
The response's http status code.