Jan. 16, 2024, 4:17 a.m. | Abhishek Gupta

DEV Community dev.to

Posted: 16/Jan/2024


The DynamoDB DeleteItem API does what it says - delete an item. But it can also:



  • Return the content of the old item (at no additional cost)

  • Return the consumed Write Capacity Units (WCU)

  • Return the item attributes for an operation that failed a condition check (again, no additional cost)

  • Retrieve statistics about item collections, if any, that were affected during the operation


Here is an example:



    resp, err := client.DeleteItem(context.Background …

api attributes can check cloud cost database delete dynamodb old return serverless

Social Engineer For Reverse Engineering Exploit Study

@ Independent study | Remote

Security Engineer II- Full stack Java with React

@ JPMorgan Chase & Co. | Hyderabad, Telangana, India

Cybersecurity SecOps

@ GFT Technologies | Mexico City, MX, 11850

Senior Information Security Advisor

@ Sun Life | Sun Life Toronto One York

Contract Special Security Officer (CSSO) - Top Secret Clearance

@ SpaceX | Hawthorne, CA

Early Career Cyber Security Operations Center (SOC) Analyst

@ State Street | Quincy, Massachusetts