Updates the SLA timeout alert for a task flow.
Operation description
SLA rules take effect when the task flow is deployed and published.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:UpdateSLARules |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DagId |
integer |
Yes |
The ID of the task flow. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to obtain this parameter. |
11**** |
| Tid |
integer |
No |
The tenant ID. Note
You can view the tenant ID by hovering over the profile icon in the upper-right corner of the console. For more information, see View tenant information. |
3*** |
| SlaRuleList |
array<object> |
No |
The list of SLA rules. |
|
|
object |
No |
|||
| DagId |
integer |
Yes |
The ID of the task flow. |
15*** |
| NodeId |
integer |
No |
The ID of the task node. |
0 |
| Type |
integer |
Yes |
The rule type. Valid values:
|
0 |
| IntervalMinutes |
integer |
Yes |
The timeout period. Unit: minutes. |
1080 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. Used to locate logs and troubleshoot issues. |
88E053F7-347B-52DD-A186-1F340EEC0C27 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the call failed. |
UnknownError |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "88E053F7-347B-52DD-A186-1F340EEC0C27",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.