-
Notifications
You must be signed in to change notification settings - Fork 548
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
Suggestion - Lambda - InvokeCommandInput should accept a json object #2123
Comments
I'd also like to see this for the
|
Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue. |
Team, we should keep this open until we hear back from the sdk team. (Adding this comment to flag request active) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Is your feature request related to a problem? Please describe.
The SDK v3 for Lambda javascript function "InvokeCommand" takes in an InvocationRequest as input.
The InvocationRequest takes in a couple input, specifically the payload property is a uint8array.
So clients using the sdk v3 will need to always convert the object to a uint8array, we should do that for them under the hood.
Describe the solution you'd like
We should allow the payload to be a JSON object/string similar to the v2 sdk.
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/modules/invocationrequest.html
https://github.com/aws/aws-sdk-js-v3/blob/49e2d61c80/clients/client-lambda/models/models_0.ts#L3122
Describe alternatives you've considered
I have considered reverting back to v2.
Additional context
N/A
The text was updated successfully, but these errors were encountered: