tencentcloud-sdk-python-intl-en 3.0.1072__py2.py3-none-any.whl → 3.0.1074__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apigateway/v20180808/models.py +1 -1
- tencentcloud/intlpartnersmgt/v20220928/errorcodes.py +18 -0
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +23 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +84 -3
- {tencentcloud_sdk_python_intl_en-3.0.1072.dist-info → tencentcloud_sdk_python_intl_en-3.0.1074.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1072.dist-info → tencentcloud_sdk_python_intl_en-3.0.1074.dist-info}/RECORD +9 -9
- {tencentcloud_sdk_python_intl_en-3.0.1072.dist-info → tencentcloud_sdk_python_intl_en-3.0.1074.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1072.dist-info → tencentcloud_sdk_python_intl_en-3.0.1074.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -18480,7 +18480,7 @@ class UpdateApiKeyRequest(AbstractModel):
|
|
|
18480
18480
|
r"""
|
|
18481
18481
|
:param _AccessKeyId: ID of the key to be changed.
|
|
18482
18482
|
:type AccessKeyId: str
|
|
18483
|
-
:param _AccessKeySecret: Key to be updated, which is required when a custom key is updated. It can contain 10
|
|
18483
|
+
:param _AccessKeySecret: Key to be updated, which is required when a custom key is updated. It can contain 10-50 letters, digits, and underscores.
|
|
18484
18484
|
:type AccessKeySecret: str
|
|
18485
18485
|
"""
|
|
18486
18486
|
self._AccessKeyId = None
|
|
@@ -20,15 +20,30 @@ AUTHFAILURE = 'AuthFailure'
|
|
|
20
20
|
# Operation failed.
|
|
21
21
|
FAILEDOPERATION = 'FailedOperation'
|
|
22
22
|
|
|
23
|
+
#
|
|
24
|
+
FAILEDOPERATION_EXCEEDMAXBINDCOUNT = 'FailedOperation.ExceedMaxBindCount'
|
|
25
|
+
|
|
23
26
|
# FailedOperation.MailIsRegistered
|
|
24
27
|
FAILEDOPERATION_MAILISREGISTERED = 'FailedOperation.MailIsRegistered'
|
|
25
28
|
|
|
29
|
+
# The number of registered accounts for the current mobile number has reached the maximum limit. Please change the phone number and try again.
|
|
30
|
+
FAILEDOPERATION_PHONEBINDUPPER = 'FailedOperation.PhoneBindUpper'
|
|
31
|
+
|
|
32
|
+
# Verification codes are sent too frequently. Please try again later.
|
|
33
|
+
FAILEDOPERATION_SENDVERIFYCODELIMIT = 'FailedOperation.SendVerifyCodeLimit'
|
|
34
|
+
|
|
35
|
+
# The interval for sending SMS verification codes should be greater than 60 seconds. Please try again later.
|
|
36
|
+
FAILEDOPERATION_SENDVERIFYCODELIMIT60 = 'FailedOperation.SendVerifyCodeLimit60'
|
|
37
|
+
|
|
26
38
|
# Invalid UIN
|
|
27
39
|
FAILEDOPERATION_UININVALID = 'FailedOperation.UinInvalid'
|
|
28
40
|
|
|
29
41
|
# UIN is not a reseller.
|
|
30
42
|
FAILEDOPERATION_UINNOTAGENT = 'FailedOperation.UinNotAgent'
|
|
31
43
|
|
|
44
|
+
# Incorrect verification code.
|
|
45
|
+
FAILEDOPERATION_VERIFICATIONCODEILLEGAL = 'FailedOperation.VerificationCodeIllegal'
|
|
46
|
+
|
|
32
47
|
# Internal error.
|
|
33
48
|
INTERNALERROR = 'InternalError'
|
|
34
49
|
|
|
@@ -104,6 +119,9 @@ INVALIDPARAMETERVALUE_PHONENUMEMPTY = 'InvalidParameterValue.PhoneNumEmpty'
|
|
|
104
119
|
# Invalid UinList. Array length value: 1-50.
|
|
105
120
|
INVALIDPARAMETERVALUE_UINLIST = 'InvalidParameterValue.UinList'
|
|
106
121
|
|
|
122
|
+
# The current region does not support creating a Tencent Cloud International account.
|
|
123
|
+
INVALIDPARAMETERVALUE_UNSUPPORTAREA = 'InvalidParameterValue.UnSupportArea'
|
|
124
|
+
|
|
107
125
|
# Missing parameter
|
|
108
126
|
MISSINGPARAMETER = 'MissingParameter'
|
|
109
127
|
|
|
@@ -598,6 +598,29 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
598
598
|
model = models.QueryVoucherPoolResponse()
|
|
599
599
|
model._deserialize(response["Response"])
|
|
600
600
|
return model
|
|
601
|
+
except Exception as e:
|
|
602
|
+
if isinstance(e, TencentCloudSDKException):
|
|
603
|
+
raise
|
|
604
|
+
else:
|
|
605
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
def SendVerifyCode(self, request):
|
|
609
|
+
"""This API is used to send a verification code for account registration.
|
|
610
|
+
|
|
611
|
+
:param request: Request instance for SendVerifyCode.
|
|
612
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.SendVerifyCodeRequest`
|
|
613
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.SendVerifyCodeResponse`
|
|
614
|
+
|
|
615
|
+
"""
|
|
616
|
+
try:
|
|
617
|
+
params = request._serialize()
|
|
618
|
+
headers = request.headers
|
|
619
|
+
body = self.call("SendVerifyCode", params, headers=headers)
|
|
620
|
+
response = json.loads(body)
|
|
621
|
+
model = models.SendVerifyCodeResponse()
|
|
622
|
+
model._deserialize(response["Response"])
|
|
623
|
+
return model
|
|
601
624
|
except Exception as e:
|
|
602
625
|
if isinstance(e, TencentCloudSDKException):
|
|
603
626
|
raise
|
|
@@ -1005,8 +1005,7 @@ A password must contain numbers, letters, and symbols (!@#$%^&*()). Space is not
|
|
|
1005
1005
|
:type Password: str
|
|
1006
1006
|
:param _ConfirmPassword: The confirmed password, which must be the same as that entered in the `Password` field.
|
|
1007
1007
|
:type ConfirmPassword: str
|
|
1008
|
-
:param _PhoneNum: Customer mobile number
|
|
1009
|
-
A global mobile number within 1-32 digits is allowed, such as 18888888888.
|
|
1008
|
+
:param _PhoneNum: Customer's mobile number. The caller needs to ensure the validity and correctness of the mobile number. A global mobile number within a range of 1-32 digits is allowed. Starting from October 25, 2024, the system will perform binding limit verification of the mobile number you provide, allowing a maximum of 5 accounts per mobile number.
|
|
1010
1009
|
:type PhoneNum: str
|
|
1011
1010
|
:param _CountryCode: Customer's country/region code, which can be obtained via the `GetCountryCodes` API, such as "852".
|
|
1012
1011
|
:type CountryCode: str
|
|
@@ -1014,6 +1013,8 @@ A global mobile number within 1-32 digits is allowed, such as 18888888888.
|
|
|
1014
1013
|
:type Area: str
|
|
1015
1014
|
:param _Extended: Extension field, which is left empty by default.
|
|
1016
1015
|
:type Extended: str
|
|
1016
|
+
:param _VerifyCode: Verification code. Starting from October 25, 2024, a new parameter will be used to verify the validity of the mobile number you provide. When the interface is requested for the first time, a null value can be passed in. The interface will send a 6-digit verification code by SMS to the mobile number you provide, and you need to pass it in again together with other parameters after you receive it.
|
|
1017
|
+
:type VerifyCode: str
|
|
1017
1018
|
"""
|
|
1018
1019
|
self._AccountType = None
|
|
1019
1020
|
self._Mail = None
|
|
@@ -1023,6 +1024,7 @@ A global mobile number within 1-32 digits is allowed, such as 18888888888.
|
|
|
1023
1024
|
self._CountryCode = None
|
|
1024
1025
|
self._Area = None
|
|
1025
1026
|
self._Extended = None
|
|
1027
|
+
self._VerifyCode = None
|
|
1026
1028
|
|
|
1027
1029
|
@property
|
|
1028
1030
|
def AccountType(self):
|
|
@@ -1088,6 +1090,14 @@ A global mobile number within 1-32 digits is allowed, such as 18888888888.
|
|
|
1088
1090
|
def Extended(self, Extended):
|
|
1089
1091
|
self._Extended = Extended
|
|
1090
1092
|
|
|
1093
|
+
@property
|
|
1094
|
+
def VerifyCode(self):
|
|
1095
|
+
return self._VerifyCode
|
|
1096
|
+
|
|
1097
|
+
@VerifyCode.setter
|
|
1098
|
+
def VerifyCode(self, VerifyCode):
|
|
1099
|
+
self._VerifyCode = VerifyCode
|
|
1100
|
+
|
|
1091
1101
|
|
|
1092
1102
|
def _deserialize(self, params):
|
|
1093
1103
|
self._AccountType = params.get("AccountType")
|
|
@@ -1098,6 +1108,7 @@ A global mobile number within 1-32 digits is allowed, such as 18888888888.
|
|
|
1098
1108
|
self._CountryCode = params.get("CountryCode")
|
|
1099
1109
|
self._Area = params.get("Area")
|
|
1100
1110
|
self._Extended = params.get("Extended")
|
|
1111
|
+
self._VerifyCode = params.get("VerifyCode")
|
|
1101
1112
|
memeber_set = set(params.keys())
|
|
1102
1113
|
for name, value in vars(self).items():
|
|
1103
1114
|
property_name = name[1:]
|
|
@@ -1117,7 +1128,7 @@ class CreateAccountResponse(AbstractModel):
|
|
|
1117
1128
|
r"""
|
|
1118
1129
|
:param _Uin: Account UIN
|
|
1119
1130
|
:type Uin: str
|
|
1120
|
-
:param _RequestId: The unique request ID,
|
|
1131
|
+
: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.
|
|
1121
1132
|
:type RequestId: str
|
|
1122
1133
|
"""
|
|
1123
1134
|
self._Uin = None
|
|
@@ -4449,6 +4460,76 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4449
4460
|
|
|
4450
4461
|
|
|
4451
4462
|
|
|
4463
|
+
class SendVerifyCodeRequest(AbstractModel):
|
|
4464
|
+
"""SendVerifyCode request structure.
|
|
4465
|
+
|
|
4466
|
+
"""
|
|
4467
|
+
|
|
4468
|
+
def __init__(self):
|
|
4469
|
+
r"""
|
|
4470
|
+
:param _CountryCode: Country code.
|
|
4471
|
+
:type CountryCode: str
|
|
4472
|
+
:param _PhoneNum: Mobile number.
|
|
4473
|
+
:type PhoneNum: str
|
|
4474
|
+
"""
|
|
4475
|
+
self._CountryCode = None
|
|
4476
|
+
self._PhoneNum = None
|
|
4477
|
+
|
|
4478
|
+
@property
|
|
4479
|
+
def CountryCode(self):
|
|
4480
|
+
return self._CountryCode
|
|
4481
|
+
|
|
4482
|
+
@CountryCode.setter
|
|
4483
|
+
def CountryCode(self, CountryCode):
|
|
4484
|
+
self._CountryCode = CountryCode
|
|
4485
|
+
|
|
4486
|
+
@property
|
|
4487
|
+
def PhoneNum(self):
|
|
4488
|
+
return self._PhoneNum
|
|
4489
|
+
|
|
4490
|
+
@PhoneNum.setter
|
|
4491
|
+
def PhoneNum(self, PhoneNum):
|
|
4492
|
+
self._PhoneNum = PhoneNum
|
|
4493
|
+
|
|
4494
|
+
|
|
4495
|
+
def _deserialize(self, params):
|
|
4496
|
+
self._CountryCode = params.get("CountryCode")
|
|
4497
|
+
self._PhoneNum = params.get("PhoneNum")
|
|
4498
|
+
memeber_set = set(params.keys())
|
|
4499
|
+
for name, value in vars(self).items():
|
|
4500
|
+
property_name = name[1:]
|
|
4501
|
+
if property_name in memeber_set:
|
|
4502
|
+
memeber_set.remove(property_name)
|
|
4503
|
+
if len(memeber_set) > 0:
|
|
4504
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4505
|
+
|
|
4506
|
+
|
|
4507
|
+
|
|
4508
|
+
class SendVerifyCodeResponse(AbstractModel):
|
|
4509
|
+
"""SendVerifyCode response structure.
|
|
4510
|
+
|
|
4511
|
+
"""
|
|
4512
|
+
|
|
4513
|
+
def __init__(self):
|
|
4514
|
+
r"""
|
|
4515
|
+
: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.
|
|
4516
|
+
:type RequestId: str
|
|
4517
|
+
"""
|
|
4518
|
+
self._RequestId = None
|
|
4519
|
+
|
|
4520
|
+
@property
|
|
4521
|
+
def RequestId(self):
|
|
4522
|
+
return self._RequestId
|
|
4523
|
+
|
|
4524
|
+
@RequestId.setter
|
|
4525
|
+
def RequestId(self, RequestId):
|
|
4526
|
+
self._RequestId = RequestId
|
|
4527
|
+
|
|
4528
|
+
|
|
4529
|
+
def _deserialize(self, params):
|
|
4530
|
+
self._RequestId = params.get("RequestId")
|
|
4531
|
+
|
|
4532
|
+
|
|
4452
4533
|
class SummaryDetails(AbstractModel):
|
|
4453
4534
|
"""Detailed summary by billing dimension
|
|
4454
4535
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=0lAU4RiyrcmAFOFsDVx_ZGXxE-2cIDTJZR0defKFJlA,630
|
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
|
|
@@ -23,7 +23,7 @@ tencentcloud/apigateway/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
|
23
23
|
tencentcloud/apigateway/v20180808/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
tencentcloud/apigateway/v20180808/apigateway_client.py,sha256=3yPwDHTK-flhQOOcw1BopENHHmiFQc36-1jKozyEJiI,90265
|
|
25
25
|
tencentcloud/apigateway/v20180808/errorcodes.py,sha256=0T0u1gze7_0UL5PGy0yOYWJOuI17GixRzh6_wngXJ74,23820
|
|
26
|
-
tencentcloud/apigateway/v20180808/models.py,sha256=
|
|
26
|
+
tencentcloud/apigateway/v20180808/models.py,sha256=HpMHAgLDh8HpJoI-UpNHi0jp6guRrN6-MuR_fzFHJ64,631952
|
|
27
27
|
tencentcloud/autoscaling/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
28
|
tencentcloud/autoscaling/v20180419/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
29
|
tencentcloud/autoscaling/v20180419/autoscaling_client.py,sha256=10_xxbizzSKQ0Ih7JghQqhFW9JBod96HvKcSSEq_CCw,72911
|
|
@@ -302,9 +302,9 @@ tencentcloud/ims/v20201229/ims_client.py,sha256=93jgAU4o9X_1q6qFZAs_IC08d6hsnO50
|
|
|
302
302
|
tencentcloud/ims/v20201229/models.py,sha256=9ZWG1txTDfvD6X7hcgGU9nSUPjMZifSSmJr-bjt4d9g,61353
|
|
303
303
|
tencentcloud/intlpartnersmgt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
304
304
|
tencentcloud/intlpartnersmgt/v20220928/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
305
|
-
tencentcloud/intlpartnersmgt/v20220928/errorcodes.py,sha256
|
|
306
|
-
tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=
|
|
307
|
-
tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=
|
|
305
|
+
tencentcloud/intlpartnersmgt/v20220928/errorcodes.py,sha256=kVIUiSL2ABQt2Ymcp8lqK2lWEWCgXf4IczqMD7ZiEhc,5503
|
|
306
|
+
tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=sJo47rtoHHJG87MRISeWWkH_BOn_jnY9AwIjmVe7iTU,27411
|
|
307
|
+
tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=bMCZIV8DPeNCvypyYWYe0ZRgFT3Tra4iFdvTEts2uxg,141240
|
|
308
308
|
tencentcloud/iotcloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
309
309
|
tencentcloud/iotcloud/v20210408/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
310
310
|
tencentcloud/iotcloud/v20210408/errorcodes.py,sha256=ot2acVUWnZ1XbJLkM4K-jT_Gw5TQD53TtZwnfFzJJ9Y,5887
|
|
@@ -580,7 +580,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
580
580
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
|
|
581
581
|
tencentcloud/yunjing/v20180228/models.py,sha256=HQyyIn8M4Z5Yt20wICv4zySOzTdx3pUii75J0WmIr7M,276364
|
|
582
582
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
|
|
583
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
584
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
585
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
586
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
583
|
+
tencentcloud_sdk_python_intl_en-3.0.1074.dist-info/METADATA,sha256=28e-9qeawX8XcsewECKQ7EmafasDylVZcxhi7PJYW5g,1628
|
|
584
|
+
tencentcloud_sdk_python_intl_en-3.0.1074.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
585
|
+
tencentcloud_sdk_python_intl_en-3.0.1074.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
586
|
+
tencentcloud_sdk_python_intl_en-3.0.1074.dist-info/RECORD,,
|
|
File without changes
|