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

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

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 AddFacetToObjectRequest data as a 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)


61
62
63
64
65
66
67
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 61

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

#object_attribute_listArray<Types::AttributeKeyAndValue>

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

Returns:



61
62
63
64
65
66
67
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 61

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

#object_referenceTypes::ObjectReference

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



61
62
63
64
65
66
67
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 61

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

#schema_facetTypes::SchemaFacet

Identifiers for the facet that you are adding to the object. See SchemaFacet for details.

Returns:



61
62
63
64
65
66
67
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 61

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