How can I configure Amazon API Gateway and AWS Step Functions like this?
Client call an api on api gateway ==> Api Gateway ===> Step Function ===> internally call an lambda => lambda returns response ==> response is send back to api gateway.
Right now, my Amazon API Gateway instead of invoking AWS Step Functions directly, it invokes a lambda which invokes step function and check its success state, then it returns response to Amazon API Gateway.