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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing BatchUpdateObjectAttributes as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_updatesArray<Types::ObjectAttributeUpdate>

Attributes update structure.

Returns:

#object_referenceTypes::ObjectReference

Reference that identifies the object.

Returns: