Skip to content

feat(parser): support EventBridge WITH_METADATA deliveries - #5776

Merged
svozza merged 3 commits into
aws-powertools:mainfrom
proton0210:feat/parser-eventbridge-with-metadata
Oct 4, 2026
Merged

svozza merged 3 commits into
aws-powertools:mainfrom
proton0210:feat/parser-eventbridge-with-metadata

Conversation

@proton0210

@proton0210 proton0210 commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add Parser support for EventBridge WITH_METADATA deliveries containing standard EventBridge events.

Changes

  • Add metadata, record, and batch schemas with inferred types.
  • Add an envelope that validates batches and extracts typed details.
  • Preserve string sequence numbers, validation paths, and transform error causes.
  • Add unit and type tests, plus entries in the standard schema and envelope tables.
  • Validate with 368 tests, 13 type tests, 100% coverage, package consumer checks, builds, and lint.

Issue number: closes #5761


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added the size/XL PRs between 500-999 LOC, often PRs that grown with feedback label Oct 4, 2026
@svozza

svozza commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Nice! Can you reply to the related issue so I can assign it to you?

Comment thread packages/parser/tests/unit/helpers/eventbridge-with-metadata.ts Outdated
Comment thread docs/features/parser.md Outdated
@dreamorosi
dreamorosi requested a review from svozza October 4, 2026 17:53
Comment thread packages/parser/tests/unit/eventbridge-with-metadata-integration.test.ts Outdated
@svozza
svozza merged commit 58f4bb2 into aws-powertools:main Oct 4, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL PRs between 500-999 LOC, often PRs that grown with feedback

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Parser support for EventBridge WITH_METADATA subscriber payloads

2 participants