-
Notifications
You must be signed in to change notification settings - Fork 0
AWS DynamoDB
Hunter edited this page Oct 25, 2023
·
3 revisions
export DYNAMO_ENDPOINT=http://localhost:8000
./NoSQL\ Workbench-linux-x86_64-3.4.0.AppImage --disable-gpu-sandbox
aws dynamodb update-item
--table-name MY_TABLE_NAME
--key '{"AccountId": {"S": '$accountId'}}'
--attribute-updates '{"Version": {"Value": {"S": '$desiredVersion'},"Action": "PUT"}}'
--return-values UPDATED_NEW
| jq '.Attributes.RuleSetVersion.S'
aws dynamodb get-item \
--table-name block-data \
--key '{"user_id": {"S": "17975755"}}' \
--attributes-to-get "data" \
| jq '.Attributes.RuleSetVersion.S'