tencentcloud-sdk-python-dlc 3.1.179__tar.gz → 3.1.185__tar.gz
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.
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/setup.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/tencentcloud/dlc/v20210125/dlc_client.py +368 -0
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/tencentcloud/dlc/v20210125/dlc_client_async.py +288 -0
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/tencentcloud/dlc/v20210125/errorcodes.py +33 -0
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/tencentcloud/dlc/v20210125/models.py +7667 -1367
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dlc-3.1.185/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dlc-3.1.179/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/README.rst +0 -0
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.179 → tencentcloud_sdk_python_dlc-3.1.185}/tencentcloud_sdk_python_dlc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dlc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.185
|
|
4
4
|
Summary: Tencent Cloud Dlc SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.185
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-dlc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.185,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dlc SDK for Python',
|
|
@@ -1153,6 +1153,75 @@ class DlcClient(AbstractClient):
|
|
|
1153
1153
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1154
1154
|
|
|
1155
1155
|
|
|
1156
|
+
def CreateJob(self, request):
|
|
1157
|
+
r"""创建并提交作业 Action。
|
|
1158
|
+
|
|
1159
|
+
:param request: Request instance for CreateJob.
|
|
1160
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.CreateJobRequest`
|
|
1161
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.CreateJobResponse`
|
|
1162
|
+
|
|
1163
|
+
"""
|
|
1164
|
+
try:
|
|
1165
|
+
params = request._serialize()
|
|
1166
|
+
headers = request.headers
|
|
1167
|
+
body = self.call("CreateJob", params, headers=headers)
|
|
1168
|
+
response = json.loads(body)
|
|
1169
|
+
model = models.CreateJobResponse()
|
|
1170
|
+
model._deserialize(response["Response"])
|
|
1171
|
+
return model
|
|
1172
|
+
except Exception as e:
|
|
1173
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1174
|
+
raise
|
|
1175
|
+
else:
|
|
1176
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
def CreateJobDefinition(self, request):
|
|
1180
|
+
r"""创建作业定义。
|
|
1181
|
+
|
|
1182
|
+
:param request: Request instance for CreateJobDefinition.
|
|
1183
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.CreateJobDefinitionRequest`
|
|
1184
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.CreateJobDefinitionResponse`
|
|
1185
|
+
|
|
1186
|
+
"""
|
|
1187
|
+
try:
|
|
1188
|
+
params = request._serialize()
|
|
1189
|
+
headers = request.headers
|
|
1190
|
+
body = self.call("CreateJobDefinition", params, headers=headers)
|
|
1191
|
+
response = json.loads(body)
|
|
1192
|
+
model = models.CreateJobDefinitionResponse()
|
|
1193
|
+
model._deserialize(response["Response"])
|
|
1194
|
+
return model
|
|
1195
|
+
except Exception as e:
|
|
1196
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1197
|
+
raise
|
|
1198
|
+
else:
|
|
1199
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
def CreateJobFromDefinition(self, request):
|
|
1203
|
+
r"""按作业定义创建作业。
|
|
1204
|
+
|
|
1205
|
+
:param request: Request instance for CreateJobFromDefinition.
|
|
1206
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.CreateJobFromDefinitionRequest`
|
|
1207
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.CreateJobFromDefinitionResponse`
|
|
1208
|
+
|
|
1209
|
+
"""
|
|
1210
|
+
try:
|
|
1211
|
+
params = request._serialize()
|
|
1212
|
+
headers = request.headers
|
|
1213
|
+
body = self.call("CreateJobFromDefinition", params, headers=headers)
|
|
1214
|
+
response = json.loads(body)
|
|
1215
|
+
model = models.CreateJobFromDefinitionResponse()
|
|
1216
|
+
model._deserialize(response["Response"])
|
|
1217
|
+
return model
|
|
1218
|
+
except Exception as e:
|
|
1219
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1220
|
+
raise
|
|
1221
|
+
else:
|
|
1222
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1223
|
+
|
|
1224
|
+
|
|
1156
1225
|
def CreateJobSpec(self, request):
|
|
1157
1226
|
r"""创建作业配置
|
|
1158
1227
|
|
|
@@ -2627,6 +2696,98 @@ class DlcClient(AbstractClient):
|
|
|
2627
2696
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2628
2697
|
|
|
2629
2698
|
|
|
2699
|
+
def DescribeCatalogTableInfo(self, request):
|
|
2700
|
+
r"""获取 Table 详情
|
|
2701
|
+
|
|
2702
|
+
:param request: Request instance for DescribeCatalogTableInfo.
|
|
2703
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeCatalogTableInfoRequest`
|
|
2704
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeCatalogTableInfoResponse`
|
|
2705
|
+
|
|
2706
|
+
"""
|
|
2707
|
+
try:
|
|
2708
|
+
params = request._serialize()
|
|
2709
|
+
headers = request.headers
|
|
2710
|
+
body = self.call("DescribeCatalogTableInfo", params, headers=headers)
|
|
2711
|
+
response = json.loads(body)
|
|
2712
|
+
model = models.DescribeCatalogTableInfoResponse()
|
|
2713
|
+
model._deserialize(response["Response"])
|
|
2714
|
+
return model
|
|
2715
|
+
except Exception as e:
|
|
2716
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2717
|
+
raise
|
|
2718
|
+
else:
|
|
2719
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
def DescribeCatalogTableNames(self, request):
|
|
2723
|
+
r"""获取 Schema 下所有 Table
|
|
2724
|
+
|
|
2725
|
+
:param request: Request instance for DescribeCatalogTableNames.
|
|
2726
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeCatalogTableNamesRequest`
|
|
2727
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeCatalogTableNamesResponse`
|
|
2728
|
+
|
|
2729
|
+
"""
|
|
2730
|
+
try:
|
|
2731
|
+
params = request._serialize()
|
|
2732
|
+
headers = request.headers
|
|
2733
|
+
body = self.call("DescribeCatalogTableNames", params, headers=headers)
|
|
2734
|
+
response = json.loads(body)
|
|
2735
|
+
model = models.DescribeCatalogTableNamesResponse()
|
|
2736
|
+
model._deserialize(response["Response"])
|
|
2737
|
+
return model
|
|
2738
|
+
except Exception as e:
|
|
2739
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2740
|
+
raise
|
|
2741
|
+
else:
|
|
2742
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
def DescribeCatalogTableNamesPage(self, request):
|
|
2746
|
+
r"""分页查询表名
|
|
2747
|
+
|
|
2748
|
+
:param request: Request instance for DescribeCatalogTableNamesPage.
|
|
2749
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeCatalogTableNamesPageRequest`
|
|
2750
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeCatalogTableNamesPageResponse`
|
|
2751
|
+
|
|
2752
|
+
"""
|
|
2753
|
+
try:
|
|
2754
|
+
params = request._serialize()
|
|
2755
|
+
headers = request.headers
|
|
2756
|
+
body = self.call("DescribeCatalogTableNamesPage", params, headers=headers)
|
|
2757
|
+
response = json.loads(body)
|
|
2758
|
+
model = models.DescribeCatalogTableNamesPageResponse()
|
|
2759
|
+
model._deserialize(response["Response"])
|
|
2760
|
+
return model
|
|
2761
|
+
except Exception as e:
|
|
2762
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2763
|
+
raise
|
|
2764
|
+
else:
|
|
2765
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
def DescribeCatalogs(self, request):
|
|
2769
|
+
r"""查询数据目录列表
|
|
2770
|
+
|
|
2771
|
+
:param request: Request instance for DescribeCatalogs.
|
|
2772
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeCatalogsRequest`
|
|
2773
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeCatalogsResponse`
|
|
2774
|
+
|
|
2775
|
+
"""
|
|
2776
|
+
try:
|
|
2777
|
+
params = request._serialize()
|
|
2778
|
+
headers = request.headers
|
|
2779
|
+
body = self.call("DescribeCatalogs", params, headers=headers)
|
|
2780
|
+
response = json.loads(body)
|
|
2781
|
+
model = models.DescribeCatalogsResponse()
|
|
2782
|
+
model._deserialize(response["Response"])
|
|
2783
|
+
return model
|
|
2784
|
+
except Exception as e:
|
|
2785
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2786
|
+
raise
|
|
2787
|
+
else:
|
|
2788
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2789
|
+
|
|
2790
|
+
|
|
2630
2791
|
def DescribeClsTopics(self, request):
|
|
2631
2792
|
r"""查询 CLS 日志主题列表:TopicName 走模糊匹配,TopicId 走精确匹配,两者均可为空;分页返回。
|
|
2632
2793
|
|
|
@@ -3271,6 +3432,144 @@ class DlcClient(AbstractClient):
|
|
|
3271
3432
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3272
3433
|
|
|
3273
3434
|
|
|
3435
|
+
def DescribeJobDefinitionDetail(self, request):
|
|
3436
|
+
r"""查询作业定义详情。
|
|
3437
|
+
|
|
3438
|
+
:param request: Request instance for DescribeJobDefinitionDetail.
|
|
3439
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeJobDefinitionDetailRequest`
|
|
3440
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeJobDefinitionDetailResponse`
|
|
3441
|
+
|
|
3442
|
+
"""
|
|
3443
|
+
try:
|
|
3444
|
+
params = request._serialize()
|
|
3445
|
+
headers = request.headers
|
|
3446
|
+
body = self.call("DescribeJobDefinitionDetail", params, headers=headers)
|
|
3447
|
+
response = json.loads(body)
|
|
3448
|
+
model = models.DescribeJobDefinitionDetailResponse()
|
|
3449
|
+
model._deserialize(response["Response"])
|
|
3450
|
+
return model
|
|
3451
|
+
except Exception as e:
|
|
3452
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3453
|
+
raise
|
|
3454
|
+
else:
|
|
3455
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3456
|
+
|
|
3457
|
+
|
|
3458
|
+
def DescribeJobDefinitions(self, request):
|
|
3459
|
+
r"""查询作业定义列表。
|
|
3460
|
+
|
|
3461
|
+
:param request: Request instance for DescribeJobDefinitions.
|
|
3462
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeJobDefinitionsRequest`
|
|
3463
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeJobDefinitionsResponse`
|
|
3464
|
+
|
|
3465
|
+
"""
|
|
3466
|
+
try:
|
|
3467
|
+
params = request._serialize()
|
|
3468
|
+
headers = request.headers
|
|
3469
|
+
body = self.call("DescribeJobDefinitions", params, headers=headers)
|
|
3470
|
+
response = json.loads(body)
|
|
3471
|
+
model = models.DescribeJobDefinitionsResponse()
|
|
3472
|
+
model._deserialize(response["Response"])
|
|
3473
|
+
return model
|
|
3474
|
+
except Exception as e:
|
|
3475
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3476
|
+
raise
|
|
3477
|
+
else:
|
|
3478
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3479
|
+
|
|
3480
|
+
|
|
3481
|
+
def DescribeJobDetail(self, request):
|
|
3482
|
+
r"""查询作业完整详情 Action。
|
|
3483
|
+
|
|
3484
|
+
:param request: Request instance for DescribeJobDetail.
|
|
3485
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeJobDetailRequest`
|
|
3486
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeJobDetailResponse`
|
|
3487
|
+
|
|
3488
|
+
"""
|
|
3489
|
+
try:
|
|
3490
|
+
params = request._serialize()
|
|
3491
|
+
headers = request.headers
|
|
3492
|
+
body = self.call("DescribeJobDetail", params, headers=headers)
|
|
3493
|
+
response = json.loads(body)
|
|
3494
|
+
model = models.DescribeJobDetailResponse()
|
|
3495
|
+
model._deserialize(response["Response"])
|
|
3496
|
+
return model
|
|
3497
|
+
except Exception as e:
|
|
3498
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3499
|
+
raise
|
|
3500
|
+
else:
|
|
3501
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3502
|
+
|
|
3503
|
+
|
|
3504
|
+
def DescribeJobList(self, request):
|
|
3505
|
+
r"""分页查询作业列表 Action. PageSize 上限 200;QueueName 必须配合 PartitionCode。
|
|
3506
|
+
|
|
3507
|
+
:param request: Request instance for DescribeJobList.
|
|
3508
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeJobListRequest`
|
|
3509
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeJobListResponse`
|
|
3510
|
+
|
|
3511
|
+
"""
|
|
3512
|
+
try:
|
|
3513
|
+
params = request._serialize()
|
|
3514
|
+
headers = request.headers
|
|
3515
|
+
body = self.call("DescribeJobList", params, headers=headers)
|
|
3516
|
+
response = json.loads(body)
|
|
3517
|
+
model = models.DescribeJobListResponse()
|
|
3518
|
+
model._deserialize(response["Response"])
|
|
3519
|
+
return model
|
|
3520
|
+
except Exception as e:
|
|
3521
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3522
|
+
raise
|
|
3523
|
+
else:
|
|
3524
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3525
|
+
|
|
3526
|
+
|
|
3527
|
+
def DescribeJobLog(self, request):
|
|
3528
|
+
r"""统一作业日志查询 Action。
|
|
3529
|
+
|
|
3530
|
+
:param request: Request instance for DescribeJobLog.
|
|
3531
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeJobLogRequest`
|
|
3532
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeJobLogResponse`
|
|
3533
|
+
|
|
3534
|
+
"""
|
|
3535
|
+
try:
|
|
3536
|
+
params = request._serialize()
|
|
3537
|
+
headers = request.headers
|
|
3538
|
+
body = self.call("DescribeJobLog", params, headers=headers)
|
|
3539
|
+
response = json.loads(body)
|
|
3540
|
+
model = models.DescribeJobLogResponse()
|
|
3541
|
+
model._deserialize(response["Response"])
|
|
3542
|
+
return model
|
|
3543
|
+
except Exception as e:
|
|
3544
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3545
|
+
raise
|
|
3546
|
+
else:
|
|
3547
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3548
|
+
|
|
3549
|
+
|
|
3550
|
+
def DescribeJobResult(self, request):
|
|
3551
|
+
r"""获取 SQL 作业结果集 Action. 仅 MinorType=SPARK_SQL 有效(Batch 固定返回 State=NOT_SUPPORTED)。
|
|
3552
|
+
|
|
3553
|
+
:param request: Request instance for DescribeJobResult.
|
|
3554
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeJobResultRequest`
|
|
3555
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeJobResultResponse`
|
|
3556
|
+
|
|
3557
|
+
"""
|
|
3558
|
+
try:
|
|
3559
|
+
params = request._serialize()
|
|
3560
|
+
headers = request.headers
|
|
3561
|
+
body = self.call("DescribeJobResult", params, headers=headers)
|
|
3562
|
+
response = json.loads(body)
|
|
3563
|
+
model = models.DescribeJobResultResponse()
|
|
3564
|
+
model._deserialize(response["Response"])
|
|
3565
|
+
return model
|
|
3566
|
+
except Exception as e:
|
|
3567
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3568
|
+
raise
|
|
3569
|
+
else:
|
|
3570
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3571
|
+
|
|
3572
|
+
|
|
3274
3573
|
def DescribeLakeFsDirSummary(self, request):
|
|
3275
3574
|
r"""查询托管存储指定目录的Summary
|
|
3276
3575
|
|
|
@@ -3964,6 +4263,29 @@ class DlcClient(AbstractClient):
|
|
|
3964
4263
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3965
4264
|
|
|
3966
4265
|
|
|
4266
|
+
def DescribeSchemaNamesPage(self, request):
|
|
4267
|
+
r"""分页查询 Catalog 下 Schema 列表
|
|
4268
|
+
|
|
4269
|
+
:param request: Request instance for DescribeSchemaNamesPage.
|
|
4270
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeSchemaNamesPageRequest`
|
|
4271
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeSchemaNamesPageResponse`
|
|
4272
|
+
|
|
4273
|
+
"""
|
|
4274
|
+
try:
|
|
4275
|
+
params = request._serialize()
|
|
4276
|
+
headers = request.headers
|
|
4277
|
+
body = self.call("DescribeSchemaNamesPage", params, headers=headers)
|
|
4278
|
+
response = json.loads(body)
|
|
4279
|
+
model = models.DescribeSchemaNamesPageResponse()
|
|
4280
|
+
model._deserialize(response["Response"])
|
|
4281
|
+
return model
|
|
4282
|
+
except Exception as e:
|
|
4283
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4284
|
+
raise
|
|
4285
|
+
else:
|
|
4286
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4287
|
+
|
|
4288
|
+
|
|
3967
4289
|
def DescribeScripts(self, request):
|
|
3968
4290
|
r"""该接口(DescribeScripts)用于查询SQL脚本列表
|
|
3969
4291
|
|
|
@@ -4930,6 +5252,29 @@ class DlcClient(AbstractClient):
|
|
|
4930
5252
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4931
5253
|
|
|
4932
5254
|
|
|
5255
|
+
def DescribeWarehouses(self, request):
|
|
5256
|
+
r"""查询计算仓库列表 Action。
|
|
5257
|
+
|
|
5258
|
+
:param request: Request instance for DescribeWarehouses.
|
|
5259
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeWarehousesRequest`
|
|
5260
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeWarehousesResponse`
|
|
5261
|
+
|
|
5262
|
+
"""
|
|
5263
|
+
try:
|
|
5264
|
+
params = request._serialize()
|
|
5265
|
+
headers = request.headers
|
|
5266
|
+
body = self.call("DescribeWarehouses", params, headers=headers)
|
|
5267
|
+
response = json.loads(body)
|
|
5268
|
+
model = models.DescribeWarehousesResponse()
|
|
5269
|
+
model._deserialize(response["Response"])
|
|
5270
|
+
return model
|
|
5271
|
+
except Exception as e:
|
|
5272
|
+
if isinstance(e, TencentCloudSDKException):
|
|
5273
|
+
raise
|
|
5274
|
+
else:
|
|
5275
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5276
|
+
|
|
5277
|
+
|
|
4933
5278
|
def DescribeWorkGroupInfo(self, request):
|
|
4934
5279
|
r"""获取工作组详细信息
|
|
4935
5280
|
|
|
@@ -6747,6 +7092,29 @@ class DlcClient(AbstractClient):
|
|
|
6747
7092
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6748
7093
|
|
|
6749
7094
|
|
|
7095
|
+
def ModifyJobDefinition(self, request):
|
|
7096
|
+
r"""修改作业定义。
|
|
7097
|
+
|
|
7098
|
+
:param request: Request instance for ModifyJobDefinition.
|
|
7099
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.ModifyJobDefinitionRequest`
|
|
7100
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.ModifyJobDefinitionResponse`
|
|
7101
|
+
|
|
7102
|
+
"""
|
|
7103
|
+
try:
|
|
7104
|
+
params = request._serialize()
|
|
7105
|
+
headers = request.headers
|
|
7106
|
+
body = self.call("ModifyJobDefinition", params, headers=headers)
|
|
7107
|
+
response = json.loads(body)
|
|
7108
|
+
model = models.ModifyJobDefinitionResponse()
|
|
7109
|
+
model._deserialize(response["Response"])
|
|
7110
|
+
return model
|
|
7111
|
+
except Exception as e:
|
|
7112
|
+
if isinstance(e, TencentCloudSDKException):
|
|
7113
|
+
raise
|
|
7114
|
+
else:
|
|
7115
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
7116
|
+
|
|
7117
|
+
|
|
6750
7118
|
def ModifyLabPriority(self, request):
|
|
6751
7119
|
r"""修改实验室的调度优先级(1-9,数字越大优先级越高)
|
|
6752
7120
|
|