Transactional Write Then Transactional Read
A 2-step recipe with Amazon DynamoDB. We can help you get access.
Recipe · 2 steps
Transactional Write Then Transactional Read
with Amazon DynamoDB
Run a write transaction, then confirm it with a read transaction.
- Atomically apply the write transaction. All actions succeed together or the entire transaction is rolled back.
- Atomically read the affected items back to confirm the transaction's committed state.
What you'll need to have ready
- writeTransactItems: The ordered TransactItems for the write (ConditionCheck, Put, Delete, and Update actions).
- clientRequestToken: A unique token making the write transaction idempotent.
- getTransactItems: The ordered TransactItems for the read (Get actions).
For your developer
Arazzo workflow amazon-dynamodb:transaction-write-then-read, 2 operations: TransactWriteItems → TransactGetItems. Specs on APIs.io.