Deletе the resources you created
Written by
Updated at January 30, 2024
If you no longer need the series
table, delete it:
AWS CLI
Run the command by replacing https://your-database-endpoint
with the previously prepared Document API endpoint of your DB:
Warning
To work with the AWS CLI from Windows, we recommend using the WSL
endpoint="https://your-database-endpoint"
aws dynamodb delete-table \
--table-name series \
--endpoint $endpoint
Result:
{
"TableDescription": {
"AttributeDefinitions": [
{
"AttributeName": "series_id",
"AttributeType": "N"
},
{
"AttributeName": "title",
"AttributeType": "S"
}
],
"TableName": "series",
"KeySchema": [
{
"AttributeName": "series_id",
"KeyType": "HASH"
},
{
"AttributeName": "title",
"KeyType": "RANGE"
}
],
"TableStatus": "DELETING",
"CreationDateTime": "2020-12-27T13:21:10+00:00",
"TableSizeBytes": 0,
"ItemCount": 0
}
}