You may commit Workbench samples to local DynamoDB as well as the AWS cloud. We will use the Workbench Employee sample for this exercise. In the workbench, commit the Employe model to Local DynamoDB (Covered in lesson: Hands-on: NoSQL Workbench walkthrough). Once the table is setup, try out the folowing commands against it.
Retrieve all items
aws dynamodb scan \
--table-name Employee \
--endpoint-url http://localhost:8000
Get an item by specifying its primary key
aws dynamodb get-item \
--table-name Employee \
--key '{
"LoginAlias": {"S": "johns"}
}' \
--endpoint-url http://localhost:8000
In the workbench generate the code for some of the above operations. Check out the code for your language of choice.