tencentcloud-sdk-nodejs-dlc 4.0.606 → 4.0.608
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/CHANGELOG.md +316 -0
- package/SERVICE_CHANGELOG.md +349 -118
- package/package.json +1 -1
- package/products.md +34 -34
- package/src/services/dlc/v20210125/dlc_client.ts +40 -2
- package/src/services/dlc/v20210125/dlc_models.ts +181 -8
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +13 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +18 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +156 -8
|
@@ -87,6 +87,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
87
87
|
async CreateNotebookSessionStatementSupportBatchSQL(req, cb) {
|
|
88
88
|
return this.request("CreateNotebookSessionStatementSupportBatchSQL", req, cb);
|
|
89
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* 本接口(DescribeSparkSessionBatchSqlLog)用于获取SparkSQL批任务日志
|
|
92
|
+
*/
|
|
93
|
+
async DescribeSparkSessionBatchSqlLog(req, cb) {
|
|
94
|
+
return this.request("DescribeSparkSessionBatchSqlLog", req, cb);
|
|
95
|
+
}
|
|
90
96
|
/**
|
|
91
97
|
* 切换主备集群
|
|
92
98
|
*/
|
|
@@ -249,6 +255,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
249
255
|
async CreateDatabase(req, cb) {
|
|
250
256
|
return this.request("CreateDatabase", req, cb);
|
|
251
257
|
}
|
|
258
|
+
/**
|
|
259
|
+
* 本接口(CreateSparkSessionBatchSQL)用于提交Spark SQL批任务。
|
|
260
|
+
*/
|
|
261
|
+
async CreateSparkSessionBatchSQL(req, cb) {
|
|
262
|
+
return this.request("CreateSparkSessionBatchSQL", req, cb);
|
|
263
|
+
}
|
|
252
264
|
/**
|
|
253
265
|
* 本接口(DescribeNotebookSessionStatements)用于获取Session Statement列表。
|
|
254
266
|
*/
|
|
@@ -357,6 +369,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
357
369
|
async CreateWorkGroup(req, cb) {
|
|
358
370
|
return this.request("CreateWorkGroup", req, cb);
|
|
359
371
|
}
|
|
372
|
+
/**
|
|
373
|
+
* 本接口(CancelSparkSessionBatchSQL)用于取消Spark SQL批任务。
|
|
374
|
+
*/
|
|
375
|
+
async CancelSparkSessionBatchSQL(req, cb) {
|
|
376
|
+
return this.request("CancelSparkSessionBatchSQL", req, cb);
|
|
377
|
+
}
|
|
360
378
|
/**
|
|
361
379
|
* 本接口(CancelTask),用于取消任务执行
|
|
362
380
|
*/
|
|
@@ -333,6 +333,35 @@ export interface Asset {
|
|
|
333
333
|
*/
|
|
334
334
|
DatasourceId?: number;
|
|
335
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* SparkSQL批任务日志操作信息。
|
|
338
|
+
*/
|
|
339
|
+
export interface SparkSessionBatchLogOperate {
|
|
340
|
+
/**
|
|
341
|
+
* 操作提示
|
|
342
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
343
|
+
*/
|
|
344
|
+
Text?: string;
|
|
345
|
+
/**
|
|
346
|
+
* 操作类型:COPY、LOG、UI、RESULT、List、TAB
|
|
347
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
348
|
+
*/
|
|
349
|
+
Operate?: string;
|
|
350
|
+
/**
|
|
351
|
+
* 补充信息:如:taskid、sessionid、sparkui等
|
|
352
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
353
|
+
*/
|
|
354
|
+
Supplement?: Array<KVPair>;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* DetachUserPolicy返回参数结构体
|
|
358
|
+
*/
|
|
359
|
+
export interface DetachUserPolicyResponse {
|
|
360
|
+
/**
|
|
361
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
362
|
+
*/
|
|
363
|
+
RequestId?: string;
|
|
364
|
+
}
|
|
336
365
|
/**
|
|
337
366
|
* 任务结果信息。
|
|
338
367
|
*/
|
|
@@ -1165,6 +1194,24 @@ export interface DetachWorkGroupPolicyResponse {
|
|
|
1165
1194
|
*/
|
|
1166
1195
|
RequestId?: string;
|
|
1167
1196
|
}
|
|
1197
|
+
/**
|
|
1198
|
+
* DescribeSparkSessionBatchSqlLog返回参数结构体
|
|
1199
|
+
*/
|
|
1200
|
+
export interface DescribeSparkSessionBatchSqlLogResponse {
|
|
1201
|
+
/**
|
|
1202
|
+
* 状态:0:初始化、1:成功、2:失败、3:取消、4:异常;
|
|
1203
|
+
*/
|
|
1204
|
+
State?: number;
|
|
1205
|
+
/**
|
|
1206
|
+
* 日志信息列表
|
|
1207
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1208
|
+
*/
|
|
1209
|
+
LogSet?: Array<SparkSessionBatchLog>;
|
|
1210
|
+
/**
|
|
1211
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1212
|
+
*/
|
|
1213
|
+
RequestId?: string;
|
|
1214
|
+
}
|
|
1168
1215
|
/**
|
|
1169
1216
|
* GenerateCreateMangedTableSql请求参数结构体
|
|
1170
1217
|
*/
|
|
@@ -1864,6 +1911,31 @@ export interface DescribeNotebookSessionStatementsRequest {
|
|
|
1864
1911
|
*/
|
|
1865
1912
|
BatchId: string;
|
|
1866
1913
|
}
|
|
1914
|
+
/**
|
|
1915
|
+
* SparkSQL批任务运行日志
|
|
1916
|
+
*/
|
|
1917
|
+
export interface SparkSessionBatchLog {
|
|
1918
|
+
/**
|
|
1919
|
+
* 日志步骤:BEG/CS/DS/DSS/DSF/FINF/RTO/CANCEL/CT/DT/DTS/DTF/FINT/EXCE
|
|
1920
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1921
|
+
*/
|
|
1922
|
+
Step?: string;
|
|
1923
|
+
/**
|
|
1924
|
+
* 时间
|
|
1925
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1926
|
+
*/
|
|
1927
|
+
Time?: string;
|
|
1928
|
+
/**
|
|
1929
|
+
* 日志提示
|
|
1930
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1931
|
+
*/
|
|
1932
|
+
Message?: string;
|
|
1933
|
+
/**
|
|
1934
|
+
* 日志操作
|
|
1935
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1936
|
+
*/
|
|
1937
|
+
Operate?: Array<SparkSessionBatchLogOperate>;
|
|
1938
|
+
}
|
|
1867
1939
|
/**
|
|
1868
1940
|
* DeleteUser返回参数结构体
|
|
1869
1941
|
*/
|
|
@@ -2504,6 +2576,15 @@ export interface CreateImportTaskRequest {
|
|
|
2504
2576
|
*/
|
|
2505
2577
|
OutputType?: string;
|
|
2506
2578
|
}
|
|
2579
|
+
/**
|
|
2580
|
+
* DescribeSparkSessionBatchSqlLog请求参数结构体
|
|
2581
|
+
*/
|
|
2582
|
+
export interface DescribeSparkSessionBatchSqlLogRequest {
|
|
2583
|
+
/**
|
|
2584
|
+
* SparkSQL唯一标识
|
|
2585
|
+
*/
|
|
2586
|
+
BatchId: string;
|
|
2587
|
+
}
|
|
2507
2588
|
/**
|
|
2508
2589
|
* DescribeScripts请求参数结构体
|
|
2509
2590
|
*/
|
|
@@ -4141,6 +4222,15 @@ export interface DropDMSTableRequest {
|
|
|
4141
4222
|
*/
|
|
4142
4223
|
EnvProps?: KVPair;
|
|
4143
4224
|
}
|
|
4225
|
+
/**
|
|
4226
|
+
* CancelSparkSessionBatchSQL返回参数结构体
|
|
4227
|
+
*/
|
|
4228
|
+
export interface CancelSparkSessionBatchSQLResponse {
|
|
4229
|
+
/**
|
|
4230
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4231
|
+
*/
|
|
4232
|
+
RequestId?: string;
|
|
4233
|
+
}
|
|
4144
4234
|
/**
|
|
4145
4235
|
* DescribeNotebookSessionStatementSqlResult返回参数结构体
|
|
4146
4236
|
*/
|
|
@@ -4280,13 +4370,17 @@ export interface DeleteUsersFromWorkGroupResponse {
|
|
|
4280
4370
|
RequestId?: string;
|
|
4281
4371
|
}
|
|
4282
4372
|
/**
|
|
4283
|
-
*
|
|
4373
|
+
* CreateSparkSessionBatchSQL返回参数结构体
|
|
4284
4374
|
*/
|
|
4285
|
-
export interface
|
|
4375
|
+
export interface CreateSparkSessionBatchSQLResponse {
|
|
4286
4376
|
/**
|
|
4287
|
-
*
|
|
4377
|
+
* 批任务唯一标识
|
|
4288
4378
|
*/
|
|
4289
|
-
|
|
4379
|
+
BatchId?: string;
|
|
4380
|
+
/**
|
|
4381
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4382
|
+
*/
|
|
4383
|
+
RequestId?: string;
|
|
4290
4384
|
}
|
|
4291
4385
|
/**
|
|
4292
4386
|
* DescribeDMSDatabase请求参数结构体
|
|
@@ -4751,13 +4845,13 @@ export interface LockMetaDataRequest {
|
|
|
4751
4845
|
Hostname?: string;
|
|
4752
4846
|
}
|
|
4753
4847
|
/**
|
|
4754
|
-
*
|
|
4848
|
+
* CancelSparkSessionBatchSQL请求参数结构体
|
|
4755
4849
|
*/
|
|
4756
|
-
export interface
|
|
4850
|
+
export interface CancelSparkSessionBatchSQLRequest {
|
|
4757
4851
|
/**
|
|
4758
|
-
*
|
|
4852
|
+
* 批任务唯一标识
|
|
4759
4853
|
*/
|
|
4760
|
-
|
|
4854
|
+
BatchId: string;
|
|
4761
4855
|
}
|
|
4762
4856
|
/**
|
|
4763
4857
|
* DescribeWorkGroups请求参数结构体
|
|
@@ -4809,6 +4903,15 @@ export interface TasksOverview {
|
|
|
4809
4903
|
*/
|
|
4810
4904
|
TotalTaskCount: number;
|
|
4811
4905
|
}
|
|
4906
|
+
/**
|
|
4907
|
+
* UnbindWorkGroupsFromUser请求参数结构体
|
|
4908
|
+
*/
|
|
4909
|
+
export interface UnbindWorkGroupsFromUserRequest {
|
|
4910
|
+
/**
|
|
4911
|
+
* 解绑的工作组Id和用户Id的关联关系
|
|
4912
|
+
*/
|
|
4913
|
+
AddInfo: WorkGroupIdSetOfUserId;
|
|
4914
|
+
}
|
|
4812
4915
|
/**
|
|
4813
4916
|
* UpdateRowFilter返回参数结构体
|
|
4814
4917
|
*/
|
|
@@ -5009,6 +5112,51 @@ export interface CreateSparkAppRequest {
|
|
|
5009
5112
|
*/
|
|
5010
5113
|
SessionId?: string;
|
|
5011
5114
|
}
|
|
5115
|
+
/**
|
|
5116
|
+
* CreateSparkSessionBatchSQL请求参数结构体
|
|
5117
|
+
*/
|
|
5118
|
+
export interface CreateSparkSessionBatchSQLRequest {
|
|
5119
|
+
/**
|
|
5120
|
+
* DLC Spark作业引擎名称
|
|
5121
|
+
*/
|
|
5122
|
+
DataEngineName: string;
|
|
5123
|
+
/**
|
|
5124
|
+
* 运行sql
|
|
5125
|
+
*/
|
|
5126
|
+
ExecuteSQL: string;
|
|
5127
|
+
/**
|
|
5128
|
+
* 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
5129
|
+
*/
|
|
5130
|
+
DriverSize?: string;
|
|
5131
|
+
/**
|
|
5132
|
+
* 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
5133
|
+
*/
|
|
5134
|
+
ExecutorSize?: string;
|
|
5135
|
+
/**
|
|
5136
|
+
* 指定的Executor数量,默认为1
|
|
5137
|
+
*/
|
|
5138
|
+
ExecutorNumbers?: number;
|
|
5139
|
+
/**
|
|
5140
|
+
* 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于ExecutorNumbers
|
|
5141
|
+
*/
|
|
5142
|
+
ExecutorMaxNumbers?: number;
|
|
5143
|
+
/**
|
|
5144
|
+
* 指定的Session超时时间,单位秒,默认3600秒
|
|
5145
|
+
*/
|
|
5146
|
+
TimeoutInSecond?: number;
|
|
5147
|
+
/**
|
|
5148
|
+
* Session唯一标识,当指定sessionid,则使用该session运行任务。
|
|
5149
|
+
*/
|
|
5150
|
+
SessionId?: string;
|
|
5151
|
+
/**
|
|
5152
|
+
* 指定要创建的session名称
|
|
5153
|
+
*/
|
|
5154
|
+
SessionName?: string;
|
|
5155
|
+
/**
|
|
5156
|
+
* Session相关配置,当前支持:dlc.eni、dlc.role.arn、dlc.sql.set.config以及用户指定的配置,注:roleArn必填;
|
|
5157
|
+
*/
|
|
5158
|
+
Arguments?: Array<KVPair>;
|
|
5159
|
+
}
|
|
5012
5160
|
/**
|
|
5013
5161
|
* DescribeDataEngines请求参数结构体
|
|
5014
5162
|
*/
|