[types/aws-lambda] adds a path attribute to the APIGatewayEventRequestContext

This commit is contained in:
Jonathan Jung
2018-05-21 14:47:57 -07:00
parent 4393935ba7
commit 26d40427c1
2 changed files with 2 additions and 0 deletions

View File

@@ -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;

View File

@@ -42,6 +42,7 @@ export interface APIGatewayEventRequestContext {
userAgent: string | null;
userArn: string | null;
};
path: string;
stage: string;
requestId: string;
requestTimeEpoch: number;