v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1467365253.0 KB

Associates a directory with an Amazon SNS topic. This establishes the directory as a publisher to the specified Amazon SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status.

post/#X-Amz-Target=DirectoryService_20150416.RegisterEventTopic

Headers

X-Amz-Target'DirectoryService_20150416.RegisterEventTopic' required

Request body

DirectoryIdstring required

The Directory ID that will publish status messages to the Amazon SNS topic.

TopicNamestring required

The Amazon SNS topic name to which the directory will publish status messages. This Amazon SNS topic must be in the same region as the specified Directory ID.

Response

Success

RegisterEventTopicResult required

The result of a RegisterEventTopic request.