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

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

Network.AWS.SES.SetIdentityNotificationTopic

Contents

Description

Given an identity (an email address or a 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 .

You can execute this operation no more than once per second.

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

Synopsis

Creating a Request

setIdentityNotificationTopic #

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:

  • sintSNSTopic - 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 - 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: userexample.com , example.com , arn:aws:ses:us-east-1:123456789012:identity/example.com@ .
  • sintNotificationType - The type of notifications that will be published to the specified Amazon SNS topic.

data SetIdentityNotificationTopic #

Represents a request to specify the Amazon SNS topic to which Amazon SES will publish bounce, complaint, or delivery notifications for emails sent with that identity as the Source. For information about Amazon SES notifications, see the Amazon SES Developer Guide .

See: setIdentityNotificationTopic smart constructor.

Instances
Eq SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

Data SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

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 # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

Show SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

Generic SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

Associated Types

type Rep SetIdentityNotificationTopic :: Type -> Type #

Hashable SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

AWSRequest SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

Associated Types

type Rs SetIdentityNotificationTopic :: Type #

ToHeaders SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

ToPath SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

ToQuery SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

NFData SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

type Rep SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

type Rep SetIdentityNotificationTopic = D1 (MetaData "SetIdentityNotificationTopic" "Network.AWS.SES.SetIdentityNotificationTopic" "amazonka-ses-1.6.1-GyciVs3kElCGWDMAMMcZl5" False) (C1 (MetaCons "SetIdentityNotificationTopic'" PrefixI True) (S1 (MetaSel (Just "_sintSNSTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sintIdentity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sintNotificationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 NotificationType))))
type Rs SetIdentityNotificationTopic # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

Request Lenses

sintSNSTopic :: Lens' SetIdentityNotificationTopic (Maybe Text) #

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 #

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: userexample.com , example.com , arn:aws:ses:us-east-1:123456789012:identity/example.com@ .

sintNotificationType :: Lens' SetIdentityNotificationTopic NotificationType #

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

Destructuring the Response

setIdentityNotificationTopicResponse #

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 #

An empty element returned on a successful request.

See: setIdentityNotificationTopicResponse smart constructor.

Instances
Eq SetIdentityNotificationTopicResponse # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

Data SetIdentityNotificationTopicResponse # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

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 # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

Show SetIdentityNotificationTopicResponse # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

Generic SetIdentityNotificationTopicResponse # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

NFData SetIdentityNotificationTopicResponse # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

type Rep SetIdentityNotificationTopicResponse # 
Instance details

Defined in Network.AWS.SES.SetIdentityNotificationTopic

type Rep SetIdentityNotificationTopicResponse = D1 (MetaData "SetIdentityNotificationTopicResponse" "Network.AWS.SES.SetIdentityNotificationTopic" "amazonka-ses-1.6.1-GyciVs3kElCGWDMAMMcZl5" True) (C1 (MetaCons "SetIdentityNotificationTopicResponse'" PrefixI True) (S1 (MetaSel (Just "_sintrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses