Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Given an identity (email address or 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.
This action is throttled at one request per second.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.
See: AWS API Reference for SetIdentityFeedbackForwardingEnabled.
- 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:
data SetIdentityFeedbackForwardingEnabled Source
See: setIdentityFeedbackForwardingEnabled
smart constructor.
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:
data SetIdentityFeedbackForwardingEnabledResponse Source
An empty element. Receiving this element indicates that the request completed successfully.
See: setIdentityFeedbackForwardingEnabledResponse
smart constructor.
Response Lenses
siffersResponseStatus :: Lens' SetIdentityFeedbackForwardingEnabledResponse Int Source
The response status code.