0 votes
1 view
in AWS by (1.4k points)

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

RequestResponse

but it ended up with the following error

aws: error: too few arguments

Please suggest me with solutions. 

1 Answer

0 votes
by (2.6k points)

Kindly re-run that as follows as you need to provide an outfile.

aws lambda invoke \ --function-name arn:aws:lambda:us-east-

1:111111111:function:xxx \ --invocation-type

RequestResponse \ outfile.txt

To learn more aws lambda tutorial.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...