pip install dynamoq
Use aws configure
to set up your AWS command line environment.
dynamoq get TABLE_NAME HASH_KEY
DYNAMODB_TABLE=mytable dynamoq get HASH_KEY
dynamoq put mytable '{"key": "foo", "data": "xyz"}' '{"key": "bar", "data": "xyz"}'
dynamoq scan mytable
echo '{"data": "update"}' | dynamoq update mytable mykey
dynamoq update mytable mykey field1=2 field2=[] --condition "field3 eq 456"
dynamoq update mytable mykey field1=2 field2=[] --condition "field4 between 7,8"
See DynamoDB Conditions for more.
- Andrey Kislyuk
Please report bugs, issues, feature requests, etc. on GitHub.
Licensed under the terms of the Apache License, Version 2.0.