| 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 |
Network.AWS.DirectoryService.DeregisterEventTopic
Description
Removes the specified directory as a publisher to the specified SNS topic.
- deregisterEventTopic :: Text -> Text -> DeregisterEventTopic
- data DeregisterEventTopic
- detDirectoryId :: Lens' DeregisterEventTopic Text
- detTopicName :: Lens' DeregisterEventTopic Text
- deregisterEventTopicResponse :: Int -> DeregisterEventTopicResponse
- data DeregisterEventTopicResponse
- derrsResponseStatus :: Lens' DeregisterEventTopicResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DeregisterEventTopic |
Creates a value of DeregisterEventTopic with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
detDirectoryId- The Directory ID to remove as a publisher. This directory will no longer send messages to the specified SNS topic.detTopicName- The name of the SNS topic from which to remove the directory as a publisher.
data DeregisterEventTopic Source #
Removes the specified directory as a publisher to the specified SNS topic.
See: deregisterEventTopic smart constructor.
Instances
Request Lenses
detDirectoryId :: Lens' DeregisterEventTopic Text Source #
The Directory ID to remove as a publisher. This directory will no longer send messages to the specified SNS topic.
detTopicName :: Lens' DeregisterEventTopic Text Source #
The name of the SNS topic from which to remove the directory as a publisher.
Destructuring the Response
deregisterEventTopicResponse Source #
Arguments
| :: Int | |
| -> DeregisterEventTopicResponse |
Creates a value of DeregisterEventTopicResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
derrsResponseStatus- -- | The response status code.
data DeregisterEventTopicResponse Source #
The result of a DeregisterEventTopic request.
See: deregisterEventTopicResponse smart constructor.
Instances
Response Lenses
derrsResponseStatus :: Lens' DeregisterEventTopicResponse Int Source #
- - | The response status code.