amazonka-ds-1.6.1: Amazon Directory 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.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 # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

Data DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.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 Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

Show DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

Generic DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

Associated Types

type Rep DescribeEventTopics :: Type -> Type #

Hashable DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

ToJSON DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

AWSRequest DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

Associated Types

type Rs DescribeEventTopics :: Type #

ToHeaders DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

ToPath DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

ToQuery DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

NFData DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

Methods

rnf :: DescribeEventTopics -> () #

type Rep DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

type Rep DescribeEventTopics = D1 (MetaData "DescribeEventTopics" "Network.AWS.DirectoryService.DescribeEventTopics" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" False) (C1 (MetaCons "DescribeEventTopics'" PrefixI True) (S1 (MetaSel (Just "_dDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dTopicNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))
type Rs DescribeEventTopics Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

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

Defined in Network.AWS.DirectoryService.DescribeEventTopics

Data DescribeEventTopicsResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

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

Defined in Network.AWS.DirectoryService.DescribeEventTopics

Show DescribeEventTopicsResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

Generic DescribeEventTopicsResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

Associated Types

type Rep DescribeEventTopicsResponse :: Type -> Type #

NFData DescribeEventTopicsResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

type Rep DescribeEventTopicsResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.DescribeEventTopics

type Rep DescribeEventTopicsResponse = D1 (MetaData "DescribeEventTopicsResponse" "Network.AWS.DirectoryService.DescribeEventTopics" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" False) (C1 (MetaCons "DescribeEventTopicsResponse'" PrefixI True) (S1 (MetaSel (Just "_detrsEventTopics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EventTopic])) :*: S1 (MetaSel (Just "_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.