AWS CLI was connected to my account via AWS configure. I tried invoking the lambda function using AWS CLI. I used the following command
aws lambda invoke \ --function-name
arn:aws:lambda:us-east-1:111111111:function:xxx \ --invocation-type
but it ended up with the following error
aws: error: too few arguments
Please suggest me with solutions.