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

Class: Aws::CloudDirectory::Types::CreateObjectRequest

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

Overview

Note:

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

{
  directory_arn: "Arn", # required
  schema_facets: [ # 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,
      },
    },
  ],
  parent_reference: {
    selector: "SelectorObjectReference",
  },
  link_name: "LinkName",
}

Instance Attribute Summary collapse

Instance Attribute Details

#directory_arnString

The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created. For more information, see arns.

Returns:

  • (String)

    The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created.

The name of link that is used to attach this object to a parent.

Returns:

  • (String)

    The name of link that is used to attach this object to a parent.

#object_attribute_listArray<Types::AttributeKeyAndValue>

The attribute map whose attribute ARN contains the key and attribute value as the map value.

Returns:

  • (Array<Types::AttributeKeyAndValue>)

    The attribute map whose attribute ARN contains the key and attribute value as the map value.

#parent_referenceTypes::ObjectReference

If specified, the parent reference to which this object will be attached.

Returns:

#schema_facetsArray<Types::SchemaFacet>

A list of schema facets to be associated with the object that contains SchemaArn and facet name. For more information, see arns.

Returns:

  • (Array<Types::SchemaFacet>)

    A list of schema facets to be associated with the object that contains SchemaArn and facet name.