Lists the time variables for a task flow.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListTaskFlowTimeVariables |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DagId |
integer |
Yes |
The task flow ID. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to get this ID. |
11**** |
| Tid |
integer |
No |
The tenant ID. Note
To view your tenant ID, hover over your profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see View tenant information. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
EC12A3BE-149F-5365-AF33-12CC8C963923 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request fails. |
UnknownError |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| TimeVariables |
object |
||
| TimeVariable |
array<object> |
The list of time variables for the task flow. |
|
|
object |
|||
| Name |
string |
The name of the time variable. |
time_test |
| Pattern |
string |
The format of the time variable. |
2018-09-26|+7h |
Examples
Success response
JSON format
{
"RequestId": "EC12A3BE-149F-5365-AF33-12CC8C963923",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"TimeVariables": {
"TimeVariable": [
{
"Name": "time_test",
"Pattern": "2018-09-26|+7h"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.