Skip to content

fix: EventBridgeEvent data class#8301

Open
amin-farjadi wants to merge 4 commits into
aws-powertools:developfrom
amin-farjadi:fix/event-bridge-event-model
Open

fix: EventBridgeEvent data class#8301
amin-farjadi wants to merge 4 commits into
aws-powertools:developfrom
amin-farjadi:fix/event-bridge-event-model

Conversation

@amin-farjadi

@amin-farjadi amin-farjadi commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Issue number: closes #8300

Summary

Changes

replay-name field only exists for replay events and, is an optional field. Updated EventBridgeEvent data class to reflect that.

User experience

This change is backwards compatible. Going forward, users can use the EventBridgeEvent class for event sourcing non-replayed events.


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.

@amin-farjadi amin-farjadi requested a review from a team as a code owner June 24, 2026 10:17
@boring-cyborg boring-cyborg Bot added the tests label Jun 24, 2026
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 24, 2026
@amin-farjadi amin-farjadi force-pushed the fix/event-bridge-event-model branch from 4b7fcc8 to e3327fa Compare June 24, 2026 10:30
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 24, 2026

@leandrodamascena leandrodamascena left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment: #8300 (comment)

@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 24, 2026
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 25, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: EventBridgeEvent dataclass has optional fields as compulsory

2 participants