I'm trying to insert UUID to dynamodb local but unable to find a way to do it. I'm using following command to insert an item (with @DynamoDBAutoGeneratedKey), but it is getting inserted as a string in the for "id" attribute. can someone provide me ways to get this uuid inserted?
Below command is on windows using AWS CLI:
aws dynamodb put-item --table-name customer --item "{\"id\":{\"S\":\"@DynamoDBAutoGeneratedKey\"},\"firstName\":{\"S\":\"fname\"},\"lastName\":{\"S\":\"lname\"},\"createdDate\":{\"S\":\"01-Sep-2017\"}}" --return-consumed-capacity TOTAL --region us-west-2 --endpoint-url http://localhost:8000