All Products
Search
Document Center

Key Management Service:GetKmsInstanceQuotaInfos

Last Updated:Jun 10, 2026

Mengkueri penggunaan kuota dan batas 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

Tipe sumber daya. Nilai valid:

  • key: kuota kunci

  • secret: kuota rahasia

  • qps: kuota queries per second (QPS)

  • vpc: kuota Virtual Private Cloud (VPC).

Valid values:

  • qps :

    qps.

  • vpc :

    vpc.

  • secret :

    rahasia.

  • key :

    kunci.

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.