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

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

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 BatchCreateObject data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#batch_reference_nameString

The batch reference name. See Batches for more information.

Returns:

  • (String)


830
831
832
833
834
835
836
837
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 830

class BatchCreateObject < Struct.new(
  :schema_facet,
  :object_attribute_list,
  :parent_reference,
  :link_name,
  :batch_reference_name)
  include Aws::Structure
end

The name of the link.

Returns:

  • (String)


830
831
832
833
834
835
836
837
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 830

class BatchCreateObject < Struct.new(
  :schema_facet,
  :object_attribute_list,
  :parent_reference,
  :link_name,
  :batch_reference_name)
  include Aws::Structure
end

#object_attribute_listArray<Types::AttributeKeyAndValue>

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

Returns:



830
831
832
833
834
835
836
837
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 830

class BatchCreateObject < Struct.new(
  :schema_facet,
  :object_attribute_list,
  :parent_reference,
  :link_name,
  :batch_reference_name)
  include Aws::Structure
end

#parent_referenceTypes::ObjectReference

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



830
831
832
833
834
835
836
837
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 830

class BatchCreateObject < Struct.new(
  :schema_facet,
  :object_attribute_list,
  :parent_reference,
  :link_name,
  :batch_reference_name)
  include Aws::Structure
end

#schema_facetArray<Types::SchemaFacet>

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

Returns:



830
831
832
833
834
835
836
837
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 830

class BatchCreateObject < Struct.new(
  :schema_facet,
  :object_attribute_list,
  :parent_reference,
  :link_name,
  :batch_reference_name)
  include Aws::Structure
end