Replacement of SNS generated with native entity #76
Conversation
There was a problem hiding this 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
I totally overlooked that. Exclusion added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exclusion added
There was a problem hiding this 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
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.