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,
        },
      },
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_updatesArray<Types::LinkAttributeUpdate>

The attributes update structure.

Returns:



8205
8206
8207
8208
8209
8210
8211
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 8205

class UpdateLinkAttributesRequest < Struct.new(
  :directory_arn,
  :typed_link_specifier,
  :attribute_updates)
  SENSITIVE = []
  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)


8205
8206
8207
8208
8209
8210
8211
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 8205

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

Allows a typed link specifier to be accepted as input.



8205
8206
8207
8208
8209
8210
8211
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 8205

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