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
As per title, when working with a Kinesis Firehose event that contains a SQS event in the data field, if the field is not a valid SQS event the entire parsing should fail.
Current Behavior
Currently if this happens, the parsing is successful and the data is returned as-is.
While working on this, if picked up after #3248, remove change the corresponding unit test from it.fails to it in the packages/parser/tests/unit/schema/kinesis-firehose.test.ts file.
Expected Behavior
As per title, when working with a Kinesis Firehose event that contains a SQS event in the data field, if the field is not a valid SQS event the entire parsing should fail.
Current Behavior
Currently if this happens, the parsing is successful and the data is returned as-is.
Code snippet
N/A
Steps to Reproduce
N/A
Possible Solution
The schema should be modified from this:
to something like this:
Powertools for AWS Lambda (TypeScript) version
latest
AWS Lambda function runtime
20.x
Packaging format used
npm
Execution logs
No response
The text was updated successfully, but these errors were encountered: