There are two ways to fulfill an action in Amazon Lex.
You can use lambda function as code hook to fulfill your intent. That is, Amazon Lex integrates with AWS Lambda for ‘fulfillment’ of the action or business logic. Alternately, you can configure Amazon Lex to return parsed intent and slot values to the client for action fulfillment.