Mengatur konkurensi untuk fungsi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:PutConcurrencyConfig |
create |
*全部资源
|
None | None |
Sintaks permintaan
PUT /2023-03-30/functions/{functionName}/concurrency HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| functionName |
string |
Yes |
Nama fungsi. |
my-func |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| body | PutConcurrencyInput |
Yes |
Konfigurasi konkurensi fungsi. |
Elemen respons
|
Element |
Type |
Description |
Example |
| ConcurrencyConfig |
The concurrency configuration of the function. |
Contoh
Respons sukses
JSONformat
{
"functionArn": "acs:fc:cn-shanghai:123:functions/demo",
"reservedConcurrency": 10
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.