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

Class: Aws::CloudDirectory::Types::LinkAttributeAction

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

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

The action to take on a typed link attribute value. Updates are only supported for attributes which don’t contribute to link identity.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_action_typeString

A type that can be either UPDATE_OR_CREATE or DELETE.

Returns:

  • (String)


5358
5359
5360
5361
5362
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 5358

class LinkAttributeAction < Struct.new(
  :attribute_action_type,
  :attribute_update_value)
  include Aws::Structure
end

#attribute_update_valueTypes::TypedAttributeValue

The value that you want to update to.



5358
5359
5360
5361
5362
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 5358

class LinkAttributeAction < Struct.new(
  :attribute_action_type,
  :attribute_update_value)
  include Aws::Structure
end