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

Class: Aws::CloudDirectory::Types::AttachObjectRequest

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

Overview

Note:

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

{
  directory_arn: "Arn", # required
  parent_reference: { # required
    selector: "SelectorObjectReference",
  },
  child_reference: { # required
    selector: "SelectorObjectReference",
  },
  link_name: "LinkName", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#child_referenceTypes::ObjectReference

The child object reference to be attached to the object.



151
152
153
154
155
156
157
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 151

class AttachObjectRequest < Struct.new(
  :directory_arn,
  :parent_reference,
  :child_reference,
  :link_name)
  include Aws::Structure
end

#directory_arnString

Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.

Returns:

  • (String)


151
152
153
154
155
156
157
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 151

class AttachObjectRequest < Struct.new(
  :directory_arn,
  :parent_reference,
  :child_reference,
  :link_name)
  include Aws::Structure
end

The link name with which the child object is attached to the parent.

Returns:

  • (String)


151
152
153
154
155
156
157
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 151

class AttachObjectRequest < Struct.new(
  :directory_arn,
  :parent_reference,
  :child_reference,
  :link_name)
  include Aws::Structure
end

#parent_referenceTypes::ObjectReference

The parent object reference.



151
152
153
154
155
156
157
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 151

class AttachObjectRequest < Struct.new(
  :directory_arn,
  :parent_reference,
  :child_reference,
  :link_name)
  include Aws::Structure
end