tencentcloud-sdk-python-dlc 3.1.140__tar.gz → 3.1.142__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.140 → tencentcloud_sdk_python_dlc-3.1.142}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/setup.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/tencentcloud/dlc/v20210125/models.py +617 -0
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dlc-3.1.142/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dlc-3.1.140/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/README.rst +0 -0
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/tencentcloud/dlc/v20210125/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dlc-3.1.140 → tencentcloud_sdk_python_dlc-3.1.142}/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.142
|
|
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.142
|
|
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.142,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dlc SDK for Python',
|
|
@@ -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,
|
|
@@ -6968,6 +6968,55 @@ class CreateScriptResponse(AbstractModel):
|
|
|
6968
6968
|
self._RequestId = params.get("RequestId")
|
|
6969
6969
|
|
|
6970
6970
|
|
|
6971
|
+
class CreateSparkAppForTDLCRequest(AbstractModel):
|
|
6972
|
+
r"""CreateSparkAppForTDLC请求参数结构体
|
|
6973
|
+
|
|
6974
|
+
"""
|
|
6975
|
+
|
|
6976
|
+
|
|
6977
|
+
class CreateSparkAppForTDLCResponse(AbstractModel):
|
|
6978
|
+
r"""CreateSparkAppForTDLC返回参数结构体
|
|
6979
|
+
|
|
6980
|
+
"""
|
|
6981
|
+
|
|
6982
|
+
def __init__(self):
|
|
6983
|
+
r"""
|
|
6984
|
+
:param _SparkAppId: <p>App唯一标识</p>
|
|
6985
|
+
:type SparkAppId: str
|
|
6986
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6987
|
+
:type RequestId: str
|
|
6988
|
+
"""
|
|
6989
|
+
self._SparkAppId = None
|
|
6990
|
+
self._RequestId = None
|
|
6991
|
+
|
|
6992
|
+
@property
|
|
6993
|
+
def SparkAppId(self):
|
|
6994
|
+
r"""<p>App唯一标识</p>
|
|
6995
|
+
:rtype: str
|
|
6996
|
+
"""
|
|
6997
|
+
return self._SparkAppId
|
|
6998
|
+
|
|
6999
|
+
@SparkAppId.setter
|
|
7000
|
+
def SparkAppId(self, SparkAppId):
|
|
7001
|
+
self._SparkAppId = SparkAppId
|
|
7002
|
+
|
|
7003
|
+
@property
|
|
7004
|
+
def RequestId(self):
|
|
7005
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7006
|
+
:rtype: str
|
|
7007
|
+
"""
|
|
7008
|
+
return self._RequestId
|
|
7009
|
+
|
|
7010
|
+
@RequestId.setter
|
|
7011
|
+
def RequestId(self, RequestId):
|
|
7012
|
+
self._RequestId = RequestId
|
|
7013
|
+
|
|
7014
|
+
|
|
7015
|
+
def _deserialize(self, params):
|
|
7016
|
+
self._SparkAppId = params.get("SparkAppId")
|
|
7017
|
+
self._RequestId = params.get("RequestId")
|
|
7018
|
+
|
|
7019
|
+
|
|
6971
7020
|
class CreateSparkAppRequest(AbstractModel):
|
|
6972
7021
|
r"""CreateSparkApp请求参数结构体
|
|
6973
7022
|
|
|
@@ -20289,6 +20338,55 @@ class DescribeLakeFsTaskResultResponse(AbstractModel):
|
|
|
20289
20338
|
self._RequestId = params.get("RequestId")
|
|
20290
20339
|
|
|
20291
20340
|
|
|
20341
|
+
class DescribeMCPSubUinRequest(AbstractModel):
|
|
20342
|
+
r"""DescribeMCPSubUin请求参数结构体
|
|
20343
|
+
|
|
20344
|
+
"""
|
|
20345
|
+
|
|
20346
|
+
|
|
20347
|
+
class DescribeMCPSubUinResponse(AbstractModel):
|
|
20348
|
+
r"""DescribeMCPSubUin返回参数结构体
|
|
20349
|
+
|
|
20350
|
+
"""
|
|
20351
|
+
|
|
20352
|
+
def __init__(self):
|
|
20353
|
+
r"""
|
|
20354
|
+
:param _Subuin: <p>子 Uin</p>
|
|
20355
|
+
:type Subuin: str
|
|
20356
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20357
|
+
:type RequestId: str
|
|
20358
|
+
"""
|
|
20359
|
+
self._Subuin = None
|
|
20360
|
+
self._RequestId = None
|
|
20361
|
+
|
|
20362
|
+
@property
|
|
20363
|
+
def Subuin(self):
|
|
20364
|
+
r"""<p>子 Uin</p>
|
|
20365
|
+
:rtype: str
|
|
20366
|
+
"""
|
|
20367
|
+
return self._Subuin
|
|
20368
|
+
|
|
20369
|
+
@Subuin.setter
|
|
20370
|
+
def Subuin(self, Subuin):
|
|
20371
|
+
self._Subuin = Subuin
|
|
20372
|
+
|
|
20373
|
+
@property
|
|
20374
|
+
def RequestId(self):
|
|
20375
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20376
|
+
:rtype: str
|
|
20377
|
+
"""
|
|
20378
|
+
return self._RequestId
|
|
20379
|
+
|
|
20380
|
+
@RequestId.setter
|
|
20381
|
+
def RequestId(self, RequestId):
|
|
20382
|
+
self._RequestId = RequestId
|
|
20383
|
+
|
|
20384
|
+
|
|
20385
|
+
def _deserialize(self, params):
|
|
20386
|
+
self._Subuin = params.get("Subuin")
|
|
20387
|
+
self._RequestId = params.get("RequestId")
|
|
20388
|
+
|
|
20389
|
+
|
|
20292
20390
|
class DescribeMCPTaskRequest(AbstractModel):
|
|
20293
20391
|
r"""DescribeMCPTask请求参数结构体
|
|
20294
20392
|
|
|
@@ -33496,6 +33594,525 @@ class ModifySparkAppBatchResponse(AbstractModel):
|
|
|
33496
33594
|
self._RequestId = params.get("RequestId")
|
|
33497
33595
|
|
|
33498
33596
|
|
|
33597
|
+
class ModifySparkAppForTDLCRequest(AbstractModel):
|
|
33598
|
+
r"""ModifySparkAppForTDLC请求参数结构体
|
|
33599
|
+
|
|
33600
|
+
"""
|
|
33601
|
+
|
|
33602
|
+
def __init__(self):
|
|
33603
|
+
r"""
|
|
33604
|
+
:param _AppName: <p>spark作业名</p>
|
|
33605
|
+
:type AppName: str
|
|
33606
|
+
:param _AppType: <p>spark作业类型,1代表spark jar作业,2代表spark streaming作业</p>
|
|
33607
|
+
:type AppType: int
|
|
33608
|
+
:param _DataEngine: <p>执行spark作业的数据引擎名称</p>
|
|
33609
|
+
:type DataEngine: str
|
|
33610
|
+
:param _AppFile: <p>spark作业程序包文件路径</p>
|
|
33611
|
+
:type AppFile: str
|
|
33612
|
+
:param _RoleArn: <p>数据访问策略,CAM Role arn</p>
|
|
33613
|
+
:type RoleArn: int
|
|
33614
|
+
:param _AppDriverSize: <p>指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)</p>
|
|
33615
|
+
:type AppDriverSize: str
|
|
33616
|
+
:param _AppExecutorSize: <p>指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)</p>
|
|
33617
|
+
:type AppExecutorSize: str
|
|
33618
|
+
:param _AppExecutorNums: <p>spark作业executor个数</p>
|
|
33619
|
+
:type AppExecutorNums: int
|
|
33620
|
+
:param _SparkAppId: <p>spark作业Id</p>
|
|
33621
|
+
:type SparkAppId: str
|
|
33622
|
+
:param _Eni: <p>该字段已下线,请使用字段Datasource</p>
|
|
33623
|
+
:type Eni: str
|
|
33624
|
+
:param _IsLocal: <p>spark作业程序包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
33625
|
+
:type IsLocal: str
|
|
33626
|
+
:param _MainClass: <p>spark作业主类</p>
|
|
33627
|
+
:type MainClass: str
|
|
33628
|
+
:param _AppConf: <p>spark配置,以换行符分隔</p>
|
|
33629
|
+
:type AppConf: str
|
|
33630
|
+
:param _IsLocalJars: <p>spark 作业依赖jar包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
33631
|
+
:type IsLocalJars: str
|
|
33632
|
+
:param _AppJars: <p>spark 作业依赖jar包(--jars),以逗号分隔</p>
|
|
33633
|
+
:type AppJars: str
|
|
33634
|
+
:param _IsLocalFiles: <p>spark作业依赖文件资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
33635
|
+
:type IsLocalFiles: str
|
|
33636
|
+
:param _AppFiles: <p>spark作业依赖文件资源(--files)(非jar、zip),以逗号分隔</p>
|
|
33637
|
+
:type AppFiles: str
|
|
33638
|
+
:param _IsLocalPythonFiles: <p>pyspark:依赖上传方式,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
33639
|
+
:type IsLocalPythonFiles: str
|
|
33640
|
+
:param _AppPythonFiles: <p>pyspark作业依赖python资源(--py-files),支持py/zip/egg等归档格式,多文件以逗号分隔</p>
|
|
33641
|
+
:type AppPythonFiles: str
|
|
33642
|
+
:param _CmdArgs: <p>spark作业程序入参</p>
|
|
33643
|
+
:type CmdArgs: str
|
|
33644
|
+
:param _MaxRetries: <p>最大重试次数,只对spark流任务生效</p>
|
|
33645
|
+
:type MaxRetries: int
|
|
33646
|
+
:param _DataSource: <p>数据源名</p>
|
|
33647
|
+
:type DataSource: str
|
|
33648
|
+
:param _IsLocalArchives: <p>spark作业依赖archives资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
33649
|
+
:type IsLocalArchives: str
|
|
33650
|
+
:param _AppArchives: <p>spark作业依赖archives资源(--archives),支持tar.gz/tgz/tar等归档格式,以逗号分隔</p>
|
|
33651
|
+
:type AppArchives: str
|
|
33652
|
+
:param _SparkImage: <p>Spark Image 版本号</p>
|
|
33653
|
+
:type SparkImage: str
|
|
33654
|
+
:param _SparkImageVersion: <p>Spark Image 版本名称</p>
|
|
33655
|
+
:type SparkImageVersion: str
|
|
33656
|
+
:param _AppExecutorMaxNumbers: <p>指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于AppExecutorNums</p>
|
|
33657
|
+
:type AppExecutorMaxNumbers: int
|
|
33658
|
+
:param _SessionId: <p>关联dlc查询脚本</p>
|
|
33659
|
+
:type SessionId: str
|
|
33660
|
+
:param _IsInherit: <p>任务资源配置是否继承集群配置模板:0(默认)不继承、1:继承</p>
|
|
33661
|
+
:type IsInherit: int
|
|
33662
|
+
:param _IsSessionStarted: <p>是否使用session脚本的sql运行任务:false:否,true:是</p>
|
|
33663
|
+
:type IsSessionStarted: bool
|
|
33664
|
+
:param _DependencyPackages: <p>标准引擎依赖包</p>
|
|
33665
|
+
:type DependencyPackages: list of DependencyPackage
|
|
33666
|
+
"""
|
|
33667
|
+
self._AppName = None
|
|
33668
|
+
self._AppType = None
|
|
33669
|
+
self._DataEngine = None
|
|
33670
|
+
self._AppFile = None
|
|
33671
|
+
self._RoleArn = None
|
|
33672
|
+
self._AppDriverSize = None
|
|
33673
|
+
self._AppExecutorSize = None
|
|
33674
|
+
self._AppExecutorNums = None
|
|
33675
|
+
self._SparkAppId = None
|
|
33676
|
+
self._Eni = None
|
|
33677
|
+
self._IsLocal = None
|
|
33678
|
+
self._MainClass = None
|
|
33679
|
+
self._AppConf = None
|
|
33680
|
+
self._IsLocalJars = None
|
|
33681
|
+
self._AppJars = None
|
|
33682
|
+
self._IsLocalFiles = None
|
|
33683
|
+
self._AppFiles = None
|
|
33684
|
+
self._IsLocalPythonFiles = None
|
|
33685
|
+
self._AppPythonFiles = None
|
|
33686
|
+
self._CmdArgs = None
|
|
33687
|
+
self._MaxRetries = None
|
|
33688
|
+
self._DataSource = None
|
|
33689
|
+
self._IsLocalArchives = None
|
|
33690
|
+
self._AppArchives = None
|
|
33691
|
+
self._SparkImage = None
|
|
33692
|
+
self._SparkImageVersion = None
|
|
33693
|
+
self._AppExecutorMaxNumbers = None
|
|
33694
|
+
self._SessionId = None
|
|
33695
|
+
self._IsInherit = None
|
|
33696
|
+
self._IsSessionStarted = None
|
|
33697
|
+
self._DependencyPackages = None
|
|
33698
|
+
|
|
33699
|
+
@property
|
|
33700
|
+
def AppName(self):
|
|
33701
|
+
r"""<p>spark作业名</p>
|
|
33702
|
+
:rtype: str
|
|
33703
|
+
"""
|
|
33704
|
+
return self._AppName
|
|
33705
|
+
|
|
33706
|
+
@AppName.setter
|
|
33707
|
+
def AppName(self, AppName):
|
|
33708
|
+
self._AppName = AppName
|
|
33709
|
+
|
|
33710
|
+
@property
|
|
33711
|
+
def AppType(self):
|
|
33712
|
+
r"""<p>spark作业类型,1代表spark jar作业,2代表spark streaming作业</p>
|
|
33713
|
+
:rtype: int
|
|
33714
|
+
"""
|
|
33715
|
+
return self._AppType
|
|
33716
|
+
|
|
33717
|
+
@AppType.setter
|
|
33718
|
+
def AppType(self, AppType):
|
|
33719
|
+
self._AppType = AppType
|
|
33720
|
+
|
|
33721
|
+
@property
|
|
33722
|
+
def DataEngine(self):
|
|
33723
|
+
r"""<p>执行spark作业的数据引擎名称</p>
|
|
33724
|
+
:rtype: str
|
|
33725
|
+
"""
|
|
33726
|
+
return self._DataEngine
|
|
33727
|
+
|
|
33728
|
+
@DataEngine.setter
|
|
33729
|
+
def DataEngine(self, DataEngine):
|
|
33730
|
+
self._DataEngine = DataEngine
|
|
33731
|
+
|
|
33732
|
+
@property
|
|
33733
|
+
def AppFile(self):
|
|
33734
|
+
r"""<p>spark作业程序包文件路径</p>
|
|
33735
|
+
:rtype: str
|
|
33736
|
+
"""
|
|
33737
|
+
return self._AppFile
|
|
33738
|
+
|
|
33739
|
+
@AppFile.setter
|
|
33740
|
+
def AppFile(self, AppFile):
|
|
33741
|
+
self._AppFile = AppFile
|
|
33742
|
+
|
|
33743
|
+
@property
|
|
33744
|
+
def RoleArn(self):
|
|
33745
|
+
r"""<p>数据访问策略,CAM Role arn</p>
|
|
33746
|
+
:rtype: int
|
|
33747
|
+
"""
|
|
33748
|
+
return self._RoleArn
|
|
33749
|
+
|
|
33750
|
+
@RoleArn.setter
|
|
33751
|
+
def RoleArn(self, RoleArn):
|
|
33752
|
+
self._RoleArn = RoleArn
|
|
33753
|
+
|
|
33754
|
+
@property
|
|
33755
|
+
def AppDriverSize(self):
|
|
33756
|
+
r"""<p>指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)</p>
|
|
33757
|
+
:rtype: str
|
|
33758
|
+
"""
|
|
33759
|
+
return self._AppDriverSize
|
|
33760
|
+
|
|
33761
|
+
@AppDriverSize.setter
|
|
33762
|
+
def AppDriverSize(self, AppDriverSize):
|
|
33763
|
+
self._AppDriverSize = AppDriverSize
|
|
33764
|
+
|
|
33765
|
+
@property
|
|
33766
|
+
def AppExecutorSize(self):
|
|
33767
|
+
r"""<p>指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)</p>
|
|
33768
|
+
:rtype: str
|
|
33769
|
+
"""
|
|
33770
|
+
return self._AppExecutorSize
|
|
33771
|
+
|
|
33772
|
+
@AppExecutorSize.setter
|
|
33773
|
+
def AppExecutorSize(self, AppExecutorSize):
|
|
33774
|
+
self._AppExecutorSize = AppExecutorSize
|
|
33775
|
+
|
|
33776
|
+
@property
|
|
33777
|
+
def AppExecutorNums(self):
|
|
33778
|
+
r"""<p>spark作业executor个数</p>
|
|
33779
|
+
:rtype: int
|
|
33780
|
+
"""
|
|
33781
|
+
return self._AppExecutorNums
|
|
33782
|
+
|
|
33783
|
+
@AppExecutorNums.setter
|
|
33784
|
+
def AppExecutorNums(self, AppExecutorNums):
|
|
33785
|
+
self._AppExecutorNums = AppExecutorNums
|
|
33786
|
+
|
|
33787
|
+
@property
|
|
33788
|
+
def SparkAppId(self):
|
|
33789
|
+
r"""<p>spark作业Id</p>
|
|
33790
|
+
:rtype: str
|
|
33791
|
+
"""
|
|
33792
|
+
return self._SparkAppId
|
|
33793
|
+
|
|
33794
|
+
@SparkAppId.setter
|
|
33795
|
+
def SparkAppId(self, SparkAppId):
|
|
33796
|
+
self._SparkAppId = SparkAppId
|
|
33797
|
+
|
|
33798
|
+
@property
|
|
33799
|
+
def Eni(self):
|
|
33800
|
+
r"""<p>该字段已下线,请使用字段Datasource</p>
|
|
33801
|
+
:rtype: str
|
|
33802
|
+
"""
|
|
33803
|
+
return self._Eni
|
|
33804
|
+
|
|
33805
|
+
@Eni.setter
|
|
33806
|
+
def Eni(self, Eni):
|
|
33807
|
+
self._Eni = Eni
|
|
33808
|
+
|
|
33809
|
+
@property
|
|
33810
|
+
def IsLocal(self):
|
|
33811
|
+
r"""<p>spark作业程序包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
33812
|
+
:rtype: str
|
|
33813
|
+
"""
|
|
33814
|
+
return self._IsLocal
|
|
33815
|
+
|
|
33816
|
+
@IsLocal.setter
|
|
33817
|
+
def IsLocal(self, IsLocal):
|
|
33818
|
+
self._IsLocal = IsLocal
|
|
33819
|
+
|
|
33820
|
+
@property
|
|
33821
|
+
def MainClass(self):
|
|
33822
|
+
r"""<p>spark作业主类</p>
|
|
33823
|
+
:rtype: str
|
|
33824
|
+
"""
|
|
33825
|
+
return self._MainClass
|
|
33826
|
+
|
|
33827
|
+
@MainClass.setter
|
|
33828
|
+
def MainClass(self, MainClass):
|
|
33829
|
+
self._MainClass = MainClass
|
|
33830
|
+
|
|
33831
|
+
@property
|
|
33832
|
+
def AppConf(self):
|
|
33833
|
+
r"""<p>spark配置,以换行符分隔</p>
|
|
33834
|
+
:rtype: str
|
|
33835
|
+
"""
|
|
33836
|
+
return self._AppConf
|
|
33837
|
+
|
|
33838
|
+
@AppConf.setter
|
|
33839
|
+
def AppConf(self, AppConf):
|
|
33840
|
+
self._AppConf = AppConf
|
|
33841
|
+
|
|
33842
|
+
@property
|
|
33843
|
+
def IsLocalJars(self):
|
|
33844
|
+
r"""<p>spark 作业依赖jar包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
33845
|
+
:rtype: str
|
|
33846
|
+
"""
|
|
33847
|
+
return self._IsLocalJars
|
|
33848
|
+
|
|
33849
|
+
@IsLocalJars.setter
|
|
33850
|
+
def IsLocalJars(self, IsLocalJars):
|
|
33851
|
+
self._IsLocalJars = IsLocalJars
|
|
33852
|
+
|
|
33853
|
+
@property
|
|
33854
|
+
def AppJars(self):
|
|
33855
|
+
r"""<p>spark 作业依赖jar包(--jars),以逗号分隔</p>
|
|
33856
|
+
:rtype: str
|
|
33857
|
+
"""
|
|
33858
|
+
return self._AppJars
|
|
33859
|
+
|
|
33860
|
+
@AppJars.setter
|
|
33861
|
+
def AppJars(self, AppJars):
|
|
33862
|
+
self._AppJars = AppJars
|
|
33863
|
+
|
|
33864
|
+
@property
|
|
33865
|
+
def IsLocalFiles(self):
|
|
33866
|
+
r"""<p>spark作业依赖文件资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
33867
|
+
:rtype: str
|
|
33868
|
+
"""
|
|
33869
|
+
return self._IsLocalFiles
|
|
33870
|
+
|
|
33871
|
+
@IsLocalFiles.setter
|
|
33872
|
+
def IsLocalFiles(self, IsLocalFiles):
|
|
33873
|
+
self._IsLocalFiles = IsLocalFiles
|
|
33874
|
+
|
|
33875
|
+
@property
|
|
33876
|
+
def AppFiles(self):
|
|
33877
|
+
r"""<p>spark作业依赖文件资源(--files)(非jar、zip),以逗号分隔</p>
|
|
33878
|
+
:rtype: str
|
|
33879
|
+
"""
|
|
33880
|
+
return self._AppFiles
|
|
33881
|
+
|
|
33882
|
+
@AppFiles.setter
|
|
33883
|
+
def AppFiles(self, AppFiles):
|
|
33884
|
+
self._AppFiles = AppFiles
|
|
33885
|
+
|
|
33886
|
+
@property
|
|
33887
|
+
def IsLocalPythonFiles(self):
|
|
33888
|
+
r"""<p>pyspark:依赖上传方式,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
33889
|
+
:rtype: str
|
|
33890
|
+
"""
|
|
33891
|
+
return self._IsLocalPythonFiles
|
|
33892
|
+
|
|
33893
|
+
@IsLocalPythonFiles.setter
|
|
33894
|
+
def IsLocalPythonFiles(self, IsLocalPythonFiles):
|
|
33895
|
+
self._IsLocalPythonFiles = IsLocalPythonFiles
|
|
33896
|
+
|
|
33897
|
+
@property
|
|
33898
|
+
def AppPythonFiles(self):
|
|
33899
|
+
r"""<p>pyspark作业依赖python资源(--py-files),支持py/zip/egg等归档格式,多文件以逗号分隔</p>
|
|
33900
|
+
:rtype: str
|
|
33901
|
+
"""
|
|
33902
|
+
return self._AppPythonFiles
|
|
33903
|
+
|
|
33904
|
+
@AppPythonFiles.setter
|
|
33905
|
+
def AppPythonFiles(self, AppPythonFiles):
|
|
33906
|
+
self._AppPythonFiles = AppPythonFiles
|
|
33907
|
+
|
|
33908
|
+
@property
|
|
33909
|
+
def CmdArgs(self):
|
|
33910
|
+
r"""<p>spark作业程序入参</p>
|
|
33911
|
+
:rtype: str
|
|
33912
|
+
"""
|
|
33913
|
+
return self._CmdArgs
|
|
33914
|
+
|
|
33915
|
+
@CmdArgs.setter
|
|
33916
|
+
def CmdArgs(self, CmdArgs):
|
|
33917
|
+
self._CmdArgs = CmdArgs
|
|
33918
|
+
|
|
33919
|
+
@property
|
|
33920
|
+
def MaxRetries(self):
|
|
33921
|
+
r"""<p>最大重试次数,只对spark流任务生效</p>
|
|
33922
|
+
:rtype: int
|
|
33923
|
+
"""
|
|
33924
|
+
return self._MaxRetries
|
|
33925
|
+
|
|
33926
|
+
@MaxRetries.setter
|
|
33927
|
+
def MaxRetries(self, MaxRetries):
|
|
33928
|
+
self._MaxRetries = MaxRetries
|
|
33929
|
+
|
|
33930
|
+
@property
|
|
33931
|
+
def DataSource(self):
|
|
33932
|
+
r"""<p>数据源名</p>
|
|
33933
|
+
:rtype: str
|
|
33934
|
+
"""
|
|
33935
|
+
return self._DataSource
|
|
33936
|
+
|
|
33937
|
+
@DataSource.setter
|
|
33938
|
+
def DataSource(self, DataSource):
|
|
33939
|
+
self._DataSource = DataSource
|
|
33940
|
+
|
|
33941
|
+
@property
|
|
33942
|
+
def IsLocalArchives(self):
|
|
33943
|
+
r"""<p>spark作业依赖archives资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
33944
|
+
:rtype: str
|
|
33945
|
+
"""
|
|
33946
|
+
return self._IsLocalArchives
|
|
33947
|
+
|
|
33948
|
+
@IsLocalArchives.setter
|
|
33949
|
+
def IsLocalArchives(self, IsLocalArchives):
|
|
33950
|
+
self._IsLocalArchives = IsLocalArchives
|
|
33951
|
+
|
|
33952
|
+
@property
|
|
33953
|
+
def AppArchives(self):
|
|
33954
|
+
r"""<p>spark作业依赖archives资源(--archives),支持tar.gz/tgz/tar等归档格式,以逗号分隔</p>
|
|
33955
|
+
:rtype: str
|
|
33956
|
+
"""
|
|
33957
|
+
return self._AppArchives
|
|
33958
|
+
|
|
33959
|
+
@AppArchives.setter
|
|
33960
|
+
def AppArchives(self, AppArchives):
|
|
33961
|
+
self._AppArchives = AppArchives
|
|
33962
|
+
|
|
33963
|
+
@property
|
|
33964
|
+
def SparkImage(self):
|
|
33965
|
+
r"""<p>Spark Image 版本号</p>
|
|
33966
|
+
:rtype: str
|
|
33967
|
+
"""
|
|
33968
|
+
return self._SparkImage
|
|
33969
|
+
|
|
33970
|
+
@SparkImage.setter
|
|
33971
|
+
def SparkImage(self, SparkImage):
|
|
33972
|
+
self._SparkImage = SparkImage
|
|
33973
|
+
|
|
33974
|
+
@property
|
|
33975
|
+
def SparkImageVersion(self):
|
|
33976
|
+
r"""<p>Spark Image 版本名称</p>
|
|
33977
|
+
:rtype: str
|
|
33978
|
+
"""
|
|
33979
|
+
return self._SparkImageVersion
|
|
33980
|
+
|
|
33981
|
+
@SparkImageVersion.setter
|
|
33982
|
+
def SparkImageVersion(self, SparkImageVersion):
|
|
33983
|
+
self._SparkImageVersion = SparkImageVersion
|
|
33984
|
+
|
|
33985
|
+
@property
|
|
33986
|
+
def AppExecutorMaxNumbers(self):
|
|
33987
|
+
r"""<p>指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于AppExecutorNums</p>
|
|
33988
|
+
:rtype: int
|
|
33989
|
+
"""
|
|
33990
|
+
return self._AppExecutorMaxNumbers
|
|
33991
|
+
|
|
33992
|
+
@AppExecutorMaxNumbers.setter
|
|
33993
|
+
def AppExecutorMaxNumbers(self, AppExecutorMaxNumbers):
|
|
33994
|
+
self._AppExecutorMaxNumbers = AppExecutorMaxNumbers
|
|
33995
|
+
|
|
33996
|
+
@property
|
|
33997
|
+
def SessionId(self):
|
|
33998
|
+
r"""<p>关联dlc查询脚本</p>
|
|
33999
|
+
:rtype: str
|
|
34000
|
+
"""
|
|
34001
|
+
return self._SessionId
|
|
34002
|
+
|
|
34003
|
+
@SessionId.setter
|
|
34004
|
+
def SessionId(self, SessionId):
|
|
34005
|
+
self._SessionId = SessionId
|
|
34006
|
+
|
|
34007
|
+
@property
|
|
34008
|
+
def IsInherit(self):
|
|
34009
|
+
r"""<p>任务资源配置是否继承集群配置模板:0(默认)不继承、1:继承</p>
|
|
34010
|
+
:rtype: int
|
|
34011
|
+
"""
|
|
34012
|
+
return self._IsInherit
|
|
34013
|
+
|
|
34014
|
+
@IsInherit.setter
|
|
34015
|
+
def IsInherit(self, IsInherit):
|
|
34016
|
+
self._IsInherit = IsInherit
|
|
34017
|
+
|
|
34018
|
+
@property
|
|
34019
|
+
def IsSessionStarted(self):
|
|
34020
|
+
r"""<p>是否使用session脚本的sql运行任务:false:否,true:是</p>
|
|
34021
|
+
:rtype: bool
|
|
34022
|
+
"""
|
|
34023
|
+
return self._IsSessionStarted
|
|
34024
|
+
|
|
34025
|
+
@IsSessionStarted.setter
|
|
34026
|
+
def IsSessionStarted(self, IsSessionStarted):
|
|
34027
|
+
self._IsSessionStarted = IsSessionStarted
|
|
34028
|
+
|
|
34029
|
+
@property
|
|
34030
|
+
def DependencyPackages(self):
|
|
34031
|
+
r"""<p>标准引擎依赖包</p>
|
|
34032
|
+
:rtype: list of DependencyPackage
|
|
34033
|
+
"""
|
|
34034
|
+
return self._DependencyPackages
|
|
34035
|
+
|
|
34036
|
+
@DependencyPackages.setter
|
|
34037
|
+
def DependencyPackages(self, DependencyPackages):
|
|
34038
|
+
self._DependencyPackages = DependencyPackages
|
|
34039
|
+
|
|
34040
|
+
|
|
34041
|
+
def _deserialize(self, params):
|
|
34042
|
+
self._AppName = params.get("AppName")
|
|
34043
|
+
self._AppType = params.get("AppType")
|
|
34044
|
+
self._DataEngine = params.get("DataEngine")
|
|
34045
|
+
self._AppFile = params.get("AppFile")
|
|
34046
|
+
self._RoleArn = params.get("RoleArn")
|
|
34047
|
+
self._AppDriverSize = params.get("AppDriverSize")
|
|
34048
|
+
self._AppExecutorSize = params.get("AppExecutorSize")
|
|
34049
|
+
self._AppExecutorNums = params.get("AppExecutorNums")
|
|
34050
|
+
self._SparkAppId = params.get("SparkAppId")
|
|
34051
|
+
self._Eni = params.get("Eni")
|
|
34052
|
+
self._IsLocal = params.get("IsLocal")
|
|
34053
|
+
self._MainClass = params.get("MainClass")
|
|
34054
|
+
self._AppConf = params.get("AppConf")
|
|
34055
|
+
self._IsLocalJars = params.get("IsLocalJars")
|
|
34056
|
+
self._AppJars = params.get("AppJars")
|
|
34057
|
+
self._IsLocalFiles = params.get("IsLocalFiles")
|
|
34058
|
+
self._AppFiles = params.get("AppFiles")
|
|
34059
|
+
self._IsLocalPythonFiles = params.get("IsLocalPythonFiles")
|
|
34060
|
+
self._AppPythonFiles = params.get("AppPythonFiles")
|
|
34061
|
+
self._CmdArgs = params.get("CmdArgs")
|
|
34062
|
+
self._MaxRetries = params.get("MaxRetries")
|
|
34063
|
+
self._DataSource = params.get("DataSource")
|
|
34064
|
+
self._IsLocalArchives = params.get("IsLocalArchives")
|
|
34065
|
+
self._AppArchives = params.get("AppArchives")
|
|
34066
|
+
self._SparkImage = params.get("SparkImage")
|
|
34067
|
+
self._SparkImageVersion = params.get("SparkImageVersion")
|
|
34068
|
+
self._AppExecutorMaxNumbers = params.get("AppExecutorMaxNumbers")
|
|
34069
|
+
self._SessionId = params.get("SessionId")
|
|
34070
|
+
self._IsInherit = params.get("IsInherit")
|
|
34071
|
+
self._IsSessionStarted = params.get("IsSessionStarted")
|
|
34072
|
+
if params.get("DependencyPackages") is not None:
|
|
34073
|
+
self._DependencyPackages = []
|
|
34074
|
+
for item in params.get("DependencyPackages"):
|
|
34075
|
+
obj = DependencyPackage()
|
|
34076
|
+
obj._deserialize(item)
|
|
34077
|
+
self._DependencyPackages.append(obj)
|
|
34078
|
+
memeber_set = set(params.keys())
|
|
34079
|
+
for name, value in vars(self).items():
|
|
34080
|
+
property_name = name[1:]
|
|
34081
|
+
if property_name in memeber_set:
|
|
34082
|
+
memeber_set.remove(property_name)
|
|
34083
|
+
if len(memeber_set) > 0:
|
|
34084
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34085
|
+
|
|
34086
|
+
|
|
34087
|
+
|
|
34088
|
+
class ModifySparkAppForTDLCResponse(AbstractModel):
|
|
34089
|
+
r"""ModifySparkAppForTDLC返回参数结构体
|
|
34090
|
+
|
|
34091
|
+
"""
|
|
34092
|
+
|
|
34093
|
+
def __init__(self):
|
|
34094
|
+
r"""
|
|
34095
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
34096
|
+
:type RequestId: str
|
|
34097
|
+
"""
|
|
34098
|
+
self._RequestId = None
|
|
34099
|
+
|
|
34100
|
+
@property
|
|
34101
|
+
def RequestId(self):
|
|
34102
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
34103
|
+
:rtype: str
|
|
34104
|
+
"""
|
|
34105
|
+
return self._RequestId
|
|
34106
|
+
|
|
34107
|
+
@RequestId.setter
|
|
34108
|
+
def RequestId(self, RequestId):
|
|
34109
|
+
self._RequestId = RequestId
|
|
34110
|
+
|
|
34111
|
+
|
|
34112
|
+
def _deserialize(self, params):
|
|
34113
|
+
self._RequestId = params.get("RequestId")
|
|
34114
|
+
|
|
34115
|
+
|
|
33499
34116
|
class ModifySparkAppRequest(AbstractModel):
|
|
33500
34117
|
r"""ModifySparkApp请求参数结构体
|
|
33501
34118
|
|
|
@@ -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.142
|
|
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.142
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.142
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.140
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|