amazonka-ds-1.5.0: Amazon Directory Service SDK.

Copyright(c) 2013-2017 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.DirectoryService.DescribeEventTopics

Contents

Description

Obtains information about which SNS topics receive status messages from the specified directory.

If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account.

Synopsis

Creating a Request

describeEventTopics :: DescribeEventTopics Source #

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

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

  • dDirectoryId - The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.
  • dTopicNames - A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned. An empty list results in an InvalidParameterException being thrown.

data DescribeEventTopics Source #

Describes event topics.

See: describeEventTopics smart constructor.

Instances

Eq DescribeEventTopics Source # 
Data DescribeEventTopics Source # 

Methods

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

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

toConstr :: DescribeEventTopics -> Constr #

dataTypeOf :: DescribeEventTopics -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DescribeEventTopics -> () #

AWSRequest DescribeEventTopics Source # 
ToQuery DescribeEventTopics Source # 
ToPath DescribeEventTopics Source # 
ToHeaders DescribeEventTopics Source # 
type Rep DescribeEventTopics Source # 
type Rep DescribeEventTopics = D1 (MetaData "DescribeEventTopics" "Network.AWS.DirectoryService.DescribeEventTopics" "amazonka-ds-1.5.0-1HLYDvwiZrU5lmpUrrPDdj" False) (C1 (MetaCons "DescribeEventTopics'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dTopicNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))
type Rs DescribeEventTopics Source # 

Request Lenses

dDirectoryId :: Lens' DescribeEventTopics (Maybe Text) Source #

The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned.

dTopicNames :: Lens' DescribeEventTopics [Text] Source #

A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned. An empty list results in an InvalidParameterException being thrown.

Destructuring the Response

describeEventTopicsResponse Source #

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

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

data DescribeEventTopicsResponse Source #

The result of a DescribeEventTopic request.

See: describeEventTopicsResponse smart constructor.

Instances

Eq DescribeEventTopicsResponse Source # 
Data DescribeEventTopicsResponse Source # 

Methods

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

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

toConstr :: DescribeEventTopicsResponse -> Constr #

dataTypeOf :: DescribeEventTopicsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeEventTopicsResponse Source # 
Show DescribeEventTopicsResponse Source # 
Generic DescribeEventTopicsResponse Source # 
NFData DescribeEventTopicsResponse Source # 
type Rep DescribeEventTopicsResponse Source # 
type Rep DescribeEventTopicsResponse = D1 (MetaData "DescribeEventTopicsResponse" "Network.AWS.DirectoryService.DescribeEventTopics" "amazonka-ds-1.5.0-1HLYDvwiZrU5lmpUrrPDdj" False) (C1 (MetaCons "DescribeEventTopicsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_detrsEventTopics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EventTopic]))) (S1 (MetaSel (Just Symbol "_detrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

detrsEventTopics :: Lens' DescribeEventTopicsResponse [EventTopic] Source #

A list of SNS topic names that receive status messages from the specified Directory ID.