Modifies the switch time of a pending event.

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 No ModifyPendingMaintenanceAction

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

Ids String Yes 111111

The ID of the task that you want to modify. You can specify multiple task IDs at a time to modify the switch time of the tasks in a unified manner. The task IDs must be separated with commas (,).

SwitchTime String Yes 2020-06-09T22:00:00Z

The time point that you specify for the background to perform the action that corresponds to the pending event. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.

RegionId String No cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
Ids String 111111

The ID of the task.

RequestId String 93061E17-B56A-4324-BC95-D0FFD2******

The ID of the request.

Examples

Sample requests

http(s)://polardb.aliyuncs.com/? Action=ModifyPendingMaintenanceAction
&Ids=111111
&SwitchTime=2020-06-09T22:00:00Z
&<Common request parameters>

Sample success responses

XML format

<ModifyPendingMaintenanceActionResponse>
  <RequestId>93061E17-B56A-4324-BC95-D0FFD2******</RequestId>
  <Ids>111111</Ids>
</ModifyPendingMaintenanceActionResponse>

JSON format

{
	"RequestId": "93061E17-B56A-4324-BC95-D0FFD2******",
	"Ids": 111111
}

Error codes

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