Before we dive into the details of AWS Lambda CLI, it is important to understand what Lambda is.
AWS Lambda is a compute web service that executes code in response to events. You do this by creating a Lambda function in one the supported programming languages: Node.js, Python, Ruby, Java, Go or C#.
In addition, make sure you understand these AWS Lambda concepts –
These are not all encompassing, but its a good start. Also, make sure to read up on some of the features and use cases for lambda.
AWS Lambda does not have a separate Command Line Interface. To use AWS Lambda CLI, you have to use the AWS CLI (Command Line Interface), which is an open source tool that enables interaction with Lambda using command-line shell (Linux, macOS, PowerShell). The AWS CLI then provides direct access to the public API using Boto to interact with the Lambda API.
If you do not have AWS CLI installed, follow the steps listed in this official AWS CLI documentation.
There are a total of 49 Lambda API commands. I have grouped them into 11 categories based on their functions: ADD, CREATE, DELETE, GET,INVOKE, LIST, PUBLISH, PUT, REMOVE, TAG/UNTAG and UPDATE.