the code sample did not work without Buffer.from() in typescript. #4782
Labels
documentation
This is a problem with documentation.
p3
This is a minor priority issue
queued
This issues is on the AWS team's backlog
Describe the issue
I was trying out the code sample given in the lambda invokeCommand documentation, and it kept giving me the type error. I was looking for a solution and found this #4475 and was able to resolve the issue. I would appreciate it if you could update the documentation to add
Buffer.from()
for the Payload value.Links
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/preview/client/lambda/command/InvokeCommand/
The text was updated successfully, but these errors were encountered: