tencentcloud-sdk-python-emr 3.0.990__tar.gz → 3.0.995__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 (16) hide show
  1. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/setup.py +1 -1
  3. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/tencentcloud/emr/v20190103/emr_client.py +23 -0
  5. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/tencentcloud/emr/v20190103/errorcodes.py +3 -0
  6. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/tencentcloud/emr/v20190103/models.py +149 -2
  7. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/tencentcloud_sdk_python_emr.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-emr-3.0.995/tencentcloud_sdk_python_emr.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-emr-3.0.990/tencentcloud_sdk_python_emr.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/README.rst +0 -0
  11. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/tencentcloud/emr/__init__.py +0 -0
  13. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/tencentcloud/emr/v20190103/__init__.py +0 -0
  14. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/tencentcloud_sdk_python_emr.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/tencentcloud_sdk_python_emr.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-emr-3.0.990 → tencentcloud-sdk-python-emr-3.0.995}/tencentcloud_sdk_python_emr.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-emr
3
- Version: 3.0.990
3
+ Version: 3.0.995
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
@@ -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.990"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.995"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Emr SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.990'
17
+ __version__ = '3.0.995'
@@ -603,6 +603,29 @@ class EmrClient(AbstractClient):
603
603
  raise TencentCloudSDKException(type(e).__name__, str(e))
604
604
 
605
605
 
606
+ def ModifyUserManagerPwd(self, request):
607
+ """修改用户密码(用户管理)
608
+
609
+ :param request: Request instance for ModifyUserManagerPwd.
610
+ :type request: :class:`tencentcloud.emr.v20190103.models.ModifyUserManagerPwdRequest`
611
+ :rtype: :class:`tencentcloud.emr.v20190103.models.ModifyUserManagerPwdResponse`
612
+
613
+ """
614
+ try:
615
+ params = request._serialize()
616
+ headers = request.headers
617
+ body = self.call("ModifyUserManagerPwd", params, headers=headers)
618
+ response = json.loads(body)
619
+ model = models.ModifyUserManagerPwdResponse()
620
+ model._deserialize(response["Response"])
621
+ return model
622
+ except Exception as e:
623
+ if isinstance(e, TencentCloudSDKException):
624
+ raise
625
+ else:
626
+ raise TencentCloudSDKException(type(e).__name__, str(e))
627
+
628
+
606
629
  def RunJobFlow(self, request):
607
630
  """创建流程作业
608
631
 
@@ -419,5 +419,8 @@ UNKNOWNPARAMETER = 'UnknownParameter'
419
419
  # 操作不支持。
420
420
  UNSUPPORTEDOPERATION = 'UnsupportedOperation'
421
421
 
422
+ # 该功能白名单支持。
423
+ UNSUPPORTEDOPERATION_NOTINWHITELIST = 'UnsupportedOperation.NotInWhiteList'
424
+
422
425
  # 该服务不支持此操作。
423
426
  UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = 'UnsupportedOperation.ServiceNotSupport'
@@ -775,6 +775,53 @@ class ClusterExternalServiceInfo(AbstractModel):
775
775
 
776
776
 
777
777
 
778
+ class ClusterIDToFlowID(AbstractModel):
779
+ """集群id与流程id的mapping
780
+
781
+ """
782
+
783
+ def __init__(self):
784
+ r"""
785
+ :param _ClusterId: 集群id
786
+ 注意:此字段可能返回 null,表示取不到有效值。
787
+ :type ClusterId: str
788
+ :param _FlowId: 流程id
789
+ 注意:此字段可能返回 null,表示取不到有效值。
790
+ :type FlowId: int
791
+ """
792
+ self._ClusterId = None
793
+ self._FlowId = None
794
+
795
+ @property
796
+ def ClusterId(self):
797
+ return self._ClusterId
798
+
799
+ @ClusterId.setter
800
+ def ClusterId(self, ClusterId):
801
+ self._ClusterId = ClusterId
802
+
803
+ @property
804
+ def FlowId(self):
805
+ return self._FlowId
806
+
807
+ @FlowId.setter
808
+ def FlowId(self, FlowId):
809
+ self._FlowId = FlowId
810
+
811
+
812
+ def _deserialize(self, params):
813
+ self._ClusterId = params.get("ClusterId")
814
+ self._FlowId = params.get("FlowId")
815
+ memeber_set = set(params.keys())
816
+ for name, value in vars(self).items():
817
+ property_name = name[1:]
818
+ if property_name in memeber_set:
819
+ memeber_set.remove(property_name)
820
+ if len(memeber_set) > 0:
821
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
822
+
823
+
824
+
778
825
  class ClusterInstancesInfo(AbstractModel):
779
826
  """集群实例信息
780
827
 
@@ -2111,8 +2158,8 @@ class CreateInstanceRequest(AbstractModel):
2111
2158
  :param _CbsEncrypt: 集群维度CBS加密盘,默认0表示不加密,1表示加密
2112
2159
  :type CbsEncrypt: int
2113
2160
  :param _MetaType: hive共享元数据库类型。取值范围:
2114
- <li>EMR_NEW_META:表示集群默认创建</li>
2115
- <li>EMR_EXIT_META:表示集群使用指定EMR-MetaDB。</li>
2161
+ <li>EMR_DEFAULT_META:表示集群默认创建</li>
2162
+ <li>EMR_EXIST_META:表示集群使用指定EMR-MetaDB。</li>
2116
2163
  <li>USER_CUSTOM_META:表示集群使用自定义MetaDB。</li>
