AWS Lambda
App · Cloud Computing · 5 actions
Invoke and manage AWS Lambda serverless functions: run functions synchronously or asynchronously with a JSON payload, list and inspect functions and their versions, and check account limits and usage.
Actions
| Action | What it does |
|---|---|
| Get account settings | Get the account's Lambda limits (code storage, concurrency) and current usage in the connection's region. |
| Get function | Get a function's configuration, code location, tags, and reserved-concurrency settings. |
| Invoke function | Invoke a Lambda function with an optional JSON payload, synchronously (RequestResponse) or asynchronously (Event). |
| List function versions | List the published versions of a Lambda function. |
| List functions | List the Lambda functions in the connection's region, with pagination. |
Get account settings
Get the account's Lambda limits (code storage, concurrency) and current usage in the connection's region.
Inputs
None.
Outputs
resultobject
Example output
{
"result": {
"account_limit": {
"CodeSizeUnzipped": 262144000,
"CodeSizeZipped": 52428800,
"ConcurrentExecutions": 1000,
"TotalCodeSize": 80530636800,
"UnreservedConcurrentExecutions": 1000
},
"account_usage": {
"FunctionCount": 1,
"TotalCodeSize": 1024
}
}
}Get function
Get a function's configuration, code location, tags, and reserved-concurrency settings.
Inputs
- Function name
function_nametextRequired - The name or ARN of the function.
- Qualifier
qualifiertext - Optional version number or alias name.
Outputs
resultobject
Example output
{
"result": {
"code": {
"Location": "https://awslambda-us-east-1-tasks.s3.amazonaws.com/...",
"RepositoryType": "S3"
},
"concurrency": null,
"configuration": {
"FunctionArn": "arn:aws:lambda:us-east-1:123456789012:function:my-function",
"FunctionName": "my-function",
"Handler": "index.handler",
"MemorySize": 128,
"Runtime": "python3.12",
"State": "Active",
"Timeout": 3,
"Version": "$LATEST"
},
"tags": {
"env": "qa"
}
}
}Invoke function
Invoke a Lambda function with an optional JSON payload, synchronously (RequestResponse) or asynchronously (Event).
Inputs
- Function name
function_nametextRequired - The name, version/alias-qualified name, or ARN of the function to invoke (e.g. 'my-function').
- Payload
payloadobject - JSON object passed to the function as the event. Leave empty to invoke with no input.
- Invocation type
invocation_typetext - RequestResponse waits for the function and returns its output; Event queues an asynchronous invocation; DryRun validates parameters and permissions without running the function.One of:
RequestResponse(RequestResponse (sync)),Event(Event (async)),DryRun(DryRun (validate only)). Default:RequestResponse. - Log type
log_typetext - Set to Tail to include the last 4 KB of the function's execution log in 'log_result' (RequestResponse only).One of:
None,Tail(Tail (return logs)). Default:None. - Qualifier
qualifiertext - Optional version number or alias name to invoke a specific published version of the function.
- Client context
client_contexttext - Optional base64-encoded data (up to 3,583 bytes) passed to the function in the client context object.
Outputs
resultobject
Example output
{
"result": {
"executed_version": "$LATEST",
"function_error": null,
"log_result": null,
"payload": {
"body": "Hello from Lambda!",
"statusCode": 200
},
"status_code": 200
}
}List function versions
List the published versions of a Lambda function.
Inputs
- Function name
function_nametextRequired - The name or ARN of the function.
- Max items
max_itemsnumber - Maximum number of versions to return (1–10000).From 1 to 10000.
- Marker
markertext - Pagination token from a previous response's 'next_marker' to fetch the next page.
Outputs
resultobject
Example output
{
"result": {
"next_marker": null,
"versions": [
{
"FunctionArn": "arn:aws:lambda:us-east-1:123456789012:function:my-function:1",
"FunctionName": "my-function",
"Runtime": "python3.12",
"Version": "1"
}
]
}
}List functions
List the Lambda functions in the connection's region, with pagination.
Inputs
- Function version
function_versiontext - Set to 'ALL' to include all published versions of each function in addition to the latest.One of:
ALL(ALL (include all versions)). - Master region
master_regiontext - For a $LATEST listing, the region to filter Lambda@Edge functions by (e.g. 'us-east-1' or 'ALL').
- Max items
max_itemsnumber - Maximum number of functions to return (1–10000).From 1 to 10000.
- Marker
markertext - Pagination token from a previous response's 'next_marker' to fetch the next page.
Outputs
resultobject
Example output
{
"result": {
"functions": [
{
"CodeSize": 1024,
"FunctionArn": "arn:aws:lambda:us-east-1:123456789012:function:my-function",
"FunctionName": "my-function",
"Handler": "index.handler",
"LastModified": "2026-07-30T00:00:00.000+0000",
"MemorySize": 128,
"PackageType": "Zip",
"Runtime": "python3.12",
"Timeout": 3,
"Version": "$LATEST"
}
],
"next_marker": null
}
}