Cancels the update of a stack that is being created or updated and the operation is not yet complete.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ros:CancelUpdateStack |
update |
*stack
|
None | None |
Request syntax
POST /V2/CancelUpdateStack HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StackId |
string |
Yes |
The stack ID. Before calling this operation, you can call GetStack to query the stack status and confirm that the update operation is not yet complete. For example, the status is UPDATE_IN_PROGRESS. |
4a6c9851-3b0f-4f5f-b4ca-a14bf691**** |
| RegionId |
string |
Yes |
The region ID of the stack. You can call DescribeRegions to query the most recent region list. |
cn-hangzhou |
| CancelType |
string |
No |
The type of the cancel operation. Valid values:
|
Safe |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B288A0BE-D927-4888-B0F7-B35EF84B6E6F |
Examples
Success response
JSON format
{
"RequestId": "B288A0BE-D927-4888-B0F7-B35EF84B6E6F"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.