From the course: Building Intelligent Chatbots on AWS (2019)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Testing with Lambdas - Amazon Web Services (AWS) Tutorial
From the course: Building Intelligent Chatbots on AWS (2019)
Testing with Lambdas
- [Man] Your Lambda's in my bot. Your bot is calling my Lambda, yes, both. We have both. We need to connect them now, and from the bot, we'll specify the Lambda to call in each of the initialization and validation portion, and also the fulfillment area. In our case, it's the same Lambda. We'll call it in both places. All we have to do is go back to our bot and in the Lambda initialization and validation section expand that, click the button for initialization and validation code hook. It's not letting me click, you notice that? So, it's because I'm not editing. I'm just looking at it. So, go up at the top by the name of the intent and click edit. Now, I can check the box, and give it the Lambda name and I can do the same for the lower part of the bot for the fulfillment. Now, it's saying you're about to give permission to invoke your Lambda function. That's totally fine. That's what we want to do, but it does have to verify that to give it permission and we can specify which version…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.