Skip to content

Instantly share code, notes, and snippets.

@billydh
Created January 13, 2020 10:47
Show Gist options
  • Select an option

  • Save billydh/9466ad9d44b5046eb72e9c5f311d609c to your computer and use it in GitHub Desktop.

Select an option

Save billydh/9466ad9d44b5046eb72e9c5f311d609c to your computer and use it in GitHub Desktop.
aws dynamodb update-item --endpoint-url http://localhost:8042 --table-name demo-customer-info \
--key '{"customerId": {"S": "1111"}}' \
--update-expression 'SET #email = :newEmail' \
--expression-attribute-names '{"#email": "email"}' \
--expression-attribute-values '{":newEmail": {"S": "[email protected]"}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment