amazonka-ds-1.4.5: 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.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 #

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 #

Describes event topics.

See: describeEventTopics smart constructor.

Instances

Eq DescribeEventTopics # 
Data DescribeEventTopics # 

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 # 
Show DescribeEventTopics # 
Generic DescribeEventTopics # 
Hashable DescribeEventTopics # 
ToJSON DescribeEventTopics # 
NFData DescribeEventTopics # 

Methods

rnf :: DescribeEventTopics -> () #

AWSRequest DescribeEventTopics # 
ToQuery DescribeEventTopics # 
ToPath DescribeEventTopics # 
ToHeaders DescribeEventTopics # 
type Rep DescribeEventTopics # 
type Rep DescribeEventTopics = D1 (MetaData "DescribeEventTopics" "Network.AWS.DirectoryService.DescribeEventTopics" "amazonka-ds-1.4.5-HS0i104tV5hDEVolmTtioL" 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 # 

Request Lenses

dDirectoryId :: Lens' DescribeEventTopics (Maybe Text) #

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] #

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 #

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 #

The result of a DescribeEventTopic request.

See: describeEventTopicsResponse smart constructor.

Instances

Eq DescribeEventTopicsResponse # 
Data DescribeEventTopicsResponse # 

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 # 
Show DescribeEventTopicsResponse # 
Generic DescribeEventTopicsResponse # 
NFData DescribeEventTopicsResponse # 
type Rep DescribeEventTopicsResponse # 
type Rep DescribeEventTopicsResponse = D1 (MetaData "DescribeEventTopicsResponse" "Network.AWS.DirectoryService.DescribeEventTopics" "amazonka-ds-1.4.5-HS0i104tV5hDEVolmTtioL" False) (C1 (MetaCons "DescribeEventTopicsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_detrsEventTopics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EventTopic]))) (S1 (MetaSel (Just Symbol "_detrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

detrsEventTopics :: Lens' DescribeEventTopicsResponse [EventTopic] #

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