Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Replacement of SNS generated with native entity #76

Merged
merged 9 commits into from Mar 20, 2022

Conversation

brentlemons
Copy link
Contributor

Created struct definitions of SNS to replace the go generated structs.

The go generated definitions included additional structs for specific message types defined by CloudWatch events. These were added in the go events library via PR #296. These do not exist in the Java or C# libraries. The go PR even says they are duplicated from the CloudWatch module. Excluding in favor of user using the proper CloudWatch defined structs and not duplicating.

Copy link
Owner

@calavera calavera left a comment

Choose a reason for hiding this comment

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

Don't forget to add SNS to the list of modules that the generator ignores, so the next time someone runs it, the file is not recreated again:

https://github.com/LegNeato/aws-lambda-events/blob/master/aws_lambda_events_codegen/src/main.rs#L48

@brentlemons
Copy link
Contributor Author

I totally overlooked that. Exclusion added.

Copy link
Contributor Author

@brentlemons brentlemons left a comment

Choose a reason for hiding this comment

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

exclusion added

Copy link
Owner

@calavera calavera left a comment

Choose a reason for hiding this comment

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

@brentlemons it looks like there is some formatting issues in this code, you can fix them by running cargo fmt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants