Modifies the backup objects in a Database Backup Service (DBS) backup plan.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:ModifyBackupObjects |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BackupPlanId |
string |
Yes |
The ID of the backup plan. |
dbs1h****usfa |
| BackupObjects |
string |
Yes |
The backup objects, specified as a JSON string. The format is as follows:
Note
|
[ { "DBName":"17xxx92xxxx374", "SchemaName":"gy9xnj8xxxxxx", "TableIncludes":[{ "TableName":"test1" }], "TableExcludes":[{ "TableName":"test2" }] } ] |
| ClientToken |
string |
No |
A client token to ensure the idempotence of the request. This prevents the same request from being submitted multiple times. |
ETnLKlblzczshOTUbOCzxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The details of the returned parameters. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
D6E068C3-25BC-455A-85FE-45F0B22ECB1F |
| ErrCode |
string |
The error code. |
InvalidParameter |
| Success |
boolean |
Indicates whether the request was successful. The return values are as follows:
|
true |
| ErrMessage |
string |
The error message. |
The specified parameter %s value is not valid. |
| BackupPlanId |
string |
The ID of the backup plan. |
dbs1h****usfa |
| NeedPrecheck |
boolean |
Indicates whether the modification triggers a precheck. If the value is true, call the StartBackupPlan operation to start the backup plan. |
true |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "D6E068C3-25BC-455A-85FE-45F0B22ECB1F",
"ErrCode": "InvalidParameter",
"Success": true,
"ErrMessage": "The specified parameter %s value is not valid. ",
"BackupPlanId": "dbs1h****usfa",
"NeedPrecheck": true
}
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.