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

Class: Aws::CloudDirectory::Types::ObjectAttributeAction

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

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

The action to take on the object attribute.

Instance Attribute Summary collapse

Instance Attribute Details

#object_attribute_action_typeString

A type that can be either Update or Delete.

Returns:

  • (String)


5641
5642
5643
5644
5645
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 5641

class ObjectAttributeAction < Struct.new(
  :object_attribute_action_type,
  :object_attribute_update_value)
  include Aws::Structure
end

#object_attribute_update_valueTypes::TypedAttributeValue

The value that you want to update to.



5641
5642
5643
5644
5645
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 5641

class ObjectAttributeAction < Struct.new(
  :object_attribute_action_type,
  :object_attribute_update_value)
  include Aws::Structure
end