Step 1 - Creating the Lambda project (Java)

The ASK SDK requires intent handlers for each of the expected intents. We will create intent handlers for our application-specific intent (for example, a self-intro intent), the launch intent—as well as help, stop, and cancel intents for the inbuilt intents—a fallback intent, and a session end request intent. We will then create a parent lambda handler class that registers all these intent handlers.

I will be discussing only the core application logic and will not be discussing supporting code, such as imports, error handling, and Java doc comments in the book. However, the complete working code is provided along with the code files.

Let's start by defining the dependency of ASK SDK for Java in ...

Get Serverless Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.