amazonka-ds-1.4.2: Amazon Directory 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.DirectoryService.RegisterEventTopic

Contents

Description

Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status.

Synopsis

Creating a Request

registerEventTopic Source #

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

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

data RegisterEventTopic Source #

See: registerEventTopic smart constructor.

Instances

Eq RegisterEventTopic Source # 
Data RegisterEventTopic Source # 

Methods

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

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

toConstr :: RegisterEventTopic -> Constr #

dataTypeOf :: RegisterEventTopic -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterEventTopic Source # 
Show RegisterEventTopic Source # 
Generic RegisterEventTopic Source # 
ToJSON RegisterEventTopic Source # 
Hashable RegisterEventTopic Source # 
NFData RegisterEventTopic Source # 

Methods

rnf :: RegisterEventTopic -> () #

AWSRequest RegisterEventTopic Source # 
ToPath RegisterEventTopic Source # 
ToHeaders RegisterEventTopic Source # 
ToQuery RegisterEventTopic Source # 
type Rep RegisterEventTopic Source # 
type Rep RegisterEventTopic = D1 (MetaData "RegisterEventTopic" "Network.AWS.DirectoryService.RegisterEventTopic" "amazonka-ds-1.4.2-2tRF9IzMLvvBblYyr4EnMC" False) (C1 (MetaCons "RegisterEventTopic'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_retDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_retTopicName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs RegisterEventTopic Source # 

Request Lenses

retDirectoryId :: Lens' RegisterEventTopic Text Source #

The Directory ID that will publish status messages to the SNS topic.

retTopicName :: Lens' RegisterEventTopic Text Source #

The SNS topic name to which the directory will publish status messages. This SNS topic must be in the same region as the specified Directory ID.

Destructuring the Response

registerEventTopicResponse Source #

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

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

data RegisterEventTopicResponse Source #

See: registerEventTopicResponse smart constructor.

Instances

Eq RegisterEventTopicResponse Source # 
Data RegisterEventTopicResponse Source # 

Methods

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

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

toConstr :: RegisterEventTopicResponse -> Constr #

dataTypeOf :: RegisterEventTopicResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RegisterEventTopicResponse Source # 
Show RegisterEventTopicResponse Source # 
Generic RegisterEventTopicResponse Source # 
NFData RegisterEventTopicResponse Source # 
type Rep RegisterEventTopicResponse Source # 
type Rep RegisterEventTopicResponse = D1 (MetaData "RegisterEventTopicResponse" "Network.AWS.DirectoryService.RegisterEventTopic" "amazonka-ds-1.4.2-2tRF9IzMLvvBblYyr4EnMC" True) (C1 (MetaCons "RegisterEventTopicResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_retrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses