aws-lambda-events icon indicating copy to clipboard operation
aws-lambda-events copied to clipboard

Rust event types for AWS Lambda

Results 12 aws-lambda-events issues
Sort by recently updated
recently updated
newest added

Many structs can be used part of the regular function code. It's very cumbersome to create them by hand if you only need to add a few fields, and want...

enhancement
help wanted
good first issue

Rust assumes that the version field in the `CodePipelineEventDetailType` should be a number, when in reality (the JSON CloudWatch sends) contains a string.

https://github.com/LegNeato/aws-lambda-events/blob/632a850ed90503dbe07fceff1f354fc1df289c4c/aws_lambda_events/src/sns/mod.rs#L89 New SDK type: https://docs.rs/aws-sdk-sns/latest/aws_sdk_sns/model/struct.MessageAttributeValue.html This way, they could support binary values. (I discovered this because I'm making a lambda, that copies SNS messages cross account. Currently I have to...

We use example files inside the generated module, and also outside of that module. It might make sense to move the fixtures directory outside the generated module.

good first issue

I'm using this to return some image data from a lambda: ```rust let resp = AlbTargetGroupResponse { status_code: 200, body: Some(Body::Binary(buf)), headers: HeaderMap::new(), is_base64_encoded: true, multi_value_headers: HeaderMap::new(), status_description: Some(String::from("200 OK")),...

good first issue

_Eventually_ we'll probably want to have Rust as the source of truth rather than generating from Go. * Rust's type system is more expressive and can be more correct and...

enhancement
question

We could use https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#schedule to look for changes in the go sdk and automatically put up a PR.

enhancement
help wanted
good first issue

Why not converting only `null` to `None` and leaving empty strings empty? The problem is loosing the information about whether the value was actually null or an empty string, neither...

We should (optionally) be smarter for URL types and parse them into `url` crate structs rather than keep them as strings.

enhancement
help wanted
good first issue

We should generate a variant that borrows rather than owns (so &str rather than String for example). This will reduce allocations.

enhancement
help wanted
good first issue