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

Class: Aws::CloudDirectory::Types::BatchCreateIndex

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 BatchCreateIndex data as a hash:

{
  ordered_indexed_attribute_list: [ # required
    {
      schema_arn: "Arn", # required
      facet_name: "FacetName", # required
      name: "AttributeName", # required
    },
  ],
  is_unique: false, # required
  parent_reference: {
    selector: "SelectorObjectReference",
  },
  link_name: "LinkName",
  batch_reference_name: "BatchReferenceName",
}

Creates an index object inside of a BatchRead operation. For more information, see CreateIndex and BatchReadRequest$Operations.

Instance Attribute Summary collapse

Instance Attribute Details

#batch_reference_nameString

The batch reference name. See Batches for more information.

Returns:

  • (String)


744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 744

class BatchCreateIndex < Struct.new(
  :ordered_indexed_attribute_list,
  :is_unique,
  :parent_reference,
  :link_name,
  :batch_reference_name)
  include Aws::Structure
end

#is_uniqueBoolean

Indicates whether the attribute that is being indexed has unique values or not.

Returns:

  • (Boolean)


744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 744

class BatchCreateIndex < Struct.new(
  :ordered_indexed_attribute_list,
  :is_unique,
  :parent_reference,
  :link_name,
  :batch_reference_name)
  include Aws::Structure
end

The name of the link between the parent object and the index object.

Returns:

  • (String)


744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 744

class BatchCreateIndex < Struct.new(
  :ordered_indexed_attribute_list,
  :is_unique,
  :parent_reference,
  :link_name,
  :batch_reference_name)
  include Aws::Structure
end

#ordered_indexed_attribute_listArray<Types::AttributeKey>

Specifies the attributes that should be indexed on. Currently only a single attribute is supported.

Returns:



744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 744

class BatchCreateIndex < Struct.new(
  :ordered_indexed_attribute_list,
  :is_unique,
  :parent_reference,
  :link_name,
  :batch_reference_name)
  include Aws::Structure
end

#parent_referenceTypes::ObjectReference

A reference to the parent object that contains the index object.



744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 744

class BatchCreateIndex < Struct.new(
  :ordered_indexed_attribute_list,
  :is_unique,
  :parent_reference,
  :link_name,
  :batch_reference_name)
  include Aws::Structure
end