class Aws::CloudDirectory::Types::CreateObjectRequest

@note When making an API call, you may pass CreateObjectRequest

data as a 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",
    }

@!attribute [rw] directory_arn

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

@!attribute [rw] schema_facets

A list of schema facets to be associated with the object. Do not
provide minor version components. See SchemaFacet for details.
@return [Array<Types::SchemaFacet>]

@!attribute [rw] object_attribute_list

The attribute map whose attribute ARN contains the key and attribute
value as the map value.
@return [Array<Types::AttributeKeyAndValue>]

@!attribute [rw] parent_reference

If specified, the parent reference to which this object will be
attached.
@return [Types::ObjectReference]

@!attribute [rw] link_name

The name of link that is used to attach this object to a parent.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateObjectRequest AWS API Documentation

Constants

SENSITIVE