|
I'm getting Lambda malformed error when I use Lambda Proxy Integration in API Gateway, with a FastAPI/Gradio Lambda function deployed using LWA. |
Replies: 3 comments 4 replies
|
API Gateway does not support response streaming at the moment. You need to use Lambda Function URL or another proxy layer to invoke Lambda API directly. https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html |
|
If you want to deploy a proxy layer, checkout this project. https://github.com/aws-samples/aws-lambda-web-gateway Deploy it to App Runner, you will have a serverless gateway that supports response streaming from Lambda. |
|
Hello, is this question still up to date in context of https://aws.amazon.com/blogs/compute/building-responsive-apis-with-amazon-api-gateway-response-streaming/ |
API Gateway does not support response streaming at the moment. You need to use Lambda Function URL or another proxy layer to invoke Lambda API directly.
https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html