I want to know item count with DynamoDB querying.
I can querying for DynamoDB, but I only want to know \'total count of item\'.
For example, \'SELECT COUNT(*
With the aws dynamodb cli you can get it via scan as follows:
aws dynamodb scan --table-name --select "COUNT"
The response will look similar to this:
{ "Count": 123, "ScannedCount": 123, "ConsumedCapacity": null }
notice that this information is in real time in contrast to the describe-table api