CmdID

CmdID / Commands

aws-lambda

Use AWS Lambda, a compute service for running code without provisioning or managing servers. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run a function

aws lambda invoke --function-name name path/to/response.jsonIdentify
--function-nameThe name or ARN of the Lambda function, version, or alias. AWS CLI reference

Run a function with an input payload in JSON format

aws lambda invoke --function-name name --payload json path/to/response.jsonIdentify
--function-nameThe name or ARN of the Lambda function, version, or alias. AWS CLI reference
--payloadThe JSON that you want to provide to your Lambda function as input. AWS CLI reference

List functions

aws lambda list-functionsIdentify

Display the configuration of a function

aws lambda get-function-configuration --function-name nameIdentify
--function-nameThe name or ARN of the Lambda function, version, or alias. AWS CLI reference

List function aliases

aws lambda list-aliases --function-name nameIdentify
--function-nameThe name or ARN of the Lambda function. AWS CLI reference

Display the reserved concurrency configuration for a function

aws lambda get-function-concurrency --function-name nameIdentify
--function-nameThe name or ARN of the Lambda function. AWS CLI reference

List which AWS services can invoke the function

aws lambda get-policy --function-name nameIdentify
--function-nameThe name or ARN of the Lambda function, version, or alias. AWS CLI reference