Skip to content
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

Issue parsing SNS Event #25

Open
mufumade opened this issue Dec 10, 2022 · 0 comments
Open

Issue parsing SNS Event #25

mufumade opened this issue Dec 10, 2022 · 0 comments

Comments

@mufumade
Copy link
Contributor

Expected behavior

Correct parsing using JSONDecoder().decode(SNS.Message.self, from: data)

Actual behavior

Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"SigningCertUrl\", intValue: nil) (\"SigningCertUrl\").", underlyingError: nil))

SigningCertUrl and SubscribeUrl will result in parsing error

Steps to reproduce

  1. Create a Lambda and parse a SNS Event.

SNS Message Structure

SwiftAWSLambdaRuntime version/commit hash

main branch

Swift & OS version (output of swift --version && uname -a)

swift-driver version: 1.62.15 Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)

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

No branches or pull requests

1 participant