Modifies the name of a ModifyBackupPlanName plan.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyBackupPlanName |
The parameter specified by the system. Value: ModifyBackupPlanName. |
BackupPlanId | String | Yes | dbstooi0XXXX |
The ID of the backup plan. |
BackupPlanName | String | Yes | dbstooi0XXXX |
The name of the backup plan. |
RegionId | String | No | cn-hangzhou |
The region ID. You can call DescribeRegions query. |
ClientToken | String | No | ETnLKlblzczshOTUbOCzxxxxxxx |
The client token that is used to ensure the idempotency of the request. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
BackupPlanId | String | dbstooi0XXXX |
The ID of the backup plan. |
ErrCode | String | Param.NotFound |
The error code. |
ErrMessage | String | The specified parameter %s value is not valid. |
The error message. |
HttpStatusCode | Integer | 200 |
The HTTP status code. |
RequestId | String | D6E068C3-25BC-455A-85FE-45F0B22ECB1F |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request succeeded. |
Examples
Sample requests
http(s)://dbs-api.cn-hangzhou.aliyuncs.com/? Action=ModifyBackupPlanName
&BackupPlanId=dbstooi0XXXX
&BackupPlanName=dbstooi0XXXX
&<Common request parameters>
Sample success responses
XML
format
<ModifyBackupPlanNameReponse>
<RequestId>D6E068C3-25BC-455A-85FE-45F0B22ECB1F</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<BackupPlanId>dbs1h****usfa</BackupPlanId>
<Success>true</Success>
</ModifyBackupPlanNameReponse>
JSON
format
{
"RequestId": "D6E068C3-25BC-455A-85FE-45F0B22ECB1F",
"HttpStatusCode": 200,
"BackupPlanId": "dbs1h****usfa",
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.