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

Class: Aws::CloudDirectory::Types::AttachTypedLinkRequest

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 AttachTypedLinkRequest data as a hash:

{
  directory_arn: "Arn", # required
  source_object_reference: { # required
    selector: "SelectorObjectReference",
  },
  target_object_reference: { # required
    selector: "SelectorObjectReference",
  },
  typed_link_facet: { # required
    schema_arn: "Arn", # required
    typed_link_name: "TypedLinkName", # required
  },
  attributes: [ # required
    {
      attribute_name: "AttributeName", # required
      value: { # required
        string_value: "StringAttributeValue",
        binary_value: "data",
        boolean_value: false,
        number_value: "NumberAttributeValue",
        datetime_value: Time.now,
      },
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#attributesArray<Types::AttributeNameAndValue>

A set of attributes that are associated with the typed link.

Returns:



311
312
313
314
315
316
317
318
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 311

class AttachTypedLinkRequest < Struct.new(
  :directory_arn,
  :source_object_reference,
  :target_object_reference,
  :typed_link_facet,
  :attributes)
  include Aws::Structure
end

#directory_arnString

The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.

Returns:

  • (String)


311
312
313
314
315
316
317
318
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 311

class AttachTypedLinkRequest < Struct.new(
  :directory_arn,
  :source_object_reference,
  :target_object_reference,
  :typed_link_facet,
  :attributes)
  include Aws::Structure
end

#source_object_referenceTypes::ObjectReference

Identifies the source object that the typed link will attach to.



311
312
313
314
315
316
317
318
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 311

class AttachTypedLinkRequest < Struct.new(
  :directory_arn,
  :source_object_reference,
  :target_object_reference,
  :typed_link_facet,
  :attributes)
  include Aws::Structure
end

#target_object_referenceTypes::ObjectReference

Identifies the target object that the typed link will attach to.



311
312
313
314
315
316
317
318
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 311

class AttachTypedLinkRequest < Struct.new(
  :directory_arn,
  :source_object_reference,
  :target_object_reference,
  :typed_link_facet,
  :attributes)
  include Aws::Structure
end

Identifies the typed link facet that is associated with the typed link.



311
312
313
314
315
316
317
318
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 311

class AttachTypedLinkRequest < Struct.new(
  :directory_arn,
  :source_object_reference,
  :target_object_reference,
  :typed_link_facet,
  :attributes)
  include Aws::Structure
end