tencentcloud-sdk-python-dlc 3.1.22__tar.gz → 3.1.26__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.22 → tencentcloud_sdk_python_dlc-3.1.26}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/setup.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/tencentcloud/dlc/v20210125/dlc_client_async.py +18 -0
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/tencentcloud/dlc/v20210125/models.py +109 -0
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dlc-3.1.26/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dlc-3.1.22/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/README.rst +0 -0
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.22 → tencentcloud_sdk_python_dlc-3.1.26}/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.26
|
|
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.26
|
|
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.26,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dlc SDK for Python',
|
|
@@ -2236,6 +2236,29 @@ class DlcClient(AbstractClient):
|
|
|
2236
2236
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2237
2237
|
|
|
2238
2238
|
|
|
2239
|
+
def DescribeResourceGroupUsageInfo(self, request):
|
|
2240
|
+
r"""本接口根据资源组ID查询资源组CU使用情况
|
|
2241
|
+
|
|
2242
|
+
:param request: Request instance for DescribeResourceGroupUsageInfo.
|
|
2243
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeResourceGroupUsageInfoRequest`
|
|
2244
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeResourceGroupUsageInfoResponse`
|
|
2245
|
+
|
|
2246
|
+
"""
|
|
2247
|
+
try:
|
|
2248
|
+
params = request._serialize()
|
|
2249
|
+
headers = request.headers
|
|
2250
|
+
body = self.call("DescribeResourceGroupUsageInfo", params, headers=headers)
|
|
2251
|
+
response = json.loads(body)
|
|
2252
|
+
model = models.DescribeResourceGroupUsageInfoResponse()
|
|
2253
|
+
model._deserialize(response["Response"])
|
|
2254
|
+
return model
|
|
2255
|
+
except Exception as e:
|
|
2256
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2257
|
+
raise
|
|
2258
|
+
else:
|
|
2259
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2260
|
+
|
|
2261
|
+
|
|
2239
2262
|
def DescribeResultDownload(self, request):
|
|
2240
2263
|
r"""查询结果下载任务
|
|
2241
2264
|
|
|
@@ -1755,6 +1755,24 @@ class DlcClient(AbstractClient):
|
|
|
1755
1755
|
|
|
1756
1756
|
return await self.call_and_deserialize(**kwargs)
|
|
1757
1757
|
|
|
1758
|
+
async def DescribeResourceGroupUsageInfo(
|
|
1759
|
+
self,
|
|
1760
|
+
request: models.DescribeResourceGroupUsageInfoRequest,
|
|
1761
|
+
opts: Dict = None,
|
|
1762
|
+
) -> models.DescribeResourceGroupUsageInfoResponse:
|
|
1763
|
+
"""
|
|
1764
|
+
本接口根据资源组ID查询资源组CU使用情况
|
|
1765
|
+
"""
|
|
1766
|
+
|
|
1767
|
+
kwargs = {}
|
|
1768
|
+
kwargs["action"] = "DescribeResourceGroupUsageInfo"
|
|
1769
|
+
kwargs["params"] = request._serialize()
|
|
1770
|
+
kwargs["resp_cls"] = models.DescribeResourceGroupUsageInfoResponse
|
|
1771
|
+
kwargs["headers"] = request.headers
|
|
1772
|
+
kwargs["opts"] = opts or {}
|
|
1773
|
+
|
|
1774
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1775
|
+
|
|
1758
1776
|
async def DescribeResultDownload(
|
|
1759
1777
|
self,
|
|
1760
1778
|
request: models.DescribeResultDownloadRequest,
|
|
@@ -398,6 +398,9 @@ INVALIDPARAMETER_INVALIDSQLNUM = 'InvalidParameter.InvalidSQLNum'
|
|
|
398
398
|
# 单次获取SQL任务结果数量需大于0条,小于1000条
|
|
399
399
|
INVALIDPARAMETER_INVALIDSQLTASKMAXRESULTS = 'InvalidParameter.InvalidSQLTaskMaxResults'
|
|
400
400
|
|
|
401
|
+
# 指定的弹性范围不合规范
|
|
402
|
+
INVALIDPARAMETER_INVALIDSCHEDULEDELASTICITYMINELASTICCLUSTERS = 'InvalidParameter.InvalidScheduledElasticityMinElasticClusters'
|
|
403
|
+
|
|
401
404
|
# 当前Session仅支持: spark/pyspark/sparkr/sql类型
|
|
402
405
|
INVALIDPARAMETER_INVALIDSESSIONKINDTYPE = 'InvalidParameter.InvalidSessionKindType'
|
|
403
406
|
|
|
@@ -20721,6 +20721,115 @@ class DescribeOtherCHDFSBindingListResponse(AbstractModel):
|
|
|
20721
20721
|
self._RequestId = params.get("RequestId")
|
|
20722
20722
|
|
|
20723
20723
|
|
|
20724
|
+
class DescribeResourceGroupUsageInfoRequest(AbstractModel):
|
|
20725
|
+
r"""DescribeResourceGroupUsageInfo请求参数结构体
|
|
20726
|
+
|
|
20727
|
+
"""
|
|
20728
|
+
|
|
20729
|
+
def __init__(self):
|
|
20730
|
+
r"""
|
|
20731
|
+
:param _SessionId: 资源组ID
|
|
20732
|
+
:type SessionId: str
|
|
20733
|
+
"""
|
|
20734
|
+
self._SessionId = None
|
|
20735
|
+
|
|
20736
|
+
@property
|
|
20737
|
+
def SessionId(self):
|
|
20738
|
+
r"""资源组ID
|
|
20739
|
+
:rtype: str
|
|
20740
|
+
"""
|
|
20741
|
+
return self._SessionId
|
|
20742
|
+
|
|
20743
|
+
@SessionId.setter
|
|
20744
|
+
def SessionId(self, SessionId):
|
|
20745
|
+
self._SessionId = SessionId
|
|
20746
|
+
|
|
20747
|
+
|
|
20748
|
+
def _deserialize(self, params):
|
|
20749
|
+
self._SessionId = params.get("SessionId")
|
|
20750
|
+
memeber_set = set(params.keys())
|
|
20751
|
+
for name, value in vars(self).items():
|
|
20752
|
+
property_name = name[1:]
|
|
20753
|
+
if property_name in memeber_set:
|
|
20754
|
+
memeber_set.remove(property_name)
|
|
20755
|
+
if len(memeber_set) > 0:
|
|
20756
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20757
|
+
|
|
20758
|
+
|
|
20759
|
+
|
|
20760
|
+
class DescribeResourceGroupUsageInfoResponse(AbstractModel):
|
|
20761
|
+
r"""DescribeResourceGroupUsageInfo返回参数结构体
|
|
20762
|
+
|
|
20763
|
+
"""
|
|
20764
|
+
|
|
20765
|
+
def __init__(self):
|
|
20766
|
+
r"""
|
|
20767
|
+
:param _Total: 资源上限
|
|
20768
|
+
:type Total: int
|
|
20769
|
+
:param _Used: 已占用资源
|
|
20770
|
+
:type Used: int
|
|
20771
|
+
:param _Available: 剩余可用资源
|
|
20772
|
+
:type Available: int
|
|
20773
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20774
|
+
:type RequestId: str
|
|
20775
|
+
"""
|
|
20776
|
+
self._Total = None
|
|
20777
|
+
self._Used = None
|
|
20778
|
+
self._Available = None
|
|
20779
|
+
self._RequestId = None
|
|
20780
|
+
|
|
20781
|
+
@property
|
|
20782
|
+
def Total(self):
|
|
20783
|
+
r"""资源上限
|
|
20784
|
+
:rtype: int
|
|
20785
|
+
"""
|
|
20786
|
+
return self._Total
|
|
20787
|
+
|
|
20788
|
+
@Total.setter
|
|
20789
|
+
def Total(self, Total):
|
|
20790
|
+
self._Total = Total
|
|
20791
|
+
|
|
20792
|
+
@property
|
|
20793
|
+
def Used(self):
|
|
20794
|
+
r"""已占用资源
|
|
20795
|
+
:rtype: int
|
|
20796
|
+
"""
|
|
20797
|
+
return self._Used
|
|
20798
|
+
|
|
20799
|
+
@Used.setter
|
|
20800
|
+
def Used(self, Used):
|
|
20801
|
+
self._Used = Used
|
|
20802
|
+
|
|
20803
|
+
@property
|
|
20804
|
+
def Available(self):
|
|
20805
|
+
r"""剩余可用资源
|
|
20806
|
+
:rtype: int
|
|
20807
|
+
"""
|
|
20808
|
+
return self._Available
|
|
20809
|
+
|
|
20810
|
+
@Available.setter
|
|
20811
|
+
def Available(self, Available):
|
|
20812
|
+
self._Available = Available
|
|
20813
|
+
|
|
20814
|
+
@property
|
|
20815
|
+
def RequestId(self):
|
|
20816
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20817
|
+
:rtype: str
|
|
20818
|
+
"""
|
|
20819
|
+
return self._RequestId
|
|
20820
|
+
|
|
20821
|
+
@RequestId.setter
|
|
20822
|
+
def RequestId(self, RequestId):
|
|
20823
|
+
self._RequestId = RequestId
|
|
20824
|
+
|
|
20825
|
+
|
|
20826
|
+
def _deserialize(self, params):
|
|
20827
|
+
self._Total = params.get("Total")
|
|
20828
|
+
self._Used = params.get("Used")
|
|
20829
|
+
self._Available = params.get("Available")
|
|
20830
|
+
self._RequestId = params.get("RequestId")
|
|
20831
|
+
|
|
20832
|
+
|
|
20724
20833
|
class DescribeResultDownloadRequest(AbstractModel):
|
|
20725
20834
|
r"""DescribeResultDownload请求参数结构体
|
|
20726
20835
|
|
|
@@ -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.26
|
|
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.26
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.26
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.22
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|