tencentcloud-sdk-python-emr 3.0.1325__tar.gz → 3.0.1326__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.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/setup.py +1 -1
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/tencentcloud/emr/v20190103/emr_client.py +23 -0
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/tencentcloud/emr/v20190103/models.py +197 -0
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/tencentcloud_sdk_python_emr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-emr-3.0.1326/tencentcloud_sdk_python_emr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-emr-3.0.1325/tencentcloud_sdk_python_emr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/README.rst +0 -0
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/setup.cfg +0 -0
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/tencentcloud/emr/__init__.py +0 -0
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/tencentcloud/emr/v20190103/__init__.py +0 -0
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/tencentcloud/emr/v20190103/errorcodes.py +0 -0
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/tencentcloud_sdk_python_emr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/tencentcloud_sdk_python_emr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-emr-3.0.1325 → tencentcloud-sdk-python-emr-3.0.1326}/tencentcloud_sdk_python_emr.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1326"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Emr SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -443,6 +443,29 @@ class EmrClient(AbstractClient):
|
|
|
443
443
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
444
444
|
|
|
445
445
|
|
|
446
|
+
def DescribeDAGInfo(self, request):
|
|
447
|
+
"""查询DAG信息
|
|
448
|
+
|
|
449
|
+
:param request: Request instance for DescribeDAGInfo.
|
|
450
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DescribeDAGInfoRequest`
|
|
451
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DescribeDAGInfoResponse`
|
|
452
|
+
|
|
453
|
+
"""
|
|
454
|
+
try:
|
|
455
|
+
params = request._serialize()
|
|
456
|
+
headers = request.headers
|
|
457
|
+
body = self.call("DescribeDAGInfo", params, headers=headers)
|
|
458
|
+
response = json.loads(body)
|
|
459
|
+
model = models.DescribeDAGInfoResponse()
|
|
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 DescribeEmrApplicationStatics(self, request):
|
|
447
470
|
"""yarn application 统计接口查询
|
|
448
471
|
|
|
@@ -6026,6 +6026,72 @@ class CustomServiceDefine(AbstractModel):
|
|
|
6026
6026
|
|
|
6027
6027
|
|
|
6028
6028
|
|
|
6029
|
+
class DAGInfo(AbstractModel):
|
|
6030
|
+
"""DAG信息
|
|
6031
|
+
|
|
6032
|
+
"""
|
|
6033
|
+
|
|
6034
|
+
def __init__(self):
|
|
6035
|
+
r"""
|
|
6036
|
+
:param _ID: 查询ID
|
|
6037
|
+
:type ID: str
|
|
6038
|
+
:param _Type: DAG类型,目前只支持starrocks
|
|
6039
|
+
:type Type: str
|
|
6040
|
+
:param _Content: 返回的DAG的JSON字符串
|
|
6041
|
+
:type Content: str
|
|
6042
|
+
"""
|
|
6043
|
+
self._ID = None
|
|
6044
|
+
self._Type = None
|
|
6045
|
+
self._Content = None
|
|
6046
|
+
|
|
6047
|
+
@property
|
|
6048
|
+
def ID(self):
|
|
6049
|
+
"""查询ID
|
|
6050
|
+
:rtype: str
|
|
6051
|
+
"""
|
|
6052
|
+
return self._ID
|
|
6053
|
+
|
|
6054
|
+
@ID.setter
|
|
6055
|
+
def ID(self, ID):
|
|
6056
|
+
self._ID = ID
|
|
6057
|
+
|
|
6058
|
+
@property
|
|
6059
|
+
def Type(self):
|
|
6060
|
+
"""DAG类型,目前只支持starrocks
|
|
6061
|
+
:rtype: str
|
|
6062
|
+
"""
|
|
6063
|
+
return self._Type
|
|
6064
|
+
|
|
6065
|
+
@Type.setter
|
|
6066
|
+
def Type(self, Type):
|
|
6067
|
+
self._Type = Type
|
|
6068
|
+
|
|
6069
|
+
@property
|
|
6070
|
+
def Content(self):
|
|
6071
|
+
"""返回的DAG的JSON字符串
|
|
6072
|
+
:rtype: str
|
|
6073
|
+
"""
|
|
6074
|
+
return self._Content
|
|
6075
|
+
|
|
6076
|
+
@Content.setter
|
|
6077
|
+
def Content(self, Content):
|
|
6078
|
+
self._Content = Content
|
|
6079
|
+
|
|
6080
|
+
|
|
6081
|
+
def _deserialize(self, params):
|
|
6082
|
+
self._ID = params.get("ID")
|
|
6083
|
+
self._Type = params.get("Type")
|
|
6084
|
+
self._Content = params.get("Content")
|
|
6085
|
+
memeber_set = set(params.keys())
|
|
6086
|
+
for name, value in vars(self).items():
|
|
6087
|
+
property_name = name[1:]
|
|
6088
|
+
if property_name in memeber_set:
|
|
6089
|
+
memeber_set.remove(property_name)
|
|
6090
|
+
if len(memeber_set) > 0:
|
|
6091
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6092
|
+
|
|
6093
|
+
|
|
6094
|
+
|
|
6029
6095
|
class DayRepeatStrategy(AbstractModel):
|
|
6030
6096
|
"""弹性扩缩容按天重复任务描述
|
|
6031
6097
|
|
|
@@ -7743,6 +7809,137 @@ class DescribeCvmQuotaResponse(AbstractModel):
|
|
|
7743
7809
|
self._RequestId = params.get("RequestId")
|
|
7744
7810
|
|
|
7745
7811
|
|
|
7812
|
+
class DescribeDAGInfoRequest(AbstractModel):
|
|
7813
|
+
"""DescribeDAGInfo请求参数结构体
|
|
7814
|
+
|
|
7815
|
+
"""
|
|
7816
|
+
|
|
7817
|
+
def __init__(self):
|
|
7818
|
+
r"""
|
|
7819
|
+
:param _InstanceID: 集群ID
|
|
7820
|
+
:type InstanceID: str
|
|
7821
|
+
:param _Type: DAG类型,目前只支持STARROCKS
|
|
7822
|
+
:type Type: str
|
|
7823
|
+
:param _IDList: 查询ID列表,最大长度为1
|
|
7824
|
+
:type IDList: list of str
|
|
7825
|
+
"""
|
|
7826
|
+
self._InstanceID = None
|
|
7827
|
+
self._Type = None
|
|
7828
|
+
self._IDList = None
|
|
7829
|
+
|
|
7830
|
+
@property
|
|
7831
|
+
def InstanceID(self):
|
|
7832
|
+
"""集群ID
|
|
7833
|
+
:rtype: str
|
|
7834
|
+
"""
|
|
7835
|
+
return self._InstanceID
|
|
7836
|
+
|
|
7837
|
+
@InstanceID.setter
|
|
7838
|
+
def InstanceID(self, InstanceID):
|
|
7839
|
+
self._InstanceID = InstanceID
|
|
7840
|
+
|
|
7841
|
+
@property
|
|
7842
|
+
def Type(self):
|
|
7843
|
+
"""DAG类型,目前只支持STARROCKS
|
|
7844
|
+
:rtype: str
|
|
7845
|
+
"""
|
|
7846
|
+
return self._Type
|
|
7847
|
+
|
|
7848
|
+
@Type.setter
|
|
7849
|
+
def Type(self, Type):
|
|
7850
|
+
self._Type = Type
|
|
7851
|
+
|
|
7852
|
+
@property
|
|
7853
|
+
def IDList(self):
|
|
7854
|
+
"""查询ID列表,最大长度为1
|
|
7855
|
+
:rtype: list of str
|
|
7856
|
+
"""
|
|
7857
|
+
return self._IDList
|
|
7858
|
+
|
|
7859
|
+
@IDList.setter
|
|
7860
|
+
def IDList(self, IDList):
|
|
7861
|
+
self._IDList = IDList
|
|
7862
|
+
|
|
7863
|
+
|
|
7864
|
+
def _deserialize(self, params):
|
|
7865
|
+
self._InstanceID = params.get("InstanceID")
|
|
7866
|
+
self._Type = params.get("Type")
|
|
7867
|
+
self._IDList = params.get("IDList")
|
|
7868
|
+
memeber_set = set(params.keys())
|
|
7869
|
+
for name, value in vars(self).items():
|
|
7870
|
+
property_name = name[1:]
|
|
7871
|
+
if property_name in memeber_set:
|
|
7872
|
+
memeber_set.remove(property_name)
|
|
7873
|
+
if len(memeber_set) > 0:
|
|
7874
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7875
|
+
|
|
7876
|
+
|
|
7877
|
+
|
|
7878
|
+
class DescribeDAGInfoResponse(AbstractModel):
|
|
7879
|
+
"""DescribeDAGInfo返回参数结构体
|
|
7880
|
+
|
|
7881
|
+
"""
|
|
7882
|
+
|
|
7883
|
+
def __init__(self):
|
|
7884
|
+
r"""
|
|
7885
|
+
:param _TotalCount: 总数,分页查询时使用
|
|
7886
|
+
:type TotalCount: int
|
|
7887
|
+
:param _DAGInfoList: Starrocks 查询信息列表
|
|
7888
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7889
|
+
:type DAGInfoList: list of DAGInfo
|
|
7890
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7891
|
+
:type RequestId: str
|
|
7892
|
+
"""
|
|
7893
|
+
self._TotalCount = None
|
|
7894
|
+
self._DAGInfoList = None
|
|
7895
|
+
self._RequestId = None
|
|
7896
|
+
|
|
7897
|
+
@property
|
|
7898
|
+
def TotalCount(self):
|
|
7899
|
+
"""总数,分页查询时使用
|
|
7900
|
+
:rtype: int
|
|
7901
|
+
"""
|
|
7902
|
+
return self._TotalCount
|
|
7903
|
+
|
|
7904
|
+
@TotalCount.setter
|
|
7905
|
+
def TotalCount(self, TotalCount):
|
|
7906
|
+
self._TotalCount = TotalCount
|
|
7907
|
+
|
|
7908
|
+
@property
|
|
7909
|
+
def DAGInfoList(self):
|
|
7910
|
+
"""Starrocks 查询信息列表
|
|
7911
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7912
|
+
:rtype: list of DAGInfo
|
|
7913
|
+
"""
|
|
7914
|
+
return self._DAGInfoList
|
|
7915
|
+
|
|
7916
|
+
@DAGInfoList.setter
|
|
7917
|
+
def DAGInfoList(self, DAGInfoList):
|
|
7918
|
+
self._DAGInfoList = DAGInfoList
|
|
7919
|
+
|
|
7920
|
+
@property
|
|
7921
|
+
def RequestId(self):
|
|
7922
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7923
|
+
:rtype: str
|
|
7924
|
+
"""
|
|
7925
|
+
return self._RequestId
|
|
7926
|
+
|
|
7927
|
+
@RequestId.setter
|
|
7928
|
+
def RequestId(self, RequestId):
|
|
7929
|
+
self._RequestId = RequestId
|
|
7930
|
+
|
|
7931
|
+
|
|
7932
|
+
def _deserialize(self, params):
|
|
7933
|
+
self._TotalCount = params.get("TotalCount")
|
|
7934
|
+
if params.get("DAGInfoList") is not None:
|
|
7935
|
+
self._DAGInfoList = []
|
|
7936
|
+
for item in params.get("DAGInfoList"):
|
|
7937
|
+
obj = DAGInfo()
|
|
7938
|
+
obj._deserialize(item)
|
|
7939
|
+
self._DAGInfoList.append(obj)
|
|
7940
|
+
self._RequestId = params.get("RequestId")
|
|
7941
|
+
|
|
7942
|
+
|
|
7746
7943
|
class DescribeEmrApplicationStaticsRequest(AbstractModel):
|
|
7747
7944
|
"""DescribeEmrApplicationStatics请求参数结构体
|
|
7748
7945
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1326
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1325
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|