Deletes the endpoint that is used to connect to the dedicated proxy of an instance.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
DBInstanceId | string | Yes | The instance ID. You can call the DescribeDBInstances operation to query the instance ID. | rm-t4n3a**** |
DBProxyEndpointId | string | Yes | The proxy endpoint ID. You can call the DescribeDBProxyEndpoint operation to query the proxy endpoint ID. | ta9um4**** |
DBProxyConnectStringNetType | string | Yes | The network type of the proxy endpoint. Valid values:
If the instance runs MySQL, the default value of this parameter is Classic. Note
If the instance runs PostgreSQL, you must set this parameter to Public or VPC.
| Public |
DBProxyEngineType | string | No | A reserved parameter. You do not need to specify this parameter. | normal |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "343356C6-64B2-4245-ADEB-C9BD165EDD11"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidVpcInstanceId | Specified vpc instance id is not valid. | The specified VPC ID is invalid. |
400 | IncorrectDBInstanceNetType | Current DB instance net type does not support this operation. | The operation failed. The operation is not supported for the network type of the RDS instance. |
400 | AtLeastOneNetTypeExists | The current database instance network type does not support the operation | The operation failed. The operation is not supported for the network type of the RDS instance. |
400 | InvalidEndPoint.Format | The specified EndPoint is not valid. | - |
400 | InvalidDBInstanceName | Specified parameter DBInstanceName is not valid. | The value of the DBInstanceName parameter is invalid. Check that the value of this parameter is not null or an empty string. |
400 | MaxscaleNotSupport | Current custins can not support Maxscale. | This operation is not supported for instances with maxscale. |
403 | IncorrectDBInstanceType | Current DB instance type does not support this operation. | The operation failed. The RDS instance is not in a ready state. |
403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | - |
403 | IncorrectKindCode | The current KindCode of the custins does not support the operation. | - |
403 | IncorrectDBInstanceEngine | Current DB Instance engine does not support this operation. | The operation failed. The operation is not supported for the database engine that is run on the RDS instance. |
403 | IncorrectKindCode | Current custins kindCode does not support this operation. | The operation failed. The operation is not supported for the database engine that is run on the RDS instance. |
404 | Endpoint.NotFound | Specified endpoint is not found. | The port that is associated with the dedicated proxy endpoint cannot be found. |
404 | InvalidDBInstanceName.NotFound | The database instance does not exist. | The name of the RDS instance cannot be found. Check the name of the RDS instance. |
404 | Maxscale.NotFound | The related maxscale instance is not found. | The operation failed. No associated MaxScale instances can be found. |
404 | InvalidDBInstanceNetType.NotFound | Specified DB instance net type is not found. | The operation failed. The network type of the RDS instance is invalid. Specify a valid network type. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-12-19 | The Error code has changed | View Change Details |
2022-06-08 | The Error code has changed. The request parameters of the API has changed | View Change Details |