amazonka-ds-1.4.0: 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 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:

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:

Response Lenses

detrsEventTopics :: Lens' DescribeEventTopicsResponse [EventTopic] Source

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