You can call this operation to modify the maintenance window of an AnalyticDB for MySQL cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyDBClusterMaintainTime |
The operation that you want to perform. Valid values: ModifyDBClusterMaintainTime |
DBClusterId | String | Yes | rm-uf6wjk5xxxxxxxxxx |
The ID of the cluster. |
MaintainTime | String | Yes | 22:00Z-02:00Z |
The maintainance window of the cluster. The format is hh:mmZ-hh:mmZ. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 65BDA532-28AF-4122-AA39-B382721EEE64 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ModifyDBClusterMaintainTime
&DBClusterId=rm-uf6wjk5xxxxxxxxxx
&MaintainTime=22:00Z-02:00Z
&<Common request parameters>
Sample success responses
XML
format
<RequestId>65BDA532-28AF-4122-AA39-B382721EEE64</RequestId>
JSON
format
{
"RequestId": "65BDA532-28AF-4122-AA39-B382721EEE64"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The error message returned because the specified DBClusterId parameter does not exist. Check whether you specify the DBClusterId parameter correctly. |
For a list of error codes, visit the API Error Center.