Memulihkan rahasia yang dihapus.
Deskripsi operasi
You can only use this operation to restore a deleted secret that is within its recovery period. If you set ForceDeleteWithoutRecovery to true when you delete the secret, you cannot restore it.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SecretName |
string |
Yes |
Nama rahasia yang ingin Anda memulihkan. |
secret001 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| SecretName |
string |
The name of the secret. |
secret001 |
| RequestId |
string |
The ID of the request. |
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.