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
This commit is contained in:
Louis Roché
2018-01-23 23:03:59 +00:00
committed by Andy
parent 4c23e96fc7
commit ee0a159fc2

View File

@@ -39,6 +39,7 @@ interface APIGatewayEventRequestContext {
},
stage: string;
requestId: string;
requestTimeEpoch: number;
resourceId: string;
resourcePath: string;
}