createIndex

abstract suspend fun createIndex(input: CreateIndexRequest): CreateIndexResponse

Creates an index object. See Indexing and search for more information.

Samples

val resp = cloudDirectoryClient.createIndex {
    directoryArn = "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8"
    orderedIndexedAttributeList = listOf<AttributeKey>(
    )
    isUnique = true
    parentReference = ObjectReference {
    }
    linkName = "Examplelink"
}