Debugs a started execution that contains an event trigger task or alarm trigger task. When the operation is called, a message body is sent to the event trigger task or alarm trigger task. After the trigger task receives the message body, the trigger task generates a new child execution.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | TriggerExecution |
The operation that you want to perform. Set the value to TriggerExecution. |
Content | String | Yes | {"eventTime": "20181226T220114.058+0800", "id": "9435EAD6-3CF6-4494-8F7A-3A********77","level": "INFO","name": "Instance:StateChange","product": "ECS","regionId":"cn-hangzhou","resourceId": "acs:ecs:cn-hangzhou:169070********30:instance/i-bp1ecr********5go2go","userId": "169070********30","ver": "1.0","content": {"resourceId": "i-bp1ecr********5go2go", "resourceType": "ALIYUN::ECS::Instance","state": "Stopping"} } |
The message body to be sent to the trigger task. |
ExecutionId | String | Yes | exec-sadw3f23rsad |
The ID of the event- or alarm-triggered execution. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region. |
Type | String | Yes | Event |
The type of the trigger. Valid values: Event and Alarm. |
ClientToken | String | No | dswe2-3i0-029 |
The client token that is used to ensure the idempotence of the request. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 14A07460-EBE7-47CA-9757-12CC4761D47A | The ID of the request. |
Examples
Sample requests
http(s)://oos.cn-hangzhou.aliyuncs.com/? Action=TriggerExecution
&<Common request parameters>
Sample success responses
XML
format
<RequestId>14A07460-EBE7-47CA-9757-12CC4761D47A</RequestId>
JSON
format
{
"RequestId": "14A07460-EBE7-47CA-9757-12CC4761D47A"
}
Error codes
For a list of error codes, visit the API Error Center.