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
Update ALBResult in aws-lambda #45936
Conversation
@donaldpipowitch Thank you for submitting this PR! This is a live comment which I will keep updated. This PR doesn't modify any tests, so it's hard to know what's being fixed, and your changes might regress in the future. Have you considered adding tests to cover the change you're making? Including tests allows this PR to be merged by yourself and the owners of this module. This can potentially save days of time for you. Code ReviewsThis PR can be merged once it's reviewed by a DT maintainer. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 45936,
"author": "donaldpipowitch",
"owners": [
"darbio",
"skarum",
"StefH",
"tobyhede",
"buggy",
"y13i",
"wwwy3y3",
"OrthoDex",
"MichaelMarner",
"daniel-cottone",
"kostya-misura",
"coderbyheart",
"palmithor",
"daniloraisi",
"simonbuchan",
"Haydabase",
"repl-chris",
"aneilbaboo",
"jeznag",
"louislarry",
"dpapukchiev",
"ohookins",
"trevor-leach",
"jagregory",
"dalen",
"loikg",
"skyzenr",
"redlickigrzegorz",
"juancarbonel",
"pwmcintyre",
"alex-bolenok-centralreach",
"marianzange",
"apepper",
"apalumbo",
"SachinShekhar",
"ivanmartos",
"zach-anthony"
],
"dangerLevel": "ScopedAndUntested",
"headCommitAbbrOid": "96d0a76",
"headCommitOid": "96d0a76490511813bda14fdb0d241b93647dfb46",
"mergeIsRequested": false,
"stalenessInDays": 2,
"lastPushDate": "2020-07-07T19:17:19.000Z",
"lastCommentDate": "2020-07-07T19:17:19.000Z",
"maintainerBlessed": false,
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/45936/files",
"hasMergeConflict": false,
"authorIsOwner": false,
"isFirstContribution": false,
"popularityLevel": "Popular",
"anyPackageIsNew": false,
"packages": [
"aws-lambda"
],
"files": [
{
"path": "types/aws-lambda/trigger/alb.d.ts",
"kind": "definition",
"package": "aws-lambda"
}
],
"hasDismissedReview": false,
"ciResult": "pass",
"lastReviewDate": "2020-07-07T23:49:54.000Z",
"reviewersWithStaleReviews": [],
"approvalFlags": 2,
"isChangesRequested": false
} |
🔔 @darbio @skarum @StefH @tobyhede @buggy @y13i @wwwy3y3 @OrthoDex @MichaelMarner @daniel-cottone @kostya-misura @coderbyheart @palmithor @daniloraisi @simonbuchan @Haydabase @repl-chris @aneilbaboo @jeznag @louislarry @dpapukchiev @ohookins @trevor-leach @jagregory @dalen @loikg @skyzenr @redlickigrzegorz @juancarbonel @pwmcintyre @alex-bolenok-centralreach @marianzange @apepper @apalumbo @SachinShekhar @ivanmartos @zach-anthony - please review this PR in the next few days. Be sure to explicitly select |
👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings. Let’s review the numbers, shall we? Comparison details 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
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.
The documentation is pretty poor in general about lambda triggers. This seems fine to me since you've tested it working without them!
I just published |
Please fill in this template.
npm test
.)npm run lint package-name
(ortsc
if notslint.json
is present).Select one of these and delete the others:
If changing an existing definition:
tslint.json
containing{ "extends": "dtslint/dt.json" }
. If for reason the any rule need to be disabled, disable it for that line using// tslint:disable-next-line [ruleName]
and not for whole package so that the need for disabling can be reviewed.As far as I can tell
statusDescription
andisBase64Encoded
are optional. E.g.statusDescription
is also not a part of this official example: https://github.com/aws/elastic-load-balancing-tools/blob/master/application-load-balancer-serverless-app/whatismyip/whatismyip.py#L14But I'm not super familiar with the API. There are several old blog post which says that those fields are required, but my tests can't verify this. Same results for me if I drop those fields? Maybe ALB changed it's behavior?