Skip to content
Hunter edited this page Oct 25, 2023 · 3 revisions

dynamodb local

export DYNAMO_ENDPOINT=http://localhost:8000
./NoSQL\ Workbench-linux-x86_64-3.4.0.AppImage --disable-gpu-sandbox

cli

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'
Clone this wiki locally