invoke — AWS CLI 2.34.8 Command Reference
Use the AWS CLI 2.34.8 to run the lambda invoke command.