All Products
Search
Document Center

Key Management Service:CancelKeyDeletion

Last Updated:Dec 21, 2025

Membatalkan tugas penghapusan CMK.

Deskripsi operasi

Jika tugas penghapusan CMK dibatalkan, CMK akan kembali ke status Enabled.

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

KeyId

string

Yes

ID CMK. ID tersebut harus unik secara global.

1234abcd-12ab-34cd-56ef-12345678****

Elemen respons

Element

Type

Description

Example

object

RequestId

string

ID permintaan, yang digunakan untuk melacak dan memecahkan masalah.

3da5b8cc-8107-40ac-a170-793cd181d7b7

Contoh

Respons sukses

JSONformat

{
  "RequestId": "3da5b8cc-8107-40ac-a170-793cd181d7b7"
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is not valid. An invalid value is specified for the parameter.
404 Forbidden.KeyNotFound The specified Key is not found. The error message returned because the specified CMK does not exist.
404 InvalidAccessKeyId.NotFound The Access Key ID provided does not exist in our records.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.