mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
[types/aws-lambda] adds a path attribute to the APIGatewayEventRequestContext
This commit is contained in:
@@ -93,6 +93,7 @@ str = apiGwEvtReqCtx.identity.sourceIp;
|
||||
strOrNull = apiGwEvtReqCtx.identity.user;
|
||||
strOrNull = apiGwEvtReqCtx.identity.userAgent;
|
||||
strOrNull = apiGwEvtReqCtx.identity.userArn;
|
||||
str = apiGwEvtReqCtx.path;
|
||||
str = apiGwEvtReqCtx.stage;
|
||||
str = apiGwEvtReqCtx.requestId;
|
||||
str = apiGwEvtReqCtx.resourceId;
|
||||
|
||||
1
types/aws-lambda/index.d.ts
vendored
1
types/aws-lambda/index.d.ts
vendored
@@ -42,6 +42,7 @@ export interface APIGatewayEventRequestContext {
|
||||
userAgent: string | null;
|
||||
userArn: string | null;
|
||||
};
|
||||
path: string;
|
||||
stage: string;
|
||||
requestId: string;
|
||||
requestTimeEpoch: number;
|
||||
|
||||
Reference in New Issue
Block a user