deregister_event_topic

DirectoryService.Client.deregister_event_topic(**kwargs)

Removes the specified directory as a publisher to the specified Amazon SNS topic.

See also: AWS API Documentation

Request Syntax

response = client.deregister_event_topic(
    DirectoryId='string',
    TopicName='string'
)
Parameters
  • DirectoryId (string) --

    [REQUIRED]

    The Directory ID to remove as a publisher. This directory will no longer send messages to the specified Amazon SNS topic.

  • TopicName (string) --

    [REQUIRED]

    The name of the Amazon SNS topic from which to remove the directory as a publisher.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

    The result of a DeregisterEventTopic request.

Exceptions

  • DirectoryService.Client.exceptions.EntityDoesNotExistException
  • DirectoryService.Client.exceptions.InvalidParameterException
  • DirectoryService.Client.exceptions.ClientException
  • DirectoryService.Client.exceptions.ServiceException