tencentcloud-sdk-python-emr 3.1.67__tar.gz → 3.1.79__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_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/setup.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/tencentcloud/emr/v20190103/emr_client.py +46 -0
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/tencentcloud/emr/v20190103/models.py +931 -598
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/tencentcloud_sdk_python_emr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_emr-3.1.79/tencentcloud_sdk_python_emr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_emr-3.1.67/tencentcloud_sdk_python_emr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/README.rst +0 -0
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/setup.cfg +0 -0
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/tencentcloud/emr/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/tencentcloud/emr/v20190103/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/tencentcloud/emr/v20190103/errorcodes.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/tencentcloud_sdk_python_emr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/tencentcloud_sdk_python_emr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.67 → tencentcloud_sdk_python_emr-3.1.79}/tencentcloud_sdk_python_emr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-emr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.79
|
|
4
4
|
Summary: Tencent Cloud Emr 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.79
|
|
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-emr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.79,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Emr SDK for Python',
|
|
@@ -443,6 +443,29 @@ class EmrClient(AbstractClient):
|
|
|
443
443
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
444
444
|
|
|
445
445
|
|
|
446
|
+
def DescribeBootScript(self, request):
|
|
447
|
+
r"""获取引导脚本
|
|
448
|
+
|
|
449
|
+
:param request: Request instance for DescribeBootScript.
|
|
450
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DescribeBootScriptRequest`
|
|
451
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DescribeBootScriptResponse`
|
|
452
|
+
|
|
453
|
+
"""
|
|
454
|
+
try:
|
|
455
|
+
params = request._serialize()
|
|
456
|
+
headers = request.headers
|
|
457
|
+
body = self.call("DescribeBootScript", params, headers=headers)
|
|
458
|
+
response = json.loads(body)
|
|
459
|
+
model = models.DescribeBootScriptResponse()
|
|
460
|
+
model._deserialize(response["Response"])
|
|
461
|
+
return model
|
|
462
|
+
except Exception as e:
|
|
463
|
+
if isinstance(e, TencentCloudSDKException):
|
|
464
|
+
raise
|
|
465
|
+
else:
|
|
466
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
467
|
+
|
|
468
|
+
|
|
446
469
|
def DescribeClusterFlowStatusDetail(self, request):
|
|
447
470
|
r"""查询EMR任务运行详情状态
|
|
448
471
|
|
|
@@ -1526,6 +1549,29 @@ class EmrClient(AbstractClient):
|
|
|
1526
1549
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1527
1550
|
|
|
1528
1551
|
|
|
1552
|
+
def ModifyBootScript(self, request):
|
|
1553
|
+
r"""修改引导脚本
|
|
1554
|
+
|
|
1555
|
+
:param request: Request instance for ModifyBootScript.
|
|
1556
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.ModifyBootScriptRequest`
|
|
1557
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.ModifyBootScriptResponse`
|
|
1558
|
+
|
|
1559
|
+
"""
|
|
1560
|
+
try:
|
|
1561
|
+
params = request._serialize()
|
|
1562
|
+
headers = request.headers
|
|
1563
|
+
body = self.call("ModifyBootScript", params, headers=headers)
|
|
1564
|
+
response = json.loads(body)
|
|
1565
|
+
model = models.ModifyBootScriptResponse()
|
|
1566
|
+
model._deserialize(response["Response"])
|
|
1567
|
+
return model
|
|
1568
|
+
except Exception as e:
|
|
1569
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1570
|
+
raise
|
|
1571
|
+
else:
|
|
1572
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1573
|
+
|
|
1574
|
+
|
|
1529
1575
|
def ModifyGlobalConfig(self, request):
|
|
1530
1576
|
r"""修改YARN资源调度的全局配置
|
|
1531
1577
|
|
|
@@ -352,6 +352,24 @@ class EmrClient(AbstractClient):
|
|
|
352
352
|
|
|
353
353
|
return await self.call_and_deserialize(**kwargs)
|
|
354
354
|
|
|
355
|
+
async def DescribeBootScript(
|
|
356
|
+
self,
|
|
357
|
+
request: models.DescribeBootScriptRequest,
|
|
358
|
+
opts: Dict = None,
|
|
359
|
+
) -> models.DescribeBootScriptResponse:
|
|
360
|
+
"""
|
|
361
|
+
获取引导脚本
|
|
362
|
+
"""
|
|
363
|
+
|
|
364
|
+
kwargs = {}
|
|
365
|
+
kwargs["action"] = "DescribeBootScript"
|
|
366
|
+
kwargs["params"] = request._serialize()
|
|
367
|
+
kwargs["resp_cls"] = models.DescribeBootScriptResponse
|
|
368
|
+
kwargs["headers"] = request.headers
|
|
369
|
+
kwargs["opts"] = opts or {}
|
|
370
|
+
|
|
371
|
+
return await self.call_and_deserialize(**kwargs)
|
|
372
|
+
|
|
355
373
|
async def DescribeClusterFlowStatusDetail(
|
|
356
374
|
self,
|
|
357
375
|
request: models.DescribeClusterFlowStatusDetailRequest,
|
|
@@ -1200,6 +1218,24 @@ class EmrClient(AbstractClient):
|
|
|
1200
1218
|
|
|
1201
1219
|
return await self.call_and_deserialize(**kwargs)
|
|
1202
1220
|
|
|
1221
|
+
async def ModifyBootScript(
|
|
1222
|
+
self,
|
|
1223
|
+
request: models.ModifyBootScriptRequest,
|
|
1224
|
+
opts: Dict = None,
|
|
1225
|
+
) -> models.ModifyBootScriptResponse:
|
|
1226
|
+
"""
|
|
1227
|
+
修改引导脚本
|
|
1228
|
+
"""
|
|
1229
|
+
|
|
1230
|
+
kwargs = {}
|
|
1231
|
+
kwargs["action"] = "ModifyBootScript"
|
|
1232
|
+
kwargs["params"] = request._serialize()
|
|
1233
|
+
kwargs["resp_cls"] = models.ModifyBootScriptResponse
|
|
1234
|
+
kwargs["headers"] = request.headers
|
|
1235
|
+
kwargs["opts"] = opts or {}
|
|
1236
|
+
|
|
1237
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1238
|
+
|
|
1203
1239
|
async def ModifyGlobalConfig(
|
|
1204
1240
|
self,
|
|
1205
1241
|
request: models.ModifyGlobalConfigRequest,
|