batchWrite
inline suspend fun CloudDirectoryClient.batchWrite(crossinline block: BatchWriteRequest.Builder.() -> Unit): 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>(
)
}Content copied to clipboard