Stops an asynchronous task.
Operation description
StatefulAsyncInvocation represents asynchronous tasks. Asynchronous tasks (StatefulAsyncInvocation) allow you to manage the states of asynchronous invocations. The asynchronous task feature is more suitable for task scenarios.
Debugging
Authorization information
Request syntax
PUT /2021-04-06/services/{serviceName}/functions/{functionName}/stateful-async-invocations/{invocationId}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
serviceName | string | Yes | The name of the service to which the asynchronous task belongs. | demo-service |
functionName | string | Yes | The name of the function to which the asynchronous task belongs. | demo-function |
invocationId | string | Yes | The ID of the instance that is used to run the asynchronous task. | demo-id |
qualifier | string | No | The version or alias of the service to which the asynchronous task belongs. | LATEST |
X-Fc-Account-Id | string | No | The ID of your Alibaba Cloud account. | 188077086902**** |
X-Fc-Date | string | No | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format. | Sat, 14 Jul 2017 07:02:38 GMT |
X-Fc-Trace-Id | string | No | The trace ID of the request for Function Compute API. | asdf**** |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2022-11-28 | The internal configuration of the API is changed, but the call is not affected | see changesets | ||||||||||||||
| ||||||||||||||||
2021-06-30 | The request parameters of the API has changed | see changesets | ||||||||||||||
| ||||||||||||||||
2021-06-30 | The request parameters of the API has changed | see changesets | ||||||||||||||
| ||||||||||||||||
2021-06-30 | The request parameters of the API has changed | see changesets | ||||||||||||||
|