tencentcloud-sdk-python-dlc 3.1.140__tar.gz → 3.1.145__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.140 → tencentcloud_sdk_python_dlc-3.1.145}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  5. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
  6. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/v20210125/models.py +1382 -295
  7. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_dlc-3.1.145/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_dlc-3.1.140/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/README.rst +0 -0
  11. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/__init__.py +0 -0
  13. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/v20210125/__init__.py +0 -0
  14. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/v20210125/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.145}/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.140
3
+ Version: 3.1.145
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.140
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
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.140,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.145,<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.140'
17
+ __version__ = '3.1.145'
@@ -923,6 +923,29 @@ class DlcClient(AbstractClient):
923
923
  raise TencentCloudSDKException(type(e).__name__, str(e))
924
924
 
925
925
 
926
+ def CreateSparkAppForTDLC(self, request):
927
+ r"""创建tdlc spark作业
928
+
929
+ :param request: Request instance for CreateSparkAppForTDLC.
930
+ :type request: :class:`tencentcloud.dlc.v20210125.models.CreateSparkAppForTDLCRequest`
931
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.CreateSparkAppForTDLCResponse`
932
+
933
+ """
934
+ try:
935
+ params = request._serialize()
936
+ headers = request.headers
937
+ body = self.call("CreateSparkAppForTDLC", params, headers=headers)
938
+ response = json.loads(body)
939
+ model = models.CreateSparkAppForTDLCResponse()
940
+ model._deserialize(response["Response"])
941
+ return model
942
+ except Exception as e:
943
+ if isinstance(e, TencentCloudSDKException):
944
+ raise
945
+ else:
946
+ raise TencentCloudSDKException(type(e).__name__, str(e))
947
+
948
+
926
949
  def CreateSparkAppTask(self, request):
927
950
  r"""启动Spark作业
928
951
 
@@ -2167,6 +2190,29 @@ class DlcClient(AbstractClient):
2167
2190
  raise TencentCloudSDKException(type(e).__name__, str(e))
2168
2191
 
2169
2192
 
2193
+ def DescribeMCPSubUin(self, request):
2194
+ r"""获取账户子账户信息
2195
+
2196
+ :param request: Request instance for DescribeMCPSubUin.
2197
+ :type request: :class:`tencentcloud.dlc.v20210125.models.DescribeMCPSubUinRequest`
2198
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeMCPSubUinResponse`
2199
+
2200
+ """
2201
+ try:
2202
+ params = request._serialize()
2203
+ headers = request.headers
2204
+ body = self.call("DescribeMCPSubUin", params, headers=headers)
2205
+ response = json.loads(body)
2206
+ model = models.DescribeMCPSubUinResponse()
2207
+ model._deserialize(response["Response"])
2208
+ return model
2209
+ except Exception as e:
2210
+ if isinstance(e, TencentCloudSDKException):
2211
+ raise
2212
+ else:
2213
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2214
+
2215
+
2170
2216
  def DescribeMCPTask(self, request):
2171
2217
  r"""该接口(DescribeTasks)用于查询任务列表
2172
2218
 
@@ -3823,6 +3869,29 @@ class DlcClient(AbstractClient):
3823
3869
  raise TencentCloudSDKException(type(e).__name__, str(e))
3824
3870
 
3825
3871
 
3872
+ def ModifySparkAppForTDLC(self, request):
3873
+ r"""更新tdlc spark作业
3874
+
3875
+ :param request: Request instance for ModifySparkAppForTDLC.
3876
+ :type request: :class:`tencentcloud.dlc.v20210125.models.ModifySparkAppForTDLCRequest`
3877
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.ModifySparkAppForTDLCResponse`
3878
+
3879
+ """
3880
+ try:
3881
+ params = request._serialize()
3882
+ headers = request.headers
3883
+ body = self.call("ModifySparkAppForTDLC", params, headers=headers)
3884
+ response = json.loads(body)
3885
+ model = models.ModifySparkAppForTDLCResponse()
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 ModifyUser(self, request):
3827
3896
  r"""修改用户信息
3828
3897
 
@@ -727,6 +727,24 @@ class DlcClient(AbstractClient):
727
727
 
728
728
  return await self.call_and_deserialize(**kwargs)
729
729
 
730
+ async def CreateSparkAppForTDLC(
731
+ self,
732
+ request: models.CreateSparkAppForTDLCRequest,
733
+ opts: Dict = None,
734
+ ) -> models.CreateSparkAppForTDLCResponse:
735
+ """
736
+ 创建tdlc spark作业
737
+ """
738
+
739
+ kwargs = {}
740
+ kwargs["action"] = "CreateSparkAppForTDLC"
741
+ kwargs["params"] = request._serialize()
742
+ kwargs["resp_cls"] = models.CreateSparkAppForTDLCResponse
743
+ kwargs["headers"] = request.headers
744
+ kwargs["opts"] = opts or {}
745
+
746
+ return await self.call_and_deserialize(**kwargs)
747
+
730
748
  async def CreateSparkAppTask(
731
749
  self,
732
750
  request: models.CreateSparkAppTaskRequest,
@@ -1701,6 +1719,24 @@ class DlcClient(AbstractClient):
1701
1719
 
1702
1720
  return await self.call_and_deserialize(**kwargs)
1703
1721
 
1722
+ async def DescribeMCPSubUin(
1723
+ self,
1724
+ request: models.DescribeMCPSubUinRequest,
1725
+ opts: Dict = None,
1726
+ ) -> models.DescribeMCPSubUinResponse:
1727
+ """
1728
+ 获取账户子账户信息
1729
+ """
1730
+
1731
+ kwargs = {}
1732
+ kwargs["action"] = "DescribeMCPSubUin"
1733
+ kwargs["params"] = request._serialize()
1734
+ kwargs["resp_cls"] = models.DescribeMCPSubUinResponse
1735
+ kwargs["headers"] = request.headers
1736
+ kwargs["opts"] = opts or {}
1737
+
1738
+ return await self.call_and_deserialize(**kwargs)
1739
+
1704
1740
  async def DescribeMCPTask(
1705
1741
  self,
1706
1742
  request: models.DescribeMCPTaskRequest,
@@ -2997,6 +3033,24 @@ class DlcClient(AbstractClient):
2997
3033
 
2998
3034
  return await self.call_and_deserialize(**kwargs)
2999
3035
 
3036
+ async def ModifySparkAppForTDLC(
3037
+ self,
3038
+ request: models.ModifySparkAppForTDLCRequest,
3039
+ opts: Dict = None,
3040
+ ) -> models.ModifySparkAppForTDLCResponse:
3041
+ """
3042
+ 更新tdlc spark作业
3043
+ """
3044
+
3045
+ kwargs = {}
3046
+ kwargs["action"] = "ModifySparkAppForTDLC"
3047
+ kwargs["params"] = request._serialize()
3048
+ kwargs["resp_cls"] = models.ModifySparkAppForTDLCResponse
3049
+ kwargs["headers"] = request.headers
3050
+ kwargs["opts"] = opts or {}
3051
+
3052
+ return await self.call_and_deserialize(**kwargs)
3053
+
3000
3054
  async def ModifyUser(
3001
3055
  self,
3002
3056
  request: models.ModifyUserRequest,