Retrieves the asynchronous invocation configuration of a specified function.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:GetFunctionAsyncInvokeConfig |
get |
*All Resource
|
None | None |
Request syntax
GET /2023-03-30/functions/{functionName}/async-invoke-config HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| functionName |
string |
Yes |
The name of the function. |
my-func |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| qualifier |
string |
No |
The version or alias of the function. |
LATEST |
Response elements
|
Element |
Type |
Description |
Example |
| AsyncConfig |
The asynchronous invocation configuration of the function. |
Examples
Success response
JSON format
{
"asyncTask": true,
"createdTime": "2006-01-02T15:04:05Z07:00",
"destinationConfig": {
"onFailure": {
"destination": "acs:fc:cn-shanghai:xxx:functions/f1"
},
"onSuccess": {
"destination": "acs:fc:cn-shanghai:xxx:functions/f1"
}
},
"functionArn": "acs:fc:cn-shanghai:1234/functions/my-func",
"lastModifiedTime": "2006-01-02T15:04:05Z07:00",
"maxAsyncEventAgeInSeconds": 3600,
"maxAsyncRetryAttempts": 3
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.