このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Invoke a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously.

Inputs

フィールド

種類

説明

region [required]

enum

default: us-east-1

functionName [required]

string

The name of the Lambda function, version, or alias. This can be the function name (my-function), name with alias (my-function:v1), ARN (arn:aws:lambda:us-west-2:123456789012:function:my-function), or partial ARN (123456789012:function:my-function).

invocationType

enum

The invocation type of the Lambda function. The default is RequestResponse, which invokes the function synchronously and includes the result in the action output. To invoke a function asynchronously, set InvocationType to Event. Allowed enum values: Event,RequestResponse,DryRun

default: RequestResponse

qualifier

string

An optional version or alias to invoke a published version of the function.

inputPayload

The JSON to provide to a Lambda function as input.

Outputs

フィールド

種類

説明

statusCode

number

The HTTP status code is in the 200 range for a successful request. For the RequestResponse invocation type, this status code is 200. For the Event invocation type, this status code is 202. For the DryRun invocation type, the status code is 204.

functionError

string

If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

payload

amzRequestId [required]

string