All Products
Search
Document Center

AnalyticDB for PostgreSQL:ModifyDBInstanceConnectionString

Last Updated:Mar 03, 2024

Changes the endpoint of an AnalyticDB for PostgreSQL instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DBInstanceIdstringYes

The instance ID.

gp-t4n2qg19bnn98****
ConnectionStringPrefixstringYes

The endpoint prefix of the instance.

gp-test
PortstringYes

The port number. Example: 5432.

5432
CurrentConnectionStringstringYes

The current endpoint of the instance.

gp-t4n2qg19bnn98****-master.gpdb.rds.aliyuncs.com

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

29B0BF34-D069-4495-92C7-FA6D94528A9E

Examples

Sample success responses

JSONformat

{
  "RequestId": "29B0BF34-D069-4495-92C7-FA6D94528A9E"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-09-11The internal configuration of the API is changed, but the call is not affectedsee changesets
Change itemChange content
The internal configuration of the API is changed, but the call is not affected.