tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -647,6 +647,29 @@ class DlcClient(AbstractClient):
|
|
|
647
647
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
648
648
|
|
|
649
649
|
|
|
650
|
+
def CreateDatasourceConnection(self, request):
|
|
651
|
+
r"""创建数据源
|
|
652
|
+
|
|
653
|
+
:param request: Request instance for CreateDatasourceConnection.
|
|
654
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.CreateDatasourceConnectionRequest`
|
|
655
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.CreateDatasourceConnectionResponse`
|
|
656
|
+
|
|
657
|
+
"""
|
|
658
|
+
try:
|
|
659
|
+
params = request._serialize()
|
|
660
|
+
headers = request.headers
|
|
661
|
+
body = self.call("CreateDatasourceConnection", params, headers=headers)
|
|
662
|
+
response = json.loads(body)
|
|
663
|
+
model = models.CreateDatasourceConnectionResponse()
|
|
664
|
+
model._deserialize(response["Response"])
|
|
665
|
+
return model
|
|
666
|
+
except Exception as e:
|
|
667
|
+
if isinstance(e, TencentCloudSDKException):
|
|
668
|
+
raise
|
|
669
|
+
else:
|
|
670
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
671
|
+
|
|
672
|
+
|
|
650
673
|
def CreateExportTask(self, request):
|
|
651
674
|
r"""该接口(CreateExportTask)用于创建导出任务
|
|
652
675
|
|
|
@@ -2236,6 +2259,29 @@ class DlcClient(AbstractClient):
|
|
|
2236
2259
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2237
2260
|
|
|
2238
2261
|
|
|
2262
|
+
def DescribeResourceGroupUsageInfo(self, request):
|
|
2263
|
+
r"""本接口根据资源组ID查询资源组CU使用情况
|
|
2264
|
+
|
|
2265
|
+
:param request: Request instance for DescribeResourceGroupUsageInfo.
|
|
2266
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeResourceGroupUsageInfoRequest`
|
|
2267
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeResourceGroupUsageInfoResponse`
|
|
2268
|
+
|
|
2269
|
+
"""
|
|
2270
|
+
try:
|
|
2271
|
+
params = request._serialize()
|
|
2272
|
+
headers = request.headers
|
|
2273
|
+
body = self.call("DescribeResourceGroupUsageInfo", params, headers=headers)
|
|
2274
|
+
response = json.loads(body)
|
|
2275
|
+
model = models.DescribeResourceGroupUsageInfoResponse()
|
|
2276
|
+
model._deserialize(response["Response"])
|
|
2277
|
+
return model
|
|
2278
|
+
except Exception as e:
|
|
2279
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2280
|
+
raise
|
|
2281
|
+
else:
|
|
2282
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2283
|
+
|
|
2284
|
+
|
|
2239
2285
|
def DescribeResultDownload(self, request):
|
|
2240
2286
|
r"""查询结果下载任务
|
|
2241
2287
|
|
|
@@ -3823,6 +3869,29 @@ class DlcClient(AbstractClient):
|
|
|
3823
3869
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3824
3870
|
|
|
3825
3871
|
|
|
3872
|
+
def SetOptimizerPolicy(self, request):
|
|
3873
|
+
r"""设置优化策略的接口
|
|
3874
|
+
|
|
3875
|
+
:param request: Request instance for SetOptimizerPolicy.
|
|
3876
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.SetOptimizerPolicyRequest`
|
|
3877
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.SetOptimizerPolicyResponse`
|
|
3878
|
+
|
|
3879
|
+
"""
|
|
3880
|
+
try:
|
|
3881
|
+
params = request._serialize()
|
|
3882
|
+
headers = request.headers
|
|
3883
|
+
body = self.call("SetOptimizerPolicy", params, headers=headers)
|
|
3884
|
+
response = json.loads(body)
|
|
3885
|
+
model = models.SetOptimizerPolicyResponse()
|
|
3886
|
+
model._deserialize(response["Response"])
|
|
3887
|
+
return model
|
|
3888
|
+
except Exception as e:
|
|
3889
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3890
|
+
raise
|
|
3891
|
+
else:
|
|
3892
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3893
|
+
|
|
3894
|
+
|
|
3826
3895
|
def SuspendResumeDataEngine(self, request):
|
|
3827
3896
|
r"""本接口用于控制挂起或启动数据引擎
|
|
3828
3897
|
|
|
@@ -511,6 +511,24 @@ class DlcClient(AbstractClient):
|
|
|
511
511
|
|
|
512
512
|
return await self.call_and_deserialize(**kwargs)
|
|
513
513
|
|
|
514
|
+
async def CreateDatasourceConnection(
|
|
515
|
+
self,
|
|
516
|
+
request: models.CreateDatasourceConnectionRequest,
|
|
517
|
+
opts: Dict = None,
|
|
518
|
+
) -> models.CreateDatasourceConnectionResponse:
|
|
519
|
+
"""
|
|
520
|
+
创建数据源
|
|
521
|
+
"""
|
|
522
|
+
|
|
523
|
+
kwargs = {}
|
|
524
|
+
kwargs["action"] = "CreateDatasourceConnection"
|
|
525
|
+
kwargs["params"] = request._serialize()
|
|
526
|
+
kwargs["resp_cls"] = models.CreateDatasourceConnectionResponse
|
|
527
|
+
kwargs["headers"] = request.headers
|
|
528
|
+
kwargs["opts"] = opts or {}
|
|
529
|
+
|
|
530
|
+
return await self.call_and_deserialize(**kwargs)
|
|
531
|
+
|
|
514
532
|
async def CreateExportTask(
|
|
515
533
|
self,
|
|
516
534
|
request: models.CreateExportTaskRequest,
|
|
@@ -1755,6 +1773,24 @@ class DlcClient(AbstractClient):
|
|
|
1755
1773
|
|
|
1756
1774
|
return await self.call_and_deserialize(**kwargs)
|
|
1757
1775
|
|
|
1776
|
+
async def DescribeResourceGroupUsageInfo(
|
|
1777
|
+
self,
|
|
1778
|
+
request: models.DescribeResourceGroupUsageInfoRequest,
|
|
1779
|
+
opts: Dict = None,
|
|
1780
|
+
) -> models.DescribeResourceGroupUsageInfoResponse:
|
|
1781
|
+
"""
|
|
1782
|
+
本接口根据资源组ID查询资源组CU使用情况
|
|
1783
|
+
"""
|
|
1784
|
+
|
|
1785
|
+
kwargs = {}
|
|
1786
|
+
kwargs["action"] = "DescribeResourceGroupUsageInfo"
|
|
1787
|
+
kwargs["params"] = request._serialize()
|
|
1788
|
+
kwargs["resp_cls"] = models.DescribeResourceGroupUsageInfoResponse
|
|
1789
|
+
kwargs["headers"] = request.headers
|
|
1790
|
+
kwargs["opts"] = opts or {}
|
|
1791
|
+
|
|
1792
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1793
|
+
|
|
1758
1794
|
async def DescribeResultDownload(
|
|
1759
1795
|
self,
|
|
1760
1796
|
request: models.DescribeResultDownloadRequest,
|
|
@@ -2997,6 +3033,24 @@ class DlcClient(AbstractClient):
|
|
|
2997
3033
|
|
|
2998
3034
|
return await self.call_and_deserialize(**kwargs)
|
|
2999
3035
|
|
|
3036
|
+
async def SetOptimizerPolicy(
|
|
3037
|
+
self,
|
|
3038
|
+
request: models.SetOptimizerPolicyRequest,
|
|
3039
|
+
opts: Dict = None,
|
|
3040
|
+
) -> models.SetOptimizerPolicyResponse:
|
|
3041
|
+
"""
|
|
3042
|
+
设置优化策略的接口
|
|
3043
|
+
"""
|
|
3044
|
+
|
|
3045
|
+
kwargs = {}
|
|
3046
|
+
kwargs["action"] = "SetOptimizerPolicy"
|
|
3047
|
+
kwargs["params"] = request._serialize()
|
|
3048
|
+
kwargs["resp_cls"] = models.SetOptimizerPolicyResponse
|
|
3049
|
+
kwargs["headers"] = request.headers
|
|
3050
|
+
kwargs["opts"] = opts or {}
|
|
3051
|
+
|
|
3052
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3053
|
+
|
|
3000
3054
|
async def SuspendResumeDataEngine(
|
|
3001
3055
|
self,
|
|
3002
3056
|
request: models.SuspendResumeDataEngineRequest,
|
|
@@ -221,6 +221,9 @@ INVALIDPARAMETER_DESCRIBEDATAENGINESSORTBYTYPENOTMATCH = 'InvalidParameter.Descr
|
|
|
221
221
|
# 重复的引擎名称。
|
|
222
222
|
INVALIDPARAMETER_DUPLICATEDATAENGINENAME = 'InvalidParameter.DuplicateDataEngineName'
|
|
223
223
|
|
|
224
|
+
# 数据源名称重复。
|
|
225
|
+
INVALIDPARAMETER_DUPLICATEDATASOURCENAME = 'InvalidParameter.DuplicateDatasourceName'
|
|
226
|
+
|
|
224
227
|
# 重复的工作组名称。
|
|
225
228
|
INVALIDPARAMETER_DUPLICATEGROUPNAME = 'InvalidParameter.DuplicateGroupName'
|
|
226
229
|
|
|
@@ -359,6 +362,9 @@ INVALIDPARAMETER_INVALIDFILTERLENGTH = 'InvalidParameter.InvalidFilterLength'
|
|
|
359
362
|
# 无效的工作组Id。
|
|
360
363
|
INVALIDPARAMETER_INVALIDGROUPID = 'InvalidParameter.InvalidGroupId'
|
|
361
364
|
|
|
365
|
+
# 不支持的Hive版本。
|
|
366
|
+
INVALIDPARAMETER_INVALIDHIVEVERSION = 'InvalidParameter.InvalidHiveVersion'
|
|
367
|
+
|
|
362
368
|
# 请求的消息类型无效。
|
|
363
369
|
INVALIDPARAMETER_INVALIDINFOTYPE = 'InvalidParameter.InvalidInfoType'
|
|
364
370
|
|
|
@@ -398,6 +404,9 @@ INVALIDPARAMETER_INVALIDSQLNUM = 'InvalidParameter.InvalidSQLNum'
|
|
|
398
404
|
# 单次获取SQL任务结果数量需大于0条,小于1000条
|
|
399
405
|
INVALIDPARAMETER_INVALIDSQLTASKMAXRESULTS = 'InvalidParameter.InvalidSQLTaskMaxResults'
|
|
400
406
|
|
|
407
|
+
# 指定的弹性范围不合规范
|
|
408
|
+
INVALIDPARAMETER_INVALIDSCHEDULEDELASTICITYMINELASTICCLUSTERS = 'InvalidParameter.InvalidScheduledElasticityMinElasticClusters'
|
|
409
|
+
|
|
401
410
|
# 当前Session仅支持: spark/pyspark/sparkr/sql类型
|
|
402
411
|
INVALIDPARAMETER_INVALIDSESSIONKINDTYPE = 'InvalidParameter.InvalidSessionKindType'
|
|
403
412
|
|
|
@@ -536,6 +545,9 @@ INVALIDPARAMETER_TASKNOTFOUND = 'InvalidParameter.TaskNotFound'
|
|
|
536
545
|
# 指定的任务状态不匹配,当前仅支持: 0:初始化, 1:运行中, 2:成功, 3:数据写入中, 4:排队中, -1:失败, -3:删除
|
|
537
546
|
INVALIDPARAMETER_TASKSTATETYPENOTMATH = 'InvalidParameter.TaskStateTypeNotMath'
|
|
538
547
|
|
|
548
|
+
# Url格式错误。
|
|
549
|
+
INVALIDPARAMETER_URLFORMATERROR = 'InvalidParameter.UrlFormatError'
|
|
550
|
+
|
|
539
551
|
# Vpc cidr格式错误。
|
|
540
552
|
INVALIDPARAMETER_VPCCIDRFORMATERROR = 'InvalidParameter.VpcCidrFormatError'
|
|
541
553
|
|
|
@@ -707,6 +719,9 @@ UNAUTHORIZEDOPERATION_ADDUSERSTOWORKGROUP = 'UnauthorizedOperation.AddUsersToWor
|
|
|
707
719
|
# 子用户不是管理员,无权绑定工作组到用户。
|
|
708
720
|
UNAUTHORIZEDOPERATION_BINDWORKGROUPSTOUSER = 'UnauthorizedOperation.BindWorkgroupsToUser'
|
|
709
721
|
|
|
722
|
+
# 子用户无权创建联邦查询数据源。
|
|
723
|
+
UNAUTHORIZEDOPERATION_CREATECATALOG = 'UnauthorizedOperation.CreateCatalog'
|
|
724
|
+
|
|
710
725
|
# 子用户不是管理员,无权创建工作组。
|
|
711
726
|
UNAUTHORIZEDOPERATION_CREATEWORKGROUP = 'UnauthorizedOperation.CreateWorkgroup'
|
|
712
727
|
|