deregisterEventTopic
abstract suspend fun deregisterEventTopic(input: DeregisterEventTopicRequest): DeregisterEventTopicResponse
Removes the specified directory as a publisher to the specified Amazon SNS topic.
Samples
fun main() {
//sampleStart
// The following example removes the specified directory as a publisher to the specified SNS topic.
val resp = directoryClient.deregisterEventTopic {
directoryId = "d-92654abfed"
topicName = "snstopicexample"
}
//sampleEnd
}