amazonka-ses-1.4.1: 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.SetIdentityNotificationTopic

Contents

Description

Given an identity (email address or domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as the Source.

Unless feedback forwarding is enabled, you must specify Amazon SNS topics for bounce and complaint notifications. For more information, see SetIdentityFeedbackForwardingEnabled.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide.

Synopsis

Creating a Request

setIdentityNotificationTopic Source #

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

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

data SetIdentityNotificationTopic Source #

See: setIdentityNotificationTopic smart constructor.

Instances

Eq SetIdentityNotificationTopic Source # 
Data SetIdentityNotificationTopic Source # 

Methods

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

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

toConstr :: SetIdentityNotificationTopic -> Constr #

dataTypeOf :: SetIdentityNotificationTopic -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetIdentityNotificationTopic Source # 
Show SetIdentityNotificationTopic Source # 
Generic SetIdentityNotificationTopic Source # 
Hashable SetIdentityNotificationTopic Source # 
NFData SetIdentityNotificationTopic Source # 
AWSRequest SetIdentityNotificationTopic Source # 
ToQuery SetIdentityNotificationTopic Source # 
ToPath SetIdentityNotificationTopic Source # 
ToHeaders SetIdentityNotificationTopic Source # 
type Rep SetIdentityNotificationTopic Source # 
type Rep SetIdentityNotificationTopic = D1 (MetaData "SetIdentityNotificationTopic" "Network.AWS.SES.SetIdentityNotificationTopic" "amazonka-ses-1.4.1-G0kIukUw1ofLyVape2SpsS" False) (C1 (MetaCons "SetIdentityNotificationTopic'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sintSNSTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_sintIdentity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_sintNotificationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 NotificationType)))))
type Rs SetIdentityNotificationTopic Source # 

Request Lenses

sintSNSTopic :: Lens' SetIdentityNotificationTopic (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.

sintIdentity :: Lens' SetIdentityNotificationTopic Text Source #

The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: 'user\'example.com', 'example.com', 'arn:aws:ses:us-east-1:123456789012:identity\/example.com'.

sintNotificationType :: Lens' SetIdentityNotificationTopic NotificationType Source #

The type of notifications that will be published to the specified Amazon SNS topic.

Destructuring the Response

setIdentityNotificationTopicResponse Source #

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

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

data SetIdentityNotificationTopicResponse Source #

See: setIdentityNotificationTopicResponse smart constructor.

Instances

Eq SetIdentityNotificationTopicResponse Source # 
Data SetIdentityNotificationTopicResponse Source # 

Methods

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

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

toConstr :: SetIdentityNotificationTopicResponse -> Constr #

dataTypeOf :: SetIdentityNotificationTopicResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetIdentityNotificationTopicResponse Source # 
Show SetIdentityNotificationTopicResponse Source # 
Generic SetIdentityNotificationTopicResponse Source # 
NFData SetIdentityNotificationTopicResponse Source # 
type Rep SetIdentityNotificationTopicResponse Source # 
type Rep SetIdentityNotificationTopicResponse = D1 (MetaData "SetIdentityNotificationTopicResponse" "Network.AWS.SES.SetIdentityNotificationTopic" "amazonka-ses-1.4.1-G0kIukUw1ofLyVape2SpsS" True) (C1 (MetaCons "SetIdentityNotificationTopicResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_sintrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses