@types/aws-lambda
Advanced tools
Comparing version 0.0.23 to 0.0.24
@@ -11,2 +11,3 @@ // Type definitions for AWS Lambda | ||
// Ishaan Malhi <https://github.com/OrthoDex> | ||
// Michael Marner <https://github.com/MichaelMarner> | ||
// Daniel Cottone <https://github.com/daniel-cottone> | ||
@@ -69,2 +70,49 @@ // Kostya Misura <https://github.com/kostya-misura> | ||
// Context | ||
// http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_AttributeValue.html | ||
interface AttributeValue { | ||
B?: string; | ||
BS?: Array<string>; | ||
BOOL?: boolean; | ||
L?: Array<AttributeValue>; | ||
M?: { [id: string]: AttributeValue }; | ||
N?: number; | ||
NS?: Array<string>; | ||
NULL?: boolean; | ||
S?: string; | ||
SS?: Array<string>; | ||
} | ||
// Context | ||
// http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_StreamRecord.html | ||
interface StreamRecord { | ||
ApproximateCreationTime?: number; | ||
Keys?: { [key: string]: AttributeValue }; | ||
NewImage?: { [key: string]: AttributeValue }; | ||
OldImage?: { [key: string]: AttributeValue }; | ||
SequenceNumber?: string; | ||
SizeBytes?: number; | ||
StreamViewType?: 'KEYS_ONLY' | 'NEW_IMAGE' | 'OLD_IMAGE' | 'NEW_AND_OLD_IMAGES'; | ||
} | ||
// Context | ||
// http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_Record.html | ||
interface DynamoDBRecord { | ||
awsRegion?: string; | ||
dynamodb?: StreamRecord; | ||
eventID?: string; | ||
eventName?: 'INSERT' | 'MODIFY' | 'REMOVE'; | ||
eventSource?: string; | ||
eventSourceARN?: string; | ||
eventVersion?: string; | ||
userIdentity?: any; | ||
} | ||
// AWS Lambda Stream event | ||
// Context | ||
// http://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-ddb-update | ||
interface DynamoDBStreamEvent { | ||
Records: Array<DynamoDBRecord>; | ||
} | ||
// SNS "event" | ||
@@ -71,0 +119,0 @@ interface SNSMessageAttribute { |
{ | ||
"name": "@types/aws-lambda", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"description": "TypeScript definitions for AWS Lambda", | ||
@@ -46,2 +46,7 @@ "license": "MIT", | ||
{ | ||
"name": "Michael Marner", | ||
"url": "https://github.com/MichaelMarner", | ||
"githubUsername": "MichaelMarner" | ||
}, | ||
{ | ||
"name": "Daniel Cottone", | ||
@@ -69,4 +74,4 @@ "url": "https://github.com/daniel-cottone", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "e8af3aafc482b9718591be939b40ed6905dd6a19cf9e477b076fe15cf0ae48a1", | ||
"typesPublisherContentHash": "44be5101c00a1ed67d4d91d7baedba62c279ae7d495eddfad22ba6c1a28c6cd2", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 11 Dec 2017 23:33:53 GMT | ||
* Last updated: Wed, 13 Dec 2017 23:02:41 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>, Daniel Cottone <https://github.com/daniel-cottone>, Kostya Misura <https://github.com/kostya-misura>, Markus Tacker <https://github.com/coderbyheart>. | ||
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>. |
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
18832
426