Queries the notification settings for task flows.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetTaskFlowNotification |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The ID of the tenant. Note
To view the tenant ID, log on to the DMS console and hover over the profile picture in the upper-right corner. View information about the current tenant. |
3*** |
| DagId |
integer |
Yes |
The task flow ID. Call ListTaskFlow or ListLhTaskFlowAndScenario to query task flow IDs. |
15*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F19D575F-EBEA-5683-AFA3-A8F6D9A7DE03 |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| Success |
boolean |
Whether the request was successful. Valid values:
|
true |
| Notification |
object |
The notification settings. |
|
| DagNotificationFail |
boolean |
Whether failed task flow notifications are enabled. Valid values:
|
true |
| DagNotificationSuccess |
boolean |
Whether successful task flow notifications are enabled. Valid values:
|
true |
| DagNotificationSla |
boolean |
Whether SLA global notifications for task flows are enabled. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "F19D575F-EBEA-5683-AFA3-A8F6D9A7DE03",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"Notification": {
"DagNotificationFail": true,
"DagNotificationSuccess": true,
"DagNotificationSla": true
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.