Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

deregister_event_topic

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