tencentcloud-sdk-python-emr 3.1.43__tar.gz → 3.1.49__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.43 → tencentcloud_sdk_python_emr-3.1.49}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/setup.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/tencentcloud/emr/v20190103/emr_client.py +23 -0
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/tencentcloud/emr/v20190103/emr_client_async.py +18 -0
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/tencentcloud/emr/v20190103/models.py +300 -0
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/tencentcloud_sdk_python_emr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_emr-3.1.49/tencentcloud_sdk_python_emr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_emr-3.1.43/tencentcloud_sdk_python_emr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/README.rst +0 -0
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/setup.cfg +0 -0
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/tencentcloud/emr/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/tencentcloud/emr/v20190103/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/tencentcloud/emr/v20190103/errorcodes.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/tencentcloud_sdk_python_emr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/tencentcloud_sdk_python_emr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.43 → tencentcloud_sdk_python_emr-3.1.49}/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.49
|
|
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.49
|
|
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.49,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Emr SDK for Python',
|
|
@@ -535,6 +535,29 @@ class EmrClient(AbstractClient):
|
|
|
535
535
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
536
536
|
|
|
537
537
|
|
|
538
|
+
def DescribeEMREventList(self, request):
|
|
539
|
+
r"""查询EMR事件监控数据
|
|
540
|
+
|
|
541
|
+
:param request: Request instance for DescribeEMREventList.
|
|
542
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DescribeEMREventListRequest`
|
|
543
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DescribeEMREventListResponse`
|
|
544
|
+
|
|
545
|
+
"""
|
|
546
|
+
try:
|
|
547
|
+
params = request._serialize()
|
|
548
|
+
headers = request.headers
|
|
549
|
+
body = self.call("DescribeEMREventList", params, headers=headers)
|
|
550
|
+
response = json.loads(body)
|
|
551
|
+
model = models.DescribeEMREventListResponse()
|
|
552
|
+
model._deserialize(response["Response"])
|
|
553
|
+
return model
|
|
554
|
+
except Exception as e:
|
|
555
|
+
if isinstance(e, TencentCloudSDKException):
|
|
556
|
+
raise
|
|
557
|
+
else:
|
|
558
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
559
|
+
|
|
560
|
+
|
|
538
561
|
def DescribeEmrApplicationStatics(self, request):
|
|
539
562
|
r"""yarn application 统计接口查询
|
|
540
563
|
|
|
@@ -424,6 +424,24 @@ class EmrClient(AbstractClient):
|
|
|
424
424
|
|
|
425
425
|
return await self.call_and_deserialize(**kwargs)
|
|
426
426
|
|
|
427
|
+
async def DescribeEMREventList(
|
|
428
|
+
self,
|
|
429
|
+
request: models.DescribeEMREventListRequest,
|
|
430
|
+
opts: Dict = None,
|
|
431
|
+
) -> models.DescribeEMREventListResponse:
|
|
432
|
+
"""
|
|
433
|
+
查询EMR事件监控数据
|
|
434
|
+
"""
|
|
435
|
+
|
|
436
|
+
kwargs = {}
|
|
437
|
+
kwargs["action"] = "DescribeEMREventList"
|
|
438
|
+
kwargs["params"] = request._serialize()
|
|
439
|
+
kwargs["resp_cls"] = models.DescribeEMREventListResponse
|
|
440
|
+
kwargs["headers"] = request.headers
|
|
441
|
+
kwargs["opts"] = opts or {}
|
|
442
|
+
|
|
443
|
+
return await self.call_and_deserialize(**kwargs)
|
|
444
|
+
|
|
427
445
|
async def DescribeEmrApplicationStatics(
|
|
428
446
|
self,
|
|
429
447
|
request: models.DescribeEmrApplicationStaticsRequest,
|
|
@@ -8909,6 +8909,210 @@ class DescribeDAGInfoResponse(AbstractModel):
|
|
|
8909
8909
|
self._RequestId = params.get("RequestId")
|
|
8910
8910
|
|
|
8911
8911
|
|
|
8912
|
+
class DescribeEMREventListRequest(AbstractModel):
|
|
8913
|
+
r"""DescribeEMREventList请求参数结构体
|
|
8914
|
+
|
|
8915
|
+
"""
|
|
8916
|
+
|
|
8917
|
+
def __init__(self):
|
|
8918
|
+
r"""
|
|
8919
|
+
:param _InstanceId: 集群ID
|
|
8920
|
+
:type InstanceId: str
|
|
8921
|
+
:param _StartTime: 查询事件的开始时间
|
|
8922
|
+
:type StartTime: int
|
|
8923
|
+
:param _EndTime: 查询事件的结束时间
|
|
8924
|
+
:type EndTime: int
|
|
8925
|
+
:param _Host: 事件触发的IP
|
|
8926
|
+
:type Host: str
|
|
8927
|
+
:param _Role: 事件受影响服务角色
|
|
8928
|
+
:type Role: str
|
|
8929
|
+
:param _Name: 事件名称
|
|
8930
|
+
:type Name: str
|
|
8931
|
+
:param _Offset: 事件列表的偏移量
|
|
8932
|
+
:type Offset: int
|
|
8933
|
+
:param _Limit: 事件列表的Limit
|
|
8934
|
+
:type Limit: int
|
|
8935
|
+
"""
|
|
8936
|
+
self._InstanceId = None
|
|
8937
|
+
self._StartTime = None
|
|
8938
|
+
self._EndTime = None
|
|
8939
|
+
self._Host = None
|
|
8940
|
+
self._Role = None
|
|
8941
|
+
self._Name = None
|
|
8942
|
+
self._Offset = None
|
|
8943
|
+
self._Limit = None
|
|
8944
|
+
|
|
8945
|
+
@property
|
|
8946
|
+
def InstanceId(self):
|
|
8947
|
+
r"""集群ID
|
|
8948
|
+
:rtype: str
|
|
8949
|
+
"""
|
|
8950
|
+
return self._InstanceId
|
|
8951
|
+
|
|
8952
|
+
@InstanceId.setter
|
|
8953
|
+
def InstanceId(self, InstanceId):
|
|
8954
|
+
self._InstanceId = InstanceId
|
|
8955
|
+
|
|
8956
|
+
@property
|
|
8957
|
+
def StartTime(self):
|
|
8958
|
+
r"""查询事件的开始时间
|
|
8959
|
+
:rtype: int
|
|
8960
|
+
"""
|
|
8961
|
+
return self._StartTime
|
|
8962
|
+
|
|
8963
|
+
@StartTime.setter
|
|
8964
|
+
def StartTime(self, StartTime):
|
|
8965
|
+
self._StartTime = StartTime
|
|
8966
|
+
|
|
8967
|
+
@property
|
|
8968
|
+
def EndTime(self):
|
|
8969
|
+
r"""查询事件的结束时间
|
|
8970
|
+
:rtype: int
|
|
8971
|
+
"""
|
|
8972
|
+
return self._EndTime
|
|
8973
|
+
|
|
8974
|
+
@EndTime.setter
|
|
8975
|
+
def EndTime(self, EndTime):
|
|
8976
|
+
self._EndTime = EndTime
|
|
8977
|
+
|
|
8978
|
+
@property
|
|
8979
|
+
def Host(self):
|
|
8980
|
+
r"""事件触发的IP
|
|
8981
|
+
:rtype: str
|
|
8982
|
+
"""
|
|
8983
|
+
return self._Host
|
|
8984
|
+
|
|
8985
|
+
@Host.setter
|
|
8986
|
+
def Host(self, Host):
|
|
8987
|
+
self._Host = Host
|
|
8988
|
+
|
|
8989
|
+
@property
|
|
8990
|
+
def Role(self):
|
|
8991
|
+
r"""事件受影响服务角色
|
|
8992
|
+
:rtype: str
|
|
8993
|
+
"""
|
|
8994
|
+
return self._Role
|
|
8995
|
+
|
|
8996
|
+
@Role.setter
|
|
8997
|
+
def Role(self, Role):
|
|
8998
|
+
self._Role = Role
|
|
8999
|
+
|
|
9000
|
+
@property
|
|
9001
|
+
def Name(self):
|
|
9002
|
+
r"""事件名称
|
|
9003
|
+
:rtype: str
|
|
9004
|
+
"""
|
|
9005
|
+
return self._Name
|
|
9006
|
+
|
|
9007
|
+
@Name.setter
|
|
9008
|
+
def Name(self, Name):
|
|
9009
|
+
self._Name = Name
|
|
9010
|
+
|
|
9011
|
+
@property
|
|
9012
|
+
def Offset(self):
|
|
9013
|
+
r"""事件列表的偏移量
|
|
9014
|
+
:rtype: int
|
|
9015
|
+
"""
|
|
9016
|
+
return self._Offset
|
|
9017
|
+
|
|
9018
|
+
@Offset.setter
|
|
9019
|
+
def Offset(self, Offset):
|
|
9020
|
+
self._Offset = Offset
|
|
9021
|
+
|
|
9022
|
+
@property
|
|
9023
|
+
def Limit(self):
|
|
9024
|
+
r"""事件列表的Limit
|
|
9025
|
+
:rtype: int
|
|
9026
|
+
"""
|
|
9027
|
+
return self._Limit
|
|
9028
|
+
|
|
9029
|
+
@Limit.setter
|
|
9030
|
+
def Limit(self, Limit):
|
|
9031
|
+
self._Limit = Limit
|
|
9032
|
+
|
|
9033
|
+
|
|
9034
|
+
def _deserialize(self, params):
|
|
9035
|
+
self._InstanceId = params.get("InstanceId")
|
|
9036
|
+
self._StartTime = params.get("StartTime")
|
|
9037
|
+
self._EndTime = params.get("EndTime")
|
|
9038
|
+
self._Host = params.get("Host")
|
|
9039
|
+
self._Role = params.get("Role")
|
|
9040
|
+
self._Name = params.get("Name")
|
|
9041
|
+
self._Offset = params.get("Offset")
|
|
9042
|
+
self._Limit = params.get("Limit")
|
|
9043
|
+
memeber_set = set(params.keys())
|
|
9044
|
+
for name, value in vars(self).items():
|
|
9045
|
+
property_name = name[1:]
|
|
9046
|
+
if property_name in memeber_set:
|
|
9047
|
+
memeber_set.remove(property_name)
|
|
9048
|
+
if len(memeber_set) > 0:
|
|
9049
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9050
|
+
|
|
9051
|
+
|
|
9052
|
+
|
|
9053
|
+
class DescribeEMREventListResponse(AbstractModel):
|
|
9054
|
+
r"""DescribeEMREventList返回参数结构体
|
|
9055
|
+
|
|
9056
|
+
"""
|
|
9057
|
+
|
|
9058
|
+
def __init__(self):
|
|
9059
|
+
r"""
|
|
9060
|
+
:param _EventList: 事件详情列表
|
|
9061
|
+
:type EventList: list of EMREventListItem
|
|
9062
|
+
:param _TotalNum: 符合的事件总量
|
|
9063
|
+
:type TotalNum: int
|
|
9064
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9065
|
+
:type RequestId: str
|
|
9066
|
+
"""
|
|
9067
|
+
self._EventList = None
|
|
9068
|
+
self._TotalNum = None
|
|
9069
|
+
self._RequestId = None
|
|
9070
|
+
|
|
9071
|
+
@property
|
|
9072
|
+
def EventList(self):
|
|
9073
|
+
r"""事件详情列表
|
|
9074
|
+
:rtype: list of EMREventListItem
|
|
9075
|
+
"""
|
|
9076
|
+
return self._EventList
|
|
9077
|
+
|
|
9078
|
+
@EventList.setter
|
|
9079
|
+
def EventList(self, EventList):
|
|
9080
|
+
self._EventList = EventList
|
|
9081
|
+
|
|
9082
|
+
@property
|
|
9083
|
+
def TotalNum(self):
|
|
9084
|
+
r"""符合的事件总量
|
|
9085
|
+
:rtype: int
|
|
9086
|
+
"""
|
|
9087
|
+
return self._TotalNum
|
|
9088
|
+
|
|
9089
|
+
@TotalNum.setter
|
|
9090
|
+
def TotalNum(self, TotalNum):
|
|
9091
|
+
self._TotalNum = TotalNum
|
|
9092
|
+
|
|
9093
|
+
@property
|
|
9094
|
+
def RequestId(self):
|
|
9095
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9096
|
+
:rtype: str
|
|
9097
|
+
"""
|
|
9098
|
+
return self._RequestId
|
|
9099
|
+
|
|
9100
|
+
@RequestId.setter
|
|
9101
|
+
def RequestId(self, RequestId):
|
|
9102
|
+
self._RequestId = RequestId
|
|
9103
|
+
|
|
9104
|
+
|
|
9105
|
+
def _deserialize(self, params):
|
|
9106
|
+
if params.get("EventList") is not None:
|
|
9107
|
+
self._EventList = []
|
|
9108
|
+
for item in params.get("EventList"):
|
|
9109
|
+
obj = EMREventListItem()
|
|
9110
|
+
obj._deserialize(item)
|
|
9111
|
+
self._EventList.append(obj)
|
|
9112
|
+
self._TotalNum = params.get("TotalNum")
|
|
9113
|
+
self._RequestId = params.get("RequestId")
|
|
9114
|
+
|
|
9115
|
+
|
|
8912
9116
|
class DescribeEmrApplicationStaticsRequest(AbstractModel):
|
|
8913
9117
|
r"""DescribeEmrApplicationStatics请求参数结构体
|
|
8914
9118
|
|
|
@@ -16413,6 +16617,102 @@ class DynamicPodSpec(AbstractModel):
|
|
|
16413
16617
|
|
|
16414
16618
|
|
|
16415
16619
|
|
|
16620
|
+
class EMREventListItem(AbstractModel):
|
|
16621
|
+
r"""事件详情列表
|
|
16622
|
+
|
|
16623
|
+
"""
|
|
16624
|
+
|
|
16625
|
+
def __init__(self):
|
|
16626
|
+
r"""
|
|
16627
|
+
:param _Host: 事件受影响ip
|
|
16628
|
+
:type Host: str
|
|
16629
|
+
:param _Role: 事件受影响的服务角色
|
|
16630
|
+
:type Role: str
|
|
16631
|
+
:param _Name: 事件名称
|
|
16632
|
+
:type Name: str
|
|
16633
|
+
:param _Detail: 事件告警详情
|
|
16634
|
+
:type Detail: str
|
|
16635
|
+
:param _CreateTime: 事件发生时间
|
|
16636
|
+
:type CreateTime: str
|
|
16637
|
+
"""
|
|
16638
|
+
self._Host = None
|
|
16639
|
+
self._Role = None
|
|
16640
|
+
self._Name = None
|
|
16641
|
+
self._Detail = None
|
|
16642
|
+
self._CreateTime = None
|
|
16643
|
+
|
|
16644
|
+
@property
|
|
16645
|
+
def Host(self):
|
|
16646
|
+
r"""事件受影响ip
|
|
16647
|
+
:rtype: str
|
|
16648
|
+
"""
|
|
16649
|
+
return self._Host
|
|
16650
|
+
|
|
16651
|
+
@Host.setter
|
|
16652
|
+
def Host(self, Host):
|
|
16653
|
+
self._Host = Host
|
|
16654
|
+
|
|
16655
|
+
@property
|
|
16656
|
+
def Role(self):
|
|
16657
|
+
r"""事件受影响的服务角色
|
|
16658
|
+
:rtype: str
|
|
16659
|
+
"""
|
|
16660
|
+
return self._Role
|
|
16661
|
+
|
|
16662
|
+
@Role.setter
|
|
16663
|
+
def Role(self, Role):
|
|
16664
|
+
self._Role = Role
|
|
16665
|
+
|
|
16666
|
+
@property
|
|
16667
|
+
def Name(self):
|
|
16668
|
+
r"""事件名称
|
|
16669
|
+
:rtype: str
|
|
16670
|
+
"""
|
|
16671
|
+
return self._Name
|
|
16672
|
+
|
|
16673
|
+
@Name.setter
|
|
16674
|
+
def Name(self, Name):
|
|
16675
|
+
self._Name = Name
|
|
16676
|
+
|
|
16677
|
+
@property
|
|
16678
|
+
def Detail(self):
|
|
16679
|
+
r"""事件告警详情
|
|
16680
|
+
:rtype: str
|
|
16681
|
+
"""
|
|
16682
|
+
return self._Detail
|
|
16683
|
+
|
|
16684
|
+
@Detail.setter
|
|
16685
|
+
def Detail(self, Detail):
|
|
16686
|
+
self._Detail = Detail
|
|
16687
|
+
|
|
16688
|
+
@property
|
|
16689
|
+
def CreateTime(self):
|
|
16690
|
+
r"""事件发生时间
|
|
16691
|
+
:rtype: str
|
|
16692
|
+
"""
|
|
16693
|
+
return self._CreateTime
|
|
16694
|
+
|
|
16695
|
+
@CreateTime.setter
|
|
16696
|
+
def CreateTime(self, CreateTime):
|
|
16697
|
+
self._CreateTime = CreateTime
|
|
16698
|
+
|
|
16699
|
+
|
|
16700
|
+
def _deserialize(self, params):
|
|
16701
|
+
self._Host = params.get("Host")
|
|
16702
|
+
self._Role = params.get("Role")
|
|
16703
|
+
self._Name = params.get("Name")
|
|
16704
|
+
self._Detail = params.get("Detail")
|
|
16705
|
+
self._CreateTime = params.get("CreateTime")
|
|
16706
|
+
memeber_set = set(params.keys())
|
|
16707
|
+
for name, value in vars(self).items():
|
|
16708
|
+
property_name = name[1:]
|
|
16709
|
+
if property_name in memeber_set:
|
|
16710
|
+
memeber_set.remove(property_name)
|
|
16711
|
+
if len(memeber_set) > 0:
|
|
16712
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16713
|
+
|
|
16714
|
+
|
|
16715
|
+
|
|
16416
16716
|
class EmrListInstance(AbstractModel):
|
|
16417
16717
|
r"""集群列表返回示例
|
|
16418
16718
|
|
|
@@ -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.49
|
|
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.49
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.49
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.43
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|