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

Class: Aws::CloudDirectory::Types::BatchAddFacetToObject

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

{
  schema_facet: { # required
    schema_arn: "Arn",
    facet_name: "FacetName",
  },
  object_attribute_list: [ # required
    {
      key: { # required
        schema_arn: "Arn", # required
        facet_name: "FacetName", # required
        name: "AttributeName", # required
      },
      value: { # required
        string_value: "StringAttributeValue",
        binary_value: "data",
        boolean_value: false,
        number_value: "NumberAttributeValue",
        datetime_value: Time.now,
      },
    },
  ],
  object_reference: { # required
    selector: "SelectorObjectReference",
  },
}

Represents the output of a batch add facet to object operation.

Instance Attribute Summary collapse

Instance Attribute Details

#object_attribute_listArray<Types::AttributeKeyAndValue>

The attributes to set on the object.

Returns:



476
477
478
479
480
481
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 476

class BatchAddFacetToObject < Struct.new(
  :schema_facet,
  :object_attribute_list,
  :object_reference)
  include Aws::Structure
end

#object_referenceTypes::ObjectReference

A reference to the object being mutated.



476
477
478
479
480
481
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 476

class BatchAddFacetToObject < Struct.new(
  :schema_facet,
  :object_attribute_list,
  :object_reference)
  include Aws::Structure
end

#schema_facetTypes::SchemaFacet

Represents the facet being added to the object.

Returns:



476
477
478
479
480
481
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 476

class BatchAddFacetToObject < Struct.new(
  :schema_facet,
  :object_attribute_list,
  :object_reference)
  include Aws::Structure
end