An AWS Lambda function is a code that executes in the cloud and supports operations such as those used in a chatbot. In this recipe, we will demonstrate how to create a Lambda function using AWS Toolkit for Eclipse. This function will receive data from a user and then return an appropriate response.
Creating a Lambda function
Getting ready
Follow the steps to create the Lambda function:
- Complete the previous recipe, Creating a bot using the AWS Toolkit for Eclipse.
- Add the following dependencies to the project's POM file:
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version...