You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
added records to the SQS action for further processing (spring-media#43)
* added records to the SQS action for further usage
* add sns and sqs example and linked to readme
Co-authored-by: Christian Gohlke <[email protected]>
@@ -263,6 +263,8 @@ The `action` method gets all body elements from the router as an array.
263
263
264
264
If more than one route matches, only the **first** is used!
265
265
266
+
The *records* parameter contains the complete array of records, which handled by aws-lambda-router. An exampe can be found [here](lib/event-examples/sqs.json). This gives you the possibility to read metadata from the event. For example, you can parse the [message attributes of the SQS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html) and use them for further processing.
267
+
266
268
## S3 to Lambda Integrations
267
269
268
270
@@ -376,6 +378,8 @@ Increase version in **package.json** (using [semantic version syntax](https://se
376
378
Thats all.
377
379
378
380
## Release History
381
+
* 0.8.3
382
+
* added records to the SQS action for further processing
379
383
* 0.8.2
380
384
* added support for Open API parameter definitions e.g.: /section/{id}
0 commit comments