@types/aws-lambda
Advanced tools
Comparing version 0.0.8 to 0.0.9
// 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>, Toby Hede <https://github.com/tobyhede>, Rich Buggy <https://github.com/buggy> | ||
// 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>, Rich Buggy <https://github.com/buggy>, Simon Ramsay <https://github.com/nexus-uw> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -77,2 +77,45 @@ | ||
/** | ||
* S3Create event | ||
* https://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html | ||
*/ | ||
interface S3CreateEvent { | ||
Records: [{ | ||
eventVersion: string; | ||
eventSource: string; | ||
awsRegion: string | ||
eventTime: string; | ||
eventName: string; | ||
userIdentity: { | ||
principalId: string; | ||
}, | ||
requestParameters: { | ||
sourceIPAddress: string; | ||
}, | ||
responseElements: { | ||
'x-amz-request-id': string; | ||
'x-amz-id-2': string; | ||
}, | ||
s3: { | ||
s3SchemaVersion: string; | ||
configurationId: string; | ||
bucket: { | ||
name: string; | ||
ownerIdentity: { | ||
principalId: string; | ||
}, | ||
arn: string; | ||
}, | ||
object: { | ||
key: string; | ||
size: number; | ||
eTag: string; | ||
versionId: string; | ||
sequencer: string; | ||
} | ||
} | ||
} | ||
]; | ||
} | ||
// Context | ||
@@ -79,0 +122,0 @@ // http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-context.html |
{ | ||
"name": "@types/aws-lambda", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "TypeScript definitions for AWS Lambda", | ||
@@ -26,2 +26,6 @@ "license": "MIT", | ||
"url": "https://github.com/buggy" | ||
}, | ||
{ | ||
"name": "Simon Ramsay", | ||
"url": "https://github.com/nexus-uw" | ||
} | ||
@@ -37,4 +41,4 @@ ], | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "201b9a5a85a6b1a3739b6717851c94f80edad23dea35418f373536db047434fc", | ||
"typesPublisherContentHash": "c308e9c73e26f6043389dbea212757c0d394acf37bad3479d8dc6b87e8d32de5", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 11 Mar 2017 00:13:28 GMT | ||
* Last updated: Wed, 22 Mar 2017 00:26:27 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>. | ||
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>, Simon Ramsay <https://github.com/nexus-uw>. |
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
8162
187