You can call this operation to modify the maintenance window of the instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyInstanceMaintainTime

The operation that you want to perform. Set the value to ModifyInstanceMaintainTime.

ClusterId String Yes cds-bp1b**6jco895***

The ID of the instance for which you want to modify the maintenance window.

MaintainEndTime String Yes 4:00

The end time of the maintenance window. Specify the time in the HH:mm format.

MaintainStartTime String Yes 2:00

The start time of the maintenance window. Specify the time in the HH:mm format.

Response parameters

Parameter Type Example Description
RequestId String C9085433-A56A-4089-B49A-DF5A4E2B7B06

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=ModifyInstanceMaintainTime
&ClusterId=cds-bp1b**6jco895***
&MaintainEndTime=4:00
&MaintainStartTime=2:00
&<Common request parameters>

Sample success responses

XML format

<RequestId>C9085433-A56A-4089-B49A-DF5A4E2B7B06</RequestId>

JSON format

{
	"RequestId":"C9085433-A56A-4089-B49A-DF5A4E2B7B06"
}

Error codes

For a list of error codes, visit the API Error Center.