Skip to main content
The LambdaResourceClient allows you to invoke AWS Lambda functions directly from your application code.

Usage

Inputs

The invoke method accepts the following arguments:
string
required
The Lambda command to execute. Typically "Invoke".
Record<string, unknown>
required
The parameters for the command, matching the AWS SDK input shape (e.g., FunctionName, Payload).
string
required
A unique identifier for this operation.
number
Optional timeout in milliseconds.

Outputs

On success (ok: true), the result object contains:
"api"
Discriminator for the response type.
string
The command that was executed.
unknown
The response payload from the Lambda function.