Skip to Content
Learn AWS Serverless Computing
book

Learn AWS Serverless Computing

by Scott Patterson
December 2019
Intermediate to advanced
382 pages
9h 43m
English
Packt Publishing
Content preview from Learn AWS Serverless Computing

Understanding the architecture

Because Lex is not involved in this architecture, we won't have the luxury of natural language understanding, so we will need to be quite particular about how we ask things from our bot. This makes our bot follow a rule-based response model, where inputs are mapped to outputs. Using Lex would give you more artificial intelligence—inputs are mapped to intents instead of a predefined response. It's important to be aware of the difference and use the method that's most suitable for your use case.

In the following architecture diagram, you can see we are making use of the Event and Web APIs from Slack. Events are posted to our API Gateway, which invokes a Lambda function. The function performs the bot application ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Sunil Gulabani

Publisher Resources

ISBN: 9781789958355