I'm trying to invoke a lambda on AWS using CLI:
aws lambda invoke --function-name GetErrorLambda --payload '{"body":"{\"Id\":[\"321\",\"123\"]}"}' \output.
I would like to know if there's a way to print the output on the cli instead of creating a file.