batchWrite

abstract suspend fun batchWrite(input: BatchWriteRequest): BatchWriteResponse

Performs all the write operations in a batch. Either all the operations succeed or none.

Samples

val resp = cloudDirectoryClient.batchWrite {
    directoryArn = "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY"
    operations = listOf<BatchWriteOperation>(
    )
}