Ravi Sir's Cards › AWS
Put, Get, Update, Delete
This revision card explains Put, Get, Update, Delete. It starts from the need that aPIs need create/read/update/delete without a SQL server. It describes putItem, GetItem, UpdateItem, DeleteItem use the primary key. The how-to section notes IAM allow those actions on table ARN; call from Lambda with SDK. An example on the card is POST creates noteId; GET returns it; DELETE removes it.
Read card text
What this card says
Why do we need it?
APIs need create/read/update/delete without a SQL server.
What is it?
PutItem, GetItem, UpdateItem, DeleteItem use the primary key.
How to do it
IAM allow those actions on table ARN; call from Lambda with SDK.
PutItem
Example
POST creates noteId; GET returns it; DELETE removes it.