Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Transactions in one card

This revision card explains Transactions in one card. It starts from the need that partial multi-item updates leave money and seats inconsistent. It describes transactWriteItems all-or-nothing (limit actions); check CancellationReasons. The how-to section notes list items , then conditions , then txn , then idempotency key , then retry safely. An example on the card is clinic booking for Dr. Anaya uses txn so two patients cannot take one slot.

Transactions in one card Partial multi-item updates leave money and seats inconsistent. TransactWriteItems all-or-nothing (limit actions); check CancellationReasons. List items → conditions → txn → idempotency key → retry safely. Clinic booking for Dr. Anaya uses txn so two patients cannot take one slot.
Transactions in one card · Download PNG
Read card text

What this card says

Why do we need it?

Partial multi-item updates leave money and seats inconsistent.

What is it?

TransactWriteItems all-or-nothing (limit actions); check CancellationReasons.

TransactWriteItems

How to do it

List items → conditions → txn → idempotency key → retry safely.

Example

Clinic booking for Dr. Anaya uses txn so two patients cannot take one slot.

See all AWS revision cards