The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

143781 (6) [Avatar] Offline
I followed the instructions in section 2.5 to set up awscli on ubuntu 14. (Amazon's online docs are a mess. Use sudo apt-get to install awscli. The pip and pip3 installations shown on Amazons doc failed for me.)

I added an IAM user with the permissions shown in section 2.5, but when I try any of the commands in the text I get error messages that don't explain what the problem is:

$ aws lambda list-functions
usage: aws [options] <command> <subcommand> [parameters]
aws: error: argument command: Invalid choice, valid choices are:

autoscaling                              | cloudformation 
...                                             | ...

Every command I try with "aws lambda" fails. The list valid of choices does not include "lambda".

Does the aws command line support lambda?