1

I'm trying to create a Step Function to call LEX to get intents from text. Is it possible to call LEX using step functions or I need to use lambdas?

The documentation doesn't list LEX as a supported service, but I want to be 100% sure before committing to use lambdas.

M--
  • 25,431
  • 8
  • 61
  • 93
eldercookie
  • 137
  • 8

1 Answers1

0

Currently, it is not possible to invoke a Lex bot directly from Step Functions.

As you mentioned, if you have to do it, invoke a Lambda function from your Step Function. The Lambda function can then further use the Lex runtime API operations to invoke the Lex bot: https://docs.aws.amazon.com/lex/latest/dg/API_Operations_Amazon_Lex_Runtime_Service.html

Paradigm
  • 1,876
  • 1
  • 12
  • 16
  • Thanks for the answer!. I am using Lambdas by the moment. It works okay but it will be better not having and adapter between the two services. – eldercookie May 28 '20 at 14:04