Now we have to set up our Lambda function to actually read data from our DynamoDB table.
The hard coded data in our handler function is getting deleted and being replaced with code that scans our table and returns its contents.
To make this happen we'll be using aws-sdk
to get access to DynamoDB.DocumentClient
which gives us a simple API for interacting with our tables.