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

Class: Aws::CloudDirectory::Types::UpdateLinkAttributesRequest

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

{
  directory_arn: "Arn", # required
  typed_link_specifier: { # required
    typed_link_facet: { # required
      schema_arn: "Arn", # required
      typed_link_name: "TypedLinkName", # required
    },
    source_object_reference: { # required
      selector: "SelectorObjectReference",
    },
    target_object_reference: { # required
      selector: "SelectorObjectReference",
    },
    identity_attribute_values: [ # required
      {
        attribute_name: "AttributeName", # required
        value: { # required
          string_value: "StringAttributeValue",
          binary_value: "data",
          boolean_value: false,
          number_value: "NumberAttributeValue",
          datetime_value: Time.now,
        },
      },
    ],
  },
  attribute_updates: [ # required
    {
      attribute_key: {
        schema_arn: "Arn", # required
        facet_name: "FacetName", # required
        name: "AttributeName", # required
      },
      attribute_action: {
        attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
        attribute_update_value: {
          string_value: "StringAttributeValue",
          binary_value: "data",
          boolean_value: false,
          number_value: "NumberAttributeValue",
          datetime_value: Time.now,
        },
      },
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_updatesArray<Types::LinkAttributeUpdate>

The attributes update structure.

Returns:



7955
7956
7957
7958
7959
7960
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 7955

class UpdateLinkAttributesRequest < Struct.new(
  :directory_arn,
  :typed_link_specifier,
  :attribute_updates)
  include Aws::Structure
end

#directory_arnString

The Amazon Resource Name (ARN) that is associated with the Directory where the updated typed link resides. For more information, see arns or Typed Links.

Returns:

  • (String)


7955
7956
7957
7958
7959
7960
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 7955

class UpdateLinkAttributesRequest < Struct.new(
  :directory_arn,
  :typed_link_specifier,
  :attribute_updates)
  include Aws::Structure
end

Allows a typed link specifier to be accepted as input.



7955
7956
7957
7958
7959
7960
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 7955

class UpdateLinkAttributesRequest < Struct.new(
  :directory_arn,
  :typed_link_specifier,
  :attribute_updates)
  include Aws::Structure
end