Queries the details of created change sets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ros:ListChangeSets |
get |
*stack
|
None | None |
Request syntax
POST /V2/ListChangeSets HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StackId |
string |
Yes |
The stack ID. |
4a6c9851-3b0f-4f5f-b4ca-a14bf691**** |
| PageSize |
integer |
No |
The number of entries per page in paging query. The value must be an integer. Valid values: 1 to 50. Default value: 10. |
10 |
| RegionId |
string |
Yes |
The region ID of the change set. You can call DescribeRegions to query the most recent region list. |
cn-hangzhou |
| PageNumber |
integer |
No |
The page number of the change set list. |
1 |
| ChangeSetId |
string |
No |
The change set ID. If you do not need detailed information about the change set, you can use this parameter instead of calling the GetChangeSet operation. |
1f6521a4-05af-4975-afe9-bc4b45ad**** |
| Status |
array |
No |
The status of the change set. Maximum value of N: 5. Valid values:
|
CREATE_COMPLETE |
|
string |
No |
The status of the change set. |
CREATE_COMPLETE |
|
| ChangeSetName |
array |
No |
The name of the change set. Maximum value of N: 5. You can use the wildcard character asterisk (*) for fuzzy match. |
MyChangeSet |
|
string |
No |
The name of the change set. |
MyChangeSet |
|
| ExecutionStatus |
array |
No |
The execution status of the change set. Maximum value of N: 5. Valid values:
|
AVAILABLE |
|
string |
No |
The execution status of the change set. |
AVAILABLE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| TotalCount |
integer |
The total number of change sets returned. |
1 |
| PageSize |
integer |
The number of entries per page in paging query. |
10 |
| RequestId |
string |
The request ID. |
B288A0BE-D927-4888-B0F7-B35EF84B6E6F |
| PageNumber |
integer |
The page number in paging query. The value is an integer with a minimum value of 1. |
1 |
| ChangeSets |
array<object> |
The change sets. |
|
|
array<object> |
|||
| Status |
string |
The status of the change set. |
CREATE_COMPLETE |
| StackId |
string |
The ID of the stack to which the change set belongs. |
4a6c9851-3b0f-4f5f-b4ca-a14bf691**** |
| ChangeSetName |
string |
The name of the change set. |
MyChangeSet |
| Description |
string |
The description of the change set. |
It is a demo. |
| ChangeSetType |
string |
The type of the change set. Valid values: CREATE, UPDATE, and DELETE. |
UPDATE |
| StatusReason |
string |
The reason why the change set is in its current status. |
too many changes |
| CreateTime |
string |
The time when the change set was created. The time is displayed in UTC+0 based on the ISO 8601 standard without the Z suffix. Format: YYYY-MM-DDThh:mm:ss. |
2019-08-01T05:16:31 |
| ChangeSetId |
string |
The ID of the change set. |
1f6521a4-05af-4975-afe9-bc4b45ad**** |
| StackName |
string |
The name of the stack to which the change set belongs. |
MyStack |
| ExecutionStatus |
string |
The execution status of the change set. |
AVAILABLE |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmxazb4ph6aiy**** |
| Tags |
array<object> |
The tags of the change set. |
|
|
object |
The tags of the change set. |
||
| Key |
string |
The tag key. |
usage |
| Value |
string |
The tag value. |
test |
Examples
Success response
JSON format
{
"TotalCount": 1,
"PageSize": 10,
"RequestId": "B288A0BE-D927-4888-B0F7-B35EF84B6E6F",
"PageNumber": 1,
"ChangeSets": [
{
"Status": "CREATE_COMPLETE",
"StackId": "4a6c9851-3b0f-4f5f-b4ca-a14bf691****",
"ChangeSetName": "MyChangeSet",
"Description": "It is a demo.",
"ChangeSetType": "UPDATE",
"StatusReason": "too many changes",
"CreateTime": "2019-08-01T05:16:31",
"ChangeSetId": "1f6521a4-05af-4975-afe9-bc4b45ad****",
"StackName": "MyStack",
"ExecutionStatus": "AVAILABLE",
"RegionId": "cn-hangzhou",
"ResourceGroupId": "rg-acfmxazb4ph6aiy****",
"Tags": [
{
"Key": "usage",
"Value": "test"
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.