Calls the UpdateTaskFlowConstants operation to update the constant list of a task flow.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:UpdateTaskFlowConstants |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to obtain this parameter. |
3*** |
| DagId |
integer |
Yes |
The task flow ID. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to obtain this parameter. |
3**** |
| DagConstants |
array<object> |
Yes |
The constant list of the task flow. |
|
|
object |
No |
|||
| Key |
string |
No |
The key name of the task flow constant. |
poc_test |
| Value |
string |
No |
The key value of the task flow constant. |
poc_test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. You can use it to locate logs and troubleshoot issues. |
C4CCC000-C193-5A32-B701-573F497BF729 |
| 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": "C4CCC000-C193-5A32-B701-573F497BF729",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.