-
Notifications
You must be signed in to change notification settings - Fork 564
Update SimpleEmailMessage #450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for the PR! Do you have a documentation link I can verify this against? My quick search found these, neither of which includes "tags" |
Hello @bmoffatt and thank you for the follow-up. I could be wrong, but should I was using Is there an alternate struct better suited to doing so, is the expectation that users should roll their own, or something else I'm completely unaware of? Thanks in advance. |
ahh, inside SNS! Thanks for that link! So the way this'd be accessed then is after a second unmarshal of the Seems there'll also need be be a wrapper struct for the SNS usecase, along with models for the event records. Something like:
|
That would be perfect! I may have some time this weekend to flesh that out if someone else doesn't get to it first, seems like it's pretty low priority if no one has asked for this already. What would be the approach? Assuming:
Anything I'm missing? Really appreciate the help 🙌 |
👍 Suggest putting the new types & tests in a new file The closer similar test data to emulate type I think is cloudwatch-alarm-sns-payload-multiple-metrics.json, such that the send, bounce, click, etc.., are stringified JSON inside the SNS |
Closing stale PR, feel free to re-open if you want to keep working on it! Will copy the re-work comment back to the original issue for future reference. |
Issue #, if available:
#431
Description of changes:
Add support to parse Tags
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.