tencentcloud-sdk-python-dlc 3.1.87__tar.gz → 3.1.95__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/tencentcloud/dlc/v20210125/dlc_client.py +46 -0
  5. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/tencentcloud/dlc/v20210125/dlc_client_async.py +36 -0
  6. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/tencentcloud/dlc/v20210125/models.py +113 -0
  7. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_dlc-3.1.95/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_dlc-3.1.87/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/README.rst +0 -0
  11. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/tencentcloud/dlc/__init__.py +0 -0
  13. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/tencentcloud/dlc/v20210125/__init__.py +0 -0
  14. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/tencentcloud/dlc/v20210125/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_dlc-3.1.87 → tencentcloud_sdk_python_dlc-3.1.95}/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.87
3
+ Version: 3.1.95
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.87
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.95
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.87,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.95,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Dlc SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.87'
17
+ __version__ = '3.1.95'
@@ -2581,6 +2581,29 @@ class DlcClient(AbstractClient):
2581
2581
  raise TencentCloudSDKException(type(e).__name__, str(e))
2582
2582
 
2583
2583
 
2584
+ def DescribeTCLakeMetaInstance(self, request):
2585
+ r"""是否成功开通TCLake
2586
+
2587
+ :param request: Request instance for DescribeTCLakeMetaInstance.
2588
+ :type request: :class:`tencentcloud.dlc.v20210125.models.DescribeTCLakeMetaInstanceRequest`
2589
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeTCLakeMetaInstanceResponse`
2590
+
2591
+ """
2592
+ try:
2593
+ params = request._serialize()
2594
+ headers = request.headers
2595
+ body = self.call("DescribeTCLakeMetaInstance", params, headers=headers)
2596
+ response = json.loads(body)
2597
+ model = models.DescribeTCLakeMetaInstanceResponse()
2598
+ model._deserialize(response["Response"])
2599
+ return model
2600
+ except Exception as e:
2601
+ if isinstance(e, TencentCloudSDKException):
2602
+ raise
2603
+ else:
2604
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2605
+
2606
+
2584
2607
  def DescribeTable(self, request):
