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

Class: Aws::CloudDirectory::Types::AddFacetToObjectRequest

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

Overview

Note:

When passing AddFacetToObjectRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  directory_arn: "Arn", # required
  schema_facet: { # required
    schema_arn: "Arn",
    facet_name: "FacetName",
  },
  object_attribute_list: [
    {
      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",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#directory_arnString

The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

Returns:

  • (String)

    The Amazon Resource Name (ARN) that is associated with the Directory where the object resides.

#object_attribute_listArray<Types::AttributeKeyAndValue>

Attributes on the facet that you are adding to the object.

Returns:

#object_referenceTypes::ObjectReference

A reference to the object you are adding the specified facet to.

Returns:

#schema_facetTypes::SchemaFacet

Identifiers for the facet that you are adding to the object.

Returns: