@types/aws-lambda
Advanced tools
Comparing version 0.0.5 to 0.0.6
// Type definitions for AWS Lambda | ||
// Project: http://docs.aws.amazon.com/lambda | ||
// Definitions by: James Darbyshire <https://github.com/darbio/aws-lambda-typescript>, Michael Skarum <https://github.com/skarum>, Stef Heyenrath <https://github.com/StefH/DefinitelyTyped> | ||
// Definitions 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> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -20,3 +20,3 @@ | ||
clientContext?: ClientContext; | ||
// Functions | ||
@@ -32,3 +32,3 @@ getRemainingTimeInMillis(): number; | ||
succeed(object: any): void; | ||
succeed(message: string, object: any): void; | ||
succeed(message: string, object: any): void; | ||
} | ||
@@ -64,2 +64,12 @@ | ||
/** | ||
* AWS Lambda handler function. | ||
* http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html | ||
* | ||
* @param event – event data. | ||
* @param context – runtime information of the Lambda function that is executing. | ||
* @param callback – optional callback to return information to the caller, otherwise return value is null. | ||
*/ | ||
export type Handler = (event: any, context: Context, callback?: Callback) => void; | ||
/** | ||
* Optional callback parameter. | ||
@@ -73,2 +83,2 @@ * http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html | ||
export as namespace AWSLambda; | ||
export as namespace AWSLambda; |
{ | ||
"name": "@types/aws-lambda", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "TypeScript definitions for AWS Lambda", | ||
"license": "MIT", | ||
"author": "James Darbyshire <https://github.com/darbio/aws-lambda-typescript>, Michael Skarum <https://github.com/skarum>, Stef Heyenrath <https://github.com/StefH/DefinitelyTyped>", | ||
"author": "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>", | ||
"main": "", | ||
@@ -15,4 +15,4 @@ "repository": { | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "fe7e14ae9c5f31157e71a6c1dbf51e76efe91a8f3cfeb634ef4a76b9dfd9997a" | ||
"typesPublisherContentHash": "d4ecfa10d6928f16106deeb012babc11b466bd1d1abc02b220bd3d3ff7f02025", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,12 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/aws-lambda | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/aws-lambda | ||
Additional Details | ||
* Last updated: Tue, 01 Nov 2016 23:12:33 GMT | ||
* File structure: UMD | ||
* Library Dependencies: none | ||
* Module Dependencies: none | ||
* Last updated: Wed, 18 Jan 2017 08:47:10 GMT | ||
* Dependencies: none | ||
* 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>. | ||
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>. |
{ | ||
"authors": "James Darbyshire <https://github.com/darbio/aws-lambda-typescript>, Michael Skarum <https://github.com/skarum>, Stef Heyenrath <https://github.com/StefH/DefinitelyTyped>", | ||
"definitionFilename": "index.d.ts", | ||
"libraryDependencies": [], | ||
"moduleDependencies": [], | ||
"libraryMajorVersion": "0", | ||
"libraryMinorVersion": "0", | ||
"name": "aws-lambda", | ||
"libraryName": "AWS Lambda", | ||
"typingsPackageName": "aws-lambda", | ||
"projectName": "http://docs.aws.amazon.com/lambda", | ||
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
"sourceBranch": "types-2.0", | ||
"kind": "UMD", | ||
"globals": [ | ||
"AWSLambda" | ||
], | ||
"declaredModules": [], | ||
"files": [ | ||
"index.d.ts" | ||
], | ||
"hasPackageJson": false, | ||
"contentHash": "fe7e14ae9c5f31157e71a6c1dbf51e76efe91a8f3cfeb634ef4a76b9dfd9997a" | ||
"data": { | ||
"authors": "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>", | ||
"dependencies": {}, | ||
"pathMappings": {}, | ||
"libraryMajorVersion": 0, | ||
"libraryMinorVersion": 0, | ||
"typeScriptVersion": "2.0", | ||
"libraryName": "AWS Lambda", | ||
"typingsPackageName": "aws-lambda", | ||
"projectName": "http://docs.aws.amazon.com/lambda", | ||
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
"globals": [ | ||
"AWSLambda" | ||
], | ||
"declaredModules": [ | ||
"aws-lambda/." | ||
], | ||
"files": [ | ||
"index.d.ts" | ||
], | ||
"hasPackageJson": false, | ||
"contentHash": "d4ecfa10d6928f16106deeb012babc11b466bd1d1abc02b220bd3d3ff7f02025" | ||
}, | ||
"isLatest": true | ||
} |
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
5341
98
17