-
Notifications
You must be signed in to change notification settings - Fork 555
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
Support http.Handler for RESPONSE_STREAM Lambda Function URLs #503
Conversation
Codecov Report
@@ Coverage Diff @@
## main #503 +/- ##
==========================================
+ Coverage 71.38% 72.43% +1.05%
==========================================
Files 22 24 +2
Lines 1307 1375 +68
==========================================
+ Hits 933 996 +63
- Misses 306 310 +4
- Partials 68 69 +1
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
…ot yet re-propogate the crash
r, w := io.Pipe() | ||
go func() { | ||
defer close(status) | ||
defer w.Close() // TODO: recover and CloseWithError the any panic value once the runtime API client supports plumbing fatal errors through the reader |
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.
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.
Will get back to this in the follow-up for all returned writers. As for now allowing the panic to crash the process and log is the "most correct" thing do do, at least compared to swallowing it without any logging / reporting!
Co-authored-by: Aidan Steele <[email protected]>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/aws/aws-lambda-go](https://togithub.com/aws/aws-lambda-go) | require | minor | `v1.40.0` -> `v1.41.0` | --- ### Release Notes <details> <summary>aws/aws-lambda-go</summary> ### [`v1.41.0`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.41.0) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.40.0...v1.41.0) #### What's Changed - test: add `trace_test.go` by [@​wafuwafu13](https://togithub.com/wafuwafu13) in [https://github.com/aws/aws-lambda-go/pull/497](https://togithub.com/aws/aws-lambda-go/pull/497) - Support http.Handler for RESPONSE_STREAM Lambda Function URLs by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/503](https://togithub.com/aws/aws-lambda-go/pull/503) - feat: add ECSContainerInstanceEvent by [@​wafuwafu13](https://togithub.com/wafuwafu13) in [https://github.com/aws/aws-lambda-go/pull/502](https://togithub.com/aws/aws-lambda-go/pull/502) - Changing Headers definition from byte to int8 for KafkaRecord by [@​milovacb](https://togithub.com/milovacb) in [https://github.com/aws/aws-lambda-go/pull/506](https://togithub.com/aws/aws-lambda-go/pull/506) #### New Contributors - [@​wafuwafu13](https://togithub.com/wafuwafu13) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/497](https://togithub.com/aws/aws-lambda-go/pull/497) - [@​milovacb](https://togithub.com/milovacb) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/506](https://togithub.com/aws/aws-lambda-go/pull/506) **Full Changelog**: aws/aws-lambda-go@v1.40.0...v1.41.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/markussiebert/cdk-sops-secrets).
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/aws/aws-lambda-go](https://togithub.com/aws/aws-lambda-go) | require | minor | `v1.37.0` -> `v1.41.0` | | [github.com/aws/aws-sdk-go-v2](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.18.1` -> `v1.19.0` | | [github.com/aws/aws-sdk-go-v2](https://togithub.com/aws/aws-sdk-go-v2) | indirect | minor | `v1.18.1` -> `v1.19.0` | | [github.com/aws/aws-sdk-go-v2/config](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.27` -> `v1.18.28` | | [github.com/aws/aws-sdk-go-v2/credentials](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.26` -> `v1.13.27` | | [github.com/aws/aws-sdk-go-v2/credentials](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.13.26` -> `v1.13.27` | | [github.com/aws/aws-sdk-go-v2/feature/ec2/imds](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.13.4` -> `v1.13.5` | | [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.11.71` -> `v1.11.72` | | [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.11.71` -> `v1.11.72` | | [github.com/aws/aws-sdk-go-v2/internal/configsources](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.1.34` -> `v1.1.35` | | [github.com/aws/aws-sdk-go-v2/internal/endpoints/v2](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v2.4.28` -> `v2.4.29` | | [github.com/aws/aws-sdk-go-v2/internal/ini](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.3.35` -> `v1.3.36` | | [github.com/aws/aws-sdk-go-v2/internal/v4a](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.0.26` -> `v1.0.27` | | [github.com/aws/aws-sdk-go-v2/service/accessanalyzer](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.14` -> `v1.19.15` | | [github.com/aws/aws-sdk-go-v2/service/account](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.10.8` -> `v1.10.9` | | [github.com/aws/aws-sdk-go-v2/service/acm](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.13` -> `v1.17.14` | | [github.com/aws/aws-sdk-go-v2/service/acmpca](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.15` -> `v1.21.16` | | [github.com/aws/aws-sdk-go-v2/service/amp](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.13` -> `v1.16.14` | | [github.com/aws/aws-sdk-go-v2/service/amplify](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.12` -> `v1.13.13` | | [github.com/aws/aws-sdk-go-v2/service/apigateway](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.13` -> `v1.16.14` | | [github.com/aws/aws-sdk-go-v2/service/apigatewayv2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.13` -> `v1.13.14` | | [github.com/aws/aws-sdk-go-v2/service/applicationautoscaling](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.2` -> `v1.21.3` | | [github.com/aws/aws-sdk-go-v2/service/apprunner](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.11` -> `v1.17.12` | | [github.com/aws/aws-sdk-go-v2/service/appstream](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.20.13` -> `v1.21.1` | | [github.com/aws/aws-sdk-go-v2/service/appsync](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.2` -> `v1.21.3` | | [github.com/aws/aws-sdk-go-v2/service/athena](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.22.4` -> `v1.30.4` | | [github.com/aws/aws-sdk-go-v2/service/athena](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.30.2` -> `v1.30.4` | | [github.com/aws/aws-sdk-go-v2/service/autoscaling](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.28.9` -> `v1.28.10` | | [github.com/aws/aws-sdk-go-v2/service/autoscalingplans](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.12` -> `v1.13.13` | | [github.com/aws/aws-sdk-go-v2/service/backup](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.22.2` -> `v1.22.3` | | [github.com/aws/aws-sdk-go-v2/service/batch](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.23.8` -> `v1.24.1` | | [github.com/aws/aws-sdk-go-v2/service/cloudformation](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.30.0` -> `v1.30.1` | | [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.26.8` -> `v1.26.9` | | [github.com/aws/aws-sdk-go-v2/service/cloudhsmv2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.12` -> `v1.14.13` | | [github.com/aws/aws-sdk-go-v2/service/cloudtrail](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.27.1` -> `v1.27.2` | | [github.com/aws/aws-sdk-go-v2/service/cloudwatch](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.26.2` -> `v1.26.3` | | [github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.21.2` -> `v1.22.1` | | [github.com/aws/aws-sdk-go-v2/service/codeartifact](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.6` -> `v1.18.7` | | [github.com/aws/aws-sdk-go-v2/service/codebuild](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.20.15` -> `v1.20.16` | | [github.com/aws/aws-sdk-go-v2/service/codecommit](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.14` -> `v1.14.15` | | [github.com/aws/aws-sdk-go-v2/service/codepipeline](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.2` -> `v1.15.3` | | [github.com/aws/aws-sdk-go-v2/service/cognitoidentity](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.13` -> `v1.15.14` | | [github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.22.12` -> `v1.23.0` | | [github.com/aws/aws-sdk-go-v2/service/computeoptimizer](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.24.2` -> `v1.24.3` | | [github.com/aws/aws-sdk-go-v2/service/configservice](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.34.0` -> `v1.34.1` | | [github.com/aws/aws-sdk-go-v2/service/costexplorer](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.25.12` -> `v1.25.13` | | [github.com/aws/aws-sdk-go-v2/service/databasemigrationservice](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.25.7` -> `v1.27.0` | | [github.com/aws/aws-sdk-go-v2/service/dax](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.12.12` -> `v1.12.13` | | [github.com/aws/aws-sdk-go-v2/service/detective](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.2` -> `v1.19.3` | | [github.com/aws/aws-sdk-go-v2/service/directconnect](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.17` -> `v1.18.18` | | [github.com/aws/aws-sdk-go-v2/service/docdb](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.5` -> `v1.21.6` | | [github.com/aws/aws-sdk-go-v2/service/dynamodb](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.19.11` -> `v1.20.1` | | [github.com/aws/aws-sdk-go-v2/service/dynamodbstreams](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.14` -> `v1.14.15` | | [github.com/aws/aws-sdk-go-v2/service/ec2](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.102.0` -> `v1.104.0` | | [github.com/aws/aws-sdk-go-v2/service/ecr](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.13` -> `v1.18.14` | | [github.com/aws/aws-sdk-go-v2/service/ecrpublic](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.4` -> `v1.16.5` | | [github.com/aws/aws-sdk-go-v2/service/ecs](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.27.4` -> `v1.28.1` | | [github.com/aws/aws-sdk-go-v2/service/efs](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.20.3` -> `v1.20.4` | | [github.com/aws/aws-sdk-go-v2/service/eks](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.27.14` -> `v1.27.15` | | [github.com/aws/aws-sdk-go-v2/service/elasticache](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.27.2` -> `v1.27.3` | | [github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.12` -> `v1.15.13` | | [github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.12` -> `v1.15.13` | | [github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.13` -> `v1.19.14` | | [github.com/aws/aws-sdk-go-v2/service/elasticsearchservice](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.2` -> `v1.19.3` | | [github.com/aws/aws-sdk-go-v2/service/elastictranscoder](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.12` -> `v1.14.13` | | [github.com/aws/aws-sdk-go-v2/service/emr](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.27.0` -> `v1.27.1` | | [github.com/aws/aws-sdk-go-v2/service/eventbridge](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.4` -> `v1.19.5` | | [github.com/aws/aws-sdk-go-v2/service/firehose](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.14` -> `v1.16.15` | | [github.com/aws/aws-sdk-go-v2/service/frauddetector](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.25.2` -> `v1.25.3` | | [github.com/aws/aws-sdk-go-v2/service/fsx](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.29.3` -> `v1.30.0` | | [github.com/aws/aws-sdk-go-v2/service/glacier](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.13` -> `v1.14.14` | | [github.com/aws/aws-sdk-go-v2/service/glue](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.52.0` -> `v1.54.1` | | [github.com/aws/aws-sdk-go-v2/service/guardduty](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.24.0` -> `v1.24.1` | | [github.com/aws/aws-sdk-go-v2/service/iam](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.0` -> `v1.21.1` | | [github.com/aws/aws-sdk-go-v2/service/identitystore](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.13` -> `v1.16.14` | | [github.com/aws/aws-sdk-go-v2/service/inspector](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.12` -> `v1.13.13` | | [github.com/aws/aws-sdk-go-v2/service/inspector2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.0` -> `v1.15.1` | | [github.com/aws/aws-sdk-go-v2/service/internal/checksum](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.1.29` -> `v1.1.30` | | [github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.7.28` -> `v1.7.29` | | [github.com/aws/aws-sdk-go-v2/service/internal/presigned-url](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.9.28` -> `v1.9.29` | | [github.com/aws/aws-sdk-go-v2/service/internal/s3shared](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.14.3` -> `v1.14.4` | | [github.com/aws/aws-sdk-go-v2/service/internal/s3shared](https://togithub.com/aws/aws-sdk-go-v2) | indirect | minor | `v1.13.23` -> `v1.14.4` | | [github.com/aws/aws-sdk-go-v2/service/iot](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.38.2` -> `v1.38.3` | | [github.com/aws/aws-sdk-go-v2/service/kafka](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.20.5` -> `v1.20.6` | | [github.com/aws/aws-sdk-go-v2/service/kinesis](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.14` -> `v1.17.15` | | [github.com/aws/aws-sdk-go-v2/service/kms](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.22.2` -> `v1.23.1` | | [github.com/aws/aws-sdk-go-v2/service/lambda](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.36.0` -> `v1.37.1` | | [github.com/aws/aws-sdk-go-v2/service/lightsail](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.27.1` -> `v1.27.2` | | [github.com/aws/aws-sdk-go-v2/service/mq](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.0` -> `v1.15.1` | | [github.com/aws/aws-sdk-go-v2/service/mwaa](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.2` -> `v1.16.3` | | [github.com/aws/aws-sdk-go-v2/service/neptune](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.20.7` -> `v1.20.8` | | [github.com/aws/aws-sdk-go-v2/service/networkfirewall](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.28.3` -> `v1.28.4` | | [github.com/aws/aws-sdk-go-v2/service/networkmanager](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.14` -> `v1.17.15` | | [github.com/aws/aws-sdk-go-v2/service/organizations](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.8` -> `v1.19.9` | | [github.com/aws/aws-sdk-go-v2/service/qldb](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.13` -> `v1.15.14` | | [github.com/aws/aws-sdk-go-v2/service/quicksight](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.37.2` -> `v1.38.1` | | [github.com/aws/aws-sdk-go-v2/service/ram](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.4` -> `v1.18.5` | | [github.com/aws/aws-sdk-go-v2/service/rds](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.45.3` -> `v1.46.2` | | [github.com/aws/aws-sdk-go-v2/service/redshift](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.28.0` -> `v1.28.1` | | [github.com/aws/aws-sdk-go-v2/service/resiliencehub](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.11.3` -> `v1.11.4` | | [github.com/aws/aws-sdk-go-v2/service/resourcegroups](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.13` -> `v1.14.14` | | [github.com/aws/aws-sdk-go-v2/service/route53](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.28.3` -> `v1.28.4` | | [github.com/aws/aws-sdk-go-v2/service/route53domains](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.0` -> `v1.15.1` | | [github.com/aws/aws-sdk-go-v2/service/route53resolver](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.13` -> `v1.17.14` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.36.0` -> `v1.37.0` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.30.0` -> `v1.37.0` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.35.0` -> `v1.37.0` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://togithub.com/aws/aws-sdk-go-v2) | indirect | minor | `v1.36.0` -> `v1.37.0` | | [github.com/aws/aws-sdk-go-v2/service/s3control](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.31.7` -> `v1.31.8` | | [github.com/aws/aws-sdk-go-v2/service/sagemaker](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.86.0` -> `v1.92.0` | | [github.com/aws/aws-sdk-go-v2/service/savingsplans](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.12.12` -> `v1.12.13` | | [github.com/aws/aws-sdk-go-v2/service/scheduler](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.1.13` -> `v1.1.14` | | [github.com/aws/aws-sdk-go-v2/service/secretsmanager](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.10` -> `v1.19.11` | | [github.com/aws/aws-sdk-go-v2/service/securityhub](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.33.2` -> `v1.33.3` | | [github.com/aws/aws-sdk-go-v2/service/servicecatalog](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.2` -> `v1.19.3` | | [github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.6` -> `v1.17.7` | | [github.com/aws/aws-sdk-go-v2/service/servicediscovery](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.7` -> `v1.21.8` | | [github.com/aws/aws-sdk-go-v2/service/servicequotas](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.14` -> `v1.14.15` | | [github.com/aws/aws-sdk-go-v2/service/ses](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.11` -> `v1.15.12` | | [github.com/aws/aws-sdk-go-v2/service/sesv2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.2` -> `v1.18.3` | | [github.com/aws/aws-sdk-go-v2/service/sfn](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.0` -> `v1.18.1` | | [github.com/aws/aws-sdk-go-v2/service/shield](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.12` -> `v1.18.13` | | [github.com/aws/aws-sdk-go-v2/service/signer](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.2` -> `v1.15.3` | | [github.com/aws/aws-sdk-go-v2/service/sns](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.20.13` -> `v1.20.14` | | [github.com/aws/aws-sdk-go-v2/service/sqs](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.23.2` -> `v1.23.3` | | [github.com/aws/aws-sdk-go-v2/service/ssm](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.36.6` -> `v1.36.8` | | [github.com/aws/aws-sdk-go-v2/service/sso](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.12.12` -> `v1.12.13` | | [github.com/aws/aws-sdk-go-v2/service/ssoadmin](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.12` -> `v1.16.13` | | [github.com/aws/aws-sdk-go-v2/service/ssooidc](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.14.12` -> `v1.14.13` | | [github.com/aws/aws-sdk-go-v2/service/sts](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.2` -> `v1.19.3` | | [github.com/aws/aws-sdk-go-v2/service/sts](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.19.2` -> `v1.19.3` | | [github.com/aws/aws-sdk-go-v2/service/support](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.2` -> `v1.15.3` | | [github.com/aws/aws-sdk-go-v2/service/timestreamwrite](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.2` -> `v1.17.3` | | [github.com/aws/aws-sdk-go-v2/service/transfer](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.30.0` -> `v1.31.1` | | [github.com/aws/aws-sdk-go-v2/service/waf](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.12.12` -> `v1.12.13` | | [github.com/aws/aws-sdk-go-v2/service/wafregional](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.15` -> `v1.13.16` | | [github.com/aws/aws-sdk-go-v2/service/wafv2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.35.1` -> `v1.35.2` | | [github.com/aws/aws-sdk-go-v2/service/wellarchitected](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.1` -> `v1.21.2` | | [github.com/aws/aws-sdk-go-v2/service/workspaces](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.28.15` -> `v1.28.16` | | [github.com/aws/aws-sdk-go-v2/service/xray](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.13` -> `v1.16.14` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>aws/aws-lambda-go (github.com/aws/aws-lambda-go)</summary> ### [`v1.41.0`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.41.0) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.40.0...v1.41.0) #### What's Changed - test: add `trace_test.go` by [@​wafuwafu13](https://togithub.com/wafuwafu13) in [https://github.com/aws/aws-lambda-go/pull/497](https://togithub.com/aws/aws-lambda-go/pull/497) - Support http.Handler for RESPONSE_STREAM Lambda Function URLs by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/503](https://togithub.com/aws/aws-lambda-go/pull/503) - feat: add ECSContainerInstanceEvent by [@​wafuwafu13](https://togithub.com/wafuwafu13) in [https://github.com/aws/aws-lambda-go/pull/502](https://togithub.com/aws/aws-lambda-go/pull/502) - Changing Headers definition from byte to int8 for KafkaRecord by [@​milovacb](https://togithub.com/milovacb) in [https://github.com/aws/aws-lambda-go/pull/506](https://togithub.com/aws/aws-lambda-go/pull/506) #### New Contributors - [@​wafuwafu13](https://togithub.com/wafuwafu13) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/497](https://togithub.com/aws/aws-lambda-go/pull/497) - [@​milovacb](https://togithub.com/milovacb) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/506](https://togithub.com/aws/aws-lambda-go/pull/506) **Full Changelog**: aws/aws-lambda-go@v1.40.0...v1.41.0 ### [`v1.40.0`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.40.0) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.39.1...v1.40.0) #### What's Changed - Added ECRImageActionEvent and test by [@​nickryand](https://togithub.com/nickryand) in [https://github.com/aws/aws-lambda-go/pull/481](https://togithub.com/aws/aws-lambda-go/pull/481) - Report to the RuntimeAPI any errors that occur when reading from a handler's returned reader by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/495](https://togithub.com/aws/aws-lambda-go/pull/495) - Add response type for Lambda Function URL Streaming Responses by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/494](https://togithub.com/aws/aws-lambda-go/pull/494) - Add a note about lambda.norpc to the godoc of LambdaFunctionURLStreamingResponse by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/501](https://togithub.com/aws/aws-lambda-go/pull/501) #### New Contributors - [@​nickryand](https://togithub.com/nickryand) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/481](https://togithub.com/aws/aws-lambda-go/pull/481) **Full Changelog**: aws/aws-lambda-go@v1.39.1...v1.40.0 ### [`v1.39.1`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.39.1) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.39.0...v1.39.1) #### What's Changed - Yank lambda.WithSetup by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/489](https://togithub.com/aws/aws-lambda-go/pull/489) **Full Changelog**: aws/aws-lambda-go@v1.39.0...v1.39.1 ### [`v1.39.0`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.39.0) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.38.0...v1.39.0) #### What's Changed - Update workflows by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/487](https://togithub.com/aws/aws-lambda-go/pull/487) - Implement CodePipelineEventDetailExecutionResult by [@​guiminyao](https://togithub.com/guiminyao) in [https://github.com/aws/aws-lambda-go/pull/486](https://togithub.com/aws/aws-lambda-go/pull/486) - fix stylecheck error by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/488](https://togithub.com/aws/aws-lambda-go/pull/488) **Full Changelog**: aws/aws-lambda-go@v1.38.0...v1.39.0 ### [`v1.38.0`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.38.0) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.37.0...v1.38.0) #### What's Changed - Add IoT Pre-provisioning hook Request and Response structs by [@​karl-dau](https://togithub.com/karl-dau) in [https://github.com/aws/aws-lambda-go/pull/483](https://togithub.com/aws/aws-lambda-go/pull/483) #### New Contributors - [@​karl-dau](https://togithub.com/karl-dau) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/483](https://togithub.com/aws/aws-lambda-go/pull/483) **Full Changelog**: aws/aws-lambda-go@v1.37.0...v1.38.0 </details> <details> <summary>aws/aws-sdk-go-v2 (github.com/aws/aws-sdk-go-v2)</summary> ### [`v1.19.0`](https://togithub.com/aws/aws-sdk-go-v2/compare/v1.18.1...v1.19.0) [Compare Source](https://togithub.com/aws/aws-sdk-go-v2/compare/v1.18.1...v1.19.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Saturday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44LjYiLCJ1cGRhdGVkSW5WZXIiOiIzNi44LjYiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Issue #, if available:
#500
Description of changes:
Introduces a new package
github.com/aws/aws-lambda-go/lambdaurl
implementing anhttp.Handler
based programming model for Lambda Function URLs configuered withInvokeMode: RESPONSE_STREAM
Decided follow the approach we chose for the
github.com/aws/aws-lambda-go/cfn
package. That package exposes aWrap
function that handles the translation of CloudFormation's unique programming model into the request/response+error model supported bygithub.com/aws/aws-lambda-go/lambda.Start
.API Gateway (V1/V2), ALB Targets, and
InvokeMode: BUFFERED
, are explicitly not supported.InvokeMode
the request came in with.InvokeMode: BUFFERED
has a diminishing benefit - there's no reason I know of to chooseBUFFERED
for new applicationsBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.