createIndex
Creates an index object. See Indexing and search for more information.
Samples
import aws.sdk.kotlin.services.clouddirectory.model.AttributeKey
import aws.sdk.kotlin.services.clouddirectory.model.ObjectReference
fun main() {
//sampleStart
val resp = cloudDirectoryClient.createIndex {
directoryArn = "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8"
orderedIndexedAttributeList = listOf<AttributeKey>(
)
isUnique = true
parentReference = ObjectReference {
}
linkName = "Examplelink"
}
//sampleEnd
}