Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
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
- setIdentityFeedbackForwardingEnabled :: Text -> Bool -> SetIdentityFeedbackForwardingEnabled
- data SetIdentityFeedbackForwardingEnabled
- siffeIdentity :: Lens' SetIdentityFeedbackForwardingEnabled Text
- siffeForwardingEnabled :: Lens' SetIdentityFeedbackForwardingEnabled Bool
- setIdentityFeedbackForwardingEnabledResponse :: Int -> SetIdentityFeedbackForwardingEnabledResponse
- data SetIdentityFeedbackForwardingEnabledResponse
- siffersResponseStatus :: Lens' SetIdentityFeedbackForwardingEnabledResponse Int
Creating a Request
setIdentityFeedbackForwardingEnabled Source #
Creates a value of SetIdentityFeedbackForwardingEnabled
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siffeIdentity
- The identity for which to set bounce and complaint notification forwarding. Examples:user
example.com,
example.com@ .siffeForwardingEnabled
- 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 tofalse
when Amazon SNS topics are set for bothBounce
andComplaint
notification types.
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: setIdentityFeedbackForwardingEnabled
smart constructor.
Instances
Request Lenses
siffeIdentity :: Lens' SetIdentityFeedbackForwardingEnabled Text Source #
The identity for which to set bounce and complaint notification forwarding. Examples: user
example.com ,
example.com@ .
siffeForwardingEnabled :: 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
setIdentityFeedbackForwardingEnabledResponse Source #
Creates a value of SetIdentityFeedbackForwardingEnabledResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siffersResponseStatus
- -- | The response status code.
data SetIdentityFeedbackForwardingEnabledResponse Source #
An empty element returned on a successful request.
See: setIdentityFeedbackForwardingEnabledResponse
smart constructor.
Instances
Response Lenses
siffersResponseStatus :: Lens' SetIdentityFeedbackForwardingEnabledResponse Int Source #
- - | The response status code.