Skip to content

Add VPC Lattice as an upstream source for lambda-http#1136

Open
andrewpatto wants to merge 3 commits intoaws:mainfrom
umccr:main
Open

Add VPC Lattice as an upstream source for lambda-http#1136
andrewpatto wants to merge 3 commits intoaws:mainfrom
umccr:main

Conversation

@andrewpatto
Copy link
Copy Markdown
Contributor

📬 Issue #, if available:

#1029

✍️ Description of changes:

Added VPC Lattice support (and test cases) to lambda-http.

🔏 By submitting this pull request

  • I confirm that I've ran cargo +nightly fmt.
  • I confirm that I've ran cargo clippy --fix.
  • I confirm that I've made a best effort attempt to update all relevant documentation.
  • I confirm that my contribution is made under the terms of the Apache 2.0 license.

/// The request body
#[serde(default)]
pub body: Option<Body>,
pub body: Option<String>,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a mistake by me in the original event PR. This makes the type consistent with all other request event types. The Body abstraction is meant for responses (I think)

Comment on lines +5 to +7
**`lambda-http`** is an abstraction that takes HTTP-shaped payloads from different AWS services and turns them
into standard `http` objects, making it easy to write Lambda functions in Rust that serve HTTP traffic
regardless of the upstream trigger.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clarifying the overall purpose of the library - I feel it is more centered on HTTP shape payloads and not API gateway proxy events..


- [![Docs](https://docs.rs/lambda_runtime/badge.svg)](https://docs.rs/lambda_runtime) **`lambda-runtime`** is a library that provides a Lambda runtime for applications written in Rust.
- [![Docs](https://docs.rs/lambda_http/badge.svg)](https://docs.rs/lambda_http) **`lambda-http`** is a library that makes it easy to write API Gateway proxy event focused Lambda functions in Rust.
- [![Docs](https://docs.rs/lambda_http/badge.svg)](https://docs.rs/lambda_http) **`lambda-http`** is a library for writing HTTP Lambda functions in Rust, with support for upstream API Gateway, ALB, Lambda Function URLs, and VPC Lattice.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clarify the top-level description of what the library does (but happy if this is tidied/shortened). Possibly does not need to enumerate all upstream services.

@andrewpatto
Copy link
Copy Markdown
Contributor Author

I have not attempted to fix the CHANGELOG entries for either library as I was unsure exactly when/how these are done.

@andrewpatto andrewpatto marked this pull request as ready for review April 8, 2026 04:47
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.

1 participant