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 |
Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.
If the value is true
, you receive email notifications when bounce or
complaint events occur. These notifications are sent to the address that
you specified in the Return-Path
header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
Synopsis
- data PutEmailIdentityFeedbackAttributes = PutEmailIdentityFeedbackAttributes' {}
- newPutEmailIdentityFeedbackAttributes :: Text -> PutEmailIdentityFeedbackAttributes
- putEmailIdentityFeedbackAttributes_emailForwardingEnabled :: Lens' PutEmailIdentityFeedbackAttributes (Maybe Bool)
- putEmailIdentityFeedbackAttributes_emailIdentity :: Lens' PutEmailIdentityFeedbackAttributes Text
- data PutEmailIdentityFeedbackAttributesResponse = PutEmailIdentityFeedbackAttributesResponse' {
- httpStatus :: Int
- newPutEmailIdentityFeedbackAttributesResponse :: Int -> PutEmailIdentityFeedbackAttributesResponse
- putEmailIdentityFeedbackAttributesResponse_httpStatus :: Lens' PutEmailIdentityFeedbackAttributesResponse Int
Creating a Request
data PutEmailIdentityFeedbackAttributes Source #
A request to set the attributes that control how bounce and complaint events are processed.
See: newPutEmailIdentityFeedbackAttributes
smart constructor.
PutEmailIdentityFeedbackAttributes' | |
|
Instances
newPutEmailIdentityFeedbackAttributes Source #
Create a value of PutEmailIdentityFeedbackAttributes
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:emailForwardingEnabled:PutEmailIdentityFeedbackAttributes'
, putEmailIdentityFeedbackAttributes_emailForwardingEnabled
- Sets the feedback forwarding configuration for the identity.
If the value is true
, you receive email notifications when bounce or
complaint events occur. These notifications are sent to the address that
you specified in the Return-Path
header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
$sel:emailIdentity:PutEmailIdentityFeedbackAttributes'
, putEmailIdentityFeedbackAttributes_emailIdentity
- The email identity.
Request Lenses
putEmailIdentityFeedbackAttributes_emailForwardingEnabled :: Lens' PutEmailIdentityFeedbackAttributes (Maybe Bool) Source #
Sets the feedback forwarding configuration for the identity.
If the value is true
, you receive email notifications when bounce or
complaint events occur. These notifications are sent to the address that
you specified in the Return-Path
header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
putEmailIdentityFeedbackAttributes_emailIdentity :: Lens' PutEmailIdentityFeedbackAttributes Text Source #
The email identity.
Destructuring the Response
data PutEmailIdentityFeedbackAttributesResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutEmailIdentityFeedbackAttributesResponse
smart constructor.
PutEmailIdentityFeedbackAttributesResponse' | |
|
Instances
Eq PutEmailIdentityFeedbackAttributesResponse Source # | |
Read PutEmailIdentityFeedbackAttributesResponse Source # | |
Show PutEmailIdentityFeedbackAttributesResponse Source # | |
Generic PutEmailIdentityFeedbackAttributesResponse Source # | |
Defined in Amazonka.SESV2.PutEmailIdentityFeedbackAttributes type Rep PutEmailIdentityFeedbackAttributesResponse :: Type -> Type # | |
NFData PutEmailIdentityFeedbackAttributesResponse Source # | |
type Rep PutEmailIdentityFeedbackAttributesResponse Source # | |
Defined in Amazonka.SESV2.PutEmailIdentityFeedbackAttributes type Rep PutEmailIdentityFeedbackAttributesResponse = D1 ('MetaData "PutEmailIdentityFeedbackAttributesResponse" "Amazonka.SESV2.PutEmailIdentityFeedbackAttributes" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "PutEmailIdentityFeedbackAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutEmailIdentityFeedbackAttributesResponse Source #
Create a value of PutEmailIdentityFeedbackAttributesResponse
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:PutEmailIdentityFeedbackAttributesResponse'
, putEmailIdentityFeedbackAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
putEmailIdentityFeedbackAttributesResponse_httpStatus :: Lens' PutEmailIdentityFeedbackAttributesResponse Int Source #
The response's http status code.