- Hands-On Chatbot Development with Alexa Skills and Amazon Lex
- Sam Williams
- 219字
- 2021-07-16 17:45:12
Triggering Lambdas
In your first Lambda, the way that we tested it was by triggering it with a test. To make Lambdas useful, we need to be able to trigger it from different places.
In the Lambda Console, near the top, there is a Designer section. This section allows you to change how the Lambda interacts with other services and therefore the user. On the left of the section is an Add triggers menu with a selection of options. Each of these is a system of services that you can set up to trigger the function. These are not all of the ways to trigger a Lambda and we'll be using other methods in the future.
The most important ones for us are API Gateway and Alexa Skill Kit, but the other triggers can be very useful for other projects. API Gateway is the way to expose the Lambda to the outside world. You create an API endpoint, and anyone can hit that endpoint and that data will be processed by your Lambda. We'll be creating an API in Chapter 7, Publishing Your Chatbot to Facebook, Slack, Twilio and HTTP. The Alexa Skill Kit is a service for building Alexa Skills and these can trigger Lambdas too, and we'll be doing this in the next chapter.
- CorelDRAW X6 中文版圖形設計實戰從入門到精通
- WordPress 5 Complete
- PLC、現場總線及工業網絡實用技術速成
- 網絡安全技術與解決方案(修訂版)
- 圖解手機元器件維修技巧
- CCNP TSHOOT(642-832)認證考試指南
- INSTANT KineticJS Starter
- jQuery Mobile Web Development Essentials
- Android UI Design
- 物聯網的機遇與利用
- 智慧城市中的物聯網技術
- 物聯網M2M開發技術:基于無線CPU-Q26XX
- Building Microservices with Spring
- 物聯網導論
- Hands-On Cloud:Native Microservices with Jakarta EE