executeTransaction
inline suspend fun DynamoDbClient.executeTransaction(crossinline block: ExecuteTransactionRequest.Builder.() -> Unit): ExecuteTransactionResponse
This operation allows you to perform transactional reads or writes on data stored in DynamoDB, using PartiQL.
The entire transaction must consist of either read statements or write statements, you cannot mix both in one transaction. The EXISTS function is an exception and can be used to check the condition of specific attributes of the item in a similar manner to ConditionCheck
in the TransactWriteItems API.