@types/aws-lambda
Advanced tools
Comparing version 8.10.12 to 8.10.13
@@ -24,2 +24,3 @@ // Type definitions for AWS Lambda 8.10 | ||
// Daniel Papukchiev <https://github.com/dpapukchiev> | ||
// Oliver Hookins <https://github.com/ohookins> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -565,2 +566,5 @@ // TypeScript Version: 2.3 | ||
* http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html | ||
* Bear in mind that the "example" event structure in the page above includes | ||
* both an S3 and a Custom origin, which is not strictly allowed. Only one | ||
* of these per event may be present. | ||
*/ | ||
@@ -574,2 +578,25 @@ export interface CloudFrontHeaders { | ||
export type CloudFrontOrigin = | ||
| { s3: CloudFrontS3Origin, custom?: never } | ||
| { custom: CloudFrontCustomOrigin, s3?: never }; | ||
export interface CloudFrontCustomOrigin { | ||
customHeaders: CloudFrontHeaders; | ||
domainName: string; | ||
keepaliveTimeout: number; | ||
path: string; | ||
port: number; | ||
protocol: 'http' | 'https'; | ||
readTimeout: number; | ||
sslProtocols: string[]; | ||
} | ||
export interface CloudFrontS3Origin { | ||
authMethod: 'origin-access-identity' | 'none'; | ||
customHeaders: CloudFrontHeaders; | ||
domainName: string; | ||
path: string; | ||
region: string; | ||
} | ||
export interface CloudFrontResponse { | ||
@@ -587,2 +614,3 @@ status: string; | ||
headers: CloudFrontHeaders; | ||
origin?: CloudFrontOrigin; | ||
} | ||
@@ -589,0 +617,0 @@ |
{ | ||
"name": "@types/aws-lambda", | ||
"version": "8.10.12", | ||
"version": "8.10.13", | ||
"description": "TypeScript definitions for AWS Lambda", | ||
@@ -109,2 +109,7 @@ "license": "MIT", | ||
"githubUsername": "dpapukchiev" | ||
}, | ||
{ | ||
"name": "Oliver Hookins", | ||
"url": "https://github.com/ohookins", | ||
"githubUsername": "ohookins" | ||
} | ||
@@ -119,4 +124,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "9fb06f1cc4bb3f8a5813253c0458dc349e81d96e94a70dc19ce6abec96a51792", | ||
"typesPublisherContentHash": "1be2ef5bebce5b82165dbe4246610c84c4ae39d04a7829f2846b1fed3d7e6ba7", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 13 Sep 2018 16:52:54 GMT | ||
* Last updated: Thu, 13 Sep 2018 20:21:14 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: AWSLambda | ||
# Credits | ||
These definitions were written by James Darbyshire <https://github.com/darbio/aws-lambda-typescript>, Michael Skarum <https://github.com/skarum>, Stef Heyenrath <https://github.com/StefH/DefinitelyTyped>, Toby Hede <https://github.com/tobyhede>, Rich Buggy <https://github.com/buggy>, Yoriki Yamaguchi <https://github.com/y13i>, wwwy3y3 <https://github.com/wwwy3y3>, Ishaan Malhi <https://github.com/OrthoDex>, Michael Marner <https://github.com/MichaelMarner>, Daniel Cottone <https://github.com/daniel-cottone>, Kostya Misura <https://github.com/kostya-misura>, Markus Tacker <https://github.com/coderbyheart>, Palmi Valgeirsson <https://github.com/palmithor>, Danilo Raisi <https://github.com/daniloraisi>, Simon Buchan <https://github.com/simonbuchan>, David Hayden <https://github.com/Haydabase>, Chris Redekop <https://github.com/repl-chris>, Aneil Mallavarapu <https://github.com/aneilbaboo>, Jeremy Nagel <https://github.com/jeznag>, Louis Larry <https://github.com/louislarry>, Daniel Papukchiev <https://github.com/dpapukchiev>. | ||
These definitions were written by James Darbyshire <https://github.com/darbio/aws-lambda-typescript>, Michael Skarum <https://github.com/skarum>, Stef Heyenrath <https://github.com/StefH/DefinitelyTyped>, Toby Hede <https://github.com/tobyhede>, Rich Buggy <https://github.com/buggy>, Yoriki Yamaguchi <https://github.com/y13i>, wwwy3y3 <https://github.com/wwwy3y3>, Ishaan Malhi <https://github.com/OrthoDex>, Michael Marner <https://github.com/MichaelMarner>, Daniel Cottone <https://github.com/daniel-cottone>, Kostya Misura <https://github.com/kostya-misura>, Markus Tacker <https://github.com/coderbyheart>, Palmi Valgeirsson <https://github.com/palmithor>, Danilo Raisi <https://github.com/daniloraisi>, Simon Buchan <https://github.com/simonbuchan>, David Hayden <https://github.com/Haydabase>, Chris Redekop <https://github.com/repl-chris>, Aneil Mallavarapu <https://github.com/aneilbaboo>, Jeremy Nagel <https://github.com/jeznag>, Louis Larry <https://github.com/louislarry>, Daniel Papukchiev <https://github.com/dpapukchiev>, Oliver Hookins <https://github.com/ohookins>. |
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
33549
737