All Products
Search
Document Center

Key Management Service:GetKmsInstanceQuotaInfos

Last Updated:Apr 16, 2026

Mengambil informasi penggunaan dan batas kuota untuk instans KMS.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

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:

  • key: kuota kunci

  • secret: kuota rahasia

  • qps: kuota permintaan per detik (QPS)

  • vpc: kuota Virtual Private Cloud (VPC)

Valid values:

  • qps :

    qps

  • vpc :

    vpc

  • secret :

    secret

  • key :

    key

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.