Invoke AWS Lambda and return response to API Gateway asyncronously

前端 未结 4 1512
醉梦人生
醉梦人生 2021-01-06 12:02

My use case is such that I\'ll have an AWS Lambda front ended with API Gateway.

My requirement is that once the Lambda is invoked it should return a 200 OK response

4条回答
  •  别那么骄傲
    2021-01-06 13:06

    Check the answer here on how to set up an Async Invoke to the Lambda function. This will return 200 immediately to the client, but the Lambda will process on it's own asynchronously.

    https://stackoverflow.com/a/40982649/5679071

提交回复
热议问题