The table in DynamoDB looks as below:
partition_key, created_at
I intend to delete items based on created_at - when the data is too old, then delete it. I tried the following command:
aws dynamodb delete-item --table-name my_table --condition-expression "created_at <= 1479655145317"
But it complains aws: error: argument --key is required, I intend to delete the item not based on partition key, any suggestions? Thanks.