tencentcloud-sdk-dlc 3.0.671 → 3.0.672

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0a021b6edc4ae1284a80dd95d47fef195fc9043
4
- data.tar.gz: bbe6cf4e18df2823725b7910079c12c142c89481
3
+ metadata.gz: adacaf45bb2ced0690bb240621db6c739e7a0dfb
4
+ data.tar.gz: 7afdb7884a7330b2f9db12cd56c5d534aadcafcf
5
5
  SHA512:
6
- metadata.gz: 8ed6d26b624e0e9d4e3828a43a865bfb3feacc63d44101cdde47d69df5d1b915752647a278bbeac8890093b06ff6528c1f65e35b1be65bce0ff92c77c5e63e47
7
- data.tar.gz: acb780bcc6ed6ff519d3fef9f4820a9affe5f1608b2d4a0e815a1ca0d0b84294093174f07f8909705cbd7f6862ea61f30233214cca49a68da886b155d5b15e2b
6
+ metadata.gz: 6107f89c94ca9a18cbc8c94692856630456bc11ada260a0678a3440dee644e2ca0a710fe380211ea9ffc899ee5e3f45081e30a9902eb4623f714bbfe2dc95021
7
+ data.tar.gz: 3f3df9793a4cbdf3e51fa1c0ef0fe3d51534c2f1d1f0e7f1168916739975e97caa809aedd19152ac3b9b2db6579fdadeba0143c66ae8f66f6b74cfc5dddc47b7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.671
1
+ 3.0.672
@@ -317,6 +317,78 @@ module TencentCloud
317
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
318
  end
319
319
 
320
+ # 本接口(CheckDataEngineConfigPairsValidity)用于检查引擎用户自定义参数的有效性
321
+
322
+ # @param request: Request instance for CheckDataEngineConfigPairsValidity.
323
+ # @type request: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineConfigPairsValidityRequest`
324
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineConfigPairsValidityResponse`
325
+ def CheckDataEngineConfigPairsValidity(request)
326
+ body = send_request('CheckDataEngineConfigPairsValidity', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = CheckDataEngineConfigPairsValidityResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
344
+ # 本接口(CheckDataEngineImageCanBeRollback)用于查看集群是否能回滚。
345
+
346
+ # @param request: Request instance for CheckDataEngineImageCanBeRollback.
347
+ # @type request: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineImageCanBeRollbackRequest`
348
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineImageCanBeRollbackResponse`
349
+ def CheckDataEngineImageCanBeRollback(request)
350
+ body = send_request('CheckDataEngineImageCanBeRollback', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = CheckDataEngineImageCanBeRollbackResponse.new
354
+ model.deserialize(response['Response'])
355
+ model
356
+ else
357
+ code = response['Response']['Error']['Code']
358
+ message = response['Response']['Error']['Message']
359
+ reqid = response['Response']['RequestId']
360
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
361
+ end
362
+ rescue TencentCloud::Common::TencentCloudSDKException => e
363
+ raise e
364
+ rescue StandardError => e
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
+ end
367
+
368
+ # 本接口(CheckDataEngineImageCanBeUpgrade)用于查看集群镜像是否能够升级。
369
+
370
+ # @param request: Request instance for CheckDataEngineImageCanBeUpgrade.
371
+ # @type request: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineImageCanBeUpgradeRequest`
372
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::CheckDataEngineImageCanBeUpgradeResponse`
373
+ def CheckDataEngineImageCanBeUpgrade(request)
374
+ body = send_request('CheckDataEngineImageCanBeUpgrade', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = CheckDataEngineImageCanBeUpgradeResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
320
392
  # 元数据锁检查
321
393
 
322
394
  # @param request: Request instance for CheckLockMetaData.
@@ -869,6 +941,30 @@ module TencentCloud
869
941
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
870
942
  end
871
943
 
944
+ # 删除数据引擎
945
+
946
+ # @param request: Request instance for DeleteDataEngine.
947
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DeleteDataEngineRequest`
948
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DeleteDataEngineResponse`
949
+ def DeleteDataEngine(request)
950
+ body = send_request('DeleteDataEngine', request.serialize)
951
+ response = JSON.parse(body)
952
+ if response['Response'].key?('Error') == false
953
+ model = DeleteDataEngineResponse.new
954
+ model.deserialize(response['Response'])
955
+ model
956
+ else
957
+ code = response['Response']['Error']['Code']
958
+ message = response['Response']['Error']['Message']
959
+ reqid = response['Response']['RequestId']
960
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
961
+ end
962
+ rescue TencentCloud::Common::TencentCloudSDKException => e
963
+ raise e
964
+ rescue StandardError => e
965
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
+ end
967
+
872
968
  # 本接口(DeleteNotebookSession)用于删除交互式session(notebook)
873
969
 
874
970
  # @param request: Request instance for DeleteNotebookSession.
@@ -1109,6 +1205,78 @@ module TencentCloud
1109
1205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
1206
  end
1111
1207
 
1208
+ # 本接口根据名称用于获取数据引擎详细信息
1209
+
1210
+ # @param request: Request instance for DescribeDataEngine.
1211
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDataEngineRequest`
1212
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDataEngineResponse`
1213
+ def DescribeDataEngine(request)
1214
+ body = send_request('DescribeDataEngine', request.serialize)
1215
+ response = JSON.parse(body)
1216
+ if response['Response'].key?('Error') == false
1217
+ model = DescribeDataEngineResponse.new
1218
+ model.deserialize(response['Response'])
1219
+ model
1220
+ else
1221
+ code = response['Response']['Error']['Code']
1222
+ message = response['Response']['Error']['Message']
1223
+ reqid = response['Response']['RequestId']
1224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1225
+ end
1226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1227
+ raise e
1228
+ rescue StandardError => e
1229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1230
+ end
1231
+
1232
+ # 本接口(DescribeDataEngineImageVersions)用于获取独享集群大版本镜像列表。
1233
+
1234
+ # @param request: Request instance for DescribeDataEngineImageVersions.
1235
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDataEngineImageVersionsRequest`
1236
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDataEngineImageVersionsResponse`
1237
+ def DescribeDataEngineImageVersions(request)
1238
+ body = send_request('DescribeDataEngineImageVersions', request.serialize)
1239
+ response = JSON.parse(body)
1240
+ if response['Response'].key?('Error') == false
1241
+ model = DescribeDataEngineImageVersionsResponse.new
1242
+ model.deserialize(response['Response'])
1243
+ model
1244
+ else
1245
+ code = response['Response']['Error']['Code']
1246
+ message = response['Response']['Error']['Message']
1247
+ reqid = response['Response']['RequestId']
1248
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1249
+ end
1250
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1251
+ raise e
1252
+ rescue StandardError => e
1253
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1254
+ end
1255
+
1256
+ # 本接口(DescribeDataEnginePythonSparkImages)用于获取PYSPARK镜像列表
1257
+
1258
+ # @param request: Request instance for DescribeDataEnginePythonSparkImages.
1259
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDataEnginePythonSparkImagesRequest`
1260
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDataEnginePythonSparkImagesResponse`
1261
+ def DescribeDataEnginePythonSparkImages(request)
1262
+ body = send_request('DescribeDataEnginePythonSparkImages', request.serialize)
1263
+ response = JSON.parse(body)
1264
+ if response['Response'].key?('Error') == false
1265
+ model = DescribeDataEnginePythonSparkImagesResponse.new
1266
+ model.deserialize(response['Response'])
1267
+ model
1268
+ else
1269
+ code = response['Response']['Error']['Code']
1270
+ message = response['Response']['Error']['Message']
1271
+ reqid = response['Response']['RequestId']
1272
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1273
+ end
1274
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1275
+ raise e
1276
+ rescue StandardError => e
1277
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
+ end
1279
+
1112
1280
  # 本接口(DescribeDataEngines)用于查询DataEngines信息列表
1113
1281
 
1114
1282
  # @param request: Request instance for DescribeDataEngines.
@@ -1709,6 +1877,54 @@ module TencentCloud
1709
1877
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1710
1878
  end
1711
1879
 
1880
+ # 查询用户自定义引擎参数
1881
+
1882
+ # @param request: Request instance for DescribeUserDataEngineConfig.
1883
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeUserDataEngineConfigRequest`
1884
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeUserDataEngineConfigResponse`
1885
+ def DescribeUserDataEngineConfig(request)
1886
+ body = send_request('DescribeUserDataEngineConfig', request.serialize)
1887
+ response = JSON.parse(body)
1888
+ if response['Response'].key?('Error') == false
1889
+ model = DescribeUserDataEngineConfigResponse.new
1890
+ model.deserialize(response['Response'])
1891
+ model
1892
+ else
1893
+ code = response['Response']['Error']['Code']
1894
+ message = response['Response']['Error']['Message']
1895
+ reqid = response['Response']['RequestId']
1896
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1897
+ end
1898
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1899
+ raise e
1900
+ rescue StandardError => e
1901
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1902
+ end
1903
+
1904
+ # 获取用户详细信息
1905
+
1906
+ # @param request: Request instance for DescribeUserInfo.
1907
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeUserInfoRequest`
1908
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeUserInfoResponse`
1909
+ def DescribeUserInfo(request)
1910
+ body = send_request('DescribeUserInfo', request.serialize)
1911
+ response = JSON.parse(body)
1912
+ if response['Response'].key?('Error') == false
1913
+ model = DescribeUserInfoResponse.new
1914
+ model.deserialize(response['Response'])
1915
+ model
1916
+ else
1917
+ code = response['Response']['Error']['Code']
1918
+ message = response['Response']['Error']['Message']
1919
+ reqid = response['Response']['RequestId']
1920
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1921
+ end
1922
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1923
+ raise e
1924
+ rescue StandardError => e
1925
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1926
+ end
1927
+
1712
1928
  # 列举用户角色信息
1713
1929
 
1714
1930
  # @param request: Request instance for DescribeUserRoles.
@@ -1733,6 +1949,30 @@ module TencentCloud
1733
1949
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1734
1950
  end
1735
1951
 
1952
+ # 获取用户类型
1953
+
1954
+ # @param request: Request instance for DescribeUserType.
1955
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeUserTypeRequest`
1956
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeUserTypeResponse`
1957
+ def DescribeUserType(request)
1958
+ body = send_request('DescribeUserType', request.serialize)
1959
+ response = JSON.parse(body)
1960
+ if response['Response'].key?('Error') == false
1961
+ model = DescribeUserTypeResponse.new
1962
+ model.deserialize(response['Response'])
1963
+ model
1964
+ else
1965
+ code = response['Response']['Error']['Code']
1966
+ message = response['Response']['Error']['Message']
1967
+ reqid = response['Response']['RequestId']
1968
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1969
+ end
1970
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1971
+ raise e
1972
+ rescue StandardError => e
1973
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1974
+ end
1975
+
1736
1976
  # 获取用户列表信息
1737
1977
 
1738
1978
  # @param request: Request instance for DescribeUsers.
@@ -1781,6 +2021,30 @@ module TencentCloud
1781
2021
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1782
2022
  end
1783
2023
 
2024
+ # 获取工作组详细信息
2025
+
2026
+ # @param request: Request instance for DescribeWorkGroupInfo.
2027
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeWorkGroupInfoRequest`
2028
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeWorkGroupInfoResponse`
2029
+ def DescribeWorkGroupInfo(request)
2030
+ body = send_request('DescribeWorkGroupInfo', request.serialize)
2031
+ response = JSON.parse(body)
2032
+ if response['Response'].key?('Error') == false
2033
+ model = DescribeWorkGroupInfoResponse.new
2034
+ model.deserialize(response['Response'])
2035
+ model
2036
+ else
2037
+ code = response['Response']['Error']['Code']
2038
+ message = response['Response']['Error']['Message']
2039
+ reqid = response['Response']['RequestId']
2040
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2041
+ end
2042
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2043
+ raise e
2044
+ rescue StandardError => e
2045
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2046
+ end
2047
+
1784
2048
  # 获取工作组列表
1785
2049
 
1786
2050
  # @param request: Request instance for DescribeWorkGroups.
@@ -1997,6 +2261,30 @@ module TencentCloud
1997
2261
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1998
2262
  end
1999
2263
 
2264
+ # 修改引擎描述信息
2265
+
2266
+ # @param request: Request instance for ModifyDataEngineDescription.
2267
+ # @type request: :class:`Tencentcloud::dlc::V20210125::ModifyDataEngineDescriptionRequest`
2268
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::ModifyDataEngineDescriptionResponse`
2269
+ def ModifyDataEngineDescription(request)
2270
+ body = send_request('ModifyDataEngineDescription', request.serialize)
2271
+ response = JSON.parse(body)
2272
+ if response['Response'].key?('Error') == false
2273
+ model = ModifyDataEngineDescriptionResponse.new
2274
+ model.deserialize(response['Response'])
2275
+ model
2276
+ else
2277
+ code = response['Response']['Error']['Code']
2278
+ message = response['Response']['Error']['Message']
2279
+ reqid = response['Response']['RequestId']
2280
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2281
+ end
2282
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2283
+ raise e
2284
+ rescue StandardError => e
2285
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2286
+ end
2287
+
2000
2288
  # 修改数据治理事件阈值
2001
2289
 
2002
2290
  # @param request: Request instance for ModifyGovernEventRule.
@@ -2093,6 +2381,30 @@ module TencentCloud
2093
2381
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2094
2382
  end
2095
2383
 
2384
+ # 修改用户类型。只有管理员用户能够调用该接口进行操作
2385
+
2386
+ # @param request: Request instance for ModifyUserType.
2387
+ # @type request: :class:`Tencentcloud::dlc::V20210125::ModifyUserTypeRequest`
2388
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::ModifyUserTypeResponse`
2389
+ def ModifyUserType(request)
2390
+ body = send_request('ModifyUserType', request.serialize)
2391
+ response = JSON.parse(body)
2392
+ if response['Response'].key?('Error') == false
2393
+ model = ModifyUserTypeResponse.new
2394
+ model.deserialize(response['Response'])
2395
+ model
2396
+ else
2397
+ code = response['Response']['Error']['Code']
2398
+ message = response['Response']['Error']['Message']
2399
+ reqid = response['Response']['RequestId']
2400
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2401
+ end
2402
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2403
+ raise e
2404
+ rescue StandardError => e
2405
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2406
+ end
2407
+
2096
2408
  # 修改工作组信息
2097
2409
 
2098
2410
  # @param request: Request instance for ModifyWorkGroup.
@@ -2141,6 +2453,30 @@ module TencentCloud
2141
2453
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2142
2454
  end
2143
2455
 
2456
+ # 续费数据引擎
2457
+
2458
+ # @param request: Request instance for RenewDataEngine.
2459
+ # @type request: :class:`Tencentcloud::dlc::V20210125::RenewDataEngineRequest`
2460
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::RenewDataEngineResponse`
2461
+ def RenewDataEngine(request)
2462
+ body = send_request('RenewDataEngine', request.serialize)
2463
+ response = JSON.parse(body)
2464
+ if response['Response'].key?('Error') == false
2465
+ model = RenewDataEngineResponse.new
2466
+ model.deserialize(response['Response'])
2467
+ model
2468
+ else
2469
+ code = response['Response']['Error']['Code']
2470
+ message = response['Response']['Error']['Message']
2471
+ reqid = response['Response']['RequestId']
2472
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2473
+ end
2474
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2475
+ raise e
2476
+ rescue StandardError => e
2477
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2478
+ end
2479
+
2144
2480
  # 上报元数据心跳
2145
2481
 
2146
2482
  # @param request: Request instance for ReportHeartbeatMetaData.
@@ -2165,6 +2501,54 @@ module TencentCloud
2165
2501
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2166
2502
  end
2167
2503
 
2504
+ # 重启引擎
2505
+
2506
+ # @param request: Request instance for RestartDataEngine.
2507
+ # @type request: :class:`Tencentcloud::dlc::V20210125::RestartDataEngineRequest`
2508
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::RestartDataEngineResponse`
2509
+ def RestartDataEngine(request)
2510
+ body = send_request('RestartDataEngine', request.serialize)
2511
+ response = JSON.parse(body)
2512
+ if response['Response'].key?('Error') == false
2513
+ model = RestartDataEngineResponse.new
2514
+ model.deserialize(response['Response'])
2515
+ model
2516
+ else
2517
+ code = response['Response']['Error']['Code']
2518
+ message = response['Response']['Error']['Message']
2519
+ reqid = response['Response']['RequestId']
2520
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2521
+ end
2522
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2523
+ raise e
2524
+ rescue StandardError => e
2525
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2526
+ end
2527
+
2528
+ # 回滚引擎镜像版本
2529
+
2530
+ # @param request: Request instance for RollbackDataEngineImage.
2531
+ # @type request: :class:`Tencentcloud::dlc::V20210125::RollbackDataEngineImageRequest`
2532
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::RollbackDataEngineImageResponse`
2533
+ def RollbackDataEngineImage(request)
2534
+ body = send_request('RollbackDataEngineImage', request.serialize)
2535
+ response = JSON.parse(body)
2536
+ if response['Response'].key?('Error') == false
2537
+ model = RollbackDataEngineImageResponse.new
2538
+ model.deserialize(response['Response'])
2539
+ model
2540
+ else
2541
+ code = response['Response']['Error']['Code']
2542
+ message = response['Response']['Error']['Message']
2543
+ reqid = response['Response']['RequestId']
2544
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2545
+ end
2546
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2547
+ raise e
2548
+ rescue StandardError => e
2549
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2550
+ end
2551
+
2168
2552
  # 本接口用于控制挂起或启动数据引擎
2169
2553
 
2170
2554
  # @param request: Request instance for SuspendResumeDataEngine.
@@ -2213,6 +2597,30 @@ module TencentCloud
2213
2597
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2214
2598
  end
2215
2599
 
2600
+ # 切换引擎镜像版本
2601
+
2602
+ # @param request: Request instance for SwitchDataEngineImage.
2603
+ # @type request: :class:`Tencentcloud::dlc::V20210125::SwitchDataEngineImageRequest`
2604
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::SwitchDataEngineImageResponse`
2605
+ def SwitchDataEngineImage(request)
2606
+ body = send_request('SwitchDataEngineImage', request.serialize)
2607
+ response = JSON.parse(body)
2608
+ if response['Response'].key?('Error') == false
2609
+ model = SwitchDataEngineImageResponse.new
2610
+ model.deserialize(response['Response'])
2611
+ model
2612
+ else
2613
+ code = response['Response']['Error']['Code']
2614
+ message = response['Response']['Error']['Message']
2615
+ reqid = response['Response']['RequestId']
2616
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2617
+ end
2618
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2619
+ raise e
2620
+ rescue StandardError => e
2621
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2622
+ end
2623
+
2216
2624
  # 解绑用户上的用户组
2217
2625
 
2218
2626
  # @param request: Request instance for UnbindWorkGroupsFromUser.
@@ -2261,6 +2669,54 @@ module TencentCloud
2261
2669
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2262
2670
  end
2263
2671
 
2672
+ # 本接口用于更新数据引擎配置
2673
+
2674
+ # @param request: Request instance for UpdateDataEngine.
2675
+ # @type request: :class:`Tencentcloud::dlc::V20210125::UpdateDataEngineRequest`
2676
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::UpdateDataEngineResponse`
2677
+ def UpdateDataEngine(request)
2678
+ body = send_request('UpdateDataEngine', request.serialize)
2679
+ response = JSON.parse(body)
2680
+ if response['Response'].key?('Error') == false
2681
+ model = UpdateDataEngineResponse.new
2682
+ model.deserialize(response['Response'])
2683
+ model
2684
+ else
2685
+ code = response['Response']['Error']['Code']
2686
+ message = response['Response']['Error']['Message']
2687
+ reqid = response['Response']['RequestId']
2688
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2689
+ end
2690
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2691
+ raise e
2692
+ rescue StandardError => e
2693
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2694
+ end
2695
+
2696
+ # 用户某种操作,触发引擎配置修改
2697
+
2698
+ # @param request: Request instance for UpdateDataEngineConfig.
2699
+ # @type request: :class:`Tencentcloud::dlc::V20210125::UpdateDataEngineConfigRequest`
2700
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::UpdateDataEngineConfigResponse`
2701
+ def UpdateDataEngineConfig(request)
2702
+ body = send_request('UpdateDataEngineConfig', request.serialize)
2703
+ response = JSON.parse(body)
2704
+ if response['Response'].key?('Error') == false
2705
+ model = UpdateDataEngineConfigResponse.new
2706
+ model.deserialize(response['Response'])
2707
+ model
2708
+ else
2709
+ code = response['Response']['Error']['Code']
2710
+ message = response['Response']['Error']['Message']
2711
+ reqid = response['Response']['RequestId']
2712
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2713
+ end
2714
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2715
+ raise e
2716
+ rescue StandardError => e
2717
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2718
+ end
2719
+
2264
2720
  # 此接口用于更新行过滤规则。注意只能更新过滤规则,不能更新规格对象catalog,database和table。
2265
2721
 
2266
2722
  # @param request: Request instance for UpdateRowFilter.
@@ -2285,6 +2741,54 @@ module TencentCloud
2285
2741
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2286
2742
  end
2287
2743
 
2744
+ # 修改用户引擎自定义配置
2745
+
2746
+ # @param request: Request instance for UpdateUserDataEngineConfig.
2747
+ # @type request: :class:`Tencentcloud::dlc::V20210125::UpdateUserDataEngineConfigRequest`
2748
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::UpdateUserDataEngineConfigResponse`
2749
+ def UpdateUserDataEngineConfig(request)
2750
+ body = send_request('UpdateUserDataEngineConfig', request.serialize)
2751
+ response = JSON.parse(body)
2752
+ if response['Response'].key?('Error') == false
2753
+ model = UpdateUserDataEngineConfigResponse.new
2754
+ model.deserialize(response['Response'])
2755
+ model
2756
+ else
2757
+ code = response['Response']['Error']['Code']
2758
+ message = response['Response']['Error']['Message']
2759
+ reqid = response['Response']['RequestId']
2760
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2761
+ end
2762
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2763
+ raise e
2764
+ rescue StandardError => e
2765
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2766
+ end
2767
+
2768
+ # 升级引擎镜像
2769
+
2770
+ # @param request: Request instance for UpgradeDataEngineImage.
2771
+ # @type request: :class:`Tencentcloud::dlc::V20210125::UpgradeDataEngineImageRequest`
2772
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::UpgradeDataEngineImageResponse`
2773
+ def UpgradeDataEngineImage(request)
2774
+ body = send_request('UpgradeDataEngineImage', request.serialize)
2775
+ response = JSON.parse(body)
2776
+ if response['Response'].key?('Error') == false
2777
+ model = UpgradeDataEngineImageResponse.new
2778
+ model.deserialize(response['Response'])
2779
+ model
2780
+ else
2781
+ code = response['Response']['Error']['Code']
2782
+ message = response['Response']['Error']['Message']
2783
+ reqid = response['Response']['RequestId']
2784
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2785
+ end
2786
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2787
+ raise e
2788
+ rescue StandardError => e
2789
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2790
+ end
2791
+
2288
2792
 
2289
2793
  end
2290
2794
  end