batchRead

abstract suspend fun batchRead(input: BatchReadRequest): BatchReadResponse

Performs all the read operations in a batch.

Samples

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