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

Class: Aws::CloudDirectory::Types::BatchUpdateObjectAttributes

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

{
  object_reference: { # required
    selector: "SelectorObjectReference",
  },
  attribute_updates: [ # required
    {
      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,
        },
      },
    },
  ],
}

Represents the output of a BatchUpdate operation.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_updatesArray<Types::ObjectAttributeUpdate>

Attributes update structure.

Returns:



2471
2472
2473
2474
2475
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 2471

class BatchUpdateObjectAttributes < Struct.new(
  :object_reference,
  :attribute_updates)
  include Aws::Structure
end

#object_referenceTypes::ObjectReference

Reference that identifies the object.



2471
2472
2473
2474
2475
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 2471

class BatchUpdateObjectAttributes < Struct.new(
  :object_reference,
  :attribute_updates)
  include Aws::Structure
end