ListNodesByOutput

Updated at:

Queries target nodes by exactly matching node output names.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

dataworks:*

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

ProjectEnv

string

Yes

The environment identifier in Operation Center. PROD indicates the production environment, and DEV indicates the development environment.

Valid values:

  • PROD :

    Production environment.

  • DEV :

    Development environment.

PROD

Outputs

string

Yes

The output names of the node. You can specify multiple output names separated by commas (,).

aaaaa.1231412_out,bbbb.12313123_out

Response elements

Element

Type

Description

Example

object

HttpStatusCode

integer

The HTTP status code.

200

RequestId

string

The request ID. You can use the ID to locate logs and troubleshoot issues.

SDFSDFSDF-asdfDFSDF-SDFSDf-SDfSFD

ErrorMessage

string

The error message.

The connection does not exist.

ErrorCode

string

The error code.

Invalid.Tenant.ConnectionNotExists

Success

boolean

Indicates whether the call was successful.

true

Data

array<object>

The list of target nodes returned.

array<object>

Output

string

The output name of the current node.

test_0709_1.630003556_out

NodeList

array<object>

The list of node information corresponding to the input and output.

object

SchedulerType

string

The scheduling type of the node. Valid values:

  • NORMAL: normal scheduling task. The task is scheduled on a regular basis.

  • MANUAL: manual task. The task is not scheduled on a regular basis.

  • PAUSE: frozen task. The task is scheduled on a regular basis, but its status is directly set to failed when the scheduling is triggered.

  • SKIP: dry-run task. The task is scheduled on a regular basis, but its status is directly set to successful when the scheduling is triggered.

NORMAL

RepeatInterval

integer

The rescheduling interval after a node runtime error.

60

Repeatability

boolean

Indicates whether the node can be run repeatedly.

true

FileType

string

The file type. Codes vary by file type. For more information, see DataWorks node types.

ODPS_SQL

ProjectId

integer

The ID of the workspace.

33671

ProgramType deprecated

string

[Deprecated] The type of the node. Refer to FileType for the node type.

ODPS_SQL

Priority

integer

The priority of the node. Valid values: 1, 3, 5, 7, and 8. A larger value indicates a higher priority. Default value: 1.

1

OwnerId

string

The ID of the owner.

19337906836551

Connection

string

The name of the data source.

odps_source

ParamValues

string

The scheduling parameters of the node.

a=b

RelatedFlowId

integer

The ID of the associated workflow.

1235655464

DqcType

integer

The DQC type. A value of 0 indicates that the node is associated with DQC, and a value of 1 indicates that the node is not associated with DQC.

1

BaselineId

integer

The ID of the baseline.

1235667

Description

string

The description of the node.

test

NodeName

string

The name of the node.

liux_test_n****

ResGroupName

string

The name of the resource group.

Default Resource Group

DqcDescription

string

The DQC partitioning rule string.

[{"projectName":"ztjy_dim","tableName":"dim_user_agent_manage_area_a","partition":"ds\u003d$[yyyy-mm-dd-1]"}]

CronExpress

string

The cron expression.

00 00 00 * * ?

NodeId

integer

The ID of the node.

125677

Examples

Success response

JSON format

{
  "HttpStatusCode": 200,
  "RequestId": "SDFSDFSDF-asdfDFSDF-SDFSDf-SDfSFD",
  "ErrorMessage": "The connection does not exist.",
  "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
  "Success": true,
  "Data": [
    {
      "Output": "test_0709_1.630003556_out",
      "NodeList": [
        {
          "SchedulerType": "NORMAL",
          "RepeatInterval": 60,
          "Repeatability": true,
          "FileType": "ODPS_SQL",
          "ProjectId": 33671,
          "ProgramType": "ODPS_SQL",
          "Priority": 1,
          "OwnerId": "19337906836551",
          "Connection": "odps_source",
          "ParamValues": "a=b",
          "RelatedFlowId": 1235655464,
          "DqcType": 1,
          "BaselineId": 1235667,
          "Description": "test",
          "NodeName": "liux_test_n****",
          "ResGroupName": "Default Resource Group",
          "DqcDescription": "[{\"projectName\":\"ztjy_dim\",\"tableName\":\"dim_user_agent_manage_area_a\",\"partition\":\"ds\\u003d$[yyyy-mm-dd-1]\"}]",
          "CronExpress": "00 00 00 * * ?",
          "NodeId": 125677
        }
      ]
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.