From my understanding, API Gateway can trigger the Step Function. To kick off our state machine execution we need to send a post request as input.
The issue I am coming across is that API gateway will not wait for the execution to finish so it is no way of allowing the step function to respond back to the request:
Below is an image to outline this.
If this is in fact true, is there a way to call a lambda from within my lambda?