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

Class: Aws::CloudDirectory::Types::BatchCreateObject

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

Overview

Note:

When passing BatchCreateObject 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,
      },
    },
  ],
  parent_reference: { # required
    selector: "SelectorObjectReference",
  },
  link_name: "LinkName", # required
  batch_reference_name: "BatchReferenceName", # required
}

Represents the output of a CreateObject operation.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#batch_reference_nameString

The batch reference name. See Batches for more information.

Returns:

  • (String)

    The batch reference name.

The name of the link.

Returns:

  • (String)

    The name of the link.

#object_attribute_listArray<Types::AttributeKeyAndValue>

An attribute map, which contains an attribute ARN as the key and attribute value as the map value.

Returns:

  • (Array<Types::AttributeKeyAndValue>)

    An attribute map, which contains an attribute ARN as 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_facetArray<Types::SchemaFacet>

A list of FacetArns that will be associated with the object. For more information, see arns.

Returns:

  • (Array<Types::SchemaFacet>)

    A list of FacetArns that will be associated with the object.