aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
3.03k stars 569 forks source link

Async invocation is not covered in the javascript example for V3 SDK #6388

Open matthewvcarey1 opened 4 weeks ago

matthewvcarey1 commented 4 weeks ago

Describe the issue

There is a very clear example for synchronous invocation but asynchronous invocation is not covered in the javascript example for V3 SDK. As the way of doing it has changed from V2 of the SDK this is an omission.

Links

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/InvokeCommand/

zshzbh commented 4 weeks ago

Hey @matthewvcarey1 ,

The v2 code sample is similar with V3 code sample: V2 -

Screenshot 2024-08-15 at 1 14 46 PM

V3 -

Screenshot 2024-08-15 at 1 15 49 PM

Could you please provide the link of the v2 example you mentioned?

Thanks! Maggie