-
Notifications
You must be signed in to change notification settings - Fork 249
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
Implement Lambda API InvokeWithResponseStream #1075
Comments
The response is
|
The code generator already supports event streams for APIs using the Smithy RestJson protocol, so I think this Lambda API would work. We just need to test it and add it to the allow list to let the code generator put it in the actual SDK. |
This PR enables event stream operations for the AWS `@restJson1` and `@restXml` Smithy protocols. This will add the missing operations reported in awslabs/aws-sdk-rust#1075 and awslabs/aws-sdk-rust#1080. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
This PR enables event stream operations for the AWS `@restJson1` and `@restXml` Smithy protocols. This will add the missing operations reported in awslabs/aws-sdk-rust#1075 and awslabs/aws-sdk-rust#1080. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Hi, thanks for getting this implemented so quickly! How often do new releases get pushed to crates.io? We'd love to start using this change with Lambda ASAP. I tried to just add the repository as a Cargo dependency but found that the size of this repo makes fetches in CI extremely slow, so we'll wait for an official release to crates.io to get started. |
I am not one of the devs, but looking at the release frequency, I doubt it's going to be terribly many days since this is already in pending release: https://github.com/awslabs/aws-sdk-rust/releases |
It'll go out in one of the daily releases the next time we release smithy-rs, which should be pretty soon. |
This went out in yesterday's release. |
Comments on closed issues are hard for our team to see. |
Describe the feature
Lambda currently supports response streaming, but that's used through a separate Invoke API call called
InvokeWithResponseStream
. https://docs.aws.amazon.com/lambda/latest/api/API_InvokeWithResponseStream.htmlCurrently there doesn't seem to be any support for this API in the Rust SDK, even though it's supported in the Java, Python and JavaScript SDKs.
Use Case
I need to call Lambda functions that will return more than 6 MB as a response by utilizing the response streaming feature.
Proposed Solution
Implement the API.
Other Information
No response
Acknowledgements
A note for the community
Community Note
The text was updated successfully, but these errors were encountered: