Sanjib
Sanjib

Reputation: 129

Is StartExecution api for AWS Step Function asynchronous?

I have a use case where I want to start a step function asynchronously from one of my existing lambda function. For this, I am using the StartExecution API. (https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html)

so does this API starts the step function asynchronously. if so, can someone please point me to the right documentation, where this is mentioned.

Upvotes: 0

Views: 2550

Answers (1)

Javier Ramirez
Javier Ramirez

Reputation: 3988

The StartExecution method only verifies an execution can be started and triggers the execution (if needed), returning the executionArn.

The execution itself is asynchronous and you can get information about the status and output by calling ListExecutions and DescribeExecution.

So even if StarExecution is a synchronous call, the execution itself is asynchronous.

Upvotes: 5

Related Questions