From ee0a159fc290acc39ec7caa2b75d0098897ae47c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20Roch=C3=A9?= Date: Tue, 23 Jan 2018 23:03:59 +0000 Subject: [PATCH] add requestTimeEpoch to aws lambda types (#22941) Add the missing requestTimeEpoch in the APIGatewayEventRequestContext interface. $context.requestTimeEpoch is documented in https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference --- types/aws-lambda/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/aws-lambda/index.d.ts b/types/aws-lambda/index.d.ts index 3dfbe9b561..1e153228c0 100644 --- a/types/aws-lambda/index.d.ts +++ b/types/aws-lambda/index.d.ts @@ -39,6 +39,7 @@ interface APIGatewayEventRequestContext { }, stage: string; requestId: string; + requestTimeEpoch: number; resourceId: string; resourcePath: string; }