> For the complete documentation index, see [llms.txt](https://seg-fault.gitbook.io/researchs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://seg-fault.gitbook.io/researchs/aws-cloud-security/hacking-lamda/lambda-api-calls.md).

# Lambda - API Calls

## Lambda API Calls

Here are some popular lambda API calls and what they do :-

* `get-function` : API call prints all the information about the lambda function and even allows you to download code of lambda function.
* `list-versions-by-function` : API call prints all the versions associated with the given lambda function.
* `list-layer-versions` : API call prints all the layer versions associated with the given layer name.
* `invoke` : API call to invoke the associated lambda function
* `update-function-configuration` : API call allows you to modify lambda function and its configurations including ability to overwrite the current code of lambda.
* `get-layer-version-by-arn` : API call which allows you to get all information about a particular version of layer using its arn including ability to download the layer code.
