dynalite
dynalite copied to clipboard
delete table return object differs from AWS
Hi Mhart and thanks for the good work,
Just so you know, the delete table return some extra info compared to AWS:
AWS:
{
"TableDescription": {
"TableName": "test",
"TableStatus": "DELETING",
"ProvisionedThroughput": {
"NumberOfDecreasesToday": 0,
"ReadCapacityUnits": 5,
"WriteCapacityUnits": 5
},
"TableSizeBytes": 0,
"ItemCount": 0,
"TableArn": "arn:aws:dynamodb:us-west-1:886704940455:table/test"
}
}
then dynalite ( I removed the extra info just kept the keys )
{
"TableDescription": {
"AttributeDefinitions": ********,
"TableName": "test",
"KeySchema": ********,
"TableStatus": "DELETING",
"CreationDateTime": ********,
"ProvisionedThroughput": {
"NumberOfDecreasesToday": 0,
"ReadCapacityUnits": 5,
"WriteCapacityUnits": 5
},
"TableSizeBytes": 0,
"ItemCount": 0,
"TableArn": "arn:aws:dynamodb:us-east-1:000000000000:table/test",
"LocalSecondaryIndexes": ********
}
}
not a real problem-causing issue though 😄
@databank oh, this is good to know! I never thought about checking exactly what properties they omit from the table description in the delete response.
I'll fix this 👍