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

Class: Aws::CloudDirectory::Types::ObjectAttributeUpdate

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

{
  object_attribute_key: {
    schema_arn: "Arn", # required
    facet_name: "FacetName", # required
    name: "AttributeName", # required
  },
  object_attribute_action: {
    object_attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
    object_attribute_update_value: {
      string_value: "StringAttributeValue",
      binary_value: "data",
      boolean_value: false,
      number_value: "NumberAttributeValue",
      datetime_value: Time.now,
    },
  },
}

Structure that contains attribute update information.

Instance Attribute Summary collapse

Instance Attribute Details

#object_attribute_actionTypes::ObjectAttributeAction

The action to perform as part of the attribute update.



5727
5728
5729
5730
5731
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 5727

class ObjectAttributeUpdate < Struct.new(
  :object_attribute_key,
  :object_attribute_action)
  include Aws::Structure
end

#object_attribute_keyTypes::AttributeKey

The key of the attribute being updated.

Returns:



5727
5728
5729
5730
5731
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 5727

class ObjectAttributeUpdate < Struct.new(
  :object_attribute_key,
  :object_attribute_action)
  include Aws::Structure
end