Mengkueri set cadangan sandbox.
Deskripsi operasi
You must enable the sandbox feature for the database instance before you perform this operation. For more information, see Emergency recovery for an RDS for MySQL instance or Emergency recovery for a self-managed MySQL database (sandbox instance). This operation is supported only in DBS API version 2021-01-01.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:DescribeSandboxBackupSets |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BackupPlanId |
string |
Yes |
ID Rencana cadangan. Catatan
Jika Instans Anda adalah Instans RDS for MySQL, DBS secara otomatis menambahkan Instans RDS dan memperoleh ID rencana cadangan. Untuk informasi lebih lanjut, lihat Menambahkan sumber data secara otomatis. |
1hxxxx8xxxxxa |
| BackupSetId |
string |
No |
ID set cadangan. Jika Anda menentukan parameter ini, operasi akan mengembalikan informasi tentang Snapshot dari set cadangan ini saja. Jika Anda tidak menentukan parameter ini, operasi akan mengembalikan informasi tentang Snapshot dari semua set cadangan yang dibuat untuk Rencana cadangan. |
1xxxx2xxxxx1e |
| PageSize |
string |
No |
Jumlah entri per halaman. Nilai valid:
|
30 |
| PageNumber |
string |
No |
Nomor halaman. Nilai harus lebih besar dari 0 dan tidak boleh melebihi nilai maksimum Tipe data integer. Nilai default: 1. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
string |
The data returned. The value of this parameter is a JSON string. The JSON string contains the following fields:
|
"Data": { "number": 2, "size": 2, "content": [ { "backupSetTime": "2021-08-28T23:12:31Z", "backupSetId": "Inc_1hxxxx8xxxxxa_20210801064200_mysql-bin.000134", "backupSetType": "Inc", "backupPlanId": "1hxxxx8xxxxxa" }, { "backupSetTime": "2021-08-28T22:42:28Z", "backupSetId": "1hxxxx8xxxxxa_20210829064228", "backupSetType": "FULL", "backupPlanId": "1hxxxx8xxxxxa" } ], "totalElements": 2 }, |
| RequestId |
string |
The ID of the request. |
4F1888AC-1138-4995-B9FE-D2734F61C058 |
| ErrCode |
string |
The error code. |
Param.NotFound |
| Success |
string |
Indicates whether the request was successful. |
true |
| ErrMessage |
string |
The error message. |
The specified parameter %s value is not valid. |
| Code |
string |
The error code. |
Param.NotFound |
| Message |
string |
The error message. |
The specified parameter %s value is not valid. |
Contoh
Respons sukses
JSONformat
{
"Data": " \"Data\": { \"number\": 2, \"size\": 2, \"content\": [ { \"backupSetTime\": \"2021-08-28T23:12:31Z\", \"backupSetId\": \"Inc_1hxxxx8xxxxxa_20210801064200_mysql-bin.000134\", \"backupSetType\": \"Inc\", \"backupPlanId\": \"1hxxxx8xxxxxa\" }, { \"backupSetTime\": \"2021-08-28T22:42:28Z\", \"backupSetId\": \"1hxxxx8xxxxxa_20210829064228\", \"backupSetType\": \"FULL\", \"backupPlanId\": \"1hxxxx8xxxxxa\" } ], \"totalElements\": 2 },",
"RequestId": "4F1888AC-1138-4995-B9FE-D2734F61C058",
"ErrCode": "Param.NotFound",
"Success": "true",
"ErrMessage": "The specified parameter %s value is not valid.",
"Code": "Param.NotFound",
"Message": "The specified parameter %s value is not valid."
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Request.Forbidden | Have no Permissions |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.