Retrieves the list of function resources that have asynchronous tasks enabled under the current account.
Operation description
StatefulAsyncInvocation: asynchronous task. Asynchronous tasks add state management capabilities on top of regular asynchronous invocations, making them more suitable for various task scenarios.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:ListStatefulAsyncInvocationFunctions |
get |
*All Resource
|
None | None |
Request syntax
GET /2021-04-06/stateful-async-invocation-functions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| limit |
integer |
No |
The maximum number of resources to return. If not specified, the default value is 20. The maximum value is 100. The number of returned results can be less than the specified number but cannot exceed it. |
20 |
| nextToken |
string |
No |
The token that marks the current position from which to start reading. An empty value indicates reading from the beginning. You do not need to provide this parameter for the first query. For subsequent queries, obtain the token from the response of the previous query. |
"" |
| X-Fc-Account-Id |
string |
No |
Your Alibaba Cloud account ID. |
12348***** |
| X-Fc-Date |
string |
No |
The start date of the function invocation. Format: EEE,d MMM yyyy HH:mm:ss GMT. |
Wed, 11 May 2022 09:00:00 GMT |
| X-Fc-Trace-Id |
string |
No |
The ID used for Tracing Analysis. |
duytnd-Xsdfasfd*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| nextToken |
string |
The token that indicates the position up to which the current call has read. An empty value indicates that all data has been read. |
"" |
| data |
array |
The list of returned data. |
|
| AsyncConfigMeta |
The service and function metadata to which the task configuration belongs. |
Examples
Success response
JSON format
{
"nextToken": "\"\"",
"data": [
{
"serviceName": "serviceName",
"functionName": "functionName",
"qualifier": "LATEST"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.