All Products
Search
Document Center

Key Management Service:ListKmsInstances

Last Updated:Jun 10, 2026

Mengkueri semua instans KMS di wilayah saat ini.

Deskripsi operasi

For more information about the access policy required for a RAM user or RAM role to call this operation, see Resource Access Management.

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

PageNumber

integer

No

Nomor halaman. Nilai default: 1.

1

PageSize

integer

No

Jumlah entri per halaman. Nilai valid: 1 hingga 100. Nilai default: 20.

10

Elemen respons

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

d3eca5c8-a856-4347-8eb6-e1898c3fda2e

KmsInstances

object

KmsInstance

array<object>

A list of KMS instances.

object

A list of KMS instances.

KmsInstanceArn

string

The ARN of the KMS instance.

acs:kms:pre-hangzhou:120708975881****:keystore/kst-phzz64c9f84eo32dbs****

KmsInstanceId

string

The ID of the KMS instance.

kst-phzz64c9f84eo32dbs****

TotalCount

integer

The total number of KMS instances.

1

PageNumber

integer

The page number of the returned page.

1

PageSize

integer

The number of KMS instances returned per page.

10

Contoh

Respons sukses

JSONformat

{
  "RequestId": "d3eca5c8-a856-4347-8eb6-e1898c3fda2e",
  "KmsInstances": {
    "KmsInstance": [
      {
        "KmsInstanceArn": "acs:kms:pre-hangzhou:120708975881****:keystore/kst-phzz64c9f84eo32dbs****",
        "KmsInstanceId": "kst-phzz64c9f84eo32dbs****"
      }
    ]
  },
  "TotalCount": 1,
  "PageNumber": 1,
  "PageSize": 10
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 IllegalTimestamp The input parameter Timestamp that is mandatory for processing this request is not supplied. The input parameter timestamp indicates that the request is outside the processing time range.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.