You can call this operation to resume a paused change.

Note Only the changes in the paused state can be resumed.

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

POST /pop/v1/wam/change/resume HTTP/1.1

Request parameters

Parameter Type Required? Example Description
ChangeId String Yes wc-5d3fabad56fd7c14ac9*****

The ID of the change to be resumed.

Response parameters

Parameter Type Example Description
Code String OK

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

EnvChange

The change information about the deployment environment.

ChangeId String wc-5d3fabad56fd7c14ac9*****

The ID of the change.

EnvId String we-5d39b8ba6786bd4b149*****

The ID of the deployment environment.

StartTime String 1564453805573

The start time of the change.

Message String success

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

RequestId String F38283EF-B83B-47C0-992D-1DC450DE****

The ID of the request.

Examples

Sample request


http://webplus.cn-hangzhou.aliyuncs.com/pop/v1/wam/change/resume&<Common request parameters>
{
  "ChangeId": "wc-5d3fabad56fd7c14ac9*****"
}

Sample success response

XML format

<ResumeChangeResponse>
    <Message>success</Message>
    <EnvChange>
        <EnvId>we-5d39b8ba6786bd4b149*****</EnvId>
        <StartTime>1564453805573</StartTime>
        <ChangeId>wc-5d3fabad56fd7c14ac9*****</ChangeId>
    </EnvChange>
    <RequestId>97CEF6FD-0266-4C15-8745-9325E2AB****</RequestId>
    <Code>OK</Code>
</ResumeChangeResponse>

JSON format

{
	"Message":"success",
	"RequestId":"F38283EF-B83B-47C0-992D-1DC450DE****",
	"EnvChange":{
		"EnvId":"we-5d39b8ba6786bd4b149*****",
		"ChangeId":"wc-5d3fabad56fd7c14ac9*****",
		"StartTime":1564453805573
	},
	"Code":"OK"
}

Error codes

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