paws.security.identity (version 0.1.0)

directoryservice_register_event_topic: Associates a directory with an SNS topic

Description

Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified 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.

Usage

directoryservice_register_event_topic(DirectoryId, TopicName)

Arguments

DirectoryId

[required] The Directory ID that will publish status messages to the SNS topic.

TopicName

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

Request syntax

svc$register_event_topic(
  DirectoryId = "string",
  TopicName = "string"
)