Assigns a prefix to the public endpoint of an instance.

Request parameters

Parameter Type Required Description
<Common request parameters> N/A Yes For more information, see Common parameters.
Action String Yes The operation that you want to perform. Set the value to AllocateInstancePublicConnection.
DBInstanceId String Yes The ID of the instance.
ConnectionStringPrefix String Yes The endpoint of the instance.
Port String Yes The port of the instance. Valid values: 3200 to 3999.

Response parameters

Parameter Type Description
<Common response parameters> N/A For more information, see Common response parameters.

Sample requests
&<Common request parameters>

Sample responses

XML format


JSON format

   "RequestId": "ADD6EA90-EECB-4C12-9F26-0B6DB58710EF"