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

Class: Aws::CloudDirectory::Types::CreateIndexRequest

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

Overview

Note:

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

{
  directory_arn: "Arn", # required
  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",
}

Instance Attribute Summary collapse

Instance Attribute Details

#directory_arnString

The ARN of the directory where the index should be created.

Returns:

  • (String)

    The ARN of the directory where the index should be created.

#is_uniqueBoolean

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

Returns:

  • (Boolean)

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

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

Returns:

  • (String)

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

#ordered_indexed_attribute_listArray<Types::AttributeKey>

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

Returns:

#parent_referenceTypes::ObjectReference

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

Returns: