Closed
Description
Use case
Writing invocation handler for s3 batch operations requires a lot of boilerplate code.
There are currently some examples for Invocation schema 1.0 and none available for 2.0 as well as little documentation for 2.0. This requires users to go through trial and errors to test behavior and implement reliable code requires significant effort.
Solution/User Experience
Provide a data class that handles s3 batch operation event for schema 1.0 and 2.0.
If interested I can submit a PR for this?
Alternative solutions
- Write all the boiler plate code as suggested in the documentation for the 1.0 schema
- Run batch operations with 2.0 schema and log events to discover the exact structure
Acknowledgment
- This feature request meets Powertools for AWS Lambda (Python) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET
Metadata
Metadata
Assignees
Type
Projects
Status
Shipped