Memulihkan secret yang telah dihapus.
Deskripsi operasi
Operasi ini hanya dapat digunakan untuk memulihkan secret yang dihapus selama masih berada dalam periode pemulihannya. Jika Anda mengatur ForceDeleteWithoutRecovery ke true saat menghapus secret tersebut, secret tidak dapat dipulihkan.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SecretName |
string |
Yes |
Nama secret yang ingin Anda pulihkan. |
secret001 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| SecretName |
string |
Nama secret tersebut. |
secret001 |
| RequestId |
string |
ID permintaan tersebut. |
e4885adf-548f-4ca5-8075-f540bbd3a55f |
Contoh
Respons sukses
JSONformat
{
"SecretName": "secret001",
"RequestId": "e4885adf-548f-4ca5-8075-f540bbd3a55f"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | some of the specified parameters "\" is not valid | |
| 500 | InternalFailure | Internal Failure | |
| 403 | Forbidden.NoPermission | This operation is forbidden by permission system | |
| 404 | Forbidden.ResourceNotFound | Resource not found | |
| 409 | Rejected.ResourceInUse | restore normal secret |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.