I am trying to use the below aws cli command to invoke the lambda function.
aws lambda invoke --invocation-type RequestResponse --function-name HelloWorldJava --payload \"world\" outputfile.txt
But Iam getting below error.
Invalid base64: ""world""
The book I am referring to is using the same method.