amazonka-ses-1.4.4: 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.SetIdentityHeadersInNotificationsEnabled

Contents

Description

Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.

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

data SetIdentityHeadersInNotificationsEnabled Source #

Represents a request to set whether Amazon SES includes the original email headers in the Amazon SNS notifications of a specified type. For information about notifications, see the Amazon SES Developer Guide.

See: setIdentityHeadersInNotificationsEnabled smart constructor.

Instances

Eq SetIdentityHeadersInNotificationsEnabled Source # 
Data SetIdentityHeadersInNotificationsEnabled Source # 

Methods

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

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

toConstr :: SetIdentityHeadersInNotificationsEnabled -> Constr #

dataTypeOf :: SetIdentityHeadersInNotificationsEnabled -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetIdentityHeadersInNotificationsEnabled Source # 
Show SetIdentityHeadersInNotificationsEnabled Source # 
Generic SetIdentityHeadersInNotificationsEnabled Source # 
Hashable SetIdentityHeadersInNotificationsEnabled Source # 
NFData SetIdentityHeadersInNotificationsEnabled Source # 
AWSRequest SetIdentityHeadersInNotificationsEnabled Source # 
ToPath SetIdentityHeadersInNotificationsEnabled Source # 
ToHeaders SetIdentityHeadersInNotificationsEnabled Source # 
ToQuery SetIdentityHeadersInNotificationsEnabled Source # 
type Rep SetIdentityHeadersInNotificationsEnabled Source # 
type Rep SetIdentityHeadersInNotificationsEnabled = D1 (MetaData "SetIdentityHeadersInNotificationsEnabled" "Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled" "amazonka-ses-1.4.4-FOEDSKDYIwcI36aB4R9WY7" False) (C1 (MetaCons "SetIdentityHeadersInNotificationsEnabled'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sihineIdentity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_sihineNotificationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 NotificationType)) (S1 (MetaSel (Just Symbol "_sihineEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))))
type Rs SetIdentityHeadersInNotificationsEnabled Source # 

Request Lenses

sihineIdentity :: Lens' SetIdentityHeadersInNotificationsEnabled Text Source #

The identity for which to enable or disable headers in notifications. Examples: 'user\'example.com', 'example.com'.

sihineNotificationType :: Lens' SetIdentityHeadersInNotificationsEnabled NotificationType Source #

The notification type for which to enable or disable headers in notifications.

sihineEnabled :: Lens' SetIdentityHeadersInNotificationsEnabled Bool Source #

Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified notification type. A value of true specifies that Amazon SES will include headers in notifications, and a value of false specifies that Amazon SES will not include headers in notifications.

This value can only be set when NotificationType is already set to use a particular Amazon SNS topic.

Destructuring the Response

setIdentityHeadersInNotificationsEnabledResponse Source #

Creates a value of SetIdentityHeadersInNotificationsEnabledResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SetIdentityHeadersInNotificationsEnabledResponse Source #

An empty element returned on a successful request.

See: setIdentityHeadersInNotificationsEnabledResponse smart constructor.

Instances

Eq SetIdentityHeadersInNotificationsEnabledResponse Source # 
Data SetIdentityHeadersInNotificationsEnabledResponse Source # 

Methods

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

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

toConstr :: SetIdentityHeadersInNotificationsEnabledResponse -> Constr #

dataTypeOf :: SetIdentityHeadersInNotificationsEnabledResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetIdentityHeadersInNotificationsEnabledResponse Source # 
Show SetIdentityHeadersInNotificationsEnabledResponse Source # 
Generic SetIdentityHeadersInNotificationsEnabledResponse Source # 
NFData SetIdentityHeadersInNotificationsEnabledResponse Source # 
type Rep SetIdentityHeadersInNotificationsEnabledResponse Source # 
type Rep SetIdentityHeadersInNotificationsEnabledResponse = D1 (MetaData "SetIdentityHeadersInNotificationsEnabledResponse" "Network.AWS.SES.SetIdentityHeadersInNotificationsEnabled" "amazonka-ses-1.4.4-FOEDSKDYIwcI36aB4R9WY7" True) (C1 (MetaCons "SetIdentityHeadersInNotificationsEnabledResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_sihinersResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses