Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- describeEventTopics :: DescribeEventTopics
- data DescribeEventTopics
- dDirectoryId :: Lens' DescribeEventTopics (Maybe Text)
- dTopicNames :: Lens' DescribeEventTopics [Text]
- describeEventTopicsResponse :: Int -> DescribeEventTopicsResponse
- data DescribeEventTopicsResponse
- detrsEventTopics :: Lens' DescribeEventTopicsResponse [EventTopic]
- detrsResponseStatus :: Lens' DescribeEventTopicsResponse Int
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 anInvalidParameterException
being thrown.
data DescribeEventTopics Source #
Describes event topics.
See: describeEventTopics
smart constructor.
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:
detrsEventTopics
- A list of SNS topic names that receive status messages from the specified Directory ID.detrsResponseStatus
- -- | The response status code.
data DescribeEventTopicsResponse Source #
The result of a DescribeEventTopic request.
See: describeEventTopicsResponse
smart constructor.
Response Lenses
detrsEventTopics :: Lens' DescribeEventTopicsResponse [EventTopic] Source #
A list of SNS topic names that receive status messages from the specified Directory ID.
detrsResponseStatus :: Lens' DescribeEventTopicsResponse Int Source #
- - | The response status code.