You can call this operation to delete a DeleteShardTasks task.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DeleteShardTasks |
Required parameter. Value: DeleteShardTasks. |
DbName | String | No | test_db |
The name of the DRDS database. |
DrdsInstanceId | String | No | drds************ |
The ID of the DRDS instance. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the container group. |
TableName.N.SourceTableName | String | Yes | student_1 |
The name of the source table. |
TableName.N.TargetTableName | String | Yes | student_2 |
Specifies the name of the destination table to which you want to upload data. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Data | Boolean | True |
Indicates whether the sharding task was deleted. |
RequestId | String | F8997D95-94AD-416A-AE70-E24D08****** |
The ID of the request. |
Success | Boolean | True |
Indicates whether the request was successful. |
Examples
Sample requests
http(s)://drds.aliyuncs.com/? Action=DeleteShardTasks
&DbName=test_db
&DrdsInstanceId=drds************
&<Common request parameters>
Sample success responses
XML
format
<Data>true</Data>
<RequestId>F8997D95-94AD-416A-AE70-E24D08******</RequestId>
<Success>true</Success>
JSON
format
{
"Data":true,
"RequestId":"F8997D95-94AD-416A-AE70-E24D08******",
"Success":true
}
Error codes
For a list of error codes, visit the API Error Center.