2585
2608
  r"""本接口(DescribeTable),用于查询单个表的详细信息。
2586
2609
 
@@ -3363,6 +3386,29 @@ class DlcClient(AbstractClient):
3363
3386
  raise TencentCloudSDKException(type(e).__name__, str(e))
3364
3387
 
3365
3388
 
3389
+ def InitializeTCLake(self, request):
3390
+ r"""开通TCLake
3391
+
3392
+ :param request: Request instance for InitializeTCLake.
3393
+ :type request: :class:`tencentcloud.dlc.v20210125.models.InitializeTCLakeRequest`
3394
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.InitializeTCLakeResponse`
3395
+
3396
+ """
3397
+ try:
3398
+ params = request._serialize()
3399
+ headers = request.headers
3400
+ body = self.call("InitializeTCLake", params, headers=headers)
3401
+ response = json.loads(body)
3402
+ model = models.InitializeTCLakeResponse()
3403
+ model._deserialize(response["Response"])
3404
+ return model
3405
+ except Exception as e:
3406
+ if isinstance(e, TencentCloudSDKException):
3407
+ raise
3408
+ else:
3409
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3410
+
3411
+
3366
3412
  def LaunchStandardEngineResourceGroups(self, request):
3367
3413
  r"""启动标准引擎资源组
3368
3414
 
@@ -2025,6 +2025,24 @@ class DlcClient(AbstractClient):
2025
2025
 
2026
2026
  return await self.call_and_deserialize(**kwargs)
2027
2027
 
2028
+ async def DescribeTCLakeMetaInstance(
2029
+ self,
2030
+ request: models.DescribeTCLakeMetaInstanceRequest,
2031
+ opts: Dict = None,
2032
+ ) -> models.DescribeTCLakeMetaInstanceResponse:
2033
+ """
2034
+ 是否成功开通TCLake
2035
+ """
2036
+
2037
+ kwargs = {}
2038
+ kwargs["action"] = "DescribeTCLakeMetaInstance"
2039
+ kwargs["params"] = request._serialize()
2040
+ kwargs["resp_cls"] = models.DescribeTCLakeMetaInstanceResponse
2041
+ kwargs["headers"] = request.headers
2042
+ kwargs["opts"] = opts or {}
2043
+
2044
+ return await self.call_and_deserialize(**kwargs)
2045
+
2028
2046
  async def DescribeTable(
2029
2047
  self,
2030
2048
  request: models.DescribeTableRequest,
@@ -2637,6 +2655,24 @@ class DlcClient(AbstractClient):
2637
2655
 
2638
2656
  return await self.call_and_deserialize(**kwargs)
2639
2657
 
2658
+ async def InitializeTCLake(
2659
+ self,
2660
+ request: models.InitializeTCLakeRequest,
2661
+ opts: Dict = None,
2662
+ ) -> models.InitializeTCLakeResponse:
2663
+ """
2664
+ 开通TCLake
2665
+ """
2666
+
2667
+ kwargs = {}
2668
+ kwargs["action"] = "InitializeTCLake"
2669
+ kwargs["params"] = request._serialize()
2670
+ kwargs["resp_cls"] = models.InitializeTCLakeResponse
2671
+ kwargs["headers"] = request.headers
2672
+ kwargs["opts"] = opts or {}
2673
+
2674
+ return await self.call_and_deserialize(**kwargs)
2675
+
2640
2676
  async def LaunchStandardEngineResourceGroups(
2641
2677
  self,
2642
2678
  request: models.LaunchStandardEngineResourceGroupsRequest,
@@ -22836,6 +22836,55 @@ class DescribeSubUserAccessPolicyResponse(AbstractModel):
22836
22836
  self._RequestId = params.get("RequestId")
22837
22837
 
22838
22838
 
22839
+ class DescribeTCLakeMetaInstanceRequest(AbstractModel):
22840
+ r"""DescribeTCLakeMetaInstance请求参数结构体
22841
+
22842
+ """
22843
+
22844
+
22845
+ class DescribeTCLakeMetaInstanceResponse(AbstractModel):
22846
+ r"""DescribeTCLakeMetaInstance返回参数结构体
22847
+
22848
+ """
22849
+
22850
+ def __init__(self):
22851
+ r"""
22852
+ :param _Status: <p>开通状态</p><p>枚举值:</p><ul><li>Running: 开通成功</li></ul>
22853
+ :type Status: str
22854
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22855
+ :type RequestId: str
22856
+ """
22857
+ self._Status = None
22858
+ self._RequestId = None
22859
+
22860
+ @property
22861
+ def Status(self):
22862
+ r"""<p>开通状态</p><p>枚举值:</p><ul><li>Running: 开通成功</li></ul>
22863
+ :rtype: str
22864
+ """
22865
+ return self._Status
22866
+
22867
+ @Status.setter
22868
+ def Status(self, Status):
22869
+ self._Status = Status
22870
+
22871
+ @property
22872
+ def RequestId(self):
22873
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22874
+ :rtype: str
22875
+ """
22876
+ return self._RequestId
22877
+
22878
+ @RequestId.setter
22879
+ def RequestId(self, RequestId):
22880
+ self._RequestId = RequestId
22881
+
22882
+
22883
+ def _deserialize(self, params):
22884
+ self._Status = params.get("Status")
22885
+ self._RequestId = params.get("RequestId")
22886
+
22887
+
22839
22888
  class DescribeTablePartitionsRequest(AbstractModel):
22840
22889
  r"""DescribeTablePartitions请求参数结构体
22841
22890
 
@@ -29928,6 +29977,70 @@ class IcebergTablePartition(AbstractModel):
29928
29977
 
29929
29978
 
29930
29979
 
29980
+ class InitializeTCLakeRequest(AbstractModel):
29981
+ r"""InitializeTCLake请求参数结构体
29982
+
29983
+ """
29984
+
29985
+
29986
+ class InitializeTCLakeResponse(AbstractModel):
29987
+ r"""InitializeTCLake返回参数结构体
29988
+
29989
+ """
29990
+
29991
+ def __init__(self):
29992
+ r"""
29993
+ :param _InstanceId: <p>实例Id</p>
29994
+ :type InstanceId: str
29995
+ :param _IsSuccess: <p>是否成功</p>
29996
+ :type IsSuccess: bool
29997
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29998
+ :type RequestId: str
29999
+ """
30000
+ self._InstanceId = None
30001
+ self._IsSuccess = None
30002
+ self._RequestId = None
30003
+
30004
+ @property
30005
+ def InstanceId(self):
30006
+ r"""<p>实例Id</p>
30007
+ :rtype: str
30008
+ """
30009
+ return self._InstanceId
30010
+
30011
+ @InstanceId.setter
30012
+ def InstanceId(self, InstanceId):
30013
+ self._InstanceId = InstanceId
30014
+
30015
+ @property
30016
+ def IsSuccess(self):
30017
+ r"""<p>是否成功</p>
30018
+ :rtype: bool
30019
+ """
30020
+ return self._IsSuccess
30021
+
30022
+ @IsSuccess.setter
30023
+ def IsSuccess(self, IsSuccess):
30024
+ self._IsSuccess = IsSuccess
30025
+
30026
+ @property
30027
+ def RequestId(self):
30028
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30029
+ :rtype: str
30030
+ """
30031
+ return self._RequestId
30032
+
30033
+ @RequestId.setter
30034
+ def RequestId(self, RequestId):
30035
+ self._RequestId = RequestId
30036
+
30037
+
30038
+ def _deserialize(self, params):
30039
+ self._InstanceId = params.get("InstanceId")
30040
+ self._IsSuccess = params.get("IsSuccess")
30041
+ self._RequestId = params.get("RequestId")
30042
+
30043
+
29931
30044
  class IpPortPair(AbstractModel):
29932
30045
  r"""ip端口对信息
29933
30046
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dlc
3
- Version: 3.1.87
3
+ Version: 3.1.95
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.87
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.95
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.95
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.87