Confirms the state of a physical connection. After you call this operation, the state of the physical connection changes to Confirmed.

Debugging

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
PhysicalConnectionId String Yes pc-119mf****

The ID of the physical connection.

RegionId String Yes cn-shanghai

The ID of the region where the physical connection is deployed. You can call the DescribeRegions operation to query region IDs.

ClientToken String No 02fb3da4-130e-11e9-8e44-0016e0****

The client token that is used to ensure the idempotence of the request. You can use the client to generate a token, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

Response parameters

Parameter Type Example Description
RequestId String API-20365164-5b0d-460a-83c2-2189972b****

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=ConfirmPhysicalConnection
&PhysicalConnectionId=pc-119mf****
&RegionId=cn-shanghai
&<Common request parameters>

Sample success responses

XML format

<ConfirmPhysicalConnectionResponse>
  <RequestId>API-20365164-5b0d-460a-83c2-2189972b****</RequestId>
</ConfirmPhysicalConnectionResponse>

JSON format

{
    "RequestId": "API-20365164-5b0d-460a-83c2-2189972b****"
}

Error codes

HttpCode Error code Error message Description
400 InvalidRegionId.NotFound The specified RegionId is not found. The error message returned because the specified region ID is invalid. Check whether the service is available in the specified region.

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