@alicloud/dataworks-public20200518 6.1.3 → 6.1.5
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 +34 -15
- package/dist/client.js +9 -3
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +44 -19
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
|
|
@@ -5638,8 +5640,8 @@ export declare class CreateQualityEntityRequest extends $tea.Model {
|
|
|
5638
5640
|
*
|
|
5639
5641
|
* The value 0 indicates that the partition filter expression is at the SQL level, and the system checks data quality after each SQL statement is executed.
|
|
5640
5642
|
*
|
|
5641
|
-
* *
|
|
5642
|
-
* *
|
|
5643
|
+
* * 0
|
|
5644
|
+
* * 1
|
|
5643
5645
|
*
|
|
5644
5646
|
* @example
|
|
5645
5647
|
* 0
|
|
@@ -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.
|
|
@@ -59404,6 +59418,7 @@ export declare class ListNodesResponseBodyDataNodes extends $tea.Model {
|
|
|
59404
59418
|
* 60
|
|
59405
59419
|
*/
|
|
59406
59420
|
repeatInterval?: number;
|
|
59421
|
+
repeatMode?: number;
|
|
59407
59422
|
/**
|
|
59408
59423
|
* @remarks
|
|
59409
59424
|
* The name of the node.
|
|
@@ -62478,6 +62493,10 @@ export declare class ListTablesResponseBodyDataTableEntityList extends $tea.Mode
|
|
|
62478
62493
|
});
|
|
62479
62494
|
}
|
|
62480
62495
|
export declare class ListTablesResponseBodyData extends $tea.Model {
|
|
62496
|
+
/**
|
|
62497
|
+
* @example
|
|
62498
|
+
* AAAAAVY3rYiv9VoUJQSiCitgjgSwg+byk0FIjirFkm4zfM4G0xYwM/FQvOhgrTHsCPIZ5yqXYu2NG6qRCRC52HvwbOA=
|
|
62499
|
+
*/
|
|
62481
62500
|
nextToken?: string;
|
|
62482
62501
|
tableEntityList?: ListTablesResponseBodyDataTableEntityList[];
|
|
62483
62502
|
/**
|
package/dist/client.js
CHANGED
|
@@ -26464,6 +26464,7 @@ class GetNodeResponseBodyData extends $tea.Model {
|
|
|
26464
26464
|
projectId: 'ProjectId',
|
|
26465
26465
|
relatedFlowId: 'RelatedFlowId',
|
|
26466
26466
|
repeatInterval: 'RepeatInterval',
|
|
26467
|
+
repeatMode: 'RepeatMode',
|
|
26467
26468
|
repeatability: 'Repeatability',
|
|
26468
26469
|
resGroupIdentifier: 'ResGroupIdentifier',
|
|
26469
26470
|
resGroupName: 'ResGroupName',
|
|
@@ -26494,6 +26495,7 @@ class GetNodeResponseBodyData extends $tea.Model {
|
|
|
26494
26495
|
projectId: 'number',
|
|
26495
26496
|
relatedFlowId: 'number',
|
|
26496
26497
|
repeatInterval: 'number',
|
|
26498
|
+
repeatMode: 'number',
|
|
26497
26499
|
repeatability: 'string',
|
|
26498
26500
|
resGroupIdentifier: 'string',
|
|
26499
26501
|
resGroupName: 'string',
|
|
@@ -30426,6 +30428,7 @@ class ListNodesResponseBodyDataNodes extends $tea.Model {
|
|
|
30426
30428
|
projectId: 'ProjectId',
|
|
30427
30429
|
relatedFlowId: 'RelatedFlowId',
|
|
30428
30430
|
repeatInterval: 'RepeatInterval',
|
|
30431
|
+
repeatMode: 'RepeatMode',
|
|
30429
30432
|
repeatability: 'Repeatability',
|
|
30430
30433
|
resGroupIdentifier: 'ResGroupIdentifier',
|
|
30431
30434
|
resGroupName: 'ResGroupName',
|
|
@@ -30456,6 +30459,7 @@ class ListNodesResponseBodyDataNodes extends $tea.Model {
|
|
|
30456
30459
|
projectId: 'number',
|
|
30457
30460
|
relatedFlowId: 'number',
|
|
30458
30461
|
repeatInterval: 'number',
|
|
30462
|
+
repeatMode: 'number',
|
|
30459
30463
|
repeatability: 'boolean',
|
|
30460
30464
|
resGroupIdentifier: 'string',
|
|
30461
30465
|
resGroupName: 'string',
|
|
@@ -33747,9 +33751,6 @@ class Client extends openapi_client_1.default {
|
|
|
33747
33751
|
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
33748
33752
|
query["ProjectId"] = request.projectId;
|
|
33749
33753
|
}
|
|
33750
|
-
if (!tea_util_1.default.isUnset(request.taskContent)) {
|
|
33751
|
-
query["TaskContent"] = request.taskContent;
|
|
33752
|
-
}
|
|
33753
33754
|
if (!tea_util_1.default.isUnset(request.taskName)) {
|
|
33754
33755
|
query["TaskName"] = request.taskName;
|
|
33755
33756
|
}
|
|
@@ -33759,8 +33760,13 @@ class Client extends openapi_client_1.default {
|
|
|
33759
33760
|
if (!tea_util_1.default.isUnset(request.taskType)) {
|
|
33760
33761
|
query["TaskType"] = request.taskType;
|
|
33761
33762
|
}
|
|
33763
|
+
let body = {};
|
|
33764
|
+
if (!tea_util_1.default.isUnset(request.taskContent)) {
|
|
33765
|
+
body["TaskContent"] = request.taskContent;
|
|
33766
|
+
}
|
|
33762
33767
|
let req = new $OpenApi.OpenApiRequest({
|
|
33763
33768
|
query: openapi_util_1.default.query(query),
|
|
33769
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
33764
33770
|
});
|
|
33765
33771
|
let params = new $OpenApi.Params({
|
|
33766
33772
|
action: "CreateDISyncTask",
|