Disables a throttling rule.
This operation is applicable to the following database instances:
- RDS MySQL
- PolarDB MySQL
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DisableSqlConcurrencyControl |
The operation that you want to perform. Set the value to DisableSqlConcurrencyControl. |
ConsoleContext | String | No | None |
The hidden parameter. |
InstanceId | String | Yes | rm-2ze1jdv45i7l6**** |
The ID of the instance. Note The instance must be an ApsaraDB RDS for MySQL instance or an instance of the ApsaraDB
PolarDB MySQL-compatible edition.
|
ItemId | Long | Yes | 1 |
The ID of the throttling rule that is applied to the instance. You can call the GetRunningSqlConcurrencyControlRules operation to query the ID. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | String | 200 |
The returned status code. |
Message | String | Successful |
The returned message for the request. Note If the request is successful, Successful is returned. If the request fails, an error
message and an error code are returned.
|
Data | String | Null |
The detailed information, including error codes and the number of error messages. |
RequestId | String | B6D17591-B48B-4D31-9CD6-9B9796B2**** |
The ID of the request. |
Success | String | true |
Indicates whether the request is successful. Valid values:
|
Examples
Sample requests
http(s)://das.cn-shanghai.aliyuncs.com/?Action=DisableSqlConcurrencyControl
&ConsoleContext=None
&InstanceId=rm-2ze1jdv45i7l6****
&ItemId=1
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DisableSqlConcurrencyControlResponse>
<Code>200</Code>
<Message>Successful</Message>
<Data>Null</Data>
<RequestId>B6D17591-B48B-4D31-9CD6-9B9796B2****</RequestId>
<Success>true</Success>
</DisableSqlConcurrencyControlResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"Code" : "200",
"Message" : "Successful",
"Data" : "Null",
"RequestId" : "B6D17591-B48B-4D31-9CD6-9B9796B2****",
"Success" : "true"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParams | The request parameters are invalid. | The error message returned because the specified request parameters are invalid. |
For a list of error codes, visit the API Error Center.