@alicloud/dataworks-public20200518 6.2.0 → 6.2.1
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 +163 -81
- package/dist/client.js +47 -17
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +183 -81
package/dist/client.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -2132,6 +2142,7 @@ class CreateFileRequest extends $tea.Model {
|
|
|
2132
2142
|
startEffectDate: 'StartEffectDate',
|
|
2133
2143
|
startImmediately: 'StartImmediately',
|
|
2134
2144
|
stop: 'Stop',
|
|
2145
|
+
timeout: 'Timeout',
|
|
2135
2146
|
};
|
|
2136
2147
|
}
|
|
2137
2148
|
static types() {
|
|
@@ -2168,6 +2179,7 @@ class CreateFileRequest extends $tea.Model {
|
|
|
2168
2179
|
startEffectDate: 'number',
|
|
2169
2180
|
startImmediately: 'boolean',
|
|
2170
2181
|
stop: 'boolean',
|
|
2182
|
+
timeout: 'number',
|
|
2171
2183
|
};
|
|
2172
2184
|
}
|
|
2173
2185
|
constructor(map) {
|
|
@@ -20247,6 +20259,7 @@ class UpdateFileRequest extends $tea.Model {
|
|
|
20247
20259
|
startEffectDate: 'StartEffectDate',
|
|
20248
20260
|
startImmediately: 'StartImmediately',
|
|
20249
20261
|
stop: 'Stop',
|
|
20262
|
+
timeout: 'Timeout',
|
|
20250
20263
|
};
|
|
20251
20264
|
}
|
|
20252
20265
|
static types() {
|
|
@@ -20282,6 +20295,7 @@ class UpdateFileRequest extends $tea.Model {
|
|
|
20282
20295
|
startEffectDate: 'number',
|
|
20283
20296
|
startImmediately: 'boolean',
|
|
20284
20297
|
stop: 'boolean',
|
|
20298
|
+
timeout: 'number',
|
|
20285
20299
|
};
|
|
20286
20300
|
}
|
|
20287
20301
|
constructor(map) {
|
|
@@ -25032,6 +25046,7 @@ class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
|
25032
25046
|
dependentNodeIdList: 'DependentNodeIdList',
|
|
25033
25047
|
dependentType: 'DependentType',
|
|
25034
25048
|
endEffectDate: 'EndEffectDate',
|
|
25049
|
+
ignoreParentSkipRunningProperty: 'IgnoreParentSkipRunningProperty',
|
|
25035
25050
|
inputList: 'InputList',
|
|
25036
25051
|
inputParameters: 'InputParameters',
|
|
25037
25052
|
outputList: 'OutputList',
|
|
@@ -25043,6 +25058,7 @@ class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
|
25043
25058
|
startEffectDate: 'StartEffectDate',
|
|
25044
25059
|
startImmediately: 'StartImmediately',
|
|
25045
25060
|
stop: 'Stop',
|
|
25061
|
+
timeout: 'Timeout',
|
|
25046
25062
|
};
|
|
25047
25063
|
}
|
|
25048
25064
|
static types() {
|
|
@@ -25055,6 +25071,7 @@ class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
|
25055
25071
|
dependentNodeIdList: 'string',
|
|
25056
25072
|
dependentType: 'string',
|
|
25057
25073
|
endEffectDate: 'number',
|
|
25074
|
+
ignoreParentSkipRunningProperty: 'string',
|
|
25058
25075
|
inputList: { 'type': 'array', 'itemType': GetFileResponseBodyDataNodeConfigurationInputList },
|
|
25059
25076
|
inputParameters: { 'type': 'array', 'itemType': GetFileResponseBodyDataNodeConfigurationInputParameters },
|
|
25060
25077
|
outputList: { 'type': 'array', 'itemType': GetFileResponseBodyDataNodeConfigurationOutputList },
|
|
@@ -25066,6 +25083,7 @@ class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
|
25066
25083
|
startEffectDate: 'number',
|
|
25067
25084
|
startImmediately: 'boolean',
|
|
25068
25085
|
stop: 'boolean',
|
|
25086
|
+
timeout: 'number',
|
|
25069
25087
|
};
|
|
25070
25088
|
}
|
|
25071
25089
|
constructor(map) {
|
|
@@ -25475,7 +25493,9 @@ class GetInstanceResponseBodyData extends $tea.Model {
|
|
|
25475
25493
|
modifyTime: 'ModifyTime',
|
|
25476
25494
|
nodeId: 'NodeId',
|
|
25477
25495
|
nodeName: 'NodeName',
|
|
25496
|
+
owner: 'Owner',
|
|
25478
25497
|
paramValues: 'ParamValues',
|
|
25498
|
+
periodNumber: 'PeriodNumber',
|
|
25479
25499
|
priority: 'Priority',
|
|
25480
25500
|
relatedFlowId: 'RelatedFlowId',
|
|
25481
25501
|
repeatInterval: 'RepeatInterval',
|
|
@@ -25506,7 +25526,9 @@ class GetInstanceResponseBodyData extends $tea.Model {
|
|
|
25506
25526
|
modifyTime: 'number',
|
|
25507
25527
|
nodeId: 'number',
|
|
25508
25528
|
nodeName: 'string',
|
|
25529
|
+
owner: 'string',
|
|
25509
25530
|
paramValues: 'string',
|
|
25531
|
+
periodNumber: 'number',
|
|
25510
25532
|
priority: 'number',
|
|
25511
25533
|
relatedFlowId: 'number',
|
|
25512
25534
|
repeatInterval: 'number',
|
|
@@ -33071,7 +33093,8 @@ class Client extends openapi_client_1.default {
|
|
|
33071
33093
|
* Assigns a role to a member of a DataWorks workspace. Before you call this operation, you must add your account to a DataWorks workspace as a member.
|
|
33072
33094
|
*
|
|
33073
33095
|
* @remarks
|
|
33074
|
-
*
|
|
33096
|
+
* For information about how to add an account to a DataWorks workspace as a member, see [Add workspace members and assign roles to them](https://help.aliyun.com/document_detail/136941.html).
|
|
33097
|
+
* * If you assign a built-in workspace-level role to a member of a DataWorks workspace, the member is automatically granted the permissions of the mapped role of the MaxCompute compute engine in the development environment. For more information, see [Appendix: Mappings between the built-in workspace-level roles of DataWorks and the roles of MaxCompute](https://help.aliyun.com/document_detail/449397.html).
|
|
33075
33098
|
*
|
|
33076
33099
|
* @param request - AddProjectMemberToRoleRequest
|
|
33077
33100
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -33112,7 +33135,8 @@ class Client extends openapi_client_1.default {
|
|
|
33112
33135
|
* Assigns a role to a member of a DataWorks workspace. Before you call this operation, you must add your account to a DataWorks workspace as a member.
|
|
33113
33136
|
*
|
|
33114
33137
|
* @remarks
|
|
33115
|
-
*
|
|
33138
|
+
* For information about how to add an account to a DataWorks workspace as a member, see [Add workspace members and assign roles to them](https://help.aliyun.com/document_detail/136941.html).
|
|
33139
|
+
* * If you assign a built-in workspace-level role to a member of a DataWorks workspace, the member is automatically granted the permissions of the mapped role of the MaxCompute compute engine in the development environment. For more information, see [Appendix: Mappings between the built-in workspace-level roles of DataWorks and the roles of MaxCompute](https://help.aliyun.com/document_detail/449397.html).
|
|
33116
33140
|
*
|
|
33117
33141
|
* @param request - AddProjectMemberToRoleRequest
|
|
33118
33142
|
* @returns AddProjectMemberToRoleResponse
|
|
@@ -34522,6 +34546,9 @@ class Client extends openapi_client_1.default {
|
|
|
34522
34546
|
if (!tea_util_1.default.isUnset(request.stop)) {
|
|
34523
34547
|
body["Stop"] = request.stop;
|
|
34524
34548
|
}
|
|
34549
|
+
if (!tea_util_1.default.isUnset(request.timeout)) {
|
|
34550
|
+
body["Timeout"] = request.timeout;
|
|
34551
|
+
}
|
|
34525
34552
|
let req = new $OpenApi.OpenApiRequest({
|
|
34526
34553
|
body: openapi_util_1.default.parseToMap(body),
|
|
34527
34554
|
});
|
|
@@ -36381,10 +36408,10 @@ class Client extends openapi_client_1.default {
|
|
|
36381
36408
|
return await this.deleteFromMetaCategoryWithOptions(request, runtime);
|
|
36382
36409
|
}
|
|
36383
36410
|
/**
|
|
36384
|
-
*
|
|
36411
|
+
* Delete lineage, supports deleting user-defined lineage relationships
|
|
36385
36412
|
*
|
|
36386
36413
|
* @remarks
|
|
36387
|
-
* This
|
|
36414
|
+
* This API is currently in the trial phase. Users who wish to experience it can apply, and after the administrator adds them to the trial list, they can call this API.
|
|
36388
36415
|
*
|
|
36389
36416
|
* @param request - DeleteLineageRelationRequest
|
|
36390
36417
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -36422,10 +36449,10 @@ class Client extends openapi_client_1.default {
|
|
|
36422
36449
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteLineageRelationResponse({}));
|
|
36423
36450
|
}
|
|
36424
36451
|
/**
|
|
36425
|
-
*
|
|
36452
|
+
* Delete lineage, supports deleting user-defined lineage relationships
|
|
36426
36453
|
*
|
|
36427
36454
|
* @remarks
|
|
36428
|
-
* This
|
|
36455
|
+
* This API is currently in the trial phase. Users who wish to experience it can apply, and after the administrator adds them to the trial list, they can call this API.
|
|
36429
36456
|
*
|
|
36430
36457
|
* @param request - DeleteLineageRelationRequest
|
|
36431
36458
|
* @returns DeleteLineageRelationResponse
|
|
@@ -40217,7 +40244,7 @@ class Client extends openapi_client_1.default {
|
|
|
40217
40244
|
return await this.getMetaTableColumnWithOptions(request, runtime);
|
|
40218
40245
|
}
|
|
40219
40246
|
/**
|
|
40220
|
-
*
|
|
40247
|
+
* Invoke the GetMetaTableFullInfo interface to obtain the complete information of a table (including field information).
|
|
40221
40248
|
*
|
|
40222
40249
|
* @param request - GetMetaTableFullInfoRequest
|
|
40223
40250
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -40243,7 +40270,7 @@ class Client extends openapi_client_1.default {
|
|
|
40243
40270
|
return $tea.cast(await this.callApi(params, req, runtime), new GetMetaTableFullInfoResponse({}));
|
|
40244
40271
|
}
|
|
40245
40272
|
/**
|
|
40246
|
-
*
|
|
40273
|
+
* Invoke the GetMetaTableFullInfo interface to obtain the complete information of a table (including field information).
|
|
40247
40274
|
*
|
|
40248
40275
|
* @param request - GetMetaTableFullInfoRequest
|
|
40249
40276
|
* @returns GetMetaTableFullInfoResponse
|
|
@@ -40516,7 +40543,7 @@ class Client extends openapi_client_1.default {
|
|
|
40516
40543
|
return await this.getMetaTablePartitionWithOptions(request, runtime);
|
|
40517
40544
|
}
|
|
40518
40545
|
/**
|
|
40519
|
-
*
|
|
40546
|
+
* Queries the output tasks of a metatable.
|
|
40520
40547
|
*
|
|
40521
40548
|
* @param request - GetMetaTableProducingTasksRequest
|
|
40522
40549
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -40560,7 +40587,7 @@ class Client extends openapi_client_1.default {
|
|
|
40560
40587
|
return $tea.cast(await this.callApi(params, req, runtime), new GetMetaTableProducingTasksResponse({}));
|
|
40561
40588
|
}
|
|
40562
40589
|
/**
|
|
40563
|
-
*
|
|
40590
|
+
* Queries the output tasks of a metatable.
|
|
40564
40591
|
*
|
|
40565
40592
|
* @param request - GetMetaTableProducingTasksRequest
|
|
40566
40593
|
* @returns GetMetaTableProducingTasksResponse
|
|
@@ -47901,6 +47928,9 @@ class Client extends openapi_client_1.default {
|
|
|
47901
47928
|
if (!tea_util_1.default.isUnset(request.stop)) {
|
|
47902
47929
|
body["Stop"] = request.stop;
|
|
47903
47930
|
}
|
|
47931
|
+
if (!tea_util_1.default.isUnset(request.timeout)) {
|
|
47932
|
+
body["Timeout"] = request.timeout;
|
|
47933
|
+
}
|
|
47904
47934
|
let req = new $OpenApi.OpenApiRequest({
|
|
47905
47935
|
body: openapi_util_1.default.parseToMap(body),
|
|
47906
47936
|
});
|