Cancels the access of an Express Connect circuit. After the cancellation, the Express Connect circuit enters the Canceled state.
Operation description
You can cancel the access of an Express Connect circuit only when it is in the Initial, Approved, Allocated, or Confirmed state (not enabled). After an Express Connect circuit is created by calling CreatePhysicalConnection, it may briefly be in the Allocating state, during which it cannot be canceled. Poll the status by calling DescribePhysicalConnections and call this operation after the state changes to Allocated.
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. The value must be unique among different requests and cannot exceed 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. | The parameter is invalid. |
| 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.