You can call this operation to query the change information about one or all change IDs in a deployment environment.

Debugging

Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for APIs, call APIs, and dynamically generate SDK example code.

Request headers

This operation uses common request headers, instead of special request headers. For more information, see the "Common request headers" section in "Common request and response headers."

Request syntax

GET /pop/v1/wam/changeInfo HTTP/1.1

Request parameters

Parameter Type Required? Example Description
EnvId String Yes we-5d245f7f1f773f090a0d****

The ID of the deployment environment in which you want to query changes.

ChangeId String No wc-5d245f94f314934e2ab1****

The ID of the change.

Response parameters

Parameter Type Example Description
Change

The information about the change.

ActionName String Apply

The name of the change operation.

ChangeAborted Boolean false

Indicates whether the change was aborted.

ChangeDescription String apply env we-5d39b8ba6786bd4b149*****

The description of the change.

ChangeFinished Boolean true

Indicates whether the change was completed.

ChangeId String wc-5d3a963d5802611c4dd*****

The ID of the change.

ChangeMessage String changeMessage

The message of the change.

ChangeName String apply.env

The name of the change.

ChangePaused Boolean false

Indicates whether the change was paused.

ChangeSucceed Boolean true

Indicates whether the change was successful.

ChangeTimedout Boolean false

Indicates whether the change timed out.

CreateTime Long 1562664852417

The time when the change was created.

CreateUsername String user1

The name of the user who created the change.

EnvId String we-5d245f7f1f773f090a0*****

The ID of the deployment environment where the change occurred.

FinishTime Long 1562664854330

The time when the change was completed.

UpdateTime Long 1562664854381

The time when the change was last updated.

Code String OK

The response code. The value is OK if the request is successful.

Message String success

The response message. The value is success if the request is successful.

RequestId String 91AF2647-8A0B-47FE-8AD4-AE49AA79****

The ID of the request.

Examples

Sample request


http://webplus.cn-hangzhou.aliyuncs.com/pop/v1/wam/changeInfo?ChangeId=wc-5d245f94f314934e2ab1****&ServiceCode=webx&<Common request parameters>

Sample success response

XML format

<DescribeChangeResponse>
    <Message>success</Message>
    <Change>
        <ChangeName>apply.env</ChangeName>
        <ActionName>Apply</ActionName>
        <ChangeAborted>false</ChangeAborted>
        <ChangeTimedout>false</ChangeTimedout>
        <UpdateTime>1564120665714</UpdateTime>
        <ChangeDescription>apply env we-5d39b8ba6786bd4b1495****</ChangeDescription>
        <EnvId>we-5d39b8ba6786bd4b1495****</EnvId>
        <ChangeSucceed>true</ChangeSucceed>
        <FinishTime>1564120665679</FinishTime>
        <CreateUsername>user1</CreateUsername>
        <CreateTime>1564120637891</CreateTime>
        <ChangeId>wc-5d3a963d5802611c4ddc****</ChangeId>
        <ChangeFinished>true</ChangeFinished>
        <ChangeMessage></ChangeMessage>
        <ChangePaused>false</ChangePaused>
    </Change>
    <RequestId>97CEF6FD-0266-4C15-8745-9325E2AB****</RequestId>
    <Code>OK</Code>
</DescribeChangeResponse>

JSON format

{
	"Change":{
		"ChangeName":"apply.env",
		"ActionName":"Apply",
		"ChangeAborted":false,
		"ChangeTimedout":false,
		"UpdateTime":1564120665714,
		"ChangeDescription":"apply env we-5d39b8ba6786bd4b1495****",
		"EnvId":"we-5d39b8ba6786bd4b1495****",
		"ChangeSucceed":true,
		"FinishTime":1564120665679,
		"CreateUsername":"user1",
		"CreateTime":1564120637891,
		"ChangeId":"wc-5d3a963d5802611c4ddc****",
		"ChangeFinished":true,
		"ChangeMessage":"",
		"ChangePaused":false
	},
	"Message":"success",
	"RequestId":"150EA851-8DD9-4530-A3DF-5940B738****",
	"Code":"OK"
}

Error codes

HTTP status code Error code Error message Description
403 ResourceAuthFailed The specified resource does not exist or it does not belong to this Alibaba Cloud account. The error message returned because the specified resource does not exist or it does not belong to your Alibaba Cloud account.
404 ChangeNotExists The change record could not be found based on the change ID specified, please double confirm the resource is still exists. The error message returned because the change record of the specified change ID does not exist. The change record may have been deleted or the parameter passed in may be invalid.

For more information about error codes, see API Error Center.