Mengambil informasi penggunaan dan batas kuota 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 |
Jenis resource. Nilai yang valid:
Valid values:
|
key |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
f1fdfa9d-bd49-418b-942f-8f3e3ec00a4f |
| KmsInstanceId |
string |
ID instans KMS. |
kst-hzz6**** |
| KmsInstanceQuotaInfos |
array<object> |
Array berisi detail kuota untuk instans tersebut. |
|
|
object |
|||
| ResourceQuota |
integer |
Kuota. |
12 |
| ResourceType |
string |
Jenis resource. |
key |
| UsedQuantity |
integer |
Penggunaan kuota. |
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.