Module Smaws_Client_DirectoryService.RegisterEventTopic

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ClientException of Types.client_exception | `EntityDoesNotExistException of Types.entity_does_not_exist_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ServiceException of Types.service_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.register_event_topic_request -> (Types.register_event_topic_result, [> Smaws_Lib.Protocols.AwsJson.error | `ClientException of Types.client_exception | `EntityDoesNotExistException of Types.entity_does_not_exist_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ServiceException of Types.service_exception ]) Stdlib.result