Batch updates the start node and end node of specified edges in a specified task flow.
Operation description
Before you begin
The edges to be updated must meet the following requirements. Otherwise, the update fails:
The specified edge exists in the task flow DAG specified by DagId.
The specified edge endpoints exist in the task flow DAG specified by DagId.
No cycle exists in the DAG after the update.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:UpdateTaskFlowEdges |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The tenant ID. Note
You can view the tenant ID by hovering over the profile picture in the upper-right corner of the console. For more information, see View tenant information. |
3*** |
| DagId |
integer |
Yes |
The task flow ID. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to obtain this parameter. |
15*** |
| Edges |
array<object> |
Yes |
The list of updated task flow edges. |
|
|
object |
No |
|||
| Id |
integer |
Yes |
The task flow edge ID. |
24*** |
| NodeEnd |
integer |
Yes |
The ID of the end node of the edge. |
44*** |
| NodeFrom |
integer |
Yes |
The ID of the start node of the edge. |
44*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID, which can be used to locate logs and troubleshoot issues. |
93FC1AE1-EC54-52B1-B146-650180FB82E8 |
| 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": "93FC1AE1-EC54-52B1-B146-650180FB82E8",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.