//tempest2/app.cash.tempest2/AsyncLogicalDb/transactionWrite
transactionWrite¶
[jvm]\ open suspend fun transactionWrite(writeSet: TransactionWriteSet)
Transactionally writes objects specified by transactionWriteRequest by calling DynamoDbClient.transactWriteItems API.
This method supports versioning annotations, but not in conjunction with condition expressions. It throws software.amazon.awssdk.core.exception.SdkClientException exception if class of any input object is annotated with DynamoDbVersionAttribute and a condition expression is also present.
A transaction cannot contain more than 25 unique items, including conditions. A transaction cannot contain more than 4 MB of data. No two actions in a transaction can work against the same item in the same table. For example, you cannot both ConditionCheck and Update the same item in one transaction.