Deletes the endpoint that is used to connect to the dedicated proxy of an instance.
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
rds:DeleteDBProxyEndpointAddress | WRITE |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the instance. You can call the DescribeRegions operation to query most recent region list. | cn-hangzhou |
DBInstanceId | string | Yes | The ID of the instance. You can call the DescribeDBInstances operation to query the ID of the instance. | rm-t4n3a**** |
DBProxyEndpointId | string | Yes | The ID of the proxy endpoint. You can call the DescribeDBProxyEndpoint operation to query the ID of the proxy endpoint. | ta9um4**** |
DBProxyConnectStringNetType | string | Yes | The network type of the proxy endpoint. Valid values:
Default value: Classic. Note
| Public |
DBProxyEngineType | string | No | An internal 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. |
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. | - |
404 | Endpoint.NotFound | Specified endpoint is not found. | The port that is associated with the dedicated proxy endpoint cannot be found. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2022-06-08 | The error codes of the API operation change.,The input parameters of the API operation change. | |||||||||||||
|