Skip to content

Conversation

calavera
Copy link
Contributor

Issue #, if available:

Fixes #793

Description of changes:

Add the struct definitions based on the Go events: https://github.com/aws/aws-lambda-go/blob/3a93ed1e265b5e368f0d20c3a2b8395d2c9f787d/events/sns.go#L34-L88
It doesn't look like the Java and Dotnet events implement these structs to verify them, but the tests are able to deserialize the example payloads that we've been testing already.

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

@calavera calavera requested a review from bnusunny February 22, 2024 04:31
@calavera calavera force-pushed the cw_alarm_sns_payload branch 2 times, most recently from bf4da44 to 0328d41 Compare February 22, 2024 04:34
@awslabs awslabs deleted a comment from github-actions bot Feb 22, 2024
@calavera calavera merged commit 0d92dd3 into main Feb 23, 2024
@calavera calavera deleted the cw_alarm_sns_payload branch February 23, 2024 19:32
@dacbd
Copy link

dacbd commented Feb 23, 2024

I was too slow... thanks for the addition.

@calavera
Copy link
Contributor Author

no worries. I'm planning on doing a release, and I thought they could just be there.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rust version of the CloudWatchAlarmSNSPayload struct/type

2 participants