In this recipe, we will read data from Lambda, following the general steps outlined in the Using the DynamoDB SDK from Lambda recipe. We will read data using the get-item, query, and scan APIs. We have already seen reading data from the CLI in an earlier recipe, Working with data from the CLI.
Reading data from Lambda
Getting ready
You need an active AWS account. You need to follow the section Getting started in the recipes Your first AWS Lambda and Your first Lambda with AWS CLI from Chapter 1, Getting Started with Serverless Computing on AWS to set up Java, Maven, the parent project, serverless-cookbook-parent-aws-java, and AWS CLI, and may also read other notes there including code usage guidelines, S3 bucket creation...