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

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

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

Overview

Note:

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#object_attribute_listArray<Types::AttributeKeyAndValue>

The attributes to set on the object.

Returns:

#object_referenceTypes::ObjectReference

A reference to the object being mutated.

Returns:

#schema_facetTypes::SchemaFacet

Represents the facet being added to the object.

Returns: