Untitled
aws dynamodb query \ --table-name YourTableName \ --key-condition-expression "UserId = :pk and SortKey = :sk" \ --expression-attribute-values '{":pk": {"S": "user123"}, ":sk": {"S": "your_sort_key_value"}}' \ --scan-index-forward false
Leave a Comment