@alicloud/dataworks-public20200518 4.2.5 → 4.3.0

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.js CHANGED
@@ -1280,6 +1280,70 @@ class CreateDataSourceResponse extends $tea.Model {
1280
1280
  }
1281
1281
  }
1282
1282
  exports.CreateDataSourceResponse = CreateDataSourceResponse;
1283
+ class CreateExportMigrationRequest extends $tea.Model {
1284
+ constructor(map) {
1285
+ super(map);
1286
+ }
1287
+ static names() {
1288
+ return {
1289
+ description: 'Description',
1290
+ exportMode: 'ExportMode',
1291
+ exportObjectStatus: 'ExportObjectStatus',
1292
+ incrementalSince: 'IncrementalSince',
1293
+ name: 'Name',
1294
+ projectId: 'ProjectId',
1295
+ };
1296
+ }
1297
+ static types() {
1298
+ return {
1299
+ description: 'string',
1300
+ exportMode: 'string',
1301
+ exportObjectStatus: 'string',
1302
+ incrementalSince: 'number',
1303
+ name: 'string',
1304
+ projectId: 'number',
1305
+ };
1306
+ }
1307
+ }
1308
+ exports.CreateExportMigrationRequest = CreateExportMigrationRequest;
1309
+ class CreateExportMigrationResponseBody extends $tea.Model {
1310
+ constructor(map) {
1311
+ super(map);
1312
+ }
1313
+ static names() {
1314
+ return {
1315
+ data: 'Data',
1316
+ requestId: 'RequestId',
1317
+ success: 'Success',
1318
+ };
1319
+ }
1320
+ static types() {
1321
+ return {
1322
+ data: 'number',
1323
+ requestId: 'string',
1324
+ success: 'boolean',
1325
+ };
1326
+ }
1327
+ }
1328
+ exports.CreateExportMigrationResponseBody = CreateExportMigrationResponseBody;
1329
+ class CreateExportMigrationResponse extends $tea.Model {
1330
+ constructor(map) {
1331
+ super(map);
1332
+ }
1333
+ static names() {
1334
+ return {
1335
+ headers: 'headers',
1336
+ body: 'body',
1337
+ };
1338
+ }
1339
+ static types() {
1340
+ return {
1341
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1342
+ body: CreateExportMigrationResponseBody,
1343
+ };
1344
+ }
1345
+ }
1346
+ exports.CreateExportMigrationResponse = CreateExportMigrationResponse;
1283
1347
  class CreateFileRequest extends $tea.Model {
1284
1348
  constructor(map) {
1285
1349
  super(map);
@@ -6027,15 +6091,19 @@ class GetInstanceStatusStatisticRequest extends $tea.Model {
6027
6091
  static names() {
6028
6092
  return {
6029
6093
  bizDate: 'BizDate',
6094
+ dagType: 'DagType',
6030
6095
  projectEnv: 'ProjectEnv',
6031
6096
  projectId: 'ProjectId',
6097
+ schedulerType: 'SchedulerType',
6032
6098
  };
6033
6099
  }
6034
6100
  static types() {
6035
6101
  return {
6036
6102
  bizDate: 'string',
6103
+ dagType: 'string',
6037
6104
  projectEnv: 'string',
6038
6105
  projectId: 'number',
6106
+ schedulerType: 'string',
6039
6107
  };
6040
6108
  }
6041
6109
  }
@@ -7142,6 +7210,62 @@ class GetMigrationProcessResponse extends $tea.Model {
7142
7210
  }
7143
7211
  }
7144
7212
  exports.GetMigrationProcessResponse = GetMigrationProcessResponse;
7213
+ class GetMigrationSummaryRequest extends $tea.Model {
7214
+ constructor(map) {
7215
+ super(map);
7216
+ }
7217
+ static names() {
7218
+ return {
7219
+ migrationId: 'MigrationId',
7220
+ projectId: 'ProjectId',
7221
+ };
7222
+ }
7223
+ static types() {
7224
+ return {
7225
+ migrationId: 'number',
7226
+ projectId: 'number',
7227
+ };
7228
+ }
7229
+ }
7230
+ exports.GetMigrationSummaryRequest = GetMigrationSummaryRequest;
7231
+ class GetMigrationSummaryResponseBody extends $tea.Model {
7232
+ constructor(map) {
7233
+ super(map);
7234
+ }
7235
+ static names() {
7236
+ return {
7237
+ data: 'Data',
7238
+ requestId: 'RequestId',
7239
+ success: 'Success',
7240
+ };
7241
+ }
7242
+ static types() {
7243
+ return {
7244
+ data: GetMigrationSummaryResponseBodyData,
7245
+ requestId: 'string',
7246
+ success: 'boolean',
7247
+ };
7248
+ }
7249
+ }
7250
+ exports.GetMigrationSummaryResponseBody = GetMigrationSummaryResponseBody;
7251
+ class GetMigrationSummaryResponse extends $tea.Model {
7252
+ constructor(map) {
7253
+ super(map);
7254
+ }
7255
+ static names() {
7256
+ return {
7257
+ headers: 'headers',
7258
+ body: 'body',
7259
+ };
7260
+ }
7261
+ static types() {
7262
+ return {
7263
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7264
+ body: GetMigrationSummaryResponseBody,
7265
+ };
7266
+ }
7267
+ }
7268
+ exports.GetMigrationSummaryResponse = GetMigrationSummaryResponse;
7145
7269
  class GetNodeRequest extends $tea.Model {
7146
7270
  constructor(map) {
7147
7271
  super(map);
@@ -8994,6 +9118,68 @@ class ListDISyncTasksResponse extends $tea.Model {
8994
9118
  }
8995
9119
  }
8996
9120
  exports.ListDISyncTasksResponse = ListDISyncTasksResponse;
9121
+ class ListDagsRequest extends $tea.Model {
9122
+ constructor(map) {
9123
+ super(map);
9124
+ }
9125
+ static names() {
9126
+ return {
9127
+ opSeq: 'OpSeq',
9128
+ projectEnv: 'ProjectEnv',
9129
+ };
9130
+ }
9131
+ static types() {
9132
+ return {
9133
+ opSeq: 'number',
9134
+ projectEnv: 'string',
9135
+ };
9136
+ }
9137
+ }
9138
+ exports.ListDagsRequest = ListDagsRequest;
9139
+ class ListDagsResponseBody extends $tea.Model {
9140
+ constructor(map) {
9141
+ super(map);
9142
+ }
9143
+ static names() {
9144
+ return {
9145
+ data: 'Data',
9146
+ errorCode: 'ErrorCode',
9147
+ errorMessage: 'ErrorMessage',
9148
+ httpStatusCode: 'HttpStatusCode',
9149
+ requestId: 'RequestId',
9150
+ success: 'Success',
9151
+ };
9152
+ }
9153
+ static types() {
9154
+ return {
9155
+ data: ListDagsResponseBodyData,
9156
+ errorCode: 'string',
9157
+ errorMessage: 'string',
9158
+ httpStatusCode: 'number',
9159
+ requestId: 'string',
9160
+ success: 'boolean',
9161
+ };
9162
+ }
9163
+ }
9164
+ exports.ListDagsResponseBody = ListDagsResponseBody;
9165
+ class ListDagsResponse extends $tea.Model {
9166
+ constructor(map) {
9167
+ super(map);
9168
+ }
9169
+ static names() {
9170
+ return {
9171
+ headers: 'headers',
9172
+ body: 'body',
9173
+ };
9174
+ }
9175
+ static types() {
9176
+ return {
9177
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9178
+ body: ListDagsResponseBody,
9179
+ };
9180
+ }
9181
+ }
9182
+ exports.ListDagsResponse = ListDagsResponse;
8997
9183
  class ListDataServiceApiAuthoritiesRequest extends $tea.Model {
8998
9184
  constructor(map) {
8999
9185
  super(map);
@@ -15714,6 +15900,7 @@ class GetDagResponseBodyData extends $tea.Model {
15714
15900
  gmtdate: 'Gmtdate',
15715
15901
  modifyTime: 'ModifyTime',
15716
15902
  name: 'Name',
15903
+ opSeq: 'OpSeq',
15717
15904
  projectId: 'ProjectId',
15718
15905
  startTime: 'StartTime',
15719
15906
  status: 'Status',
@@ -15730,6 +15917,7 @@ class GetDagResponseBodyData extends $tea.Model {
15730
15917
  gmtdate: 'number',
15731
15918
  modifyTime: 'number',
15732
15919
  name: 'string',
15920
+ opSeq: 'number',
15733
15921
  projectId: 'number',
15734
15922
  startTime: 'number',
15735
15923
  status: 'string',
@@ -17116,6 +17304,7 @@ class GetInstanceResponseBodyData extends $tea.Model {
17116
17304
  businessId: 'BusinessId',
17117
17305
  connection: 'Connection',
17118
17306
  createTime: 'CreateTime',
17307
+ createUser: 'CreateUser',
17119
17308
  cycTime: 'CycTime',
17120
17309
  dagId: 'DagId',
17121
17310
  dagType: 'DagType',
@@ -17146,6 +17335,7 @@ class GetInstanceResponseBodyData extends $tea.Model {
17146
17335
  businessId: 'number',
17147
17336
  connection: 'string',
17148
17337
  createTime: 'number',
17338
+ createUser: 'string',
17149
17339
  cycTime: 'number',
17150
17340
  dagId: 'number',
17151
17341
  dagType: 'string',
@@ -17343,6 +17533,7 @@ class GetManualDagInstancesResponseBodyInstances extends $tea.Model {
17343
17533
  beginWaitTimeTime: 'BeginWaitTimeTime',
17344
17534
  bizDate: 'BizDate',
17345
17535
  createTime: 'CreateTime',
17536
+ createUser: 'CreateUser',
17346
17537
  cycTime: 'CycTime',
17347
17538
  dagId: 'DagId',
17348
17539
  dagType: 'DagType',
@@ -17363,6 +17554,7 @@ class GetManualDagInstancesResponseBodyInstances extends $tea.Model {
17363
17554
  beginWaitTimeTime: 'number',
17364
17555
  bizDate: 'number',
17365
17556
  createTime: 'number',
17557
+ createUser: 'string',
17366
17558
  cycTime: 'number',
17367
17559
  dagId: 'number',
17368
17560
  dagType: 'string',
@@ -18096,6 +18288,38 @@ class GetMigrationProcessResponseBodyData extends $tea.Model {
18096
18288
  }
18097
18289
  }
18098
18290
  exports.GetMigrationProcessResponseBodyData = GetMigrationProcessResponseBodyData;
18291
+ class GetMigrationSummaryResponseBodyData extends $tea.Model {
18292
+ constructor(map) {
18293
+ super(map);
18294
+ }
18295
+ static names() {
18296
+ return {
18297
+ createUser: 'CreateUser',
18298
+ downloadUrl: 'DownloadUrl',
18299
+ gmtCreate: 'GmtCreate',
18300
+ gmtModified: 'GmtModified',
18301
+ migrationId: 'MigrationId',
18302
+ name: 'Name',
18303
+ opUser: 'OpUser',
18304
+ projectId: 'ProjectId',
18305
+ status: 'Status',
18306
+ };
18307
+ }
18308
+ static types() {
18309
+ return {
18310
+ createUser: 'string',
18311
+ downloadUrl: 'string',
18312
+ gmtCreate: 'number',
18313
+ gmtModified: 'number',
18314
+ migrationId: 'number',
18315
+ name: 'string',
18316
+ opUser: 'string',
18317
+ projectId: 'number',
18318
+ status: 'string',
18319
+ };
18320
+ }
18321
+ }
18322
+ exports.GetMigrationSummaryResponseBodyData = GetMigrationSummaryResponseBodyData;
18099
18323
  class GetNodeResponseBodyData extends $tea.Model {
18100
18324
  constructor(map) {
18101
18325
  super(map);
@@ -19622,6 +19846,62 @@ class ListDISyncTasksResponseBodyTaskList extends $tea.Model {
19622
19846
  }
19623
19847
  }
19624
19848
  exports.ListDISyncTasksResponseBodyTaskList = ListDISyncTasksResponseBodyTaskList;
19849
+ class ListDagsResponseBodyDataDags extends $tea.Model {
19850
+ constructor(map) {
19851
+ super(map);
19852
+ }
19853
+ static names() {
19854
+ return {
19855
+ bizdate: 'Bizdate',
19856
+ createTime: 'CreateTime',
19857
+ createUser: 'CreateUser',
19858
+ dagId: 'DagId',
19859
+ finishTime: 'FinishTime',
19860
+ gmtdate: 'Gmtdate',
19861
+ modifyTime: 'ModifyTime',
19862
+ name: 'Name',
19863
+ opSeq: 'OpSeq',
19864
+ projectId: 'ProjectId',
19865
+ startTime: 'StartTime',
19866
+ status: 'Status',
19867
+ type: 'Type',
19868
+ };
19869
+ }
19870
+ static types() {
19871
+ return {
19872
+ bizdate: 'number',
19873
+ createTime: 'number',
19874
+ createUser: 'string',
19875
+ dagId: 'number',
19876
+ finishTime: 'number',
19877
+ gmtdate: 'number',
19878
+ modifyTime: 'number',
19879
+ name: 'string',
19880
+ opSeq: 'number',
19881
+ projectId: 'number',
19882
+ startTime: 'number',
19883
+ status: 'string',
19884
+ type: 'string',
19885
+ };
19886
+ }
19887
+ }
19888
+ exports.ListDagsResponseBodyDataDags = ListDagsResponseBodyDataDags;
19889
+ class ListDagsResponseBodyData extends $tea.Model {
19890
+ constructor(map) {
19891
+ super(map);
19892
+ }
19893
+ static names() {
19894
+ return {
19895
+ dags: 'Dags',
19896
+ };
19897
+ }
19898
+ static types() {
19899
+ return {
19900
+ dags: { 'type': 'array', 'itemType': ListDagsResponseBodyDataDags },
19901
+ };
19902
+ }
19903
+ }
19904
+ exports.ListDagsResponseBodyData = ListDagsResponseBodyData;
19625
19905
  class ListDataServiceApiAuthoritiesResponseBodyDataApiAuthorizationListAuthorizationRecords extends $tea.Model {
19626
19906
  constructor(map) {
19627
19907
  super(map);
@@ -21040,6 +21320,7 @@ class ListInstancesResponseBodyDataInstances extends $tea.Model {
21040
21320
  businessId: 'BusinessId',
21041
21321
  connection: 'Connection',
21042
21322
  createTime: 'CreateTime',
21323
+ createUser: 'CreateUser',
21043
21324
  cycTime: 'CycTime',
21044
21325
  dagId: 'DagId',
21045
21326
  dagType: 'DagType',
@@ -21071,6 +21352,7 @@ class ListInstancesResponseBodyDataInstances extends $tea.Model {
21071
21352
  businessId: 'number',
21072
21353
  connection: 'string',
21073
21354
  createTime: 'number',
21355
+ createUser: 'string',
21074
21356
  cycTime: 'number',
21075
21357
  dagId: 'number',
21076
21358
  dagType: 'string',
@@ -21127,6 +21409,7 @@ class ListManualDagInstancesResponseBodyInstances extends $tea.Model {
21127
21409
  beginWaitTimeTime: 'BeginWaitTimeTime',
21128
21410
  bizDate: 'BizDate',
21129
21411
  createTime: 'CreateTime',
21412
+ createUser: 'CreateUser',
21130
21413
  cycTime: 'CycTime',
21131
21414
  dagId: 'DagId',
21132
21415
  dagType: 'DagType',
@@ -21147,6 +21430,7 @@ class ListManualDagInstancesResponseBodyInstances extends $tea.Model {
21147
21430
  beginWaitTimeTime: 'number',
21148
21431
  bizDate: 'number',
21149
21432
  createTime: 'number',
21433
+ createUser: 'string',
21150
21434
  cycTime: 'number',
21151
21435
  dagId: 'number',
21152
21436
  dagType: 'string',
@@ -23137,6 +23421,17 @@ class Client extends openapi_client_1.default {
23137
23421
  let runtime = new $Util.RuntimeOptions({});
23138
23422
  return await this.createDataSourceWithOptions(request, runtime);
23139
23423
  }
23424
+ async createExportMigrationWithOptions(request, runtime) {
23425
+ tea_util_1.default.validateModel(request);
23426
+ let req = new $OpenApi.OpenApiRequest({
23427
+ body: tea_util_1.default.toMap(request),
23428
+ });
23429
+ return $tea.cast(await this.doRPCRequest("CreateExportMigration", "2020-05-18", "HTTPS", "POST", "AK", "json", req, runtime), new CreateExportMigrationResponse({}));
23430
+ }
23431
+ async createExportMigration(request) {
23432
+ let runtime = new $Util.RuntimeOptions({});
23433
+ return await this.createExportMigrationWithOptions(request, runtime);
23434
+ }
23140
23435
  async createFileWithOptions(request, runtime) {
23141
23436
  tea_util_1.default.validateModel(request);
23142
23437
  let req = new $OpenApi.OpenApiRequest({
@@ -24220,6 +24515,17 @@ class Client extends openapi_client_1.default {
24220
24515
  let runtime = new $Util.RuntimeOptions({});
24221
24516
  return await this.getMigrationProcessWithOptions(request, runtime);
24222
24517
  }
24518
+ async getMigrationSummaryWithOptions(request, runtime) {
24519
+ tea_util_1.default.validateModel(request);
24520
+ let req = new $OpenApi.OpenApiRequest({
24521
+ body: tea_util_1.default.toMap(request),
24522
+ });
24523
+ return $tea.cast(await this.doRPCRequest("GetMigrationSummary", "2020-05-18", "HTTPS", "POST", "AK", "json", req, runtime), new GetMigrationSummaryResponse({}));
24524
+ }
24525
+ async getMigrationSummary(request) {
24526
+ let runtime = new $Util.RuntimeOptions({});
24527
+ return await this.getMigrationSummaryWithOptions(request, runtime);
24528
+ }
24223
24529
  async getNodeWithOptions(request, runtime) {
24224
24530
  tea_util_1.default.validateModel(request);
24225
24531
  let req = new $OpenApi.OpenApiRequest({
@@ -24554,6 +24860,17 @@ class Client extends openapi_client_1.default {
24554
24860
  let runtime = new $Util.RuntimeOptions({});
24555
24861
  return await this.listDISyncTasksWithOptions(request, runtime);
24556
24862
  }
24863
+ async listDagsWithOptions(request, runtime) {
24864
+ tea_util_1.default.validateModel(request);
24865
+ let req = new $OpenApi.OpenApiRequest({
24866
+ body: tea_util_1.default.toMap(request),
24867
+ });
24868
+ return $tea.cast(await this.doRPCRequest("ListDags", "2020-05-18", "HTTPS", "POST", "AK", "json", req, runtime), new ListDagsResponse({}));
24869
+ }
24870
+ async listDags(request) {
24871
+ let runtime = new $Util.RuntimeOptions({});
24872
+ return await this.listDagsWithOptions(request, runtime);
24873
+ }
24557
24874
  async listDataServiceApiAuthoritiesWithOptions(request, runtime) {
24558
24875
  tea_util_1.default.validateModel(request);
24559
24876
  let req = new $OpenApi.OpenApiRequest({