Amazon Lex icon

Amazon Lex

AI and Machine Learning  ·  Common, learn when you need it

Builds a chatbot or phone bot that works out what the caller wants.

Picture it as

A phone menu that lets you say "I want to change my flight" instead of pressing 4, then asks which flight.

What it actually does

You define intents (things a user might want) and slots (details to collect), and Lex handles the conversation, asks for missing details, and calls your Lambda to do the work. It is the engine behind Alexa. It is intent-based, so it handles defined tasks well and open-ended chat badly. Many teams now put a Bedrock model behind or beside it for the free-form parts.

Reach for it when

Do not reach for it when

One small example

A caller says "track my order 4471" and the bot reads back the delivery date from your database.

How you pay

Per text request and per speech request. Voice costs roughly four times text, and retries during a confused call are all billable.

Usually sits next to

The real source

This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.

All 303 AWS services, explained