-
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
feat: add ECSContainerInstanceEvent #502
Conversation
Codecov Report
@@ Coverage Diff @@
## main #502 +/- ##
==========================================
+ Coverage 71.38% 72.53% +1.15%
==========================================
Files 22 25 +3
Lines 1307 1391 +84
==========================================
+ Hits 933 1009 +76
- Misses 306 312 +6
- Partials 68 70 +2
... and 2 files 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. |
Name string `json:"name"` | ||
Type string `json:"type"` | ||
IntegerValue int `json:"integerValue,omitempty"` | ||
StringSetValue []*string `json:"stringSetValue,omitempty"` |
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.
should it be []string
? []*string
implies the array is expected to contain nulls
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.
see other comment: #502 (comment) I think schema say []*string
was the correct way
a07d554
to
7316ef1
Compare
events/ecs_container_instance.go
Outdated
Name string `json:"name"` | ||
Type string `json:"type"` | ||
IntegerValue int `json:"integerValue,omitempty"` | ||
StringSetValue []*string `json:"stringSetValue,omitempty"` |
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.
I think the schema says you got this right the first time around :) #502 (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.
👍 git reset 7316ef1
7316ef1
to
8dbfe7b
Compare
[![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:
Description of changes:
ref: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_cwe_events.html#ecs_container_instance_events
I verified in my environment.
Lambda code
Change status to
DRAINING
Cloudwatch Logs
| 2023-04-16T12:59:37.095+01:00 | START RequestId: <START RequestId> Version: $LATEST | 2023-04-16T12:59:37.096+01:00 | err: <nil> | 2023-04-16T12:59:37.096+01:00 | output: { | 2023-04-16T12:59:37.096+01:00 | "version": "0", | 2023-04-16T12:59:37.096+01:00 | "id": "<id>", | 2023-04-16T12:59:37.096+01:00 | "detail-type": "ECS Container Instance State Change", | 2023-04-16T12:59:37.096+01:00 | "source": "aws.ecs", | 2023-04-16T12:59:37.096+01:00 | "account": "<account>", | 2023-04-16T12:59:37.096+01:00 | "time": "2023-04-16T11:59:36Z", | 2023-04-16T12:59:37.096+01:00 | "region": "eu-west-1", | 2023-04-16T12:59:37.096+01:00 | "resources": [ | 2023-04-16T12:59:37.096+01:00 | "<resources>" | 2023-04-16T12:59:37.096+01:00 | ], | 2023-04-16T12:59:37.096+01:00 | "detail": { | 2023-04-16T12:59:37.096+01:00 | "agentConnected": false, | 2023-04-16T12:59:37.096+01:00 | "attributes": [ | 2023-04-16T12:59:37.096+01:00 | { | 2023-04-16T12:59:37.096+01:00 | "name": "ecs.capability.secrets.asm.environment-variables" | 2023-04-16T12:59:37.096+01:00 | }, ... | 2023-04-16T12:59:37.096+01:00 | { | 2023-04-16T12:59:37.096+01:00 | "name": "com.amazonaws.ecs.capability.task-iam-role" | 2023-04-16T12:59:37.096+01:00 | } | 2023-04-16T12:59:37.096+01:00 | ], | 2023-04-16T12:59:37.096+01:00 | "clusterArn": "<clusterArn>", | 2023-04-16T12:59:37.096+01:00 | "containerInstanceArn": "<containerInstanceArn>", | 2023-04-16T12:59:37.096+01:00 | "ec2InstanceId": "<ec2InstanceId>", | 2023-04-16T12:59:37.096+01:00 | "registeredResources": [ | 2023-04-16T12:59:37.096+01:00 | { | 2023-04-16T12:59:37.096+01:00 | "name": "CPU", | 2023-04-16T12:59:37.096+01:00 | "type": "INTEGER", | 2023-04-16T12:59:37.096+01:00 | "integerValue": 1024 | 2023-04-16T12:59:37.096+01:00 | }, | 2023-04-16T12:59:37.096+01:00 | { | 2023-04-16T12:59:37.096+01:00 | "name": "MEMORY", | 2023-04-16T12:59:37.096+01:00 | "type": "INTEGER", | 2023-04-16T12:59:37.096+01:00 | "integerValue": 970 | 2023-04-16T12:59:37.096+01:00 | }, | 2023-04-16T12:59:37.096+01:00 | { | 2023-04-16T12:59:37.096+01:00 | "stringSetValue": [ | 2023-04-16T12:59:37.096+01:00 | "22", | 2023-04-16T12:59:37.096+01:00 | "2376", | 2023-04-16T12:59:37.096+01:00 | "2375", | 2023-04-16T12:59:37.096+01:00 | "51678", | 2023-04-16T12:59:37.096+01:00 | "51679" | 2023-04-16T12:59:37.096+01:00 | ], | 2023-04-16T12:59:37.096+01:00 | "name": "PORTS", | 2023-04-16T12:59:37.096+01:00 | "type": "STRINGSET" | 2023-04-16T12:59:37.096+01:00 | }, | 2023-04-16T12:59:37.096+01:00 | { | 2023-04-16T12:59:37.096+01:00 | "stringSetValue": [], | 2023-04-16T12:59:37.096+01:00 | "name": "PORTS_UDP", | 2023-04-16T12:59:37.096+01:00 | "type": "STRINGSET" | 2023-04-16T12:59:37.096+01:00 | } | 2023-04-16T12:59:37.096+01:00 | ], | 2023-04-16T12:59:37.096+01:00 | "remainingResources": [ | 2023-04-16T12:59:37.096+01:00 | { | 2023-04-16T12:59:37.096+01:00 | "name": "CPU", | 2023-04-16T12:59:37.096+01:00 | "type": "INTEGER", | 2023-04-16T12:59:37.096+01:00 | "integerValue": 1024 | 2023-04-16T12:59:37.096+01:00 | }, | 2023-04-16T12:59:37.096+01:00 | { | 2023-04-16T12:59:37.096+01:00 | "name": "MEMORY", | 2023-04-16T12:59:37.096+01:00 | "type": "INTEGER", | 2023-04-16T12:59:37.096+01:00 | "integerValue": 970 | 2023-04-16T12:59:37.096+01:00 | }, | 2023-04-16T12:59:37.096+01:00 | { | 2023-04-16T12:59:37.096+01:00 | "stringSetValue": [ | 2023-04-16T12:59:37.096+01:00 | "22", | 2023-04-16T12:59:37.096+01:00 | "2376", | 2023-04-16T12:59:37.096+01:00 | "2375", | 2023-04-16T12:59:37.096+01:00 | "51678", | 2023-04-16T12:59:37.096+01:00 | "51679" | 2023-04-16T12:59:37.096+01:00 | ], | 2023-04-16T12:59:37.096+01:00 | "name": "PORTS", | 2023-04-16T12:59:37.096+01:00 | "type": "STRINGSET" | 2023-04-16T12:59:37.096+01:00 | }, | 2023-04-16T12:59:37.096+01:00 | { | 2023-04-16T12:59:37.096+01:00 | "stringSetValue": [], | 2023-04-16T12:59:37.096+01:00 | "name": "PORTS_UDP", | 2023-04-16T12:59:37.096+01:00 | "type": "STRINGSET" | 2023-04-16T12:59:37.096+01:00 | } | 2023-04-16T12:59:37.096+01:00 | ], | 2023-04-16T12:59:37.096+01:00 | "status": "DRAINING", | 2023-04-16T12:59:37.096+01:00 | "version": 36, | 2023-04-16T12:59:37.096+01:00 | "versionInfo": { | 2023-04-16T12:59:37.096+01:00 | "agentHash": "<agentHash>", | 2023-04-16T12:59:37.096+01:00 | "agentVersion": "1.70.0", | 2023-04-16T12:59:37.096+01:00 | "dockerVersion": "DockerVersion: 20.10.17" | 2023-04-16T12:59:37.096+01:00 | }, | 2023-04-16T12:59:37.096+01:00 | "updatedAt": "2023-04-16T11:59:36.836Z" | 2023-04-16T12:59:37.096+01:00 | } | 2023-04-16T12:59:37.097+01:00 | END RequestId: <END RequestId> | 2023-04-16T12:59:37.097+01:00 | REPORT RequestId: <REPORT RequestId> Duration: 1.65 ms Billed Duration: 2 ms Memory Size: 128 MB Max Memory Used: 31 MB
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.