Changes the maintenance window of a PolarDB-X 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 ModifyDBInstanceMaintainTime

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

RegionId String Yes cn-hangzhou

The ID of the region in which the instance is located.

DBInstanceName String Yes pxc-htri0ori2r4k9p

The name of the PolarDB-X instance whose maintenance window you want to change.

MaintainTime String Yes 19:00Z-20:00Z

The maintenance window that you want to configure for the instance.

ClientToken String No 73559800-3c8c-11ec-bd40-99cfcff3fe1e

The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests.

Response parameters

Parameter Type Example Description
RequestId String 73559800-3c8c-11ec-bd40-99cfcff3fe1e

The unique ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyDBInstanceMaintainTime
&RegionId=cn-hangzhou
&DBInstanceName=pxc-htri0ori2r4k9p
&MaintainTime=19:00Z-20:00Z
&ClientToken=73559800-3c8c-11ec-bd40-99cfcff3fe1e
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ModifyDBInstanceMaintainTimeResponse>
    <RequestId>73559800-3c8c-11ec-bd40-99cfcff3fe1e</RequestId>
</ModifyDBInstanceMaintainTimeResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "73559800-3c8c-11ec-bd40-99cfcff3fe1e"
}

Error codes

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