Commit Graph

27 Commits

Author SHA1 Message Date
David
c9749a4f65 [aws-lambda] Include CloudFrontRequest in CloudFrontRequestResult union type (#23882)
A request is a valid callback result type. See example: https://docs.aws.amazon.com/lambda/latest/dg/lambda-edge.html#lambda-edge-authoring-functions-example-ab-testing
2018-02-26 11:59:10 -08:00
Simon Buchan
50dafbd8e3 Add tests, fix some missed type name normalizations. 2018-02-08 12:39:00 +13:00
Simon Buchan
e43b209621 Fix tests for strictNullChecks: true 2018-02-08 11:59:17 +13:00
Andy
a0d0b93d94
aws-lambda: Lint (#23167) 2018-01-24 09:53:35 -08:00
Pálmi Þór Valgeirsson
286bf2a94d aws-lambda : Add more Cognito triggerSources according to spec (#22943)
* aws-lambda : Add more triggerSources according to spec

* aws-lambda: Add my info in the Definitions by - list

* aws-lambda: Cognito triggerSources list failed npm test due to extra semi colon
2018-01-23 11:48:40 -08:00
Danilo Tenorio Raisi
8db0647a2d Created ScheduledEvent on AWS Lambda Types (#22974)
* Created ScheduledEvent on AWS Lambda Types

* aws-lambda types

Fixed detail type on ScheduleEvent

* types/aws-lambda
Fixed header at index.d.ts
2018-01-23 11:06:53 -08:00
austinried
1f68776226 AttributeValue "N" should be string (#22790)
AttributeValue's "N" is a string, not a number: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_AttributeValue.html

This causes an incompatibility between this AttributeValue and the one in the AWS SDK types, which makes it impossible to use something like AWS.DynamoDB.Converter.unmarshall() for items in records on a DynamoDBStreamEvent.
2018-01-09 15:23:33 -08:00
Tomas Polovincak
68f6a78112 aws-lambda: extend Handler return type to support Promises (#22588) 2018-01-03 13:29:06 -08:00
Jamie Starke
b2517cc5cf Adds typing for CloudWatch Logs events (#21239) 2018-01-02 15:47:47 -08:00
Mine Starks
1dbdbd4afb
Merge pull request #21021 from MichaelMarner/aws-lambda-dynamo
Add aws-lambda DynamoDB stream event types
2017-12-13 14:50:43 -08:00
Markus Tacker
f9edea3047 [aws-lambda] add CloudFront request and response events
See http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html
2017-12-05 20:14:03 +01:00
Kostya Misura
4f199da089 extends lambda callback signature to accept primitive types (boolean, number and string) as result 2017-11-30 22:45:01 +02:00
Daniel Cottone
13d1bcc4f5 adding property authorizer to APIGatewayEvent 2017-11-06 10:08:09 -06:00
Michael Marner
58f01b7172 Merge branch 'master' into aws-lambda-dynamo 2017-10-31 17:31:26 +10:30
Daniel Cottone
5dbba088ed updating custom authorizer event 2017-10-27 14:56:52 -05:00
Michael Marner
6fec1b5b8c Format as per styleguide 2017-10-26 17:15:44 +10:30
Michael Marner
8c6c695fbd aws-lambda dynamo tests 2017-10-26 17:08:41 +10:30
Michael Marner
2a9cc5af4c Add types for aws-lambda DynamoDB stream events 2017-10-26 16:55:26 +10:30
Michael Bond
f3b3098452 aws-lambda: Add isBase64Encoded support to ProxyResult (#18450)
This is required when using Binary support in API Gateway. 
See Also: "Output Format of a Lambda Function for Proxy Integration" https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-set-up-simple-proxy.html
2017-07-31 14:00:31 -07:00
william chang
6c49782ce4 [aws-lambda] S3CreateEvent.Records should be Array<S3Record> instead of Tuple 2017-07-18 15:55:50 +08:00
Yoriki Yamaguchi
0b5e9d380a add type definition for AWS CloudFormation custom resource 2017-06-13 12:10:19 +09:00
Simon Males
501ea7986b Add definition for AWS Lambda Cognito User Pool event: request.usernameParameter (#16998)
* request.usernameParameter

* usernameParameter test
2017-06-06 17:18:42 -07:00
Yoriki Yamaguchi
17c9c37033 Add definition for AWS Lambda Cognito User Pool event (#16458)
* add definition: AWS Lambda Cognito User Pool event

* add `userName` to CognitoUserPoolEvent
2017-05-31 22:52:52 -07:00
KeitaNishimoto
96666eee57 fix type Statement.Action(I responded to the review) 2017-03-30 00:09:43 +09:00
keita-nishimoto
60bda6cf4f add CustomAuthorizerCallback & AuthResponse 2017-03-27 14:15:05 +09:00
KeitaNishimoto
5a634f7fdb add API Gateway CustomAuthorizerEvent 2017-03-26 01:45:51 +09:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00