CancelPhysicalConnection
Cancels access to an Express Connect circuit. After the cancellation, the Express Connect circuit enters the Canceled state.
Operation description
You can cancel access only for Express Connect circuits that are in the Initial, Approved, Allocated, or Confirmed state (not yet activated).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:CancelPhysicalConnection |
update |
*PhysicalConnection
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Express Connect circuit. You can call DescribeRegions to query region IDs. |
cn-shanghai |
| PhysicalConnectionId |
string |
Yes |
The ID of the Express Connect circuit. |
pc-119mfjzm7**** |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. The client generates the value of this parameter. Make sure that the value is unique among different requests. The value can be up to 64 ASCII characters in length. |
02fb3da4-130e-11e9-8e44-0016e04115b |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
Examples
Success response
JSON format
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Forbidden.NotAllowedInState | The request does not allow in this state. | |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 404 | InvalidPhysicalConnectionId.NotFound | The PhysicalConnectionId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.