Menampilkan daftar konfigurasi penyesuaian skala otomatis untuk fungsi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:ListScalingConfigs |
list |
*全部资源
|
None | None |
Sintaks permintaan
GET /2023-03-30/scaling-configs HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| functionName |
string |
No |
Nama fungsi. |
my-func |
| nextToken |
string |
No |
Token pagination yang digunakan di permintaan berikutnya untuk mengambil halaman hasil baru. |
MTIzNCNhYmM= |
| limit |
integer |
No |
Jumlah konfigurasi penyesuaian skala otomatis yang akan dikembalikan. |
20 |
Elemen respons
|
Element |
Type |
Description |
Example |
| ListScalingConfigsOutput |
The list of auto scaling configurations. |
Contoh
Respons sukses
JSONformat
{
"nextToken": "next_token",
"scalingConfigs": [
{
"functionArn": "",
"residentPoolId": "",
"minInstances": 0,
"currentInstances": 0,
"currentError": "",
"targetInstances": 0,
"enableOnDemandScaling": false,
"scheduledPolicies": [
{
"name": "",
"startTime": "",
"endTime": "",
"target": 0,
"scheduleExpression": "",
"timeZone": ""
}
],
"horizontalScalingPolicies": [
{
"name": "",
"startTime": "",
"endTime": "",
"metricType": "",
"metricTarget": 0,
"minInstances": 0,
"maxInstances": 0,
"timeZone": ""
}
],
"enableMixMode": false,
"requestDispatchPolicy": ""
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.