Updates trigger properties, including the input data source, data processing settings, and tags.
Operation description
-
Only triggers in the Ready or Failed state can be updated. The update does not change the trigger status.
-
After an update, uncompleted tasks under the original trigger stop running. Call ResumeTrigger to resume trigger execution.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:UpdateTrigger |
update |
*Trigger
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The project name, obtained from the CreateProject response. |
test-project |
| Id |
string |
Yes |
The trigger ID, obtained from the CreateTrigger response. |
trigger-9f72636a-0f0c-4baf-ae78-38b27b****** |
| Input | Input |
No |
The input data source configurations. |
|
| Actions |
array<object> |
No |
The processing templates. |
|
|
object |
No |
The processing template. |
||
| Name |
string |
No |
The template name. |
doc/convert |
| Parameters |
array |
No |
The template parameters. |
|
|
string |
No |
The template parameter. |
pages=3 |
|
| Tags |
object |
No |
Custom tags for searching or filtering asynchronous tasks. |
{"test": "val1"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
5A022F78-B9A8-4ACC-BB6B-B35975****** |
Examples
Success response
JSON format
{
"RequestId": "5A022F78-B9A8-4ACC-BB6B-B35975******"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.