Last active
March 16, 2017 15:58
-
-
Save fivemini/862182b7cc59144f7f5ae680d9618b6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ aws --region us-east-1 --profile readonly dynamodb query --table-name query_test --no-scan-index-forward --return-consumed-capacity TOTAL --max-items 1 --key-condition-expression "username = :v1" --expression-attribute-values '{ ":v1":{"S":"bob"} }' | |
{ | |
"Count": 14, | |
"Items": [ | |
{ | |
"username": { | |
"S": "bob" | |
}, | |
"epochtime": { | |
"N": "14" | |
} | |
} | |
], | |
"NextToken": "xxxxxxxxxxx", | |
"ScannedCount": 14, | |
"ConsumedCapacity": { | |
"CapacityUnits": 0.5, | |
"TableName": "query_test" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment