IntegrationsAwsActions
Invoke Lambda function synchronously
Invoke a Lambda function with RequestResponse semantics and a 15-second abort. Payload is JSON text capped at 256 KiB by this pack. Returns status, executed version, function error, base64 payload, optional decoded JSON text, and optional log tail. Unsafe with one SDK attempt. Excluded from MCP. Requires lambda:InvokeFunction.
lambda.functions.invoke_sync · AWS · v1
Details
Scopes
lambda:InvokeFunction
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
function_name | string | Yes | minLength 1; maxLength 170 |
payload | string | Yes | minLength 1; maxLength 262144 |
region | string | No | enum us-east-1 | us-east-2 | us-west-1 | us-west-2 | af-south-1 | ap-east-1 | ap-east-2 | ap-south-1 | ap-south-2 | ap-southeast-1 | ap-southeast-2 | ap-southeast-3 | ap-southeast-4 | ap-southeast-5 | ap-southeast-6 | ap-southeast-7 | ap-northeast-1 | ap-northeast-2 | ap-northeast-3 | ca-central-1 | ca-west-1 | eu-central-1 | eu-central-2 | eu-west-1 | eu-west-2 | eu-west-3 | eu-north-1 | eu-south-1 | eu-south-2 | il-central-1 | me-central-1 | me-south-1 | mx-central-1 | sa-east-1 |
qualifier | string | No | minLength 1; maxLength 128 |
include_log_tail | boolean | No | — |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
status_code | integer | Yes | minimum 200; maximum 599 |
executed_version | string | No | minLength 1; maxLength 128 |
function_error | string | No | minLength 1; maxLength 128 |
payload_base64 | string | Yes | minLength 0; maxLength 349528 |
payload_json | string | No | minLength 1; maxLength 262144 |
log_tail | string | No | minLength 1; maxLength 8192 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"function_name": {
"type": "string",
"minLength": 1,
"maxLength": 170
},
"payload": {
"type": "string",
"minLength": 1,
"maxLength": 262144
},
"region": {
"type": "string",
"enum": [
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
"af-south-1",
"ap-east-1",
"ap-east-2",
"ap-south-1",
"ap-south-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-southeast-3",
"ap-southeast-4",
"ap-southeast-5",
"ap-southeast-6",
"ap-southeast-7",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"eu-north-1",
"eu-south-1",
"eu-south-2",
"il-central-1",
"me-central-1",
"me-south-1",
"mx-central-1",
"sa-east-1"
]
},
"qualifier": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"include_log_tail": {
"type": "boolean"
}
},
"required": [
"function_name",
"payload"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"status_code": {
"type": "integer",
"minimum": 200,
"maximum": 599
},
"executed_version": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"function_error": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"payload_base64": {
"type": "string",
"minLength": 0,
"maxLength": 349528
},
"payload_json": {
"type": "string",
"minLength": 1,
"maxLength": 262144
},
"log_tail": {
"type": "string",
"minLength": 1,
"maxLength": 8192
}
},
"required": [
"status_code",
"payload_base64"
]
}