tencentcloud-sdk-python-intl-en 3.0.1258__py2.py3-none-any.whl → 3.0.1259__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/emr/v20190103/models.py +336 -0
- tencentcloud/postgres/v20170312/errorcodes.py +18 -0
- tencentcloud/postgres/v20170312/models.py +56 -22
- tencentcloud/redis/v20180412/models.py +1117 -745
- tencentcloud/redis/v20180412/redis_client.py +75 -6
- tencentcloud/trtc/v20190722/models.py +1368 -323
- tencentcloud/trtc/v20190722/trtc_client.py +97 -0
- {tencentcloud_sdk_python_intl_en-3.0.1258.dist-info → tencentcloud_sdk_python_intl_en-3.0.1259.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1258.dist-info → tencentcloud_sdk_python_intl_en-3.0.1259.dist-info}/RECORD +12 -12
- {tencentcloud_sdk_python_intl_en-3.0.1258.dist-info → tencentcloud_sdk_python_intl_en-3.0.1259.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1258.dist-info → tencentcloud_sdk_python_intl_en-3.0.1259.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -3116,6 +3116,8 @@ class CreateSLInstanceRequest(AbstractModel):
|
|
3116
3116
|
:type PrePaySetting: :class:`tencentcloud.emr.v20190103.models.PrePaySetting`
|
3117
3117
|
:param _ClientToken: The unique random identifier with a time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources repeatedly. For example: a9a90aa6-****-****-****-fae360632808.
|
3118
3118
|
:type ClientToken: str
|
3119
|
+
:param _DeploymentMode:
|
3120
|
+
:type DeploymentMode: str
|
3119
3121
|
"""
|
3120
3122
|
self._InstanceName = None
|
3121
3123
|
self._PayMode = None
|
@@ -3126,6 +3128,7 @@ class CreateSLInstanceRequest(AbstractModel):
|
|
3126
3128
|
self._Tags = None
|
3127
3129
|
self._PrePaySetting = None
|
3128
3130
|
self._ClientToken = None
|
3131
|
+
self._DeploymentMode = None
|
3129
3132
|
|
3130
3133
|
@property
|
3131
3134
|
def InstanceName(self):
|
@@ -3226,6 +3229,17 @@ class CreateSLInstanceRequest(AbstractModel):
|
|
3226
3229
|
def ClientToken(self, ClientToken):
|
3227
3230
|
self._ClientToken = ClientToken
|
3228
3231
|
|
3232
|
+
@property
|
3233
|
+
def DeploymentMode(self):
|
3234
|
+
"""
|
3235
|
+
:rtype: str
|
3236
|
+
"""
|
3237
|
+
return self._DeploymentMode
|
3238
|
+
|
3239
|
+
@DeploymentMode.setter
|
3240
|
+
def DeploymentMode(self, DeploymentMode):
|
3241
|
+
self._DeploymentMode = DeploymentMode
|
3242
|
+
|
3229
3243
|
|
3230
3244
|
def _deserialize(self, params):
|
3231
3245
|
self._InstanceName = params.get("InstanceName")
|
@@ -3249,6 +3263,7 @@ class CreateSLInstanceRequest(AbstractModel):
|
|
3249
3263
|
self._PrePaySetting = PrePaySetting()
|
3250
3264
|
self._PrePaySetting._deserialize(params.get("PrePaySetting"))
|
3251
3265
|
self._ClientToken = params.get("ClientToken")
|
3266
|
+
self._DeploymentMode = params.get("DeploymentMode")
|
3252
3267
|
memeber_set = set(params.keys())
|
3253
3268
|
for name, value in vars(self).items():
|
3254
3269
|
property_name = name[1:]
|
@@ -5219,6 +5234,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5219
5234
|
:type AutoRenewFlag: int
|
5220
5235
|
:param _NodeNum: Total number of instance nodes.
|
5221
5236
|
:type NodeNum: int
|
5237
|
+
:param _SLInstance:
|
5238
|
+
:type SLInstance: list of SLInstance
|
5222
5239
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
5223
5240
|
:type RequestId: str
|
5224
5241
|
"""
|
@@ -5239,6 +5256,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5239
5256
|
self._Status = None
|
5240
5257
|
self._AutoRenewFlag = None
|
5241
5258
|
self._NodeNum = None
|
5259
|
+
self._SLInstance = None
|
5242
5260
|
self._RequestId = None
|
5243
5261
|
|
5244
5262
|
@property
|
@@ -5429,6 +5447,17 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5429
5447
|
def NodeNum(self, NodeNum):
|
5430
5448
|
self._NodeNum = NodeNum
|
5431
5449
|
|
5450
|
+
@property
|
5451
|
+
def SLInstance(self):
|
5452
|
+
"""
|
5453
|
+
:rtype: list of SLInstance
|
5454
|
+
"""
|
5455
|
+
return self._SLInstance
|
5456
|
+
|
5457
|
+
@SLInstance.setter
|
5458
|
+
def SLInstance(self, SLInstance):
|
5459
|
+
self._SLInstance = SLInstance
|
5460
|
+
|
5432
5461
|
@property
|
5433
5462
|
def RequestId(self):
|
5434
5463
|
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
@@ -5469,6 +5498,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
5469
5498
|
self._Status = params.get("Status")
|
5470
5499
|
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
5471
5500
|
self._NodeNum = params.get("NodeNum")
|
5501
|
+
if params.get("SLInstance") is not None:
|
5502
|
+
self._SLInstance = []
|
5503
|
+
for item in params.get("SLInstance"):
|
5504
|
+
obj = SLInstance()
|
5505
|
+
obj._deserialize(item)
|
5506
|
+
self._SLInstance.append(obj)
|
5472
5507
|
self._RequestId = params.get("RequestId")
|
5473
5508
|
|
5474
5509
|
|
@@ -13716,6 +13751,307 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
13716
13751
|
|
13717
13752
|
|
13718
13753
|
|
13754
|
+
class SLInstance(AbstractModel):
|
13755
|
+
"""Serverless Instance
|
13756
|
+
|
13757
|
+
"""
|
13758
|
+
|
13759
|
+
def __init__(self):
|
13760
|
+
r"""
|
13761
|
+
:param _InstanceId: EMR Instance Id
|
13762
|
+
:type InstanceId: str
|
13763
|
+
:param _ClusterId: EMR Numeric Instance Id
|
13764
|
+
:type ClusterId: int
|
13765
|
+
:param _InstanceName: Instance Name
|
13766
|
+
:type InstanceName: str
|
13767
|
+
:param _RegionId: Region id
|
13768
|
+
:type RegionId: int
|
13769
|
+
:param _Zone: Zone Name
|
13770
|
+
:type Zone: str
|
13771
|
+
:param _PayMode: Pay Mode
|
13772
|
+
:type PayMode: int
|
13773
|
+
:param _DiskType: Disk Type
|
13774
|
+
:type DiskType: str
|
13775
|
+
:param _DiskSize: Disk Size
|
13776
|
+
:type DiskSize: int
|
13777
|
+
:param _NodeType: Node Type
|
13778
|
+
:type NodeType: str
|
13779
|
+
:param _NodeNum: Node Number
|
13780
|
+
:type NodeNum: int
|
13781
|
+
:param _ExpireTime: Expire Time
|
13782
|
+
:type ExpireTime: str
|
13783
|
+
:param _IsolateTime: Isolate Time
|
13784
|
+
:type IsolateTime: str
|
13785
|
+
:param _CreateTime: Create Time
|
13786
|
+
:type CreateTime: str
|
13787
|
+
:param _AutoRenewFlag: Auto Renew Flag
|
13788
|
+
:type AutoRenewFlag: int
|
13789
|
+
:param _Status: EMR Numeric Instance Status
|
13790
|
+
:type Status: int
|
13791
|
+
:param _ZoneSettings: Zone Setting
|
13792
|
+
:type ZoneSettings: list of ZoneSetting
|
13793
|
+
:param _Tags: Bound Tags
|
13794
|
+
:type Tags: list of Tag
|
13795
|
+
:param _DeployRole: Deploy Role
|
13796
|
+
:type DeployRole: str
|
13797
|
+
"""
|
13798
|
+
self._InstanceId = None
|
13799
|
+
self._ClusterId = None
|
13800
|
+
self._InstanceName = None
|
13801
|
+
self._RegionId = None
|
13802
|
+
self._Zone = None
|
13803
|
+
self._PayMode = None
|
13804
|
+
self._DiskType = None
|
13805
|
+
self._DiskSize = None
|
13806
|
+
self._NodeType = None
|
13807
|
+
self._NodeNum = None
|
13808
|
+
self._ExpireTime = None
|
13809
|
+
self._IsolateTime = None
|
13810
|
+
self._CreateTime = None
|
13811
|
+
self._AutoRenewFlag = None
|
13812
|
+
self._Status = None
|
13813
|
+
self._ZoneSettings = None
|
13814
|
+
self._Tags = None
|
13815
|
+
self._DeployRole = None
|
13816
|
+
|
13817
|
+
@property
|
13818
|
+
def InstanceId(self):
|
13819
|
+
"""EMR Instance Id
|
13820
|
+
:rtype: str
|
13821
|
+
"""
|
13822
|
+
return self._InstanceId
|
13823
|
+
|
13824
|
+
@InstanceId.setter
|
13825
|
+
def InstanceId(self, InstanceId):
|
13826
|
+
self._InstanceId = InstanceId
|
13827
|
+
|
13828
|
+
@property
|
13829
|
+
def ClusterId(self):
|
13830
|
+
"""EMR Numeric Instance Id
|
13831
|
+
:rtype: int
|
13832
|
+
"""
|
13833
|
+
return self._ClusterId
|
13834
|
+
|
13835
|
+
@ClusterId.setter
|
13836
|
+
def ClusterId(self, ClusterId):
|
13837
|
+
self._ClusterId = ClusterId
|
13838
|
+
|
13839
|
+
@property
|
13840
|
+
def InstanceName(self):
|
13841
|
+
"""Instance Name
|
13842
|
+
:rtype: str
|
13843
|
+
"""
|
13844
|
+
return self._InstanceName
|
13845
|
+
|
13846
|
+
@InstanceName.setter
|
13847
|
+
def InstanceName(self, InstanceName):
|
13848
|
+
self._InstanceName = InstanceName
|
13849
|
+
|
13850
|
+
@property
|
13851
|
+
def RegionId(self):
|
13852
|
+
"""Region id
|
13853
|
+
:rtype: int
|
13854
|
+
"""
|
13855
|
+
return self._RegionId
|
13856
|
+
|
13857
|
+
@RegionId.setter
|
13858
|
+
def RegionId(self, RegionId):
|
13859
|
+
self._RegionId = RegionId
|
13860
|
+
|
13861
|
+
@property
|
13862
|
+
def Zone(self):
|
13863
|
+
"""Zone Name
|
13864
|
+
:rtype: str
|
13865
|
+
"""
|
13866
|
+
return self._Zone
|
13867
|
+
|
13868
|
+
@Zone.setter
|
13869
|
+
def Zone(self, Zone):
|
13870
|
+
self._Zone = Zone
|
13871
|
+
|
13872
|
+
@property
|
13873
|
+
def PayMode(self):
|
13874
|
+
"""Pay Mode
|
13875
|
+
:rtype: int
|
13876
|
+
"""
|
13877
|
+
return self._PayMode
|
13878
|
+
|
13879
|
+
@PayMode.setter
|
13880
|
+
def PayMode(self, PayMode):
|
13881
|
+
self._PayMode = PayMode
|
13882
|
+
|
13883
|
+
@property
|
13884
|
+
def DiskType(self):
|
13885
|
+
"""Disk Type
|
13886
|
+
:rtype: str
|
13887
|
+
"""
|
13888
|
+
return self._DiskType
|
13889
|
+
|
13890
|
+
@DiskType.setter
|
13891
|
+
def DiskType(self, DiskType):
|
13892
|
+
self._DiskType = DiskType
|
13893
|
+
|
13894
|
+
@property
|
13895
|
+
def DiskSize(self):
|
13896
|
+
"""Disk Size
|
13897
|
+
:rtype: int
|
13898
|
+
"""
|
13899
|
+
return self._DiskSize
|
13900
|
+
|
13901
|
+
@DiskSize.setter
|
13902
|
+
def DiskSize(self, DiskSize):
|
13903
|
+
self._DiskSize = DiskSize
|
13904
|
+
|
13905
|
+
@property
|
13906
|
+
def NodeType(self):
|
13907
|
+
"""Node Type
|
13908
|
+
:rtype: str
|
13909
|
+
"""
|
13910
|
+
return self._NodeType
|
13911
|
+
|
13912
|
+
@NodeType.setter
|
13913
|
+
def NodeType(self, NodeType):
|
13914
|
+
self._NodeType = NodeType
|
13915
|
+
|
13916
|
+
@property
|
13917
|
+
def NodeNum(self):
|
13918
|
+
"""Node Number
|
13919
|
+
:rtype: int
|
13920
|
+
"""
|
13921
|
+
return self._NodeNum
|
13922
|
+
|
13923
|
+
@NodeNum.setter
|
13924
|
+
def NodeNum(self, NodeNum):
|
13925
|
+
self._NodeNum = NodeNum
|
13926
|
+
|
13927
|
+
@property
|
13928
|
+
def ExpireTime(self):
|
13929
|
+
"""Expire Time
|
13930
|
+
:rtype: str
|
13931
|
+
"""
|
13932
|
+
return self._ExpireTime
|
13933
|
+
|
13934
|
+
@ExpireTime.setter
|
13935
|
+
def ExpireTime(self, ExpireTime):
|
13936
|
+
self._ExpireTime = ExpireTime
|
13937
|
+
|
13938
|
+
@property
|
13939
|
+
def IsolateTime(self):
|
13940
|
+
"""Isolate Time
|
13941
|
+
:rtype: str
|
13942
|
+
"""
|
13943
|
+
return self._IsolateTime
|
13944
|
+
|
13945
|
+
@IsolateTime.setter
|
13946
|
+
def IsolateTime(self, IsolateTime):
|
13947
|
+
self._IsolateTime = IsolateTime
|
13948
|
+
|
13949
|
+
@property
|
13950
|
+
def CreateTime(self):
|
13951
|
+
"""Create Time
|
13952
|
+
:rtype: str
|
13953
|
+
"""
|
13954
|
+
return self._CreateTime
|
13955
|
+
|
13956
|
+
@CreateTime.setter
|
13957
|
+
def CreateTime(self, CreateTime):
|
13958
|
+
self._CreateTime = CreateTime
|
13959
|
+
|
13960
|
+
@property
|
13961
|
+
def AutoRenewFlag(self):
|
13962
|
+
"""Auto Renew Flag
|
13963
|
+
:rtype: int
|
13964
|
+
"""
|
13965
|
+
return self._AutoRenewFlag
|
13966
|
+
|
13967
|
+
@AutoRenewFlag.setter
|
13968
|
+
def AutoRenewFlag(self, AutoRenewFlag):
|
13969
|
+
self._AutoRenewFlag = AutoRenewFlag
|
13970
|
+
|
13971
|
+
@property
|
13972
|
+
def Status(self):
|
13973
|
+
"""EMR Numeric Instance Status
|
13974
|
+
:rtype: int
|
13975
|
+
"""
|
13976
|
+
return self._Status
|
13977
|
+
|
13978
|
+
@Status.setter
|
13979
|
+
def Status(self, Status):
|
13980
|
+
self._Status = Status
|
13981
|
+
|
13982
|
+
@property
|
13983
|
+
def ZoneSettings(self):
|
13984
|
+
"""Zone Setting
|
13985
|
+
:rtype: list of ZoneSetting
|
13986
|
+
"""
|
13987
|
+
return self._ZoneSettings
|
13988
|
+
|
13989
|
+
@ZoneSettings.setter
|
13990
|
+
def ZoneSettings(self, ZoneSettings):
|
13991
|
+
self._ZoneSettings = ZoneSettings
|
13992
|
+
|
13993
|
+
@property
|
13994
|
+
def Tags(self):
|
13995
|
+
"""Bound Tags
|
13996
|
+
:rtype: list of Tag
|
13997
|
+
"""
|
13998
|
+
return self._Tags
|
13999
|
+
|
14000
|
+
@Tags.setter
|
14001
|
+
def Tags(self, Tags):
|
14002
|
+
self._Tags = Tags
|
14003
|
+
|
14004
|
+
@property
|
14005
|
+
def DeployRole(self):
|
14006
|
+
"""Deploy Role
|
14007
|
+
:rtype: str
|
14008
|
+
"""
|
14009
|
+
return self._DeployRole
|
14010
|
+
|
14011
|
+
@DeployRole.setter
|
14012
|
+
def DeployRole(self, DeployRole):
|
14013
|
+
self._DeployRole = DeployRole
|
14014
|
+
|
14015
|
+
|
14016
|
+
def _deserialize(self, params):
|
14017
|
+
self._InstanceId = params.get("InstanceId")
|
14018
|
+
self._ClusterId = params.get("ClusterId")
|
14019
|
+
self._InstanceName = params.get("InstanceName")
|
14020
|
+
self._RegionId = params.get("RegionId")
|
14021
|
+
self._Zone = params.get("Zone")
|
14022
|
+
self._PayMode = params.get("PayMode")
|
14023
|
+
self._DiskType = params.get("DiskType")
|
14024
|
+
self._DiskSize = params.get("DiskSize")
|
14025
|
+
self._NodeType = params.get("NodeType")
|
14026
|
+
self._NodeNum = params.get("NodeNum")
|
14027
|
+
self._ExpireTime = params.get("ExpireTime")
|
14028
|
+
self._IsolateTime = params.get("IsolateTime")
|
14029
|
+
self._CreateTime = params.get("CreateTime")
|
14030
|
+
self._AutoRenewFlag = params.get("AutoRenewFlag")
|
14031
|
+
self._Status = params.get("Status")
|
14032
|
+
if params.get("ZoneSettings") is not None:
|
14033
|
+
self._ZoneSettings = []
|
14034
|
+
for item in params.get("ZoneSettings"):
|
14035
|
+
obj = ZoneSetting()
|
14036
|
+
obj._deserialize(item)
|
14037
|
+
self._ZoneSettings.append(obj)
|
14038
|
+
if params.get("Tags") is not None:
|
14039
|
+
self._Tags = []
|
14040
|
+
for item in params.get("Tags"):
|
14041
|
+
obj = Tag()
|
14042
|
+
obj._deserialize(item)
|
14043
|
+
self._Tags.append(obj)
|
14044
|
+
self._DeployRole = params.get("DeployRole")
|
14045
|
+
memeber_set = set(params.keys())
|
14046
|
+
for name, value in vars(self).items():
|
14047
|
+
property_name = name[1:]
|
14048
|
+
if property_name in memeber_set:
|
14049
|
+
memeber_set.remove(property_name)
|
14050
|
+
if len(memeber_set) > 0:
|
14051
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14052
|
+
|
14053
|
+
|
14054
|
+
|
13719
14055
|
class SLInstanceInfo(AbstractModel):
|
13720
14056
|
"""Serverless HBase instance information
|
13721
14057
|
|
@@ -257,6 +257,9 @@ INTERNALERROR_INSTANCEDATAERROR = 'InternalError.InstanceDataError'
|
|
257
257
|
# An exception occurred while executing the request.
|
258
258
|
INTERNALERROR_INTERNALHTTPSERVERERROR = 'InternalError.InternalHttpServerError'
|
259
259
|
|
260
|
+
#
|
261
|
+
INTERNALERROR_JSONPARSEERROR = 'InternalError.JsonParseError'
|
262
|
+
|
260
263
|
# Failed to parse background data. Please contact customer service.
|
261
264
|
INTERNALERROR_MARSHALERROR = 'InternalError.MarshalError'
|
262
265
|
|
@@ -320,6 +323,9 @@ INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = 'InvalidParameterValue.CharsetNotFo
|
|
320
323
|
# Failed to convert data format. Please contact customer service.
|
321
324
|
INVALIDPARAMETERVALUE_DATACONVERTERROR = 'InvalidParameterValue.DataConvertError'
|
322
325
|
|
326
|
+
#
|
327
|
+
INVALIDPARAMETERVALUE_DECRYPTPASSWORDFAILED = 'InvalidParameterValue.DecryptPasswordFailed'
|
328
|
+
|
323
329
|
# Unsupported billing type.
|
324
330
|
INVALIDPARAMETERVALUE_ILLEGALCHARGETYPE = 'InvalidParameterValue.IllegalChargeType'
|
325
331
|
|
@@ -353,6 +359,12 @@ INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = 'InvalidParameterValue.InvalidAccou
|
|
353
359
|
# The current account name cannot be a reserved character.
|
354
360
|
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = 'InvalidParameterValue.InvalidAccountName'
|
355
361
|
|
362
|
+
#
|
363
|
+
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = 'InvalidParameterValue.InvalidAccountNameError'
|
364
|
+
|
365
|
+
#
|
366
|
+
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = 'InvalidParameterValue.InvalidAccountNameFormatError'
|
367
|
+
|
356
368
|
# Incorrect database character set. Currently, only `UTF8` and `LATIN1` are supported.
|
357
369
|
INVALIDPARAMETERVALUE_INVALIDCHARSET = 'InvalidParameterValue.InvalidCharset'
|
358
370
|
|
@@ -464,6 +476,9 @@ OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = 'OperationDenied.InstanceStatusLimi
|
|
464
476
|
# Invalid instance type
|
465
477
|
OPERATIONDENIED_INSTANCETYPEDENIED = 'OperationDenied.InstanceTypeDenied'
|
466
478
|
|
479
|
+
#
|
480
|
+
OPERATIONDENIED_INSUFFICIENTBALANCEERROR = 'OperationDenied.InsufficientBalanceError'
|
481
|
+
|
467
482
|
# Serverless is not supported in this availability zone.
|
468
483
|
OPERATIONDENIED_NOTSUPPORTZONEERROR = 'OperationDenied.NotSupportZoneError'
|
469
484
|
|
@@ -485,6 +500,9 @@ OPERATIONDENIED_ROINSTANCESTATUSLIMITOPERROR = 'OperationDenied.ROInstanceStatus
|
|
485
500
|
# The total number of read-only nodes should not exceed the upper limit.
|
486
501
|
OPERATIONDENIED_ROINSTANCECOUNTEXEEDERROR = 'OperationDenied.RoInstanceCountExeedError'
|
487
502
|
|
503
|
+
#
|
504
|
+
OPERATIONDENIED_TRADEPERMISSIONERROR = 'OperationDenied.TradePermissionError'
|
505
|
+
|
488
506
|
# You need to verify your identity to make a purchase.
|
489
507
|
OPERATIONDENIED_USERNOTAUTHENTICATEDERROR = 'OperationDenied.UserNotAuthenticatedError'
|
490
508
|
|