1 Answer
- Newest
- Most votes
- Most comments
0
Be sure you are on the latest version of DynamoDB local, as it behaves the same way for me:
Local
aws dynamodb get-item \
--table-name test \
--key '{"PK":{"S":"lhnng"}, "SK":{"S":"lhnng"}}' \
--endpoint-url "http://localhost:8000"
{ "Item": { "SK": { "S": "lhnng" }, "GWP": { "N": "1" }, "PK": { "S": "lhnng" } } }
Web
aws dynamodb get-item \
--table-name test \
--key '{"PK":{"S":"lhnng"}, "SK":{"S":"lhnng"}}'
{ "Item": { "SK": { "S": "lhnng" }, "GWP": { "N": "1" }, "PK": { "S": "lhnng" } } }
Relevant content
- asked 2 years ago
- asked 3 years ago
- asked a year ago
- asked 4 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
Hi! Thank you for your answer! But your answer has nothing to do with my question, I updated my question and attached some pictures to make it clearer