Queries sandbox backup sets.
Operation description
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.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:DescribeSandboxBackupSets |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BackupPlanId |
string |
Yes |
The ID of the backup plan. Note
If your instance is an RDS for MySQL instance, automatically add the RDS instance to DBS to obtain the backup plan ID. For more information, see Automatically add a data source. |
1hxxxx8xxxxxa |
| BackupSetId |
string |
No |
The ID of the backup set. If you specify this parameter, the operation returns information about the snapshots of only this backup set. If you do not specify this parameter, the operation returns information about the snapshots of all backup sets that are created for the backup plan. |
1xxxx2xxxxx1e |
| PageSize |
string |
No |
The number of entries per page. Valid values:
|
30 |
| PageNumber |
string |
No |
The page number. The value must be greater than 0 and cannot exceed the maximum value of the integer data type. Default value: 1. |
1 |
Response parameters
|
Parameter |
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. |
Examples
Success response
JSON format
{
"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."
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Request.Forbidden | Have no Permissions |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.