amazonka-ses-1.4.5: Amazon Simple Email Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SES.SetIdentityFeedbackForwardingEnabled

Contents

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.

This action is throttled at one request per second.

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

Synopsis

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: userexample.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 to false when Amazon SNS topics are set for both Bounce and Complaint 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

Eq SetIdentityFeedbackForwardingEnabled Source # 
Data SetIdentityFeedbackForwardingEnabled Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SetIdentityFeedbackForwardingEnabled -> c SetIdentityFeedbackForwardingEnabled #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SetIdentityFeedbackForwardingEnabled #

toConstr :: SetIdentityFeedbackForwardingEnabled -> Constr #

dataTypeOf :: SetIdentityFeedbackForwardingEnabled -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SetIdentityFeedbackForwardingEnabled) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SetIdentityFeedbackForwardingEnabled) #

gmapT :: (forall b. Data b => b -> b) -> SetIdentityFeedbackForwardingEnabled -> SetIdentityFeedbackForwardingEnabled #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SetIdentityFeedbackForwardingEnabled -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SetIdentityFeedbackForwardingEnabled -> r #

gmapQ :: (forall d. Data d => d -> u) -> SetIdentityFeedbackForwardingEnabled -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SetIdentityFeedbackForwardingEnabled -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SetIdentityFeedbackForwardingEnabled -> m SetIdentityFeedbackForwardingEnabled #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SetIdentityFeedbackForwardingEnabled -> m SetIdentityFeedbackForwardingEnabled #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SetIdentityFeedbackForwardingEnabled -> m SetIdentityFeedbackForwardingEnabled #

Read SetIdentityFeedbackForwardingEnabled Source # 
Show SetIdentityFeedbackForwardingEnabled Source # 
Generic SetIdentityFeedbackForwardingEnabled Source # 
Hashable SetIdentityFeedbackForwardingEnabled Source # 
NFData SetIdentityFeedbackForwardingEnabled Source # 
AWSRequest SetIdentityFeedbackForwardingEnabled Source # 
ToPath SetIdentityFeedbackForwardingEnabled Source # 
ToHeaders SetIdentityFeedbackForwardingEnabled Source # 
ToQuery SetIdentityFeedbackForwardingEnabled Source # 
type Rep SetIdentityFeedbackForwardingEnabled Source # 
type Rep SetIdentityFeedbackForwardingEnabled = D1 (MetaData "SetIdentityFeedbackForwardingEnabled" "Network.AWS.SES.SetIdentityFeedbackForwardingEnabled" "amazonka-ses-1.4.5-DhIaquVYmXCGGNLt54jVqA" False) (C1 (MetaCons "SetIdentityFeedbackForwardingEnabled'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_siffeIdentity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_siffeForwardingEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))
type Rs SetIdentityFeedbackForwardingEnabled Source # 

Request Lenses

siffeIdentity :: Lens' SetIdentityFeedbackForwardingEnabled Text Source #

The identity for which to set bounce and complaint notification forwarding. Examples: userexample.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 returned on a successful request.

See: setIdentityFeedbackForwardingEnabledResponse smart constructor.

Instances

Eq SetIdentityFeedbackForwardingEnabledResponse Source # 
Data SetIdentityFeedbackForwardingEnabledResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SetIdentityFeedbackForwardingEnabledResponse -> c SetIdentityFeedbackForwardingEnabledResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SetIdentityFeedbackForwardingEnabledResponse #

toConstr :: SetIdentityFeedbackForwardingEnabledResponse -> Constr #

dataTypeOf :: SetIdentityFeedbackForwardingEnabledResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SetIdentityFeedbackForwardingEnabledResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SetIdentityFeedbackForwardingEnabledResponse) #

gmapT :: (forall b. Data b => b -> b) -> SetIdentityFeedbackForwardingEnabledResponse -> SetIdentityFeedbackForwardingEnabledResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SetIdentityFeedbackForwardingEnabledResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SetIdentityFeedbackForwardingEnabledResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> SetIdentityFeedbackForwardingEnabledResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SetIdentityFeedbackForwardingEnabledResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SetIdentityFeedbackForwardingEnabledResponse -> m SetIdentityFeedbackForwardingEnabledResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SetIdentityFeedbackForwardingEnabledResponse -> m SetIdentityFeedbackForwardingEnabledResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SetIdentityFeedbackForwardingEnabledResponse -> m SetIdentityFeedbackForwardingEnabledResponse #

Read SetIdentityFeedbackForwardingEnabledResponse Source # 
Show SetIdentityFeedbackForwardingEnabledResponse Source # 
Generic SetIdentityFeedbackForwardingEnabledResponse Source # 
NFData SetIdentityFeedbackForwardingEnabledResponse Source # 
type Rep SetIdentityFeedbackForwardingEnabledResponse Source # 
type Rep SetIdentityFeedbackForwardingEnabledResponse = D1 (MetaData "SetIdentityFeedbackForwardingEnabledResponse" "Network.AWS.SES.SetIdentityFeedbackForwardingEnabled" "amazonka-ses-1.4.5-DhIaquVYmXCGGNLt54jVqA" True) (C1 (MetaCons "SetIdentityFeedbackForwardingEnabledResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_siffersResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses