tencentcloud-sdk-nodejs-dlc 4.0.531 → 4.0.533
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 +378 -0
- package/SERVICE_CHANGELOG.md +550 -15
- package/package.json +1 -1
- package/products.md +26 -26
- package/src/services/dlc/v20210125/dlc_client.ts +47 -10
- package/src/services/dlc/v20210125/dlc_models.ts +343 -35
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +15 -3
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +21 -3
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +289 -33
|
@@ -284,6 +284,16 @@ export interface CreateResultDownloadResponse {
|
|
|
284
284
|
RequestId?: string
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
+
/**
|
|
288
|
+
* ModifyGovernEventRule返回参数结构体
|
|
289
|
+
*/
|
|
290
|
+
export interface ModifyGovernEventRuleResponse {
|
|
291
|
+
/**
|
|
292
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
293
|
+
*/
|
|
294
|
+
RequestId?: string
|
|
295
|
+
}
|
|
296
|
+
|
|
287
297
|
/**
|
|
288
298
|
* CreateDMSDatabase返回参数结构体
|
|
289
299
|
*/
|
|
@@ -305,23 +315,18 @@ export interface CreateStoreLocationResponse {
|
|
|
305
315
|
}
|
|
306
316
|
|
|
307
317
|
/**
|
|
308
|
-
*
|
|
318
|
+
* DescribeNotebookSession返回参数结构体
|
|
309
319
|
*/
|
|
310
|
-
export interface
|
|
311
|
-
/**
|
|
312
|
-
* 数据源名称
|
|
313
|
-
*/
|
|
314
|
-
DatasourceConnectionName?: string
|
|
315
|
-
|
|
320
|
+
export interface DescribeNotebookSessionResponse {
|
|
316
321
|
/**
|
|
317
|
-
*
|
|
322
|
+
* Session详情信息
|
|
318
323
|
*/
|
|
319
|
-
|
|
324
|
+
Session?: NotebookSessionInfo
|
|
320
325
|
|
|
321
326
|
/**
|
|
322
|
-
*
|
|
327
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
323
328
|
*/
|
|
324
|
-
|
|
329
|
+
RequestId?: string
|
|
325
330
|
}
|
|
326
331
|
|
|
327
332
|
/**
|
|
@@ -429,7 +434,7 @@ export interface DescribeTablesResponse {
|
|
|
429
434
|
}
|
|
430
435
|
|
|
431
436
|
/**
|
|
432
|
-
* spark
|
|
437
|
+
* spark作业详情。
|
|
433
438
|
*/
|
|
434
439
|
export interface SparkJobInfo {
|
|
435
440
|
/**
|
|
@@ -588,6 +593,12 @@ export interface SparkJobInfo {
|
|
|
588
593
|
*/
|
|
589
594
|
JobArchives: string
|
|
590
595
|
|
|
596
|
+
/**
|
|
597
|
+
* Spark Image 版本
|
|
598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
599
|
+
*/
|
|
600
|
+
SparkImage: string
|
|
601
|
+
|
|
591
602
|
/**
|
|
592
603
|
* pyspark:python依赖, 除py文件外,还支持zip/egg等归档格式,多文件以逗号分隔
|
|
593
604
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -605,6 +616,12 @@ export interface SparkJobInfo {
|
|
|
605
616
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
606
617
|
*/
|
|
607
618
|
DataEngineStatus: number
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于JobExecutorNums
|
|
622
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
623
|
+
*/
|
|
624
|
+
JobExecutorMaxNumbers?: number
|
|
608
625
|
}
|
|
609
626
|
|
|
610
627
|
/**
|
|
@@ -1116,6 +1133,21 @@ export interface ModifySparkAppRequest {
|
|
|
1116
1133
|
* archives:依赖资源
|
|
1117
1134
|
*/
|
|
1118
1135
|
AppArchives?: string
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* Spark Image 版本
|
|
1139
|
+
*/
|
|
1140
|
+
SparkImage?: string
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* Spark Image 版本名称
|
|
1144
|
+
*/
|
|
1145
|
+
SparkImageVersion?: string
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于AppExecutorNums
|
|
1149
|
+
*/
|
|
1150
|
+
AppExecutorMaxNumbers?: number
|
|
1119
1151
|
}
|
|
1120
1152
|
|
|
1121
1153
|
/**
|
|
@@ -1620,13 +1652,23 @@ export interface DeleteUserResponse {
|
|
|
1620
1652
|
}
|
|
1621
1653
|
|
|
1622
1654
|
/**
|
|
1623
|
-
*
|
|
1655
|
+
* DescribeDatabases返回参数结构体
|
|
1624
1656
|
*/
|
|
1625
|
-
export interface
|
|
1657
|
+
export interface DescribeDatabasesResponse {
|
|
1626
1658
|
/**
|
|
1627
|
-
*
|
|
1659
|
+
* 数据库对象列表。
|
|
1628
1660
|
*/
|
|
1629
|
-
|
|
1661
|
+
DatabaseList: Array<DatabaseResponseInfo>
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* 实例总数。
|
|
1665
|
+
*/
|
|
1666
|
+
TotalCount: number
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1670
|
+
*/
|
|
1671
|
+
RequestId?: string
|
|
1630
1672
|
}
|
|
1631
1673
|
|
|
1632
1674
|
/**
|
|
@@ -1789,6 +1831,81 @@ export interface CreateDMSTableResponse {
|
|
|
1789
1831
|
RequestId?: string
|
|
1790
1832
|
}
|
|
1791
1833
|
|
|
1834
|
+
/**
|
|
1835
|
+
* CreateNotebookSession请求参数结构体
|
|
1836
|
+
*/
|
|
1837
|
+
export interface CreateNotebookSessionRequest {
|
|
1838
|
+
/**
|
|
1839
|
+
* Session名称
|
|
1840
|
+
*/
|
|
1841
|
+
Name: string
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* 类型,当前支持:spark、pyspark、sparkr、sql
|
|
1845
|
+
*/
|
|
1846
|
+
Kind: string
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* DLC Spark作业引擎名称
|
|
1850
|
+
*/
|
|
1851
|
+
DataEngineName: string
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* session文件地址,当前支持:cosn://和lakefs://两种路径
|
|
1855
|
+
*/
|
|
1856
|
+
ProgramDependentFiles?: Array<string>
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* 依赖的jar程序地址,当前支持:cosn://和lakefs://两种路径
|
|
1860
|
+
*/
|
|
1861
|
+
ProgramDependentJars?: Array<string>
|
|
1862
|
+
|
|
1863
|
+
/**
|
|
1864
|
+
* 依赖的python程序地址,当前支持:cosn://和lakefs://两种路径
|
|
1865
|
+
*/
|
|
1866
|
+
ProgramDependentPython?: Array<string>
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* 依赖的pyspark虚拟环境地址,当前支持:cosn://和lakefs://两种路径
|
|
1870
|
+
*/
|
|
1871
|
+
ProgramArchives?: Array<string>
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
1875
|
+
*/
|
|
1876
|
+
DriverSize?: string
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
1880
|
+
*/
|
|
1881
|
+
ExecutorSize?: string
|
|
1882
|
+
|
|
1883
|
+
/**
|
|
1884
|
+
* 指定的Executor数量,默认为1
|
|
1885
|
+
*/
|
|
1886
|
+
ExecutorNumbers?: number
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* Session相关配置,当前支持:dlc.eni、dlc.role.arn、dlc.sql.set.config以及用户指定的配置,注:roleArn必填;
|
|
1890
|
+
*/
|
|
1891
|
+
Arguments?: Array<KVPair>
|
|
1892
|
+
|
|
1893
|
+
/**
|
|
1894
|
+
* 代理用户,默认为root
|
|
1895
|
+
*/
|
|
1896
|
+
ProxyUser?: string
|
|
1897
|
+
|
|
1898
|
+
/**
|
|
1899
|
+
* 指定的Session超时时间,单位秒,默认3600秒
|
|
1900
|
+
*/
|
|
1901
|
+
TimeoutInSecond?: number
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于ExecutorNumbers
|
|
1905
|
+
*/
|
|
1906
|
+
ExecutorMaxNumbers?: number
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1792
1909
|
/**
|
|
1793
1910
|
* 数据表分块信息。
|
|
1794
1911
|
*/
|
|
@@ -1853,13 +1970,13 @@ export interface CreateTaskRequest {
|
|
|
1853
1970
|
}
|
|
1854
1971
|
|
|
1855
1972
|
/**
|
|
1856
|
-
*
|
|
1973
|
+
* DescribeNotebookSession请求参数结构体
|
|
1857
1974
|
*/
|
|
1858
|
-
export interface
|
|
1975
|
+
export interface DescribeNotebookSessionRequest {
|
|
1859
1976
|
/**
|
|
1860
|
-
*
|
|
1977
|
+
* Session唯一标识
|
|
1861
1978
|
*/
|
|
1862
|
-
|
|
1979
|
+
SessionId: string
|
|
1863
1980
|
}
|
|
1864
1981
|
|
|
1865
1982
|
/**
|
|
@@ -1984,12 +2101,12 @@ export interface DescribeSparkAppJobResponse {
|
|
|
1984
2101
|
* spark作业详情
|
|
1985
2102
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1986
2103
|
*/
|
|
1987
|
-
Job
|
|
2104
|
+
Job?: SparkJobInfo
|
|
1988
2105
|
|
|
1989
2106
|
/**
|
|
1990
2107
|
* 查询的spark作业是否存在
|
|
1991
2108
|
*/
|
|
1992
|
-
IsExists
|
|
2109
|
+
IsExists?: boolean
|
|
1993
2110
|
|
|
1994
2111
|
/**
|
|
1995
2112
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2123,6 +2240,26 @@ export interface ReportHeartbeatMetaDataResponse {
|
|
|
2123
2240
|
RequestId?: string
|
|
2124
2241
|
}
|
|
2125
2242
|
|
|
2243
|
+
/**
|
|
2244
|
+
* ReportHeartbeatMetaData请求参数结构体
|
|
2245
|
+
*/
|
|
2246
|
+
export interface ReportHeartbeatMetaDataRequest {
|
|
2247
|
+
/**
|
|
2248
|
+
* 数据源名称
|
|
2249
|
+
*/
|
|
2250
|
+
DatasourceConnectionName?: string
|
|
2251
|
+
|
|
2252
|
+
/**
|
|
2253
|
+
* 锁ID
|
|
2254
|
+
*/
|
|
2255
|
+
LockId?: number
|
|
2256
|
+
|
|
2257
|
+
/**
|
|
2258
|
+
* 事务ID
|
|
2259
|
+
*/
|
|
2260
|
+
TxnId?: number
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2126
2263
|
/**
|
|
2127
2264
|
* CreateDMSTable请求参数结构体
|
|
2128
2265
|
*/
|
|
@@ -2959,6 +3096,125 @@ export interface CreateImportTaskResponse {
|
|
|
2959
3096
|
RequestId?: string
|
|
2960
3097
|
}
|
|
2961
3098
|
|
|
3099
|
+
/**
|
|
3100
|
+
* Notebook Session详细信息。
|
|
3101
|
+
*/
|
|
3102
|
+
export interface NotebookSessionInfo {
|
|
3103
|
+
/**
|
|
3104
|
+
* Session名称
|
|
3105
|
+
*/
|
|
3106
|
+
Name: string
|
|
3107
|
+
|
|
3108
|
+
/**
|
|
3109
|
+
* 类型,当前支持:spark、pyspark、sparkr、sql
|
|
3110
|
+
*/
|
|
3111
|
+
Kind: string
|
|
3112
|
+
|
|
3113
|
+
/**
|
|
3114
|
+
* DLC Spark作业引擎名称
|
|
3115
|
+
*/
|
|
3116
|
+
DataEngineName: string
|
|
3117
|
+
|
|
3118
|
+
/**
|
|
3119
|
+
* Session相关配置,当前支持:eni、roleArn以及用户指定的配置
|
|
3120
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3121
|
+
*/
|
|
3122
|
+
Arguments: Array<KVPair>
|
|
3123
|
+
|
|
3124
|
+
/**
|
|
3125
|
+
* 运行程序地址,当前支持:cosn://和lakefs://两种路径
|
|
3126
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3127
|
+
*/
|
|
3128
|
+
ProgramDependentFiles: Array<string>
|
|
3129
|
+
|
|
3130
|
+
/**
|
|
3131
|
+
* 依赖的jar程序地址,当前支持:cosn://和lakefs://两种路径
|
|
3132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3133
|
+
*/
|
|
3134
|
+
ProgramDependentJars: Array<string>
|
|
3135
|
+
|
|
3136
|
+
/**
|
|
3137
|
+
* 依赖的python程序地址,当前支持:cosn://和lakefs://两种路径
|
|
3138
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3139
|
+
*/
|
|
3140
|
+
ProgramDependentPython: Array<string>
|
|
3141
|
+
|
|
3142
|
+
/**
|
|
3143
|
+
* 依赖的pyspark虚拟环境地址,当前支持:cosn://和lakefs://两种路径
|
|
3144
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3145
|
+
*/
|
|
3146
|
+
ProgramArchives: Array<string>
|
|
3147
|
+
|
|
3148
|
+
/**
|
|
3149
|
+
* 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
3150
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3151
|
+
*/
|
|
3152
|
+
DriverSize: string
|
|
3153
|
+
|
|
3154
|
+
/**
|
|
3155
|
+
* 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
3156
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3157
|
+
*/
|
|
3158
|
+
ExecutorSize: string
|
|
3159
|
+
|
|
3160
|
+
/**
|
|
3161
|
+
* 指定的Executor数量,默认为1
|
|
3162
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3163
|
+
*/
|
|
3164
|
+
ExecutorNumbers: number
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* 代理用户,默认为root
|
|
3168
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3169
|
+
*/
|
|
3170
|
+
ProxyUser: string
|
|
3171
|
+
|
|
3172
|
+
/**
|
|
3173
|
+
* 指定的Session超时时间,单位秒,默认3600秒
|
|
3174
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3175
|
+
*/
|
|
3176
|
+
TimeoutInSecond: number
|
|
3177
|
+
|
|
3178
|
+
/**
|
|
3179
|
+
* Spark任务返回的AppId
|
|
3180
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3181
|
+
*/
|
|
3182
|
+
SparkAppId: string
|
|
3183
|
+
|
|
3184
|
+
/**
|
|
3185
|
+
* Session唯一标识
|
|
3186
|
+
*/
|
|
3187
|
+
SessionId: string
|
|
3188
|
+
|
|
3189
|
+
/**
|
|
3190
|
+
* Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
|
|
3191
|
+
*/
|
|
3192
|
+
State: string
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* Session创建时间
|
|
3196
|
+
*/
|
|
3197
|
+
CreateTime: string
|
|
3198
|
+
|
|
3199
|
+
/**
|
|
3200
|
+
* 其它信息
|
|
3201
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3202
|
+
*/
|
|
3203
|
+
AppInfo: Array<KVPair>
|
|
3204
|
+
|
|
3205
|
+
/**
|
|
3206
|
+
* Spark ui地址
|
|
3207
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3208
|
+
*/
|
|
3209
|
+
SparkUiUrl: string
|
|
3210
|
+
|
|
3211
|
+
/**
|
|
3212
|
+
* 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于ExecutorNumbers
|
|
3213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3214
|
+
*/
|
|
3215
|
+
ExecutorMaxNumbers?: number
|
|
3216
|
+
}
|
|
3217
|
+
|
|
2962
3218
|
/**
|
|
2963
3219
|
* SQL语句对象
|
|
2964
3220
|
*/
|
|
@@ -3551,23 +3807,23 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
|
3551
3807
|
}
|
|
3552
3808
|
|
|
3553
3809
|
/**
|
|
3554
|
-
*
|
|
3810
|
+
* ModifySparkApp返回参数结构体
|
|
3555
3811
|
*/
|
|
3556
|
-
export interface
|
|
3557
|
-
/**
|
|
3558
|
-
* 数据库对象列表。
|
|
3559
|
-
*/
|
|
3560
|
-
DatabaseList: Array<DatabaseResponseInfo>
|
|
3561
|
-
|
|
3812
|
+
export interface ModifySparkAppResponse {
|
|
3562
3813
|
/**
|
|
3563
|
-
*
|
|
3814
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3564
3815
|
*/
|
|
3565
|
-
|
|
3816
|
+
RequestId?: string
|
|
3817
|
+
}
|
|
3566
3818
|
|
|
3819
|
+
/**
|
|
3820
|
+
* CreateStoreLocation请求参数结构体
|
|
3821
|
+
*/
|
|
3822
|
+
export interface CreateStoreLocationRequest {
|
|
3567
3823
|
/**
|
|
3568
|
-
*
|
|
3824
|
+
* 计算结果存储cos路径,如:cosn://bucketname/
|
|
3569
3825
|
*/
|
|
3570
|
-
|
|
3826
|
+
StoreLocation: string
|
|
3571
3827
|
}
|
|
3572
3828
|
|
|
3573
3829
|
/**
|
|
@@ -3991,6 +4247,12 @@ export interface DMSColumnOrder {
|
|
|
3991
4247
|
* CreateSparkApp返回参数结构体
|
|
3992
4248
|
*/
|
|
3993
4249
|
export interface CreateSparkAppResponse {
|
|
4250
|
+
/**
|
|
4251
|
+
* App唯一标识
|
|
4252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4253
|
+
*/
|
|
4254
|
+
SparkAppId?: string
|
|
4255
|
+
|
|
3994
4256
|
/**
|
|
3995
4257
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3996
4258
|
*/
|
|
@@ -4095,12 +4357,12 @@ export interface DescribeSparkAppJobsResponse {
|
|
|
4095
4357
|
/**
|
|
4096
4358
|
* spark作业列表详情
|
|
4097
4359
|
*/
|
|
4098
|
-
SparkAppJobs
|
|
4360
|
+
SparkAppJobs?: Array<SparkJobInfo>
|
|
4099
4361
|
|
|
4100
4362
|
/**
|
|
4101
4363
|
* spark作业总数
|
|
4102
4364
|
*/
|
|
4103
|
-
TotalCount
|
|
4365
|
+
TotalCount?: number
|
|
4104
4366
|
|
|
4105
4367
|
/**
|
|
4106
4368
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -4344,6 +4606,32 @@ export interface CreateTasksResponse {
|
|
|
4344
4606
|
RequestId?: string
|
|
4345
4607
|
}
|
|
4346
4608
|
|
|
4609
|
+
/**
|
|
4610
|
+
* CreateNotebookSession返回参数结构体
|
|
4611
|
+
*/
|
|
4612
|
+
export interface CreateNotebookSessionResponse {
|
|
4613
|
+
/**
|
|
4614
|
+
* Session唯一标识
|
|
4615
|
+
*/
|
|
4616
|
+
SessionId?: string
|
|
4617
|
+
|
|
4618
|
+
/**
|
|
4619
|
+
* Spark任务返回的AppId
|
|
4620
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4621
|
+
*/
|
|
4622
|
+
SparkAppId?: string
|
|
4623
|
+
|
|
4624
|
+
/**
|
|
4625
|
+
* Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
|
|
4626
|
+
*/
|
|
4627
|
+
State?: string
|
|
4628
|
+
|
|
4629
|
+
/**
|
|
4630
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4631
|
+
*/
|
|
4632
|
+
RequestId?: string
|
|
4633
|
+
}
|
|
4634
|
+
|
|
4347
4635
|
/**
|
|
4348
4636
|
* CreateSparkApp请求参数结构体
|
|
4349
4637
|
*/
|
|
@@ -4462,6 +4750,21 @@ export interface CreateSparkAppRequest {
|
|
|
4462
4750
|
* archives:依赖资源
|
|
4463
4751
|
*/
|
|
4464
4752
|
AppArchives?: string
|
|
4753
|
+
|
|
4754
|
+
/**
|
|
4755
|
+
* Spark Image 版本
|
|
4756
|
+
*/
|
|
4757
|
+
SparkImage?: string
|
|
4758
|
+
|
|
4759
|
+
/**
|
|
4760
|
+
* Spark Image 版本名称
|
|
4761
|
+
*/
|
|
4762
|
+
SparkImageVersion?: string
|
|
4763
|
+
|
|
4764
|
+
/**
|
|
4765
|
+
* 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于AppExecutorNums
|
|
4766
|
+
*/
|
|
4767
|
+
AppExecutorMaxNumbers?: number
|
|
4465
4768
|
}
|
|
4466
4769
|
|
|
4467
4770
|
/**
|
|
@@ -4790,6 +5093,11 @@ export interface DescribeDMSTableRequest {
|
|
|
4790
5093
|
Type?: string
|
|
4791
5094
|
}
|
|
4792
5095
|
|
|
5096
|
+
/**
|
|
5097
|
+
* ModifyGovernEventRule请求参数结构体
|
|
5098
|
+
*/
|
|
5099
|
+
export type ModifyGovernEventRuleRequest = null
|
|
5100
|
+
|
|
4793
5101
|
/**
|
|
4794
5102
|
* DescribeViews返回参数结构体
|
|
4795
5103
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeResultDownloadResponse, DescribeTaskResultResponse, AlterDMSTableResponse, DescribeDatabasesRequest, DeleteUserRequest, ListTaskJobLogDetailResponse, CreateResultDownloadResponse, CreateDMSDatabaseResponse, CreateStoreLocationResponse,
|
|
2
|
+
import { DescribeResultDownloadResponse, DescribeTaskResultResponse, AlterDMSTableResponse, DescribeDatabasesRequest, DeleteUserRequest, ListTaskJobLogDetailResponse, CreateResultDownloadResponse, ModifyGovernEventRuleResponse, CreateDMSDatabaseResponse, CreateStoreLocationResponse, DescribeNotebookSessionResponse, DescribeDMSDatabaseResponse, DropDMSDatabaseRequest, CreateScriptResponse, CreateTasksInOrderResponse, DescribeTablesResponse, SuspendResumeDataEngineResponse, DeleteSparkAppRequest, ModifyUserResponse, DeleteScriptResponse, DetachUserPolicyRequest, DescribeSparkAppTasksResponse, DescribeTasksResponse, DescribeDMSTableResponse, DropDMSPartitionsRequest, CreateTasksInOrderRequest, AddDMSPartitionsResponse, DetachWorkGroupPolicyResponse, ModifySparkAppRequest, CreateDatabaseRequest, DescribeDMSTablesResponse, AlterDMSPartitionRequest, CheckLockMetaDataRequest, DescribeSparkAppJobRequest, CreateDatabaseResponse, DescribeTasksRequest, CreateSparkAppTaskRequest, DeleteWorkGroupRequest, UnlockMetaDataRequest, AttachUserPolicyRequest, ListTaskJobLogDetailRequest, AttachWorkGroupPolicyRequest, CreateUserResponse, DeleteUserResponse, DescribeDatabasesResponse, DescribeDMSPartitionsRequest, DescribeSparkAppJobsRequest, CreateDMSTableResponse, CreateNotebookSessionRequest, CreateTaskRequest, DescribeNotebookSessionRequest, CreateTableRequest, DescribeWorkGroupsResponse, CreateImportTaskRequest, DescribeScriptsRequest, DescribeSparkAppJobResponse, DeleteUsersFromWorkGroupResponse, AddUsersToWorkGroupRequest, DescribeStoreLocationRequest, AddUsersToWorkGroupResponse, CreateExportTaskRequest, ReportHeartbeatMetaDataResponse, ReportHeartbeatMetaDataRequest, CreateDMSTableRequest, DropDMSTableRequest, AttachWorkGroupPolicyResponse, ModifyWorkGroupResponse, DescribeDMSTablesRequest, ModifyUserRequest, CreateSparkAppTaskResponse, CancelTaskRequest, BindWorkGroupsToUserResponse, DescribeStoreLocationResponse, DeleteScriptRequest, AddDMSPartitionsRequest, AlterDMSTableRequest, CreateImportTaskResponse, CreateTableResponse, CreateScriptRequest, BindWorkGroupsToUserRequest, DescribeTaskResultRequest, DescribeUsersResponse, CreateUserRequest, ModifyWorkGroupRequest, CancelTaskResponse, UnlockMetaDataResponse, DeleteWorkGroupResponse, DropDMSTableResponse, CreateWorkGroupResponse, DescribeTablesRequest, ModifySparkAppResponse, CreateStoreLocationRequest, AttachUserPolicyResponse, DescribeDMSPartitionsResponse, CreateExportTaskResponse, UnbindWorkGroupsFromUserRequest, DescribeDMSDatabaseRequest, DescribeTableRequest, DropDMSDatabaseResponse, DescribeUsersRequest, DeleteUsersFromWorkGroupRequest, CreateSparkAppResponse, CreateTaskResponse, DeleteSparkAppResponse, AlterDMSPartitionResponse, CreateTasksRequest, SuspendResumeDataEngineRequest, DescribeTableResponse, DescribeSparkAppJobsResponse, DescribeViewsRequest, LockMetaDataRequest, DetachUserPolicyResponse, DescribeWorkGroupsRequest, CreateTasksResponse, CreateNotebookSessionResponse, CreateSparkAppRequest, UnbindWorkGroupsFromUserResponse, DropDMSPartitionsResponse, AlterDMSDatabaseResponse, CreateWorkGroupRequest, DescribeSparkAppTasksRequest, LockMetaDataResponse, CheckLockMetaDataResponse, AlterDMSDatabaseRequest, CreateResultDownloadRequest, CreateDMSDatabaseRequest, DetachWorkGroupPolicyRequest, DescribeDMSTableRequest, ModifyGovernEventRuleRequest, DescribeViewsResponse, DescribeScriptsResponse, DescribeResultDownloadRequest } from "./dlc_models";
|
|
3
3
|
/**
|
|
4
4
|
* dlc client
|
|
5
5
|
* @class
|
|
@@ -30,6 +30,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
30
30
|
* DMS元数据更新表
|
|
31
31
|
*/
|
|
32
32
|
AlterDMSTable(req: AlterDMSTableRequest, cb?: (error: string, rep: AlterDMSTableResponse) => void): Promise<AlterDMSTableResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* 本接口(DescribeNotebookSession)用于获取notebook livy session详情信息
|
|
35
|
+
*/
|
|
36
|
+
DescribeNotebookSession(req: DescribeNotebookSessionRequest, cb?: (error: string, rep: DescribeNotebookSessionResponse) => void): Promise<DescribeNotebookSessionResponse>;
|
|
33
37
|
/**
|
|
34
38
|
* DMS元数据删除库
|
|
35
39
|
*/
|
|
@@ -63,9 +67,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
63
67
|
*/
|
|
64
68
|
DeleteSparkApp(req: DeleteSparkAppRequest, cb?: (error: string, rep: DeleteSparkAppResponse) => void): Promise<DeleteSparkAppResponse>;
|
|
65
69
|
/**
|
|
66
|
-
*
|
|
70
|
+
* 本接口(CreateNotebookSession)用于创建notebook livy session
|
|
67
71
|
*/
|
|
68
|
-
|
|
72
|
+
CreateNotebookSession(req: CreateNotebookSessionRequest, cb?: (error: string, rep: CreateNotebookSessionResponse) => void): Promise<CreateNotebookSessionResponse>;
|
|
69
73
|
/**
|
|
70
74
|
* 本接口(CreateTasks),用于批量创建任务
|
|
71
75
|
*/
|
|
@@ -122,6 +126,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
122
126
|
* 解绑用户上的用户组
|
|
123
127
|
*/
|
|
124
128
|
UnbindWorkGroupsFromUser(req: UnbindWorkGroupsFromUserRequest, cb?: (error: string, rep: UnbindWorkGroupsFromUserResponse) => void): Promise<UnbindWorkGroupsFromUserResponse>;
|
|
129
|
+
/**
|
|
130
|
+
* 获取用户列表信息
|
|
131
|
+
*/
|
|
132
|
+
DescribeUsers(req: DescribeUsersRequest, cb?: (error: string, rep: DescribeUsersResponse) => void): Promise<DescribeUsersResponse>;
|
|
125
133
|
/**
|
|
126
134
|
* 绑定鉴权策略到工作组
|
|
127
135
|
*/
|
|
@@ -238,6 +246,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
238
246
|
* 创建查询结果下载任务
|
|
239
247
|
*/
|
|
240
248
|
CreateResultDownload(req: CreateResultDownloadRequest, cb?: (error: string, rep: CreateResultDownloadResponse) => void): Promise<CreateResultDownloadResponse>;
|
|
249
|
+
/**
|
|
250
|
+
* 修改数据治理事件阈值
|
|
251
|
+
*/
|
|
252
|
+
ModifyGovernEventRule(req?: ModifyGovernEventRuleRequest, cb?: (error: string, rep: ModifyGovernEventRuleResponse) => void): Promise<ModifyGovernEventRuleResponse>;
|
|
241
253
|
/**
|
|
242
254
|
* 查询spark应用的运行任务实例列表
|
|
243
255
|
*/
|
|
@@ -63,6 +63,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
63
63
|
async AlterDMSTable(req, cb) {
|
|
64
64
|
return this.request("AlterDMSTable", req, cb);
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* 本接口(DescribeNotebookSession)用于获取notebook livy session详情信息
|
|
68
|
+
*/
|
|
69
|
+
async DescribeNotebookSession(req, cb) {
|
|
70
|
+
return this.request("DescribeNotebookSession", req, cb);
|
|
71
|
+
}
|
|
66
72
|
/**
|
|
67
73
|
* DMS元数据删除库
|
|
68
74
|
*/
|
|
@@ -112,10 +118,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
112
118
|
return this.request("DeleteSparkApp", req, cb);
|
|
113
119
|
}
|
|
114
120
|
/**
|
|
115
|
-
*
|
|
121
|
+
* 本接口(CreateNotebookSession)用于创建notebook livy session
|
|
116
122
|
*/
|
|
117
|
-
async
|
|
118
|
-
return this.request("
|
|
123
|
+
async CreateNotebookSession(req, cb) {
|
|
124
|
+
return this.request("CreateNotebookSession", req, cb);
|
|
119
125
|
}
|
|
120
126
|
/**
|
|
121
127
|
* 本接口(CreateTasks),用于批量创建任务
|
|
@@ -201,6 +207,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
201
207
|
async UnbindWorkGroupsFromUser(req, cb) {
|
|
202
208
|
return this.request("UnbindWorkGroupsFromUser", req, cb);
|
|
203
209
|
}
|
|
210
|
+
/**
|
|
211
|
+
* 获取用户列表信息
|
|
212
|
+
*/
|
|
213
|
+
async DescribeUsers(req, cb) {
|
|
214
|
+
return this.request("DescribeUsers", req, cb);
|
|
215
|
+
}
|
|
204
216
|
/**
|
|
205
217
|
* 绑定鉴权策略到工作组
|
|
206
218
|
*/
|
|
@@ -375,6 +387,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
375
387
|
async CreateResultDownload(req, cb) {
|
|
376
388
|
return this.request("CreateResultDownload", req, cb);
|
|
377
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
* 修改数据治理事件阈值
|
|
392
|
+
*/
|
|
393
|
+
async ModifyGovernEventRule(req, cb) {
|
|
394
|
+
return this.request("ModifyGovernEventRule", req, cb);
|
|
395
|
+
}
|
|
378
396
|
/**
|
|
379
397
|
* 查询spark应用的运行任务实例列表
|
|
380
398
|
*/
|