batchRead

abstract suspend fun batchRead(input: BatchReadRequest): BatchReadResponse

Performs all the read operations in a batch.

Samples

import aws.sdk.kotlin.services.clouddirectory.model.BatchReadOperation
import aws.sdk.kotlin.services.clouddirectory.model.ConsistencyLevel

fun main() { 
   //sampleStart 
   val resp = cloudDirectoryClient.batchRead {
    directoryArn = "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY"
    operations = listOf<BatchReadOperation>(
    )
    consistencyLevel = ConsistencyLevel.fromValue("EVENTUAL")
} 
   //sampleEnd
}