DefinitelyTyped/types/aws-lambda
David J. Felix efe7ba616a [@types/aws-lambda]: Add extractedFields optional field (#27670)
* [@types/aws-lambda]: Add extractedFields optional field

Added an undocumented optional field to a datatype which is sent zipped and base64 encoded. This field is only available if users select certain options when creating a subscription filter.

You can see the field used if you create a subscription filter to elasticsearch and look at the source for the builtin lambda. I couldn't find any documentation for this field except in the terms "fields extracted" [here](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html) and found some amazon code referencing it [here](https://github.com/amazon-archives/cloudwatch-logs-subscription-consumer/blob/master/src/test/resources/aws-lambda-log-example.json#L14).

I nearly went insane tracking this down.

* Narrow the type of extracted fields to string:string

* Add test for extracted fields
2018-08-06 11:34:23 -07:00
..
aws-lambda-tests.ts [@types/aws-lambda]: Add extractedFields optional field (#27670) 2018-08-06 11:34:23 -07:00
index.d.ts [@types/aws-lambda]: Add extractedFields optional field (#27670) 2018-08-06 11:34:23 -07:00
tsconfig.json Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
tslint.json aws-lambda: Lint (#23167) 2018-01-24 09:53:35 -08:00