All Products
Search
Document Center

Function Compute:StopStatefulAsyncInvocation

Last Updated:Jun 02, 2023

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

There is currently no authorization information disclosed in the API.

Request syntax

PUT /2021-04-06/services/{serviceName}/functions/{functionName}/stateful-async-invocations/{invocationId}

Request parameters

ParameterTypeRequiredDescriptionExample
serviceNamestringYes

The name of the service to which the asynchronous task belongs.

demo-service
functionNamestringYes

The name of the function to which the asynchronous task belongs.

demo-function
invocationIdstringYes

The ID of the asynchronous task.

demo-id
qualifierstringNo

The version or alias of the service to which the asynchronous task belongs.

LATEST
X-Fc-Account-IdstringNo

The ID of your Alibaba Cloud account.

188077086902****
X-Fc-DatestringNo

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-IdstringNo

The trace ID of the invocation request of Function Compute.

asdf****

Response parameters

ParameterTypeDescriptionExample
The current API has no return parameters

Examples

Sample success responses

JSONformat

{}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-11-28The internal configurations of the API operation change but you can still call the operation.
Change itemChange content
The internal configurations of the API operation change but you can still call the operation.
2021-06-30The input parameters of the API operation change.
Change itemChange content
Input ParametersThe input parameters of the API operation change.
    Added Input Parameters: X-Fc-Account-Id
    Added Input Parameters: X-Fc-Code-Checksum
    Added Input Parameters: X-Fc-Log-Type
    Added Input Parameters: X-Fc-Invocation-Type
    Added Input Parameters: X-Fc-Date
    Added Input Parameters: X-Fc-Trace-Id
2021-06-30The input parameters of the API operation change.
Change itemChange content
Input ParametersThe input parameters of the API operation change.
    Added Input Parameters: X-Fc-Account-Id
2021-06-30The input parameters of the API operation change.
Change itemChange content
Input ParametersThe input parameters of the API operation change.
    delete Input Parameters: X-Fc-Account-Id