@alicloud/dataworks-public20200518 4.4.8 → 4.4.9
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 +257 -0
- package/dist/client.js +455 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +563 -0
package/dist/client.js
CHANGED
|
@@ -75,6 +75,66 @@ class Entity extends $tea.Model {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
exports.Entity = Entity;
|
|
78
|
+
class LineageEntityVO extends $tea.Model {
|
|
79
|
+
constructor(map) {
|
|
80
|
+
super(map);
|
|
81
|
+
}
|
|
82
|
+
static names() {
|
|
83
|
+
return {
|
|
84
|
+
detailUrl: 'DetailUrl',
|
|
85
|
+
name: 'Name',
|
|
86
|
+
parentName: 'ParentName',
|
|
87
|
+
qualifiedName: 'QualifiedName',
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
static types() {
|
|
91
|
+
return {
|
|
92
|
+
detailUrl: 'string',
|
|
93
|
+
name: 'string',
|
|
94
|
+
parentName: 'string',
|
|
95
|
+
qualifiedName: 'string',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.LineageEntityVO = LineageEntityVO;
|
|
100
|
+
class LineageRelationRegisterVO extends $tea.Model {
|
|
101
|
+
constructor(map) {
|
|
102
|
+
super(map);
|
|
103
|
+
}
|
|
104
|
+
static names() {
|
|
105
|
+
return {
|
|
106
|
+
createTimestamp: 'CreateTimestamp',
|
|
107
|
+
destEntity: 'DestEntity',
|
|
108
|
+
relationship: 'Relationship',
|
|
109
|
+
srcEntity: 'SrcEntity',
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
static types() {
|
|
113
|
+
return {
|
|
114
|
+
createTimestamp: 'number',
|
|
115
|
+
destEntity: LineageEntityVO,
|
|
116
|
+
relationship: RelationshipVO,
|
|
117
|
+
srcEntity: LineageEntityVO,
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.LineageRelationRegisterVO = LineageRelationRegisterVO;
|
|
122
|
+
class RelationshipVO extends $tea.Model {
|
|
123
|
+
constructor(map) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
static names() {
|
|
127
|
+
return {
|
|
128
|
+
type: 'Type',
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
static types() {
|
|
132
|
+
return {
|
|
133
|
+
type: 'string',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
exports.RelationshipVO = RelationshipVO;
|
|
78
138
|
class AbolishDataServiceApiRequest extends $tea.Model {
|
|
79
139
|
constructor(map) {
|
|
80
140
|
super(map);
|
|
@@ -3461,6 +3521,72 @@ class DeleteFromMetaCategoryResponse extends $tea.Model {
|
|
|
3461
3521
|
}
|
|
3462
3522
|
}
|
|
3463
3523
|
exports.DeleteFromMetaCategoryResponse = DeleteFromMetaCategoryResponse;
|
|
3524
|
+
class DeleteLineageRelationRequest extends $tea.Model {
|
|
3525
|
+
constructor(map) {
|
|
3526
|
+
super(map);
|
|
3527
|
+
}
|
|
3528
|
+
static names() {
|
|
3529
|
+
return {
|
|
3530
|
+
destEntityQualifiedName: 'DestEntityQualifiedName',
|
|
3531
|
+
relationshipGuid: 'RelationshipGuid',
|
|
3532
|
+
srcEntityQualifiedName: 'SrcEntityQualifiedName',
|
|
3533
|
+
};
|
|
3534
|
+
}
|
|
3535
|
+
static types() {
|
|
3536
|
+
return {
|
|
3537
|
+
destEntityQualifiedName: 'string',
|
|
3538
|
+
relationshipGuid: 'string',
|
|
3539
|
+
srcEntityQualifiedName: 'string',
|
|
3540
|
+
};
|
|
3541
|
+
}
|
|
3542
|
+
}
|
|
3543
|
+
exports.DeleteLineageRelationRequest = DeleteLineageRelationRequest;
|
|
3544
|
+
class DeleteLineageRelationResponseBody extends $tea.Model {
|
|
3545
|
+
constructor(map) {
|
|
3546
|
+
super(map);
|
|
3547
|
+
}
|
|
3548
|
+
static names() {
|
|
3549
|
+
return {
|
|
3550
|
+
errorCode: 'ErrorCode',
|
|
3551
|
+
errorMessage: 'ErrorMessage',
|
|
3552
|
+
httpStatusCode: 'HttpStatusCode',
|
|
3553
|
+
requestId: 'RequestId',
|
|
3554
|
+
status: 'Status',
|
|
3555
|
+
success: 'Success',
|
|
3556
|
+
};
|
|
3557
|
+
}
|
|
3558
|
+
static types() {
|
|
3559
|
+
return {
|
|
3560
|
+
errorCode: 'string',
|
|
3561
|
+
errorMessage: 'string',
|
|
3562
|
+
httpStatusCode: 'number',
|
|
3563
|
+
requestId: 'string',
|
|
3564
|
+
status: 'boolean',
|
|
3565
|
+
success: 'boolean',
|
|
3566
|
+
};
|
|
3567
|
+
}
|
|
3568
|
+
}
|
|
3569
|
+
exports.DeleteLineageRelationResponseBody = DeleteLineageRelationResponseBody;
|
|
3570
|
+
class DeleteLineageRelationResponse extends $tea.Model {
|
|
3571
|
+
constructor(map) {
|
|
3572
|
+
super(map);
|
|
3573
|
+
}
|
|
3574
|
+
static names() {
|
|
3575
|
+
return {
|
|
3576
|
+
headers: 'headers',
|
|
3577
|
+
statusCode: 'statusCode',
|
|
3578
|
+
body: 'body',
|
|
3579
|
+
};
|
|
3580
|
+
}
|
|
3581
|
+
static types() {
|
|
3582
|
+
return {
|
|
3583
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3584
|
+
statusCode: 'number',
|
|
3585
|
+
body: DeleteLineageRelationResponseBody,
|
|
3586
|
+
};
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3589
|
+
exports.DeleteLineageRelationResponse = DeleteLineageRelationResponse;
|
|
3464
3590
|
class DeleteMetaCategoryRequest extends $tea.Model {
|
|
3465
3591
|
constructor(map) {
|
|
3466
3592
|
super(map);
|
|
@@ -11131,6 +11257,76 @@ class ListInstancesResponse extends $tea.Model {
|
|
|
11131
11257
|
}
|
|
11132
11258
|
}
|
|
11133
11259
|
exports.ListInstancesResponse = ListInstancesResponse;
|
|
11260
|
+
class ListLineageRequest extends $tea.Model {
|
|
11261
|
+
constructor(map) {
|
|
11262
|
+
super(map);
|
|
11263
|
+
}
|
|
11264
|
+
static names() {
|
|
11265
|
+
return {
|
|
11266
|
+
direction: 'Direction',
|
|
11267
|
+
entityQualifiedName: 'EntityQualifiedName',
|
|
11268
|
+
keyword: 'Keyword',
|
|
11269
|
+
nextToken: 'NextToken',
|
|
11270
|
+
pageSize: 'PageSize',
|
|
11271
|
+
};
|
|
11272
|
+
}
|
|
11273
|
+
static types() {
|
|
11274
|
+
return {
|
|
11275
|
+
direction: 'string',
|
|
11276
|
+
entityQualifiedName: 'string',
|
|
11277
|
+
keyword: 'string',
|
|
11278
|
+
nextToken: 'string',
|
|
11279
|
+
pageSize: 'number',
|
|
11280
|
+
};
|
|
11281
|
+
}
|
|
11282
|
+
}
|
|
11283
|
+
exports.ListLineageRequest = ListLineageRequest;
|
|
11284
|
+
class ListLineageResponseBody extends $tea.Model {
|
|
11285
|
+
constructor(map) {
|
|
11286
|
+
super(map);
|
|
11287
|
+
}
|
|
11288
|
+
static names() {
|
|
11289
|
+
return {
|
|
11290
|
+
data: 'Data',
|
|
11291
|
+
errorCode: 'ErrorCode',
|
|
11292
|
+
errorMessage: 'ErrorMessage',
|
|
11293
|
+
httpStatusCode: 'HttpStatusCode',
|
|
11294
|
+
requestId: 'RequestId',
|
|
11295
|
+
success: 'Success',
|
|
11296
|
+
};
|
|
11297
|
+
}
|
|
11298
|
+
static types() {
|
|
11299
|
+
return {
|
|
11300
|
+
data: ListLineageResponseBodyData,
|
|
11301
|
+
errorCode: 'string',
|
|
11302
|
+
errorMessage: 'string',
|
|
11303
|
+
httpStatusCode: 'number',
|
|
11304
|
+
requestId: 'string',
|
|
11305
|
+
success: 'boolean',
|
|
11306
|
+
};
|
|
11307
|
+
}
|
|
11308
|
+
}
|
|
11309
|
+
exports.ListLineageResponseBody = ListLineageResponseBody;
|
|
11310
|
+
class ListLineageResponse extends $tea.Model {
|
|
11311
|
+
constructor(map) {
|
|
11312
|
+
super(map);
|
|
11313
|
+
}
|
|
11314
|
+
static names() {
|
|
11315
|
+
return {
|
|
11316
|
+
headers: 'headers',
|
|
11317
|
+
statusCode: 'statusCode',
|
|
11318
|
+
body: 'body',
|
|
11319
|
+
};
|
|
11320
|
+
}
|
|
11321
|
+
static types() {
|
|
11322
|
+
return {
|
|
11323
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11324
|
+
statusCode: 'number',
|
|
11325
|
+
body: ListLineageResponseBody,
|
|
11326
|
+
};
|
|
11327
|
+
}
|
|
11328
|
+
}
|
|
11329
|
+
exports.ListLineageResponse = ListLineageResponse;
|
|
11134
11330
|
class ListManualDagInstancesRequest extends $tea.Model {
|
|
11135
11331
|
constructor(map) {
|
|
11136
11332
|
super(map);
|
|
@@ -13317,6 +13513,84 @@ class QueryPublicModelEngineResponse extends $tea.Model {
|
|
|
13317
13513
|
}
|
|
13318
13514
|
}
|
|
13319
13515
|
exports.QueryPublicModelEngineResponse = QueryPublicModelEngineResponse;
|
|
13516
|
+
class RegisterLineageRelationRequest extends $tea.Model {
|
|
13517
|
+
constructor(map) {
|
|
13518
|
+
super(map);
|
|
13519
|
+
}
|
|
13520
|
+
static names() {
|
|
13521
|
+
return {
|
|
13522
|
+
lineageRelationRegisterVO: 'LineageRelationRegisterVO',
|
|
13523
|
+
};
|
|
13524
|
+
}
|
|
13525
|
+
static types() {
|
|
13526
|
+
return {
|
|
13527
|
+
lineageRelationRegisterVO: LineageRelationRegisterVO,
|
|
13528
|
+
};
|
|
13529
|
+
}
|
|
13530
|
+
}
|
|
13531
|
+
exports.RegisterLineageRelationRequest = RegisterLineageRelationRequest;
|
|
13532
|
+
class RegisterLineageRelationShrinkRequest extends $tea.Model {
|
|
13533
|
+
constructor(map) {
|
|
13534
|
+
super(map);
|
|
13535
|
+
}
|
|
13536
|
+
static names() {
|
|
13537
|
+
return {
|
|
13538
|
+
lineageRelationRegisterVOShrink: 'LineageRelationRegisterVO',
|
|
13539
|
+
};
|
|
13540
|
+
}
|
|
13541
|
+
static types() {
|
|
13542
|
+
return {
|
|
13543
|
+
lineageRelationRegisterVOShrink: 'string',
|
|
13544
|
+
};
|
|
13545
|
+
}
|
|
13546
|
+
}
|
|
13547
|
+
exports.RegisterLineageRelationShrinkRequest = RegisterLineageRelationShrinkRequest;
|
|
13548
|
+
class RegisterLineageRelationResponseBody extends $tea.Model {
|
|
13549
|
+
constructor(map) {
|
|
13550
|
+
super(map);
|
|
13551
|
+
}
|
|
13552
|
+
static names() {
|
|
13553
|
+
return {
|
|
13554
|
+
errorCode: 'ErrorCode',
|
|
13555
|
+
errorMessage: 'ErrorMessage',
|
|
13556
|
+
httpStatusCode: 'HttpStatusCode',
|
|
13557
|
+
lineageRelation: 'LineageRelation',
|
|
13558
|
+
requestId: 'RequestId',
|
|
13559
|
+
success: 'Success',
|
|
13560
|
+
};
|
|
13561
|
+
}
|
|
13562
|
+
static types() {
|
|
13563
|
+
return {
|
|
13564
|
+
errorCode: 'string',
|
|
13565
|
+
errorMessage: 'string',
|
|
13566
|
+
httpStatusCode: 'number',
|
|
13567
|
+
lineageRelation: RegisterLineageRelationResponseBodyLineageRelation,
|
|
13568
|
+
requestId: 'string',
|
|
13569
|
+
success: 'boolean',
|
|
13570
|
+
};
|
|
13571
|
+
}
|
|
13572
|
+
}
|
|
13573
|
+
exports.RegisterLineageRelationResponseBody = RegisterLineageRelationResponseBody;
|
|
13574
|
+
class RegisterLineageRelationResponse extends $tea.Model {
|
|
13575
|
+
constructor(map) {
|
|
13576
|
+
super(map);
|
|
13577
|
+
}
|
|
13578
|
+
static names() {
|
|
13579
|
+
return {
|
|
13580
|
+
headers: 'headers',
|
|
13581
|
+
statusCode: 'statusCode',
|
|
13582
|
+
body: 'body',
|
|
13583
|
+
};
|
|
13584
|
+
}
|
|
13585
|
+
static types() {
|
|
13586
|
+
return {
|
|
13587
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13588
|
+
statusCode: 'number',
|
|
13589
|
+
body: RegisterLineageRelationResponseBody,
|
|
13590
|
+
};
|
|
13591
|
+
}
|
|
13592
|
+
}
|
|
13593
|
+
exports.RegisterLineageRelationResponse = RegisterLineageRelationResponse;
|
|
13320
13594
|
class RemoveProjectMemberFromRoleRequest extends $tea.Model {
|
|
13321
13595
|
constructor(map) {
|
|
13322
13596
|
super(map);
|
|
@@ -23917,6 +24191,66 @@ class ListInstancesResponseBodyData extends $tea.Model {
|
|
|
23917
24191
|
}
|
|
23918
24192
|
}
|
|
23919
24193
|
exports.ListInstancesResponseBodyData = ListInstancesResponseBodyData;
|
|
24194
|
+
class ListLineageResponseBodyDataDataEntityListRelationList extends $tea.Model {
|
|
24195
|
+
constructor(map) {
|
|
24196
|
+
super(map);
|
|
24197
|
+
}
|
|
24198
|
+
static names() {
|
|
24199
|
+
return {
|
|
24200
|
+
channel: 'Channel',
|
|
24201
|
+
datasource: 'Datasource',
|
|
24202
|
+
guid: 'Guid',
|
|
24203
|
+
type: 'Type',
|
|
24204
|
+
};
|
|
24205
|
+
}
|
|
24206
|
+
static types() {
|
|
24207
|
+
return {
|
|
24208
|
+
channel: 'string',
|
|
24209
|
+
datasource: 'string',
|
|
24210
|
+
guid: 'string',
|
|
24211
|
+
type: 'string',
|
|
24212
|
+
};
|
|
24213
|
+
}
|
|
24214
|
+
}
|
|
24215
|
+
exports.ListLineageResponseBodyDataDataEntityListRelationList = ListLineageResponseBodyDataDataEntityListRelationList;
|
|
24216
|
+
class ListLineageResponseBodyDataDataEntityList extends $tea.Model {
|
|
24217
|
+
constructor(map) {
|
|
24218
|
+
super(map);
|
|
24219
|
+
}
|
|
24220
|
+
static names() {
|
|
24221
|
+
return {
|
|
24222
|
+
createTimestamp: 'CreateTimestamp',
|
|
24223
|
+
entity: 'Entity',
|
|
24224
|
+
relationList: 'RelationList',
|
|
24225
|
+
};
|
|
24226
|
+
}
|
|
24227
|
+
static types() {
|
|
24228
|
+
return {
|
|
24229
|
+
createTimestamp: 'number',
|
|
24230
|
+
entity: Entity,
|
|
24231
|
+
relationList: { 'type': 'array', 'itemType': ListLineageResponseBodyDataDataEntityListRelationList },
|
|
24232
|
+
};
|
|
24233
|
+
}
|
|
24234
|
+
}
|
|
24235
|
+
exports.ListLineageResponseBodyDataDataEntityList = ListLineageResponseBodyDataDataEntityList;
|
|
24236
|
+
class ListLineageResponseBodyData extends $tea.Model {
|
|
24237
|
+
constructor(map) {
|
|
24238
|
+
super(map);
|
|
24239
|
+
}
|
|
24240
|
+
static names() {
|
|
24241
|
+
return {
|
|
24242
|
+
dataEntityList: 'DataEntityList',
|
|
24243
|
+
nextToken: 'NextToken',
|
|
24244
|
+
};
|
|
24245
|
+
}
|
|
24246
|
+
static types() {
|
|
24247
|
+
return {
|
|
24248
|
+
dataEntityList: { 'type': 'array', 'itemType': ListLineageResponseBodyDataDataEntityList },
|
|
24249
|
+
nextToken: 'string',
|
|
24250
|
+
};
|
|
24251
|
+
}
|
|
24252
|
+
}
|
|
24253
|
+
exports.ListLineageResponseBodyData = ListLineageResponseBodyData;
|
|
23920
24254
|
class ListManualDagInstancesResponseBodyInstances extends $tea.Model {
|
|
23921
24255
|
constructor(map) {
|
|
23922
24256
|
super(map);
|
|
@@ -25565,6 +25899,26 @@ class QueryDISyncTaskConfigProcessResultResponseBodyData extends $tea.Model {
|
|
|
25565
25899
|
}
|
|
25566
25900
|
}
|
|
25567
25901
|
exports.QueryDISyncTaskConfigProcessResultResponseBodyData = QueryDISyncTaskConfigProcessResultResponseBodyData;
|
|
25902
|
+
class RegisterLineageRelationResponseBodyLineageRelation extends $tea.Model {
|
|
25903
|
+
constructor(map) {
|
|
25904
|
+
super(map);
|
|
25905
|
+
}
|
|
25906
|
+
static names() {
|
|
25907
|
+
return {
|
|
25908
|
+
destEntityQualifiedName: 'DestEntityQualifiedName',
|
|
25909
|
+
relationshipGuid: 'RelationshipGuid',
|
|
25910
|
+
srcEntityQualifiedName: 'SrcEntityQualifiedName',
|
|
25911
|
+
};
|
|
25912
|
+
}
|
|
25913
|
+
static types() {
|
|
25914
|
+
return {
|
|
25915
|
+
destEntityQualifiedName: 'string',
|
|
25916
|
+
relationshipGuid: 'string',
|
|
25917
|
+
srcEntityQualifiedName: 'string',
|
|
25918
|
+
};
|
|
25919
|
+
}
|
|
25920
|
+
}
|
|
25921
|
+
exports.RegisterLineageRelationResponseBodyLineageRelation = RegisterLineageRelationResponseBodyLineageRelation;
|
|
25568
25922
|
class SearchMetaTablesResponseBodyDataDataEntityList extends $tea.Model {
|
|
25569
25923
|
constructor(map) {
|
|
25570
25924
|
super(map);
|
|
@@ -28413,6 +28767,38 @@ class Client extends openapi_client_1.default {
|
|
|
28413
28767
|
let runtime = new $Util.RuntimeOptions({});
|
|
28414
28768
|
return await this.deleteFromMetaCategoryWithOptions(request, runtime);
|
|
28415
28769
|
}
|
|
28770
|
+
async deleteLineageRelationWithOptions(request, runtime) {
|
|
28771
|
+
tea_util_1.default.validateModel(request);
|
|
28772
|
+
let query = {};
|
|
28773
|
+
if (!tea_util_1.default.isUnset(request.destEntityQualifiedName)) {
|
|
28774
|
+
query["DestEntityQualifiedName"] = request.destEntityQualifiedName;
|
|
28775
|
+
}
|
|
28776
|
+
if (!tea_util_1.default.isUnset(request.relationshipGuid)) {
|
|
28777
|
+
query["RelationshipGuid"] = request.relationshipGuid;
|
|
28778
|
+
}
|
|
28779
|
+
if (!tea_util_1.default.isUnset(request.srcEntityQualifiedName)) {
|
|
28780
|
+
query["SrcEntityQualifiedName"] = request.srcEntityQualifiedName;
|
|
28781
|
+
}
|
|
28782
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
28783
|
+
query: openapi_util_1.default.query(query),
|
|
28784
|
+
});
|
|
28785
|
+
let params = new $OpenApi.Params({
|
|
28786
|
+
action: "DeleteLineageRelation",
|
|
28787
|
+
version: "2020-05-18",
|
|
28788
|
+
protocol: "HTTPS",
|
|
28789
|
+
pathname: "/",
|
|
28790
|
+
method: "POST",
|
|
28791
|
+
authType: "AK",
|
|
28792
|
+
style: "RPC",
|
|
28793
|
+
reqBodyType: "formData",
|
|
28794
|
+
bodyType: "json",
|
|
28795
|
+
});
|
|
28796
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteLineageRelationResponse({}));
|
|
28797
|
+
}
|
|
28798
|
+
async deleteLineageRelation(request) {
|
|
28799
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
28800
|
+
return await this.deleteLineageRelationWithOptions(request, runtime);
|
|
28801
|
+
}
|
|
28416
28802
|
async deleteMetaCategoryWithOptions(request, runtime) {
|
|
28417
28803
|
tea_util_1.default.validateModel(request);
|
|
28418
28804
|
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
@@ -32639,6 +33025,44 @@ class Client extends openapi_client_1.default {
|
|
|
32639
33025
|
let runtime = new $Util.RuntimeOptions({});
|
|
32640
33026
|
return await this.listInstancesWithOptions(request, runtime);
|
|
32641
33027
|
}
|
|
33028
|
+
async listLineageWithOptions(request, runtime) {
|
|
33029
|
+
tea_util_1.default.validateModel(request);
|
|
33030
|
+
let query = {};
|
|
33031
|
+
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
33032
|
+
query["Direction"] = request.direction;
|
|
33033
|
+
}
|
|
33034
|
+
if (!tea_util_1.default.isUnset(request.entityQualifiedName)) {
|
|
33035
|
+
query["EntityQualifiedName"] = request.entityQualifiedName;
|
|
33036
|
+
}
|
|
33037
|
+
if (!tea_util_1.default.isUnset(request.keyword)) {
|
|
33038
|
+
query["Keyword"] = request.keyword;
|
|
33039
|
+
}
|
|
33040
|
+
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
33041
|
+
query["NextToken"] = request.nextToken;
|
|
33042
|
+
}
|
|
33043
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
33044
|
+
query["PageSize"] = request.pageSize;
|
|
33045
|
+
}
|
|
33046
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
33047
|
+
query: openapi_util_1.default.query(query),
|
|
33048
|
+
});
|
|
33049
|
+
let params = new $OpenApi.Params({
|
|
33050
|
+
action: "ListLineage",
|
|
33051
|
+
version: "2020-05-18",
|
|
33052
|
+
protocol: "HTTPS",
|
|
33053
|
+
pathname: "/",
|
|
33054
|
+
method: "POST",
|
|
33055
|
+
authType: "AK",
|
|
33056
|
+
style: "RPC",
|
|
33057
|
+
reqBodyType: "formData",
|
|
33058
|
+
bodyType: "json",
|
|
33059
|
+
});
|
|
33060
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListLineageResponse({}));
|
|
33061
|
+
}
|
|
33062
|
+
async listLineage(request) {
|
|
33063
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
33064
|
+
return await this.listLineageWithOptions(request, runtime);
|
|
33065
|
+
}
|
|
32642
33066
|
async listManualDagInstancesWithOptions(request, runtime) {
|
|
32643
33067
|
tea_util_1.default.validateModel(request);
|
|
32644
33068
|
let body = {};
|
|
@@ -33880,6 +34304,37 @@ class Client extends openapi_client_1.default {
|
|
|
33880
34304
|
let runtime = new $Util.RuntimeOptions({});
|
|
33881
34305
|
return await this.queryPublicModelEngineWithOptions(request, runtime);
|
|
33882
34306
|
}
|
|
34307
|
+
async registerLineageRelationWithOptions(tmpReq, runtime) {
|
|
34308
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
34309
|
+
let request = new RegisterLineageRelationShrinkRequest({});
|
|
34310
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
34311
|
+
if (!tea_util_1.default.isUnset(tmpReq.lineageRelationRegisterVO)) {
|
|
34312
|
+
request.lineageRelationRegisterVOShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.lineageRelationRegisterVO, "LineageRelationRegisterVO", "json");
|
|
34313
|
+
}
|
|
34314
|
+
let body = {};
|
|
34315
|
+
if (!tea_util_1.default.isUnset(request.lineageRelationRegisterVOShrink)) {
|
|
34316
|
+
body["LineageRelationRegisterVO"] = request.lineageRelationRegisterVOShrink;
|
|
34317
|
+
}
|
|
34318
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
34319
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
34320
|
+
});
|
|
34321
|
+
let params = new $OpenApi.Params({
|
|
34322
|
+
action: "RegisterLineageRelation",
|
|
34323
|
+
version: "2020-05-18",
|
|
34324
|
+
protocol: "HTTPS",
|
|
34325
|
+
pathname: "/",
|
|
34326
|
+
method: "POST",
|
|
34327
|
+
authType: "AK",
|
|
34328
|
+
style: "RPC",
|
|
34329
|
+
reqBodyType: "formData",
|
|
34330
|
+
bodyType: "json",
|
|
34331
|
+
});
|
|
34332
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RegisterLineageRelationResponse({}));
|
|
34333
|
+
}
|
|
34334
|
+
async registerLineageRelation(request) {
|
|
34335
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
34336
|
+
return await this.registerLineageRelationWithOptions(request, runtime);
|
|
34337
|
+
}
|
|
33883
34338
|
async removeProjectMemberFromRoleWithOptions(request, runtime) {
|
|
33884
34339
|
tea_util_1.default.validateModel(request);
|
|
33885
34340
|
let query = {};
|