Parameter | Type | Description | Example |
---|---|---|---|
object | The information about the asynchronous task. | ||
alreadyRetriedTimes | long | The number of retries after the asynchronous task fails. | 3 |
destinationStatus | string | The final state of the asynchronous task. | Succeeded |
durationMs | long | The execution duration of the asynchronous task. | 1000 |
endTime | long | The end time of the asynchronous task. Unit: milliseconds. | 1633449590000 |
events | array | The events of the asynchronous task. | |
AsyncTaskEvent | The event of the asynchronous task. | ||
functionArn | string | The Alibaba Cloud Resource Name (ARN) of the function. | acs:fc:cn-shanghai:1234/functions/my-func |
instanceId | string | The ID of the instance that corresponds to the asynchronous task. | D4-*******9FD1-882707E |
qualifier | string | The version or alias of the function. | prod |
requestId | string | The ID of the request corresponding to this asynchronous task. | e026ae92-61e5-472f-b32d-1c9e3c4e**** |
returnPayload | string | The content of the response after the asynchronous task is executed. The maximum size is 1 MB. This parameter is in public preview. If you want to use this parameter, contact us. | result |
startedTime | long | The start time of the asynchronous task. Unit: milliseconds. | 1633449590000 |
status | string | The state of the asynchronous task.
| Running |
taskErrorMessage | string | The error message for an asynchronous task failure. | UnhandledInvocationError |
taskId | string | The ID of the asynchronous task. | e026ae92-61e5-472f-b32d-1c9e3c4e**** |
taskPayload | string | The content of the input parameter during asynchronous task execution. | body |