Queries change sets. You can determine whether to query the templates of change sets.
Operation description
In this example, the details of a change set whose ID is 4c11658d-bd47-4dd0-ba64-727edc62****
is queried. The change set is created in the China (Hangzhou) region.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ShowTemplate | boolean | No | Specifies whether to obtain the template. Valid values:
| false |
RegionId | string | Yes | The region ID of the change set. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
ChangeSetId | string | Yes | The ID of the change set. | 4c11658d-bd47-4dd0-ba64-727edc62**** |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"Status": "CREATE_COMPLETE",
"Changes": [
{
"test": "test",
"test2": 1
}
],
"Description": "It is a demo.",
"Parameters": [
{
"ParameterKey": "ALIYUN::Region",
"ParameterValue": "cn-hangzhou"
}
],
"RequestId": "3766EE04-76DD-50F9-9C23-3AF136CD5708",
"StatusReason": "too many changes.",
"CreateTime": "2021-12-01T02:20:56",
"TemplateBody": "{\"ROSTemplateFormatVersion\": \"2015-09-01\"}",
"ChangeSetName": "ChangeSet_template",
"ChangeSetId": "4c11658d-bd47-4dd0-ba64-727edc62****",
"ExecutionStatus": "AVAILABLE",
"ChangeSetType": "UPDATE",
"RegionId": "cn-hangzhou",
"DisableRollback": false,
"StackName": "stack_2021-10-13",
"TimeoutInMinutes": 60,
"StackId": "a486fc19-ebb7-4ce9-a70b-554a7c3d****",
"Log": {
"TerraformLogs": [
{
"Command": "apply",
"Stream": "stdout",
"Content": "Apply complete! Resources: 42 added, 0 changed, 0 destroyed."
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history