2117
2164
  :type MetaType: str
2118
2165
  :param _UnifyMetaInstanceId: EMR-MetaDB实例
@@ -8422,12 +8469,16 @@ class ModifyResourcesTagsResponse(AbstractModel):
8422
8469
  :param _PartSuccessList: 部分成功的资源id列表
8423
8470
  注意:此字段可能返回 null,表示取不到有效值。
8424
8471
  :type PartSuccessList: list of str
8472
+ :param _ClusterToFlowIdList: 集群id与流程id的映射列表
8473
+ 注意:此字段可能返回 null,表示取不到有效值。
8474
+ :type ClusterToFlowIdList: list of ClusterIDToFlowID
8425
8475
  :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8426
8476
  :type RequestId: str
8427
8477
  """
8428
8478
  self._SuccessList = None
8429
8479
  self._FailList = None
8430
8480
  self._PartSuccessList = None
8481
+ self._ClusterToFlowIdList = None
8431
8482
  self._RequestId = None
8432
8483
 
8433
8484
  @property
@@ -8454,6 +8505,14 @@ class ModifyResourcesTagsResponse(AbstractModel):
8454
8505
  def PartSuccessList(self, PartSuccessList):
8455
8506
  self._PartSuccessList = PartSuccessList
8456
8507
 
8508
+ @property
8509
+ def ClusterToFlowIdList(self):
8510
+ return self._ClusterToFlowIdList
8511
+
8512
+ @ClusterToFlowIdList.setter
8513
+ def ClusterToFlowIdList(self, ClusterToFlowIdList):
8514
+ self._ClusterToFlowIdList = ClusterToFlowIdList
8515
+
8457
8516
  @property
8458
8517
  def RequestId(self):
8459
8518
  return self._RequestId
@@ -8467,6 +8526,94 @@ class ModifyResourcesTagsResponse(AbstractModel):
8467
8526
  self._SuccessList = params.get("SuccessList")
8468
8527
  self._FailList = params.get("FailList")
8469
8528
  self._PartSuccessList = params.get("PartSuccessList")
8529
+ if params.get("ClusterToFlowIdList") is not None:
8530
+ self._ClusterToFlowIdList = []
8531
+ for item in params.get("ClusterToFlowIdList"):
8532
+ obj = ClusterIDToFlowID()
8533
+ obj._deserialize(item)
8534
+ self._ClusterToFlowIdList.append(obj)
8535
+ self._RequestId = params.get("RequestId")
8536
+
8537
+
8538
+ class ModifyUserManagerPwdRequest(AbstractModel):
8539
+ """ModifyUserManagerPwd请求参数结构体
8540
+
8541
+ """
8542
+
8543
+ def __init__(self):
8544
+ r"""
8545
+ :param _InstanceId: 集群实例ID
8546
+ :type InstanceId: str
8547
+ :param _UserName: 用户名
8548
+ :type UserName: str
8549
+ :param _PassWord: 密码
8550
+ :type PassWord: str
8551
+ """
8552
+ self._InstanceId = None
8553
+ self._UserName = None
8554
+ self._PassWord = None
8555
+
8556
+ @property
8557
+ def InstanceId(self):
8558
+ return self._InstanceId
8559
+
8560
+ @InstanceId.setter
8561
+ def InstanceId(self, InstanceId):
8562
+ self._InstanceId = InstanceId
8563
+
8564
+ @property
8565
+ def UserName(self):
8566
+ return self._UserName
8567
+
8568
+ @UserName.setter
8569
+ def UserName(self, UserName):
8570
+ self._UserName = UserName
8571
+
8572
+ @property
8573
+ def PassWord(self):
8574
+ return self._PassWord
8575
+
8576
+ @PassWord.setter
8577
+ def PassWord(self, PassWord):
8578
+ self._PassWord = PassWord
8579
+
8580
+
8581
+ def _deserialize(self, params):
8582
+ self._InstanceId = params.get("InstanceId")
8583
+ self._UserName = params.get("UserName")
8584
+ self._PassWord = params.get("PassWord")
8585
+ memeber_set = set(params.keys())
8586
+ for name, value in vars(self).items():
8587
+ property_name = name[1:]
8588
+ if property_name in memeber_set:
8589
+ memeber_set.remove(property_name)
8590
+ if len(memeber_set) > 0:
8591
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8592
+
8593
+
8594
+
8595
+ class ModifyUserManagerPwdResponse(AbstractModel):
8596
+ """ModifyUserManagerPwd返回参数结构体
8597
+
8598
+ """
8599
+
8600
+ def __init__(self):
8601
+ r"""
8602
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8603
+ :type RequestId: str
8604
+ """
8605
+ self._RequestId = None
8606
+
8607
+ @property
8608
+ def RequestId(self):
8609
+ return self._RequestId
8610
+
8611
+ @RequestId.setter
8612
+ def RequestId(self, RequestId):
8613
+ self._RequestId = RequestId
8614
+
8615
+
8616
+ def _deserialize(self, params):
8470
8617
  self._RequestId = params.get("RequestId")
8471
8618
 
8472
8619
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-emr
3
- Version: 3.0.990
3
+ Version: 3.0.995
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.995
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.990