Stops an asynchronous task.
Operation Description
StatefulAsyncInvocation: asynchronous task. Asynchronous tasks allow you to manage the states on the basis of common asynchronous invocations, which is more suitable for task scenarios.
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 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 Function Compute API is called. Specify the time 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 invocation request of Function Compute. | 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 configurations of the API operation change but you can still call the operation. | |||||||||||||||
| ||||||||||||||||
2021-06-30 | The input parameters of the API operation change. | |||||||||||||||
| ||||||||||||||||
2021-06-30 | The input parameters of the API operation change. | |||||||||||||||
| ||||||||||||||||
2021-06-30 | The input parameters of the API operation change. | |||||||||||||||
|