-
I'm getting Lambda malformed error when I use Lambda Proxy Integration in API Gateway, with a FastAPI/Gradio Lambda function deployed using LWA. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 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 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
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