CreatePipeline

Updated at:

Creates a pipeline.

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

cms:CreatePipeline

create

*Pipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/pipeline/{#PipelineName}

None None

Request syntax

POST /workspace/{workspace}/pipeline HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

workspace

string

No

The name of the workspace.

workspace-test

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

pipelineName

string

No

The name of the pipeline.

pipeline-name-1

description

string

No

The description.

test

pipeline

object

No

The pipeline information.

nodes

array<object>

No

The nodes.

array<object>

No

The nodes.

id

string

No

The node ID.

node_1

type

string

No

The node type.

dedup-fuzzy

parameters

object

No

The parameters.

{"output":"ID,key_0,key_2,key_3,key_4","workspace":"workspace-test-dataset","field":"key_0","global":true,"dataset":"dataset_1"}

any

No

The parameters.

{ "output": "ID,key_0,key_2,key_3,key_4", "workspace": "workspace-test-dataset", "field": "key_0", "global": true, "dataset": "dataset_1" }

source

object

No

The data source.

type

string

No

The data source type.

logstore

logstore

object

No

The Logstore information.

project

string

No

The name of the project.

test-project

logstore

string

No

The name of the Logstore.

test-logstore

query

string

No

The filter statement.

status:500 and method:GET

sink

object

No

The destination.

type

string

No

The destination type.

dataset

dataset

object

No

The dataset information.

workspace

string

No

The workspace ID.

workspace-test

dataset

string

No

The dataset.

dataset_1

executePolicy

object

No

The execution policy.

mode

string

No

The execution mode.

runOnce

runOnce

object

No

The configuration for one-time execution.

fromTime

integer

No

The start timestamp.

1772519013

toTime

integer

No

The end timestamp.

1772519013

scheduled

object

No

The configuration for scheduled execution.

interval

string

No

The time interval.

86400

fromTime

integer

No

The start timestamp.

1772519013

Response elements

Element

Type

Description

Example

object

The response data.

requestId

string

The request ID.

0CEC5375-C554-562B-A65F-***

Examples

Success response

JSON format

{
  "requestId": "0CEC5375-C554-562B-A65F-***"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.