Modifies the internal or public endpoint and port number of an instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyDBInstanceConnectionString

The operation that you want to perform. Set the value to ModifyDBInstanceConnectionString.

ConnectionStringPrefix String Yes gp-xxxxxxxx

The new endpoint of the instance.

CurrentConnectionString String Yes

The original endpoint of the instance.

DBInstanceId String Yes gp-xxxxxxx

The ID of the instance.

Port String Yes 3432

The new port number of the instance.

Response parameters

Parameter Type Example Description
RequestId String 29B0BF34-D069-4495-92C7-FA6D94528A9E

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format

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

Error codes

For a list of error codes, visit the API Error Center.