-
Notifications
You must be signed in to change notification settings - Fork 1k
New Feature: API Gateway REST API to AWS Lambda Python function with response streaming #2865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
...lambda-python-response-streaming/apigw-restapi-lambda-python-response-streaming-pattern.json
Outdated
Show resolved
Hide resolved
...lambda-python-response-streaming/apigw-restapi-lambda-python-response-streaming-pattern.json
Outdated
Show resolved
Hide resolved
...lambda-python-response-streaming/apigw-restapi-lambda-python-response-streaming-pattern.json
Outdated
Show resolved
Hide resolved
| @@ -0,0 +1,67 @@ | |||
| # Amazon Gateway REST API to AWS Lambda Python function | |||
|
|
|||
| This pattern demonstrates how to use an Amazon API Gateway REST API with response streaming to a Python Lambda function. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| This pattern demonstrates how to use an Amazon API Gateway REST API with response streaming to a Python Lambda function. | |
| This pattern demonstrates how to use an Amazon API Gateway REST API with response streaming to an AWS Lambda Python function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed naming convention
| "template": { | ||
| "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-restapi-lambda-python-response-streaming", | ||
| "templateURL": "serverless-patterns/apigw-restapi-lambda-python-response-streaming", | ||
| "projectFolder": "apigw-restapi-lambda-python-response-streaming", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "projectFolder": "apigw-restapi-lambda-python-response-streaming", | |
| "projectFolder": "apigw-rest-api-lambda-python-response-streaming", |
| }, | ||
| "gitHub": { | ||
| "template": { | ||
| "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-restapi-lambda-python-response-streaming", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-restapi-lambda-python-response-streaming", | |
| "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-rest-api-lambda-python-response-streaming", |
| "headline": "How it works", | ||
| "text": [ | ||
| "This pattern demonstrates how to use an Amazon API Gateway REST API with response streaming to a AWS Lambda Python function.", | ||
| "To enable response streaming with a Lambda Python function, we use [Lambda Web Adapter](https://aws.amazon.com/blogs/compute/using-response-streaming-with-aws-lambda-web-adapter-to-optimize-performance/) and [Fast API](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi-response-streaming-zip)." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Markdown is not supported in the text field. Add links to the resources section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed links
|
Done. removed markdown links and include notice of lack of auth on API |
bfreiberg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for your contribution. Your pattern will be merged to Serverlessland soon
Issue #, if available:
Description of changes:
This pattern demonstrates how to use an Amazon API Gateway REST API with response streaming to a Python Lambda function.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.