listIndex

abstract suspend fun listIndex(input: ListIndexRequest): ListIndexResponse

Lists objects attached to the specified index.

Samples

import aws.sdk.kotlin.services.clouddirectory.model.ObjectReference

fun main() { 
   //sampleStart 
   val resp = cloudDirectoryClient.listIndex {
    directoryArn = "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY"
    indexReference = ObjectReference {
        selector = "$AQGG_ADlfNZBzYHY_JgDt3TW45F26R1HTY2z-stwKBte_Q"
    }
} 
   //sampleEnd
}