I'm migrating aws-sdk from v2 to v3 and I'm having trouble setting up the lambda client. I'm providing region during the instantiation of lambda client as shown in the docs but while running InvokeAsyncCommand on the client, I get "Region is missing" error.
The sandbox contains the issue reproduced