@types/aws-lambda
Advanced tools
Comparing version 8.10.95 to 8.10.96
{ | ||
"name": "@types/aws-lambda", | ||
"version": "8.10.95", | ||
"version": "8.10.96", | ||
"description": "TypeScript definitions for AWS Lambda", | ||
@@ -228,4 +228,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "61e1a1a362b335c37ad8b31be7a802ed0b1c6fadc49202cd9fe7ce184e27e183", | ||
"typesPublisherContentHash": "98d15ff56bbb2fd08acb49efee1105f168000b3b21c735c546276b3436e695eb", | ||
"typeScriptVersion": "3.9" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 21 Apr 2022 18:01:40 GMT | ||
* Last updated: Sun, 08 May 2022 21:01:37 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `AWSLambda` |
@@ -1,3 +0,3 @@ | ||
import { CloudFrontEvent, CloudFrontRequest, CloudFrontResultResponse } from "../common/cloudfront"; | ||
import { Handler, Callback } from "../handler"; | ||
import type { CloudFrontEvent, CloudFrontRequest, CloudFrontResultResponse } from "../common/cloudfront"; | ||
import type { Handler, Callback } from "../handler"; | ||
@@ -7,2 +7,8 @@ export type CloudFrontRequestHandler = Handler<CloudFrontRequestEvent, CloudFrontRequestResult>; | ||
export interface CloudFrontRequestEventRecord { | ||
cf: CloudFrontEvent & { | ||
request: CloudFrontRequest; | ||
}; | ||
} | ||
/** | ||
@@ -14,9 +20,5 @@ * CloudFront viewer request or origin request event | ||
export interface CloudFrontRequestEvent { | ||
Records: Array<{ | ||
cf: CloudFrontEvent & { | ||
request: CloudFrontRequest; | ||
}; | ||
}>; | ||
Records: CloudFrontRequestEventRecord[]; | ||
} | ||
export type CloudFrontRequestResult = undefined | null | CloudFrontResultResponse | CloudFrontRequest; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
124903
2968