I followed tutorial on creating and invoking step functions
I\'m getting output in my GET request of api as
{
\"executionArn\": \"arn:aws:states:
Expanding on what @MikeD at AWS says, if you're certain that the Step Function won't exceed the 30 second timeout, you could create a lambda that executes the step function and then blocks as it polls for the result. Once it has the result, it can return it.
It is a better idea to have the first call return immediately with the execution id, and then pass that id into a second call to retrieve the result, once it's finished.