@alicloud/dataworks-public20200518 6.1.2 → 6.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +46 -13
- package/dist/client.js +1905 -320
- package/dist/client.js.map +1 -1
- package/package.json +3 -2
- package/src/client.ts +1937 -328
package/dist/client.d.ts
CHANGED
|
@@ -2602,12 +2602,7 @@ export declare class CreateDISyncTaskRequest extends $tea.Model {
|
|
|
2602
2602
|
projectId?: number;
|
|
2603
2603
|
/**
|
|
2604
2604
|
* @remarks
|
|
2605
|
-
* The configurations of the batch synchronization task to be created. Calling this API operation to create a batch synchronization task is equivalent to creating a batch synchronization task by using the code editor in the DataWorks console. For more information, see [Create a data synchronization task by using the code editor](https://help.aliyun.com/document_detail/137717.html).
|
|
2606
|
-
*
|
|
2607
2605
|
* This parameter is required.
|
|
2608
|
-
*
|
|
2609
|
-
* @example
|
|
2610
|
-
* {"type":"job","version":"2.0","steps":[{"stepType":"mysql","parameter":{"envType":1,"datasource":"mysql_pub","column":["id","name","create_time","age","score","t_01"],"connection":[{"datasource":"mysql_pub","table":["u_pk"]}],"where":"","splitPk":"id","encoding":"UTF-8"},"name":"Reader","category":"reader"},{"stepType":"odps","parameter":{"partition":"pt=${bizdate}","truncate":true,"datasource":"odps_source","envType":1,"column":["id","name","create_time","age","score","t_01"],"emptyAsNull":false,"tableComment":"null","table":"u_pk"},"name":"Writer","category":"writer"}],"setting":{"executeMode":null,"errorLimit":{"record":""},"speed":{"concurrent":2,"throttle":false}},"order":{"hops":[{"from":"Reader","to":"Writer"}]}}
|
|
2611
2606
|
*/
|
|
2612
2607
|
taskContent?: string;
|
|
2613
2608
|
/**
|
|
@@ -3966,6 +3961,13 @@ export declare class CreateFileRequest extends $tea.Model {
|
|
|
3966
3961
|
* {"queue":"default","SPARK_CONF":"--conf spark.driver.memory=2g"}
|
|
3967
3962
|
*/
|
|
3968
3963
|
advancedSettings?: string;
|
|
3964
|
+
/**
|
|
3965
|
+
* @remarks
|
|
3966
|
+
* Specifies whether scheduling configurations immediately take effect after the node is deployed.
|
|
3967
|
+
*
|
|
3968
|
+
* @example
|
|
3969
|
+
* true
|
|
3970
|
+
*/
|
|
3969
3971
|
applyScheduleImmediately?: boolean;
|
|
3970
3972
|
/**
|
|
3971
3973
|
* @remarks
|
|
@@ -3974,7 +3976,7 @@ export declare class CreateFileRequest extends $tea.Model {
|
|
|
3974
3976
|
* * true
|
|
3975
3977
|
* * false
|
|
3976
3978
|
*
|
|
3977
|
-
* This parameter corresponds to the Analyze Code parameter that is displayed after Same Cycle is selected in the Dependencies section of the Properties tab in the [DataWorks console](https://workbench.data.aliyun.com/console).
|
|
3979
|
+
* This parameter corresponds to the Analyze Code parameter that is displayed after Same Cycle is selected in the Dependencies section of the Properties tab on the DataStudio page in the [DataWorks console](https://workbench.data.aliyun.com/console).
|
|
3978
3980
|
*
|
|
3979
3981
|
* @example
|
|
3980
3982
|
* true
|
|
@@ -4025,7 +4027,7 @@ export declare class CreateFileRequest extends $tea.Model {
|
|
|
4025
4027
|
createFolderIfNotExists?: boolean;
|
|
4026
4028
|
/**
|
|
4027
4029
|
* @remarks
|
|
4028
|
-
* The CRON expression that represents the periodic scheduling policy of the node. This parameter corresponds to the Cron Expression parameter in the Schedule section of the Properties tab in the [DataWorks console](https://workbench.data.aliyun.com/console). After you configure the Scheduling Cycle and Scheduled time parameters in the DataWorks console, DataWorks generates the value of the Cron Expression parameter.
|
|
4030
|
+
* The CRON expression that represents the periodic scheduling policy of the node. This parameter corresponds to the Cron Expression parameter in the Schedule section of the Properties tab on the DataStudio page in the [DataWorks console](https://workbench.data.aliyun.com/console). After you configure the Scheduling Cycle and Scheduled time parameters in the DataWorks console, DataWorks generates the value of the Cron Expression parameter.
|
|
4029
4031
|
*
|
|
4030
4032
|
* Examples:
|
|
4031
4033
|
*
|
|
@@ -4050,7 +4052,7 @@ export declare class CreateFileRequest extends $tea.Model {
|
|
|
4050
4052
|
* @remarks
|
|
4051
4053
|
* The type of the scheduling cycle of the node that corresponds to the file. Valid values: NOT_DAY and DAY. The value NOT_DAY indicates that the node is scheduled to run by minute or hour. The value DAY indicates that the node is scheduled to run by day, week, or month.
|
|
4052
4054
|
*
|
|
4053
|
-
* This parameter corresponds to the Scheduling Cycle parameter in the Schedule section of the Properties tab in the [DataWorks console](https://workbench.data.aliyun.com/console).
|
|
4055
|
+
* This parameter corresponds to the Scheduling Cycle parameter in the Schedule section of the Properties tab on the DataStudio page in the [DataWorks console](https://workbench.data.aliyun.com/console).
|
|
4054
4056
|
*
|
|
4055
4057
|
* @example
|
|
4056
4058
|
* DAY
|
|
@@ -4201,7 +4203,7 @@ export declare class CreateFileRequest extends $tea.Model {
|
|
|
4201
4203
|
* * FAILURE_ALLOWED: The node can be rerun only after it fails to run.
|
|
4202
4204
|
* * ALL_DENIED: The node cannot be rerun regardless of whether it is successfully run or fails to run.
|
|
4203
4205
|
*
|
|
4204
|
-
* This parameter corresponds to the Rerun parameter in the Schedule section of the Properties tab in the [DataWorks console](https://workbench.data.aliyun.com/console).
|
|
4206
|
+
* This parameter corresponds to the Rerun parameter in the Schedule section of the Properties tab on the DataStudio page in the [DataWorks console](https://workbench.data.aliyun.com/console).
|
|
4205
4207
|
*
|
|
4206
4208
|
* @example
|
|
4207
4209
|
* ALL_ALLOWED
|
|
@@ -4236,7 +4238,7 @@ export declare class CreateFileRequest extends $tea.Model {
|
|
|
4236
4238
|
* * NORMAL: The node is an auto triggered node.
|
|
4237
4239
|
* * MANUAL: The node is a manually triggered node. Manually triggered nodes cannot be automatically triggered. They correspond to the nodes in the Manually Triggered Workflows pane.
|
|
4238
4240
|
* * PAUSE: The node is a paused node.
|
|
4239
|
-
* * SKIP: The node is a dry-run node. Dry-run nodes are started as scheduled but the
|
|
4241
|
+
* * SKIP: The node is a dry-run node. Dry-run nodes are started as scheduled, but the system sets the status of the nodes to successful when it starts to run them
|
|
4240
4242
|
*
|
|
4241
4243
|
* @example
|
|
4242
4244
|
* NORMAL
|
|
@@ -4246,7 +4248,7 @@ export declare class CreateFileRequest extends $tea.Model {
|
|
|
4246
4248
|
* @remarks
|
|
4247
4249
|
* The start time of automatic scheduling. Set the value to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
4248
4250
|
*
|
|
4249
|
-
* Configuring this parameter is equivalent to specifying a start time for the Validity Period parameter in the Schedule section of the Properties tab in the [DataWorks console](https://workbench.data.aliyun.com/console).
|
|
4251
|
+
* Configuring this parameter is equivalent to specifying a start time for the Validity Period parameter in the Schedule section of the Properties tab on the DataStudio page in the [DataWorks console](https://workbench.data.aliyun.com/console).
|
|
4250
4252
|
*
|
|
4251
4253
|
* @example
|
|
4252
4254
|
* 1671608450000
|
|
@@ -4269,7 +4271,7 @@ export declare class CreateFileRequest extends $tea.Model {
|
|
|
4269
4271
|
* * true
|
|
4270
4272
|
* * false
|
|
4271
4273
|
*
|
|
4272
|
-
* This parameter corresponds to the Recurrence parameter in the Schedule section of the Properties tab in the [DataWorks console](https://workbench.data.aliyun.com/console).
|
|
4274
|
+
* This parameter corresponds to the Recurrence parameter in the Schedule section of the Properties tab on the DataStudio page in the [DataWorks console](https://workbench.data.aliyun.com/console).
|
|
4273
4275
|
*
|
|
4274
4276
|
* @example
|
|
4275
4277
|
* false
|
|
@@ -28695,6 +28697,10 @@ export declare class ListTablesRequest extends $tea.Model {
|
|
|
28695
28697
|
});
|
|
28696
28698
|
}
|
|
28697
28699
|
export declare class ListTablesResponseBody extends $tea.Model {
|
|
28700
|
+
/**
|
|
28701
|
+
* @remarks
|
|
28702
|
+
* The returned data.
|
|
28703
|
+
*/
|
|
28698
28704
|
data?: ListTablesResponseBodyData;
|
|
28699
28705
|
/**
|
|
28700
28706
|
* @remarks
|
|
@@ -45953,6 +45959,13 @@ export declare class GetFileResponseBodyDataNodeConfigurationOutputParameters ex
|
|
|
45953
45959
|
});
|
|
45954
45960
|
}
|
|
45955
45961
|
export declare class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
45962
|
+
/**
|
|
45963
|
+
* @remarks
|
|
45964
|
+
* Indicates whether scheduling configurations immediately take effect after the deployment.
|
|
45965
|
+
*
|
|
45966
|
+
* @example
|
|
45967
|
+
* true
|
|
45968
|
+
*/
|
|
45956
45969
|
applyScheduleImmediately?: string;
|
|
45957
45970
|
/**
|
|
45958
45971
|
* @remarks
|
|
@@ -46825,7 +46838,7 @@ export declare class GetIDEEventDetailResponseBodyEventDetailFileExecutionComman
|
|
|
46825
46838
|
fileId?: number;
|
|
46826
46839
|
/**
|
|
46827
46840
|
* @remarks
|
|
46828
|
-
* The type of the code for the file.
|
|
46841
|
+
* The type of the code for the file. The code for files varies based on the file type. For more information, see [DataWorks nodes](https://help.aliyun.com/document_detail/600169.html).
|
|
46829
46842
|
*
|
|
46830
46843
|
* @example
|
|
46831
46844
|
* 10
|
|
@@ -49763,6 +49776,7 @@ export declare class GetNodeResponseBodyData extends $tea.Model {
|
|
|
49763
49776
|
* 60
|
|
49764
49777
|
*/
|
|
49765
49778
|
repeatInterval?: number;
|
|
49779
|
+
repeatMode?: number;
|
|
49766
49780
|
/**
|
|
49767
49781
|
* @remarks
|
|
49768
49782
|
* The type of the node.
|
|
@@ -51441,6 +51455,19 @@ export declare class GetRemindResponseBodyDataProjects extends $tea.Model {
|
|
|
51441
51455
|
[key: string]: any;
|
|
51442
51456
|
});
|
|
51443
51457
|
}
|
|
51458
|
+
export declare class GetRemindResponseBodyDataReceivers extends $tea.Model {
|
|
51459
|
+
alertTargets?: string[];
|
|
51460
|
+
alertUnit?: string;
|
|
51461
|
+
static names(): {
|
|
51462
|
+
[key: string]: string;
|
|
51463
|
+
};
|
|
51464
|
+
static types(): {
|
|
51465
|
+
[key: string]: any;
|
|
51466
|
+
};
|
|
51467
|
+
constructor(map?: {
|
|
51468
|
+
[key: string]: any;
|
|
51469
|
+
});
|
|
51470
|
+
}
|
|
51444
51471
|
export declare class GetRemindResponseBodyDataRobots extends $tea.Model {
|
|
51445
51472
|
/**
|
|
51446
51473
|
* @remarks
|
|
@@ -51487,6 +51514,7 @@ export declare class GetRemindResponseBodyData extends $tea.Model {
|
|
|
51487
51514
|
* OWNER
|
|
51488
51515
|
*/
|
|
51489
51516
|
alertUnit?: string;
|
|
51517
|
+
allowNodes?: number[];
|
|
51490
51518
|
/**
|
|
51491
51519
|
* @remarks
|
|
51492
51520
|
* The baselines to which the custom alert rule is applied. This parameter is returned if the value of the RemindUnit parameter is BASELINE.
|
|
@@ -51551,6 +51579,7 @@ export declare class GetRemindResponseBodyData extends $tea.Model {
|
|
|
51551
51579
|
* The workspaces to which the custom alert rule is applied. This parameter is returned if the value of the RemindUnit parameter is PROJECT.
|
|
51552
51580
|
*/
|
|
51553
51581
|
projects?: GetRemindResponseBodyDataProjects[];
|
|
51582
|
+
receivers?: GetRemindResponseBodyDataReceivers[];
|
|
51554
51583
|
/**
|
|
51555
51584
|
* @remarks
|
|
51556
51585
|
* The custom alert rule ID.
|
|
@@ -62463,6 +62492,10 @@ export declare class ListTablesResponseBodyDataTableEntityList extends $tea.Mode
|
|
|
62463
62492
|
});
|
|
62464
62493
|
}
|
|
62465
62494
|
export declare class ListTablesResponseBodyData extends $tea.Model {
|
|
62495
|
+
/**
|
|
62496
|
+
* @example
|
|
62497
|
+
* AAAAAVY3rYiv9VoUJQSiCitgjgSwg+byk0FIjirFkm4zfM4G0xYwM/FQvOhgrTHsCPIZ5yqXYu2NG6qRCRC52HvwbOA=
|
|
62498
|
+
*/
|
|
62466
62499
|
nextToken?: string;
|
|
62467
62500
|
tableEntityList?: ListTablesResponseBodyDataTableEntityList[];
|
|
62468
62501
|
/**
|