DeleteItem
Source:
src/AWS/DynamoDB/DeleteItem.ts
Runtime binding for dynamodb:DeleteItem.
Bind this operation to a Table inside a function runtime to get a callable
that deletes a single item by key, automatically injecting the table name.
Provide the DeleteItemHttp layer on the Function to satisfy the binding.
Writing Data
Section titled “Writing Data”const deleteItem = yield* AWS.DynamoDB.DeleteItem(table);
yield* deleteItem({ Key: { pk: { S: "user#123" }, sk: { S: "profile" }, },});