Comments (5)
oh, that's weird, the field is here:
I'm guessing case sensitive issues 🤦
from aws-lambda-events.
It happens.
SigningCertUrl
SigningCertURL
I did not see it as well at first look.
from aws-lambda-events.
On the readme:
We have no desire to manually write event definitions and contributions to that effect will not be accepted. If the [official Go SDK](https://github.com/aws/aws-lambda-go/tree/master/events) is missing an event definition, please file a bug on that project rather than submitting a fix here. Once the official Go SDK has included your changes this project will pick up the new event definitions.
In GO I can see it is correct:
https://github.com/aws/aws-lambda-go/blob/99a9a4bd72b603da8d75d74d77937c146fed0b7c/events/sns.go#L28
I also see that what they call SNSEntity here is called SnsMessage. If it is all generated automatically, I need to find out where the name change is.
Another thing that I see is:
#[serde(rename_all = "PascalCase")]
So, in theory, this SigningCertURL should be SigningCertUrl.
Can you explain to me how to fix it? I think I cannot directly change the aws-lambda-events/aws_lambda_events/src/sns/mod.rs
from aws-lambda-events.
Can you explain to me how to fix it? I think I cannot directly change the aws-lambda-events/aws_lambda_events/src/sns/mod.rs
Yes, you can modify that file directly. Only the ones in the generated
directory are generated from Go. Make sure you update the test examples too.
from aws-lambda-events.
I just released 0.8.2 with the fix. Thank you all.
from aws-lambda-events.
Related Issues (20)
- Nested events and embedded deserialisable objects HOT 5
- Add Default derive for structs that can support it HOT 2
- example-kafka-event.json is wrong HOT 6
- Security critical depends HOT 1
- Failed to build with only feature `dynamodb`
- `aws_lambda_events::s3::S3Event` missing? HOT 1
- Consider re-exporting exposed types HOT 2
- invalid type: null, expected struct ConnectQueue HOT 2
- Example of using LogEntry
- Lambda Handler fails to execute when using `ApiGatewayV2CustomAuthorizerV1Request` or `ApiGatewayV2CustomAuthorizerV2Request` HOT 5
- Question: aws_lambda_events::dynamodb::Event HOT 1
- Out of sync with latest lambda_runtime HOT 3
- Missing fields in event::ses::SimpleEmailService HOT 3
- support for EventBridge payloads? HOT 2
- Potential segfault in the time crate [RUSTSEC-2020-0071] HOT 1
- Regression: S3Event not longer compiles HOT 2
- `CognitoEventUserPoolsDefineAuthChallengeRequest::user_not_found` should be optional
- Cognito passes in explicitly null booleans for DefineAuth responses HOT 1
- The crate is still vunnerable to RUSTSEC-2020-0071 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-lambda-events.