Skip to content

Instantly share code, notes, and snippets.

@ErickWendel
Created September 13, 2017 20:41
Show Gist options
  • Save ErickWendel/30bd127b2a33f2f29cd5332ca87297cf to your computer and use it in GitHub Desktop.
Save ErickWendel/30bd127b2a33f2f29cd5332ca87297cf to your computer and use it in GitHub Desktop.
aws dynamodb scan --table-name leads \
--select COUNT \
--filter-expression "credor = :s and #lead_status = :st" \
--expression-attribute-names '{"#lead_status": "status"}' \
--expression-attribute-values '{ ":s": { "S": "REDECARD" }, ":st": { "S": "active" } }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment