- 필수 기능
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- 디지털 경험
- 소프트웨어 제공
- 보안
- 로그 관리
- 관리
- 인프라스트럭처
- ci
- containers
- csm
- ndm
- otel_guides
- overview
- slos
- synthetics
- tests
- 워크플로
Invoke a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously.
항목
유형
설명
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.
항목
유형
설명
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