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

fix(sns): Properly handle non-required fields, and correct casing. #97

Merged
merged 1 commit into from
May 30, 2022

Conversation

Xtansia
Copy link
Contributor

@Xtansia Xtansia commented May 30, 2022

Subject and MessageAttributes may be completely missing from the payload.
Additionally SigningCertURL and UnsubscribeURL have fully capitalized URL unlike default renaming from serde of Url.

Examples for reference from the official .NET SDK.
https://github.com/aws/aws-sdk-net/blob/475822dec5e87954b7a47ac65995714ae1f1b115/sdk/test/Services/SimpleNotificationService/UnitTests/Custom/SNSMessageUtilityTests.cs#L26-L38
https://github.com/aws/aws-sdk-net/blob/449bb72eccfe78c2bfbd8ee2edbc2a7225e8323b/sdk/src/Services/SimpleNotificationService/Custom/Util/Message.cs#L73-L84

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