@alicloud/dataworks-public20200518 6.0.0 → 6.1.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.d.ts +222 -16
- package/dist/client.js +245 -30
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +362 -18
package/dist/client.d.ts
CHANGED
|
@@ -138,16 +138,33 @@ export declare class Entity extends $tea.Model {
|
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
export declare class LineageEntityVO extends $tea.Model {
|
|
141
|
+
/**
|
|
142
|
+
* @example
|
|
143
|
+
* attribute map
|
|
144
|
+
*/
|
|
145
|
+
attributes?: {
|
|
146
|
+
[key: string]: string;
|
|
147
|
+
};
|
|
141
148
|
/**
|
|
142
149
|
* @example
|
|
143
150
|
* http://domain.test.url/entity
|
|
144
151
|
*/
|
|
145
152
|
detailUrl?: string;
|
|
153
|
+
/**
|
|
154
|
+
* @example
|
|
155
|
+
* maxcompute-table
|
|
156
|
+
*/
|
|
157
|
+
entityType?: string;
|
|
146
158
|
/**
|
|
147
159
|
* @example
|
|
148
160
|
* tableName
|
|
149
161
|
*/
|
|
150
162
|
name?: string;
|
|
163
|
+
/**
|
|
164
|
+
* @example
|
|
165
|
+
* owner
|
|
166
|
+
*/
|
|
167
|
+
owner?: string;
|
|
151
168
|
/**
|
|
152
169
|
* @example
|
|
153
170
|
* dbName
|
|
@@ -168,6 +185,25 @@ export declare class LineageEntityVO extends $tea.Model {
|
|
|
168
185
|
[key: string]: any;
|
|
169
186
|
});
|
|
170
187
|
}
|
|
188
|
+
export declare class LineageRelationRegisterBulkVO extends $tea.Model {
|
|
189
|
+
/**
|
|
190
|
+
* @example
|
|
191
|
+
* 1684327487964
|
|
192
|
+
*/
|
|
193
|
+
createTimestamp?: number;
|
|
194
|
+
destEntities?: LineageEntityVO[];
|
|
195
|
+
relationship?: RelationshipVO;
|
|
196
|
+
srcEntities?: LineageEntityVO[];
|
|
197
|
+
static names(): {
|
|
198
|
+
[key: string]: string;
|
|
199
|
+
};
|
|
200
|
+
static types(): {
|
|
201
|
+
[key: string]: any;
|
|
202
|
+
};
|
|
203
|
+
constructor(map?: {
|
|
204
|
+
[key: string]: any;
|
|
205
|
+
});
|
|
206
|
+
}
|
|
171
207
|
export declare class LineageRelationRegisterVO extends $tea.Model {
|
|
172
208
|
/**
|
|
173
209
|
* @example
|
|
@@ -188,11 +224,15 @@ export declare class LineageRelationRegisterVO extends $tea.Model {
|
|
|
188
224
|
});
|
|
189
225
|
}
|
|
190
226
|
export declare class RelationshipVO extends $tea.Model {
|
|
227
|
+
attributes?: {
|
|
228
|
+
[key: string]: string;
|
|
229
|
+
};
|
|
230
|
+
relationshipGuid?: string;
|
|
191
231
|
/**
|
|
192
232
|
* @example
|
|
193
233
|
* sql
|
|
194
234
|
*/
|
|
195
|
-
|
|
235
|
+
relationshipType?: string;
|
|
196
236
|
static names(): {
|
|
197
237
|
[key: string]: string;
|
|
198
238
|
};
|
|
@@ -3926,6 +3966,7 @@ export declare class CreateFileRequest extends $tea.Model {
|
|
|
3926
3966
|
* {"queue":"default","SPARK_CONF":"--conf spark.driver.memory=2g"}
|
|
3927
3967
|
*/
|
|
3928
3968
|
advancedSettings?: string;
|
|
3969
|
+
applyScheduleImmediately?: boolean;
|
|
3929
3970
|
/**
|
|
3930
3971
|
* @remarks
|
|
3931
3972
|
* Specifies whether to enable the automatic parsing feature for the file. Valid values:
|
|
@@ -8520,6 +8561,7 @@ export declare class DeleteLineageRelationRequest extends $tea.Model {
|
|
|
8520
8561
|
* dfazcdfdfccdedd
|
|
8521
8562
|
*/
|
|
8522
8563
|
relationshipGuid?: string;
|
|
8564
|
+
relationshipType?: string;
|
|
8523
8565
|
/**
|
|
8524
8566
|
* @remarks
|
|
8525
8567
|
* The unique identifier of the source entity.
|
|
@@ -14706,7 +14748,11 @@ export declare class GetDISyncTaskResponse extends $tea.Model {
|
|
|
14706
14748
|
export declare class GetDagRequest extends $tea.Model {
|
|
14707
14749
|
/**
|
|
14708
14750
|
* @remarks
|
|
14709
|
-
* The DAG
|
|
14751
|
+
* The ID of the DAG. You can use one of the following method to obtain the ID:
|
|
14752
|
+
*
|
|
14753
|
+
* * Call the [RunCycleDagNodes](https://help.aliyun.com/document_detail/2780209.html) operation and obtain the value of the **Data** response parameter.
|
|
14754
|
+
* * Call the [RunSmokeTest](https://help.aliyun.com/document_detail/2780210.html) operation and obtain the value of the **Data** response parameter.
|
|
14755
|
+
* * Call the [RunManualDagNodes](https://help.aliyun.com/document_detail/2780218.html) operation and obtain the value of the **DagId** response parameter.
|
|
14710
14756
|
*
|
|
14711
14757
|
* This parameter is required.
|
|
14712
14758
|
*
|
|
@@ -28616,6 +28662,74 @@ export declare class ListTableThemeResponse extends $tea.Model {
|
|
|
28616
28662
|
[key: string]: any;
|
|
28617
28663
|
});
|
|
28618
28664
|
}
|
|
28665
|
+
export declare class ListTablesRequest extends $tea.Model {
|
|
28666
|
+
/**
|
|
28667
|
+
* @remarks
|
|
28668
|
+
* This parameter is required.
|
|
28669
|
+
*
|
|
28670
|
+
* @example
|
|
28671
|
+
* odps
|
|
28672
|
+
* emr
|
|
28673
|
+
* mysql
|
|
28674
|
+
* holo
|
|
28675
|
+
*/
|
|
28676
|
+
dataSourceType?: string;
|
|
28677
|
+
/**
|
|
28678
|
+
* @example
|
|
28679
|
+
* 12222
|
|
28680
|
+
*/
|
|
28681
|
+
nextToken?: string;
|
|
28682
|
+
/**
|
|
28683
|
+
* @example
|
|
28684
|
+
* 10
|
|
28685
|
+
*/
|
|
28686
|
+
pageSize?: number;
|
|
28687
|
+
static names(): {
|
|
28688
|
+
[key: string]: string;
|
|
28689
|
+
};
|
|
28690
|
+
static types(): {
|
|
28691
|
+
[key: string]: any;
|
|
28692
|
+
};
|
|
28693
|
+
constructor(map?: {
|
|
28694
|
+
[key: string]: any;
|
|
28695
|
+
});
|
|
28696
|
+
}
|
|
28697
|
+
export declare class ListTablesResponseBody extends $tea.Model {
|
|
28698
|
+
data?: ListTablesResponseBodyData;
|
|
28699
|
+
/**
|
|
28700
|
+
* @remarks
|
|
28701
|
+
* Id of the request
|
|
28702
|
+
*
|
|
28703
|
+
* @example
|
|
28704
|
+
* E25887B7-579C-54A5-9C4F-83A0DE367DD
|
|
28705
|
+
*/
|
|
28706
|
+
requestId?: string;
|
|
28707
|
+
static names(): {
|
|
28708
|
+
[key: string]: string;
|
|
28709
|
+
};
|
|
28710
|
+
static types(): {
|
|
28711
|
+
[key: string]: any;
|
|
28712
|
+
};
|
|
28713
|
+
constructor(map?: {
|
|
28714
|
+
[key: string]: any;
|
|
28715
|
+
});
|
|
28716
|
+
}
|
|
28717
|
+
export declare class ListTablesResponse extends $tea.Model {
|
|
28718
|
+
headers?: {
|
|
28719
|
+
[key: string]: string;
|
|
28720
|
+
};
|
|
28721
|
+
statusCode?: number;
|
|
28722
|
+
body?: ListTablesResponseBody;
|
|
28723
|
+
static names(): {
|
|
28724
|
+
[key: string]: string;
|
|
28725
|
+
};
|
|
28726
|
+
static types(): {
|
|
28727
|
+
[key: string]: any;
|
|
28728
|
+
};
|
|
28729
|
+
constructor(map?: {
|
|
28730
|
+
[key: string]: any;
|
|
28731
|
+
});
|
|
28732
|
+
}
|
|
28619
28733
|
export declare class ListTopicsRequest extends $tea.Model {
|
|
28620
28734
|
/**
|
|
28621
28735
|
* @remarks
|
|
@@ -35213,7 +35327,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35213
35327
|
* @remarks
|
|
35214
35328
|
* The details about the data source. You are not allowed to change the type of the data source. For example, you are not allowed to change the data source type from MaxCompute to MySQL. Examples of details of some common data sources:
|
|
35215
35329
|
*
|
|
35216
|
-
* *
|
|
35330
|
+
* * odps
|
|
35217
35331
|
*
|
|
35218
35332
|
* {
|
|
35219
35333
|
* "accessId": "xssssss",
|
|
@@ -35224,7 +35338,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35224
35338
|
* "tag": "public"
|
|
35225
35339
|
* }
|
|
35226
35340
|
*
|
|
35227
|
-
* *
|
|
35341
|
+
* * mysql
|
|
35228
35342
|
*
|
|
35229
35343
|
* {
|
|
35230
35344
|
* "database": "xsaxsa",
|
|
@@ -35236,7 +35350,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35236
35350
|
* "username": "xsaxsa"
|
|
35237
35351
|
* }
|
|
35238
35352
|
*
|
|
35239
|
-
* *
|
|
35353
|
+
* * rds
|
|
35240
35354
|
*
|
|
35241
35355
|
* {
|
|
35242
35356
|
* "configType": 1,
|
|
@@ -35248,7 +35362,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35248
35362
|
* "rdsOwnerId": "11111111"
|
|
35249
35363
|
* }
|
|
35250
35364
|
*
|
|
35251
|
-
* *
|
|
35365
|
+
* * oss
|
|
35252
35366
|
*
|
|
35253
35367
|
* {
|
|
35254
35368
|
* "accessId": "sssssxx",
|
|
@@ -35258,7 +35372,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35258
35372
|
* "tag": "public"
|
|
35259
35373
|
* }
|
|
35260
35374
|
*
|
|
35261
|
-
* *
|
|
35375
|
+
* * sqlserver
|
|
35262
35376
|
*
|
|
35263
35377
|
* {
|
|
35264
35378
|
* "jdbcUrl": "jdbc:sqlserver://xsaxsa-xsaxsa.database.xxx.cn:123;DatabaseName=xsxs-xsxs",
|
|
@@ -35267,7 +35381,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35267
35381
|
* "username": "sxaxacdacdd"
|
|
35268
35382
|
* }
|
|
35269
35383
|
*
|
|
35270
|
-
* *
|
|
35384
|
+
* * polardb
|
|
35271
35385
|
*
|
|
35272
35386
|
* {
|
|
35273
35387
|
* "clusterId": "pc-sdadsadsa",
|
|
@@ -35279,7 +35393,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35279
35393
|
* "username": "asdadsads"
|
|
35280
35394
|
* }
|
|
35281
35395
|
*
|
|
35282
|
-
* *
|
|
35396
|
+
* * oracle
|
|
35283
35397
|
*
|
|
35284
35398
|
* {
|
|
35285
35399
|
* "jdbcUrl": "jdbc:oracle:saaa:@xxxxx:1521:PROD",
|
|
@@ -35288,7 +35402,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35288
35402
|
* "username": "sasfadfa"
|
|
35289
35403
|
* }
|
|
35290
35404
|
*
|
|
35291
|
-
* *
|
|
35405
|
+
* * mongodb
|
|
35292
35406
|
*
|
|
35293
35407
|
* {
|
|
35294
35408
|
* "address": "[\\"xsaxxsa.mongodb.rds.aliyuncs.com:3717\\"]",
|
|
@@ -35298,7 +35412,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35298
35412
|
* "username": "dsadsadas"
|
|
35299
35413
|
* }
|
|
35300
35414
|
*
|
|
35301
|
-
* *
|
|
35415
|
+
* * emr
|
|
35302
35416
|
*
|
|
35303
35417
|
* {
|
|
35304
35418
|
* "accessId": "xsaxsa",
|
|
@@ -35314,7 +35428,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35314
35428
|
* "emrProjectId": "FP-sdadsad"
|
|
35315
35429
|
* }
|
|
35316
35430
|
*
|
|
35317
|
-
* *
|
|
35431
|
+
* * postgresql
|
|
35318
35432
|
*
|
|
35319
35433
|
* {
|
|
35320
35434
|
* "jdbcUrl": "jdbc:postgresql://xxxx:1921/ssss",
|
|
@@ -35323,7 +35437,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35323
35437
|
* "username": "sdsasda"
|
|
35324
35438
|
* }
|
|
35325
35439
|
*
|
|
35326
|
-
* *
|
|
35440
|
+
* * analyticdb_for_mysql
|
|
35327
35441
|
*
|
|
35328
35442
|
* {
|
|
35329
35443
|
* "instanceId": "am-sadsada",
|
|
@@ -35333,7 +35447,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35333
35447
|
* "connectionString": "am-xssxsxs.ads.aliyuncs.com:3306"
|
|
35334
35448
|
* }
|
|
35335
35449
|
*
|
|
35336
|
-
* *
|
|
35450
|
+
* * hybriddb_for_postgresql
|
|
35337
35451
|
*
|
|
35338
35452
|
* {
|
|
35339
35453
|
* "connectionString": "gp-xsaxsaxa-master.gpdbmaster.rds.aliyuncs.com",
|
|
@@ -35345,7 +35459,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35345
35459
|
* "username": "sadsad"
|
|
35346
35460
|
* }
|
|
35347
35461
|
*
|
|
35348
|
-
* *
|
|
35462
|
+
* * holo
|
|
35349
35463
|
*
|
|
35350
35464
|
* {
|
|
35351
35465
|
* "accessId": "xsaxsaxs",
|
|
@@ -35355,7 +35469,7 @@ export declare class UpdateDataSourceRequest extends $tea.Model {
|
|
|
35355
35469
|
* "tag": "aliyun"
|
|
35356
35470
|
* }
|
|
35357
35471
|
*
|
|
35358
|
-
* *
|
|
35472
|
+
* * kafka
|
|
35359
35473
|
*
|
|
35360
35474
|
* {
|
|
35361
35475
|
* "instanceId": "xsax-cn-xsaxsa",
|
|
@@ -35487,6 +35601,7 @@ export declare class UpdateFileRequest extends $tea.Model {
|
|
|
35487
35601
|
* {"queue":"default","SPARK_CONF":"--conf spark.driver.memory=2g"}
|
|
35488
35602
|
*/
|
|
35489
35603
|
advancedSettings?: string;
|
|
35604
|
+
applyScheduleImmediately?: boolean;
|
|
35490
35605
|
/**
|
|
35491
35606
|
* @remarks
|
|
35492
35607
|
* Specifies whether the automatic parsing feature is enabled for the file. Valid values:
|
|
@@ -45838,6 +45953,7 @@ export declare class GetFileResponseBodyDataNodeConfigurationOutputParameters ex
|
|
|
45838
45953
|
});
|
|
45839
45954
|
}
|
|
45840
45955
|
export declare class GetFileResponseBodyDataNodeConfiguration extends $tea.Model {
|
|
45956
|
+
applyScheduleImmediately?: string;
|
|
45841
45957
|
/**
|
|
45842
45958
|
* @remarks
|
|
45843
45959
|
* The interval between automatic reruns after an error occurs. Unit: milliseconds.
|
|
@@ -62275,6 +62391,81 @@ export declare class ListTableThemeResponseBodyData extends $tea.Model {
|
|
|
62275
62391
|
[key: string]: any;
|
|
62276
62392
|
});
|
|
62277
62393
|
}
|
|
62394
|
+
export declare class ListTablesResponseBodyDataTableEntityListEntityContent extends $tea.Model {
|
|
62395
|
+
/**
|
|
62396
|
+
* @example
|
|
62397
|
+
* accountId:cn-shanghai:odps:project
|
|
62398
|
+
*/
|
|
62399
|
+
dataSourceQualifiedName?: string;
|
|
62400
|
+
/**
|
|
62401
|
+
* @example
|
|
62402
|
+
* e70f92239d491057f6a2563b545bdaf8cc6b537d9dc55ec84c55f7cfefg
|
|
62403
|
+
*/
|
|
62404
|
+
dataSourceUniqueId?: string;
|
|
62405
|
+
/**
|
|
62406
|
+
* @example
|
|
62407
|
+
* database
|
|
62408
|
+
*/
|
|
62409
|
+
databaseName?: string;
|
|
62410
|
+
/**
|
|
62411
|
+
* @example
|
|
62412
|
+
* rm-uf6rn0123
|
|
62413
|
+
*/
|
|
62414
|
+
instanceId?: string;
|
|
62415
|
+
/**
|
|
62416
|
+
* @example
|
|
62417
|
+
* project
|
|
62418
|
+
*/
|
|
62419
|
+
projectName?: string;
|
|
62420
|
+
/**
|
|
62421
|
+
* @example
|
|
62422
|
+
* table
|
|
62423
|
+
*/
|
|
62424
|
+
tableName?: string;
|
|
62425
|
+
static names(): {
|
|
62426
|
+
[key: string]: string;
|
|
62427
|
+
};
|
|
62428
|
+
static types(): {
|
|
62429
|
+
[key: string]: any;
|
|
62430
|
+
};
|
|
62431
|
+
constructor(map?: {
|
|
62432
|
+
[key: string]: any;
|
|
62433
|
+
});
|
|
62434
|
+
}
|
|
62435
|
+
export declare class ListTablesResponseBodyDataTableEntityList extends $tea.Model {
|
|
62436
|
+
entityContent?: ListTablesResponseBodyDataTableEntityListEntityContent;
|
|
62437
|
+
/**
|
|
62438
|
+
* @example
|
|
62439
|
+
* maxcompute-table.project.table
|
|
62440
|
+
*/
|
|
62441
|
+
entityQualifiedName?: string;
|
|
62442
|
+
static names(): {
|
|
62443
|
+
[key: string]: string;
|
|
62444
|
+
};
|
|
62445
|
+
static types(): {
|
|
62446
|
+
[key: string]: any;
|
|
62447
|
+
};
|
|
62448
|
+
constructor(map?: {
|
|
62449
|
+
[key: string]: any;
|
|
62450
|
+
});
|
|
62451
|
+
}
|
|
62452
|
+
export declare class ListTablesResponseBodyData extends $tea.Model {
|
|
62453
|
+
tableEntityList?: ListTablesResponseBodyDataTableEntityList[];
|
|
62454
|
+
/**
|
|
62455
|
+
* @example
|
|
62456
|
+
* 100
|
|
62457
|
+
*/
|
|
62458
|
+
total?: number;
|
|
62459
|
+
static names(): {
|
|
62460
|
+
[key: string]: string;
|
|
62461
|
+
};
|
|
62462
|
+
static types(): {
|
|
62463
|
+
[key: string]: any;
|
|
62464
|
+
};
|
|
62465
|
+
constructor(map?: {
|
|
62466
|
+
[key: string]: any;
|
|
62467
|
+
});
|
|
62468
|
+
}
|
|
62278
62469
|
export declare class ListTopicsResponseBodyDataTopics extends $tea.Model {
|
|
62279
62470
|
/**
|
|
62280
62471
|
* @remarks
|
|
@@ -67847,6 +68038,21 @@ export default class Client extends OpenApi {
|
|
|
67847
68038
|
* @returns ListTableThemeResponse
|
|
67848
68039
|
*/
|
|
67849
68040
|
listTableTheme(request: ListTableThemeRequest): Promise<ListTableThemeResponse>;
|
|
68041
|
+
/**
|
|
68042
|
+
* 分页获取租户下面的数据源类型粒度的表名称
|
|
68043
|
+
*
|
|
68044
|
+
* @param request - ListTablesRequest
|
|
68045
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
68046
|
+
* @returns ListTablesResponse
|
|
68047
|
+
*/
|
|
68048
|
+
listTablesWithOptions(request: ListTablesRequest, runtime: $Util.RuntimeOptions): Promise<ListTablesResponse>;
|
|
68049
|
+
/**
|
|
68050
|
+
* 分页获取租户下面的数据源类型粒度的表名称
|
|
68051
|
+
*
|
|
68052
|
+
* @param request - ListTablesRequest
|
|
68053
|
+
* @returns ListTablesResponse
|
|
68054
|
+
*/
|
|
68055
|
+
listTables(request: ListTablesRequest): Promise<ListTablesResponse>;
|
|
67850
68056
|
/**
|
|
67851
68057
|
* Queries events.
|
|
67852
68058
|
*
|