Mengkueri penggunaan kuota dan batas untuk instans KMS.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| KmsInstanceId |
string |
No |
ID instans KMS yang akan dikueri. |
kst-bjj62f5ba3dnpb6v8**** |
| ResourceType |
string |
No |
Tipe sumber daya. Nilai valid:
Valid values:
|
key |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
f1fdfa9d-bd49-418b-942f-8f3e3ec00a4f |
| KmsInstanceId |
string |
The ID of the KMS instance. |
kst-hzz6**** |
| KmsInstanceQuotaInfos |
array<object> |
An array of quota details for the instance. |
|
|
object |
|||
| ResourceQuota |
integer |
The quota. |
12 |
| ResourceType |
string |
The resource type. |
key |
| UsedQuantity |
integer |
The quota usage. |
10 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "f1fdfa9d-bd49-418b-942f-8f3e3ec00a4f",
"KmsInstanceId": "kst-hzz6****",
"KmsInstanceQuotaInfos": [
{
"ResourceQuota": 12,
"ResourceType": "key",
"UsedQuantity": 10
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is not valid. | |
| 403 | Forbidden.DKMSInstanceStateInvalid | The DKMS instance state is invalid. | |
| 403 | Forbidden.DKMSInstanceNotFound | The specified DKMS Instance is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.