You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DirectoryService::Types::RegisterEventTopicRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb

Overview

Note:

When making an API call, you may pass RegisterEventTopicRequest data as a hash:

{
  directory_id: "DirectoryId", # required
  topic_name: "TopicName", # required
}

Registers a new event topic.

Instance Attribute Summary collapse

Instance Attribute Details

#directory_idString

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

Returns:

  • (String)


2211
2212
2213
2214
2215
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 2211

class RegisterEventTopicRequest < Struct.new(
  :directory_id,
  :topic_name)
  include Aws::Structure
end

#topic_nameString

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.

Returns:

  • (String)


2211
2212
2213
2214
2215
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 2211

class RegisterEventTopicRequest < Struct.new(
  :directory_id,
  :topic_name)
  include Aws::Structure
end