Checks the connection string of a cluster.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
polardb:CheckConnectionString | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
DBClusterId | string | Yes | The ID of the cluster. Note Call the DescribeDBClusters operation to view the details of all clusters in your account, including cluster IDs. | pc-**************** |
ConnectionStringPrefix | string | Yes | The prefix of the new connection string. The prefix must meet the following requirements:
| pc-****************.pg.polardb.pre.rds.aliyuncs.com:5432 |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The ID of the request. | CD3FA5F3-FAF3-44CA-AFFF-BAF869****** |
Examples
Success response
JSON format
{
"RequestId": "CD3FA5F3-FAF3-44CA-AFFF-BAF869******"
}Error codes
HTTP status code | Error code | Error message | Description |
404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.