aws-dynamodb
Verified for current stable LTS
Aws Dynamodb Command: Delete Item
An engineer would use this AWS DynamoDB command when needing to remove a specific item from a table, identified by its primary key, to manage data integrity or to free up space in a database. Exact CLI syntax to delete item using Aws Dynamodb.
When to use this: An engineer would use this AWS DynamoDB command when needing to remove a specific item from a table, identified by its primary key, to manage data integrity or to free up space in a database.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
aws dynamodb delete-item --table-name <table_name> --key '{{{"ID": {"N": "1"}}}}' aws dynamodb delete-item --table-name <table_name> --key "{{{"ID": `{"N": "1"`}}}}" Command Breakdown
--table-name- Command Option
- Tool-specific option used by this command invocation.
--key- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to delete item using Aws Dynamodb.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Aws Dynamodb Command: List Tables
aws dynamodb list-tables Aws Dynamodb Command: Describe Table aws dynamodb describe-table --table-name <table_name> Aws Dynamodb Command: Get Item aws dynamodb get-item --table-name <table_name> --key '{{{"ID": {"N": "1"}}}}' Aws Dynamodb Command: Scan aws dynamodb scan --table-name <table_name> Aws Dynamodb Command: Create Table aws dynamodb create-table --table-name <table_name> --attribute-definitions <AttributeName=S,AttributeType=S> --key-schema <AttributeName=S,KeyType=HASH> --provisioned-throughput <ReadCapacityUnits=5,WriteCapacityUnits=5>