Description

You can call this operation to modify the connection string and the port.

Request parameters

Name Type Required Description
<Common request parameters> - Yes For more information, see Common parameters.
Action String Yes The operation that you want to perform. Set the value to ModifyDBInstanceConnectionString.
DBInstanceId String Yes The ID of the instance.
CurrentConnectionString String  Yes The current connection string of the instance.
ConnectionStringPrefix String  Yes The target connection string.
Port String No The target port.

Response parameters

Name Type Description
<Common response parameters> - For more information, see Common response parameters.

Sample requests

https://gpdb.aliyuncs.com/?Action=ModifyDBInstanceConnectionString
&DBInstanceId=gp-xxxxxxx
&CurrentConnectionString=gp-xxxxxxx.gpdb.rds.aliyuncs.com
&ConnectionStringPrefix=gp-xxxxxxxnew
&<Common request parameters>

Sample responses

XML format

<ModifyDBInstanceConnectionStringResponse>
         <RequestId>29B0BF34-D069-4495-92C7-FA6D94528A9E</RequestId>
</ModifyDBInstanceConnectionStringResponse>

JSON format

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