Ravi Sir's Cards › AWS
Effect on the item
This comparison card contrasts Effect on the item. PutItem: Writes a full item (replaces if same key). UpdateItem is described as changes only the attributes you name. The card pairs PutItem with new rows, and UpdateItem with patch fields.
Read card text
What this card says
Effect on the item
PutItem
Writes a full item (replaces if same key).
UpdateItem
Changes only the attributes you name.
Key points
Simple create/replace.
Partial edit without wiping fields.
Example
Create a new note.
Use when
New rows.
Patch fields.