Deleting items

  1. Delete items using the delete-item command and a key:
aws dynamodb delete-item 
--table-name my_table
--key '{"id":{"S":"002"},"dateandtime":{"N":"1536898295"}}'
--region us-east-1
--profile admin

Similar to update-item, for delete-item, you also you need to specify all the keys available using the key option.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.226.66