Mendaftar konfigurasi pemanggilan asinkron untuk satu atau beberapa fungsi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:ListFunctionAsyncInvokeConfigs |
list |
*全部资源
|
None | None |
Sintaks permintaan
GET /2023-03-30/async-invoke-configs HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| functionName |
string |
No |
Nama fungsi. Jika parameter ini tidak ditentukan, konfigurasi pemanggilan asinkron untuk semua fungsi akan dikembalikan. |
my-func |
| nextToken |
string |
No |
Token yang digunakan untuk paging. |
MTIzNCNhYmM= |
| limit |
integer |
No |
Jumlah maksimum hasil yang akan dikembalikan. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
| ListAsyncInvokeConfigOutput |
A list of asynchronous invocation configurations. |
Contoh
Respons sukses
JSONformat
{
"configs": [
{
"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
}
],
"nextToken": "8bj81uI8n****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.