tencentcloud-sdk-python 3.0.1227__py2.py3-none-any.whl → 3.0.1228__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/cvm/v20170312/cvm_client.py +23 -0
- tencentcloud/cvm/v20170312/errorcodes.py +24 -0
- tencentcloud/cvm/v20170312/models.py +170 -0
- tencentcloud/dc/v20180410/dc_client.py +4 -4
- tencentcloud/dc/v20180410/models.py +6 -7
- tencentcloud/dcdb/v20180411/models.py +24 -0
- tencentcloud/dlc/v20210125/dlc_client.py +46 -0
- tencentcloud/dlc/v20210125/models.py +142 -0
- tencentcloud/dts/v20211206/errorcodes.py +3 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +404 -0
- tencentcloud/es/v20180416/models.py +158 -0
- tencentcloud/ess/v20201111/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/ess_client.py +23 -0
- tencentcloud/ess/v20201111/models.py +231 -0
- tencentcloud/mariadb/v20170312/models.py +25 -1
- tencentcloud/rce/v20201103/rce_client.py +2 -2
- tencentcloud/sms/v20190711/errorcodes.py +3 -0
- tencentcloud/sms/v20190711/models.py +2 -2
- tencentcloud/sms/v20210111/errorcodes.py +3 -0
- tencentcloud/sms/v20210111/models.py +2 -2
- tencentcloud/trtc/v20190722/models.py +13 -0
- tencentcloud/tse/v20201207/models.py +24 -24
- tencentcloud/vclm/v20240523/models.py +1 -1
- tencentcloud/vpc/v20170312/vpc_client.py +2 -2
- tencentcloud/vtc/v20240223/models.py +1 -1
- {tencentcloud_sdk_python-3.0.1227.dist-info → tencentcloud_sdk_python-3.0.1228.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1227.dist-info → tencentcloud_sdk_python-3.0.1228.dist-info}/RECORD +32 -32
- {tencentcloud_sdk_python-3.0.1227.dist-info → tencentcloud_sdk_python-3.0.1228.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1227.dist-info → tencentcloud_sdk_python-3.0.1228.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1227.dist-info → tencentcloud_sdk_python-3.0.1228.dist-info}/top_level.txt +0 -0
@@ -2283,6 +2283,29 @@ class EssClient(AbstractClient):
|
|
2283
2283
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2284
2284
|
|
2285
2285
|
|
2286
|
+
def DescribeOrganizationAuthStatus(self, request):
|
2287
|
+
"""查询企业认证状态
|
2288
|
+
|
2289
|
+
:param request: Request instance for DescribeOrganizationAuthStatus.
|
2290
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.DescribeOrganizationAuthStatusRequest`
|
2291
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.DescribeOrganizationAuthStatusResponse`
|
2292
|
+
|
2293
|
+
"""
|
2294
|
+
try:
|
2295
|
+
params = request._serialize()
|
2296
|
+
headers = request.headers
|
2297
|
+
body = self.call("DescribeOrganizationAuthStatus", params, headers=headers)
|
2298
|
+
response = json.loads(body)
|
2299
|
+
model = models.DescribeOrganizationAuthStatusResponse()
|
2300
|
+
model._deserialize(response["Response"])
|
2301
|
+
return model
|
2302
|
+
except Exception as e:
|
2303
|
+
if isinstance(e, TencentCloudSDKException):
|
2304
|
+
raise
|
2305
|
+
else:
|
2306
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2307
|
+
|
2308
|
+
|
2286
2309
|
def DescribeOrganizationGroupOrganizations(self, request):
|
2287
2310
|
"""此API接口用来查询加入集团的成员企业信息
|
2288
2311
|
适用场景:子企业在加入集团后,主企业可能通过此接口获取到所有的子企业列表,方便进行展示和统计
|
@@ -942,6 +942,85 @@ class AuthInfoDetail(AbstractModel):
|
|
942
942
|
|
943
943
|
|
944
944
|
|
945
|
+
class AuthRecord(AbstractModel):
|
946
|
+
"""企业认证信息
|
947
|
+
|
948
|
+
"""
|
949
|
+
|
950
|
+
def __init__(self):
|
951
|
+
r"""
|
952
|
+
:param _OperatorName: 经办人姓名。
|
953
|
+
:type OperatorName: str
|
954
|
+
:param _OperatorMobile: 经办人手机号。
|
955
|
+
:type OperatorMobile: str
|
956
|
+
:param _AuthType: 认证授权方式:
|
957
|
+
<ul><li> **0**:未选择授权方式(默认值)</li>
|
958
|
+
<li> **1**:上传授权书</li>
|
959
|
+
<li> **2**:法人授权</li>
|
960
|
+
<li> **3**:法人认证</li></ul>
|
961
|
+
:type AuthType: int
|
962
|
+
:param _AuditStatus: 企业认证授权书审核状态:
|
963
|
+
<ul><li> **0**:未提交授权书(默认值)</li>
|
964
|
+
<li> **1**:审核通过</li>
|
965
|
+
<li> **2**:审核驳回</li>
|
966
|
+
<li> **3**:审核中</li>
|
967
|
+
<li> **4**:AI识别中</li>
|
968
|
+
<li> **5**:客户确认AI信息</li></ul>
|
969
|
+
:type AuditStatus: int
|
970
|
+
"""
|
971
|
+
self._OperatorName = None
|
972
|
+
self._OperatorMobile = None
|
973
|
+
self._AuthType = None
|
974
|
+
self._AuditStatus = None
|
975
|
+
|
976
|
+
@property
|
977
|
+
def OperatorName(self):
|
978
|
+
return self._OperatorName
|
979
|
+
|
980
|
+
@OperatorName.setter
|
981
|
+
def OperatorName(self, OperatorName):
|
982
|
+
self._OperatorName = OperatorName
|
983
|
+
|
984
|
+
@property
|
985
|
+
def OperatorMobile(self):
|
986
|
+
return self._OperatorMobile
|
987
|
+
|
988
|
+
@OperatorMobile.setter
|
989
|
+
def OperatorMobile(self, OperatorMobile):
|
990
|
+
self._OperatorMobile = OperatorMobile
|
991
|
+
|
992
|
+
@property
|
993
|
+
def AuthType(self):
|
994
|
+
return self._AuthType
|
995
|
+
|
996
|
+
@AuthType.setter
|
997
|
+
def AuthType(self, AuthType):
|
998
|
+
self._AuthType = AuthType
|
999
|
+
|
1000
|
+
@property
|
1001
|
+
def AuditStatus(self):
|
1002
|
+
return self._AuditStatus
|
1003
|
+
|
1004
|
+
@AuditStatus.setter
|
1005
|
+
def AuditStatus(self, AuditStatus):
|
1006
|
+
self._AuditStatus = AuditStatus
|
1007
|
+
|
1008
|
+
|
1009
|
+
def _deserialize(self, params):
|
1010
|
+
self._OperatorName = params.get("OperatorName")
|
1011
|
+
self._OperatorMobile = params.get("OperatorMobile")
|
1012
|
+
self._AuthType = params.get("AuthType")
|
1013
|
+
self._AuditStatus = params.get("AuditStatus")
|
1014
|
+
memeber_set = set(params.keys())
|
1015
|
+
for name, value in vars(self).items():
|
1016
|
+
property_name = name[1:]
|
1017
|
+
if property_name in memeber_set:
|
1018
|
+
memeber_set.remove(property_name)
|
1019
|
+
if len(memeber_set) > 0:
|
1020
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1021
|
+
|
1022
|
+
|
1023
|
+
|
945
1024
|
class AuthorizedUser(AbstractModel):
|
946
1025
|
"""授权用户
|
947
1026
|
|
@@ -14563,6 +14642,158 @@ class DescribeIntegrationRolesResponse(AbstractModel):
|
|
14563
14642
|
self._RequestId = params.get("RequestId")
|
14564
14643
|
|
14565
14644
|
|
14645
|
+
class DescribeOrganizationAuthStatusRequest(AbstractModel):
|
14646
|
+
"""DescribeOrganizationAuthStatus请求参数结构体
|
14647
|
+
|
14648
|
+
"""
|
14649
|
+
|
14650
|
+
def __init__(self):
|
14651
|
+
r"""
|
14652
|
+
:param _Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
14653
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
14654
|
+
:param _OrganizationName: 组织机构名称。 请确认该名称与企业营业执照中注册的名称一致。 如果名称中包含英文括号(),请使用中文括号()代替。
|
14655
|
+
:type OrganizationName: str
|
14656
|
+
:param _UniformSocialCreditCode: 企业统一社会信用代码
|
14657
|
+
注意:OrganizationName和UniformSocialCreditCode不能同时为空
|
14658
|
+
:type UniformSocialCreditCode: str
|
14659
|
+
:param _LegalName: 法人姓名
|
14660
|
+
:type LegalName: str
|
14661
|
+
"""
|
14662
|
+
self._Operator = None
|
14663
|
+
self._OrganizationName = None
|
14664
|
+
self._UniformSocialCreditCode = None
|
14665
|
+
self._LegalName = None
|
14666
|
+
|
14667
|
+
@property
|
14668
|
+
def Operator(self):
|
14669
|
+
return self._Operator
|
14670
|
+
|
14671
|
+
@Operator.setter
|
14672
|
+
def Operator(self, Operator):
|
14673
|
+
self._Operator = Operator
|
14674
|
+
|
14675
|
+
@property
|
14676
|
+
def OrganizationName(self):
|
14677
|
+
return self._OrganizationName
|
14678
|
+
|
14679
|
+
@OrganizationName.setter
|
14680
|
+
def OrganizationName(self, OrganizationName):
|
14681
|
+
self._OrganizationName = OrganizationName
|
14682
|
+
|
14683
|
+
@property
|
14684
|
+
def UniformSocialCreditCode(self):
|
14685
|
+
return self._UniformSocialCreditCode
|
14686
|
+
|
14687
|
+
@UniformSocialCreditCode.setter
|
14688
|
+
def UniformSocialCreditCode(self, UniformSocialCreditCode):
|
14689
|
+
self._UniformSocialCreditCode = UniformSocialCreditCode
|
14690
|
+
|
14691
|
+
@property
|
14692
|
+
def LegalName(self):
|
14693
|
+
return self._LegalName
|
14694
|
+
|
14695
|
+
@LegalName.setter
|
14696
|
+
def LegalName(self, LegalName):
|
14697
|
+
self._LegalName = LegalName
|
14698
|
+
|
14699
|
+
|
14700
|
+
def _deserialize(self, params):
|
14701
|
+
if params.get("Operator") is not None:
|
14702
|
+
self._Operator = UserInfo()
|
14703
|
+
self._Operator._deserialize(params.get("Operator"))
|
14704
|
+
self._OrganizationName = params.get("OrganizationName")
|
14705
|
+
self._UniformSocialCreditCode = params.get("UniformSocialCreditCode")
|
14706
|
+
self._LegalName = params.get("LegalName")
|
14707
|
+
memeber_set = set(params.keys())
|
14708
|
+
for name, value in vars(self).items():
|
14709
|
+
property_name = name[1:]
|
14710
|
+
if property_name in memeber_set:
|
14711
|
+
memeber_set.remove(property_name)
|
14712
|
+
if len(memeber_set) > 0:
|
14713
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14714
|
+
|
14715
|
+
|
14716
|
+
|
14717
|
+
class DescribeOrganizationAuthStatusResponse(AbstractModel):
|
14718
|
+
"""DescribeOrganizationAuthStatus返回参数结构体
|
14719
|
+
|
14720
|
+
"""
|
14721
|
+
|
14722
|
+
def __init__(self):
|
14723
|
+
r"""
|
14724
|
+
:param _IsVerified: 企业是否已认证
|
14725
|
+
:type IsVerified: bool
|
14726
|
+
:param _AuthStatus: 企业认证状态 0-未认证 1-认证中 2-已认证
|
14727
|
+
:type AuthStatus: int
|
14728
|
+
:param _AuthRecords: 企业认证信息
|
14729
|
+
:type AuthRecords: list of AuthRecord
|
14730
|
+
:param _OrganizationId: 企业在腾讯电子签平台的唯一身份标识,为32位字符串。
|
14731
|
+
可登录腾讯电子签控制台,在 "更多"->"企业设置"->"企业中心"- 中查看企业电子签账号。
|
14732
|
+
p.s. 只有当前企业认证成功的时候返回
|
14733
|
+
:type OrganizationId: str
|
14734
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14735
|
+
:type RequestId: str
|
14736
|
+
"""
|
14737
|
+
self._IsVerified = None
|
14738
|
+
self._AuthStatus = None
|
14739
|
+
self._AuthRecords = None
|
14740
|
+
self._OrganizationId = None
|
14741
|
+
self._RequestId = None
|
14742
|
+
|
14743
|
+
@property
|
14744
|
+
def IsVerified(self):
|
14745
|
+
return self._IsVerified
|
14746
|
+
|
14747
|
+
@IsVerified.setter
|
14748
|
+
def IsVerified(self, IsVerified):
|
14749
|
+
self._IsVerified = IsVerified
|
14750
|
+
|
14751
|
+
@property
|
14752
|
+
def AuthStatus(self):
|
14753
|
+
return self._AuthStatus
|
14754
|
+
|
14755
|
+
@AuthStatus.setter
|
14756
|
+
def AuthStatus(self, AuthStatus):
|
14757
|
+
self._AuthStatus = AuthStatus
|
14758
|
+
|
14759
|
+
@property
|
14760
|
+
def AuthRecords(self):
|
14761
|
+
return self._AuthRecords
|
14762
|
+
|
14763
|
+
@AuthRecords.setter
|
14764
|
+
def AuthRecords(self, AuthRecords):
|
14765
|
+
self._AuthRecords = AuthRecords
|
14766
|
+
|
14767
|
+
@property
|
14768
|
+
def OrganizationId(self):
|
14769
|
+
return self._OrganizationId
|
14770
|
+
|
14771
|
+
@OrganizationId.setter
|
14772
|
+
def OrganizationId(self, OrganizationId):
|
14773
|
+
self._OrganizationId = OrganizationId
|
14774
|
+
|
14775
|
+
@property
|
14776
|
+
def RequestId(self):
|
14777
|
+
return self._RequestId
|
14778
|
+
|
14779
|
+
@RequestId.setter
|
14780
|
+
def RequestId(self, RequestId):
|
14781
|
+
self._RequestId = RequestId
|
14782
|
+
|
14783
|
+
|
14784
|
+
def _deserialize(self, params):
|
14785
|
+
self._IsVerified = params.get("IsVerified")
|
14786
|
+
self._AuthStatus = params.get("AuthStatus")
|
14787
|
+
if params.get("AuthRecords") is not None:
|
14788
|
+
self._AuthRecords = []
|
14789
|
+
for item in params.get("AuthRecords"):
|
14790
|
+
obj = AuthRecord()
|
14791
|
+
obj._deserialize(item)
|
14792
|
+
self._AuthRecords.append(obj)
|
14793
|
+
self._OrganizationId = params.get("OrganizationId")
|
14794
|
+
self._RequestId = params.get("RequestId")
|
14795
|
+
|
14796
|
+
|
14566
14797
|
class DescribeOrganizationGroupOrganizationsRequest(AbstractModel):
|
14567
14798
|
"""DescribeOrganizationGroupOrganizations请求参数结构体
|
14568
14799
|
|
@@ -768,7 +768,7 @@ class CreateAccountRequest(AbstractModel):
|
|
768
768
|
:type Host: str
|
769
769
|
:param _Password: 账号密码,密码需要 8-32 个字符,不能以 '/' 开头,并且必须包含小写字母、大写字母、数字和符号()~!@#$%^&*-+=_|{}[]:<>,.?/。
|
770
770
|
:type Password: str
|
771
|
-
:param _ReadOnly: 是否创建为只读账号,0
|
771
|
+
:param _ReadOnly: 是否创建为只读账号,0:否; 1:只读账号,该账号的sql请求优先选择备机执行,备机延迟时选择主机执行;2:只读账号,优先选择备机执行,备机延迟时操作报错;3:只读账号,优先选择备机执行,忽略备机延迟只读备机;
|
772
772
|
:type ReadOnly: int
|
773
773
|
:param _Description: 账号备注,可以包含中文、英文字符、常见符号和数字,长度为0~256字符
|
774
774
|
:type Description: str
|
@@ -778,6 +778,8 @@ class CreateAccountRequest(AbstractModel):
|
|
778
778
|
:type SlaveConst: int
|
779
779
|
:param _MaxUserConnections: 用户最大连接数限制参数。不传或者传0表示为不限制,对应max_user_connections参数,目前10.1内核版本不支持设置。
|
780
780
|
:type MaxUserConnections: int
|
781
|
+
:param _EncryptedPassword: 使用GetPublicKey返回的RSA2048公钥加密后的密码
|
782
|
+
:type EncryptedPassword: str
|
781
783
|
"""
|
782
784
|
self._InstanceId = None
|
783
785
|
self._UserName = None
|
@@ -788,6 +790,7 @@ class CreateAccountRequest(AbstractModel):
|
|
788
790
|
self._DelayThresh = None
|
789
791
|
self._SlaveConst = None
|
790
792
|
self._MaxUserConnections = None
|
793
|
+
self._EncryptedPassword = None
|
791
794
|
|
792
795
|
@property
|
793
796
|
def InstanceId(self):
|
@@ -861,6 +864,14 @@ class CreateAccountRequest(AbstractModel):
|
|
861
864
|
def MaxUserConnections(self, MaxUserConnections):
|
862
865
|
self._MaxUserConnections = MaxUserConnections
|
863
866
|
|
867
|
+
@property
|
868
|
+
def EncryptedPassword(self):
|
869
|
+
return self._EncryptedPassword
|
870
|
+
|
871
|
+
@EncryptedPassword.setter
|
872
|
+
def EncryptedPassword(self, EncryptedPassword):
|
873
|
+
self._EncryptedPassword = EncryptedPassword
|
874
|
+
|
864
875
|
|
865
876
|
def _deserialize(self, params):
|
866
877
|
self._InstanceId = params.get("InstanceId")
|
@@ -872,6 +883,7 @@ class CreateAccountRequest(AbstractModel):
|
|
872
883
|
self._DelayThresh = params.get("DelayThresh")
|
873
884
|
self._SlaveConst = params.get("SlaveConst")
|
874
885
|
self._MaxUserConnections = params.get("MaxUserConnections")
|
886
|
+
self._EncryptedPassword = params.get("EncryptedPassword")
|
875
887
|
memeber_set = set(params.keys())
|
876
888
|
for name, value in vars(self).items():
|
877
889
|
property_name = name[1:]
|
@@ -11194,11 +11206,14 @@ class ResetAccountPasswordRequest(AbstractModel):
|
|
11194
11206
|
:type Host: str
|
11195
11207
|
:param _Password: 新密码,由字母、数字或常见符号组成,不能包含分号、单引号和双引号,长度为6~32位。
|
11196
11208
|
:type Password: str
|
11209
|
+
:param _EncryptedPassword: 使用GetPublicKey返回的RSA2048公钥加密后的密码
|
11210
|
+
:type EncryptedPassword: str
|
11197
11211
|
"""
|
11198
11212
|
self._InstanceId = None
|
11199
11213
|
self._UserName = None
|
11200
11214
|
self._Host = None
|
11201
11215
|
self._Password = None
|
11216
|
+
self._EncryptedPassword = None
|
11202
11217
|
|
11203
11218
|
@property
|
11204
11219
|
def InstanceId(self):
|
@@ -11232,12 +11247,21 @@ class ResetAccountPasswordRequest(AbstractModel):
|
|
11232
11247
|
def Password(self, Password):
|
11233
11248
|
self._Password = Password
|
11234
11249
|
|
11250
|
+
@property
|
11251
|
+
def EncryptedPassword(self):
|
11252
|
+
return self._EncryptedPassword
|
11253
|
+
|
11254
|
+
@EncryptedPassword.setter
|
11255
|
+
def EncryptedPassword(self, EncryptedPassword):
|
11256
|
+
self._EncryptedPassword = EncryptedPassword
|
11257
|
+
|
11235
11258
|
|
11236
11259
|
def _deserialize(self, params):
|
11237
11260
|
self._InstanceId = params.get("InstanceId")
|
11238
11261
|
self._UserName = params.get("UserName")
|
11239
11262
|
self._Host = params.get("Host")
|
11240
11263
|
self._Password = params.get("Password")
|
11264
|
+
self._EncryptedPassword = params.get("EncryptedPassword")
|
11241
11265
|
memeber_set = set(params.keys())
|
11242
11266
|
for name, value in vars(self).items():
|
11243
11267
|
property_name = name[1:]
|
@@ -27,7 +27,7 @@ class RceClient(AbstractClient):
|
|
27
27
|
|
28
28
|
|
29
29
|
def CreateNameList(self, request):
|
30
|
-
"""
|
30
|
+
"""创建黑白名单,黑白名单数量上限为100
|
31
31
|
|
32
32
|
:param request: Request instance for CreateNameList.
|
33
33
|
:type request: :class:`tencentcloud.rce.v20201103.models.CreateNameListRequest`
|
@@ -165,7 +165,7 @@ class RceClient(AbstractClient):
|
|
165
165
|
|
166
166
|
|
167
167
|
def ImportNameListData(self, request):
|
168
|
-
"""
|
168
|
+
"""新增黑白名单数据,所有黑白名单数据总量上限为10000
|
169
169
|
|
170
170
|
:param request: Request instance for ImportNameListData.
|
171
171
|
:type request: :class:`tencentcloud.rce.v20201103.models.ImportNameListDataRequest`
|
@@ -146,6 +146,9 @@ INVALIDPARAMETERVALUE_INVALIDDOCUMENTTYPE = 'InvalidParameterValue.InvalidDocume
|
|
146
146
|
# International 字段校验错误,请参照 API 接口说明中对该字段的说明,如有需要请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
147
147
|
INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = 'InvalidParameterValue.InvalidInternational'
|
148
148
|
|
149
|
+
# SmsType 字段校验错误,请参照 API 接口说明中对该字段的描述,更多疑问可咨询 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
150
|
+
INVALIDPARAMETERVALUE_INVALIDSMSTYPE = 'InvalidParameterValue.InvalidSmsType'
|
151
|
+
|
149
152
|
# 无效的拉取起始/截止时间,具体原因可能是请求的 SendDateTime 大于 EndDateTime。
|
150
153
|
INVALIDPARAMETERVALUE_INVALIDSTARTTIME = 'InvalidParameterValue.InvalidStartTime'
|
151
154
|
|
@@ -255,7 +255,7 @@ class AddSmsTemplateRequest(AbstractModel):
|
|
255
255
|
:param _TemplateContent: 模板内容。
|
256
256
|
:type TemplateContent: str
|
257
257
|
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
258
|
-
|
258
|
+
注:为进一步提升短信发送质量、提高短信模板审核通过率,从2024年5月16日起,腾讯云短信模板类型优化为“验证码短信”、“通知短信”、“营销短信”,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。新开通短信服务的客户需严格参考新的短信类型申请短信模板。
|
259
259
|
:type SmsType: int
|
260
260
|
:param _International: 是否国际/港澳台短信:
|
261
261
|
0:表示国内短信。
|
@@ -1506,7 +1506,7 @@ class ModifySmsTemplateRequest(AbstractModel):
|
|
1506
1506
|
:param _TemplateContent: 新的模板内容。
|
1507
1507
|
:type TemplateContent: str
|
1508
1508
|
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
1509
|
-
|
1509
|
+
注:为进一步提升短信发送质量、提高短信模板审核通过率,从2024年5月16日起,腾讯云短信模板类型优化为“验证码短信”、“通知短信”、“营销短信”,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。新开通短信服务的客户需严格参考新的短信类型申请短信模板。
|
1510
1510
|
:type SmsType: int
|
1511
1511
|
:param _International: 是否国际/港澳台短信:
|
1512
1512
|
0:表示国内短信。
|
@@ -158,6 +158,9 @@ INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = 'InvalidParameterValue.InvalidInter
|
|
158
158
|
# SignPurpose 字段校验错误,请参照 API 接口说明中对该字段的说明,如有需要请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
159
159
|
INVALIDPARAMETERVALUE_INVALIDSIGNPURPOSE = 'InvalidParameterValue.InvalidSignPurpose'
|
160
160
|
|
161
|
+
# SmsType 字段校验错误,请参照 API 接口说明中对该字段的描述,更多疑问可咨询 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
162
|
+
INVALIDPARAMETERVALUE_INVALIDSMSTYPE = 'InvalidParameterValue.InvalidSmsType'
|
163
|
+
|
161
164
|
# 无效的拉取起始/截止时间,具体原因可能是请求的 SendDateTime 大于 EndDateTime。
|
162
165
|
INVALIDPARAMETERVALUE_INVALIDSTARTTIME = 'InvalidParameterValue.InvalidStartTime'
|
163
166
|
|
@@ -243,7 +243,7 @@ class AddSmsTemplateRequest(AbstractModel):
|
|
243
243
|
:param _TemplateContent: 模板内容。
|
244
244
|
:type TemplateContent: str
|
245
245
|
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
246
|
-
|
246
|
+
注:为进一步提升短信发送质量、提高短信模板审核通过率,从2024年5月16日起,腾讯云短信模板类型优化为“验证码短信”、“通知短信”、“营销短信”,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。新开通短信服务的客户需严格参考新的短信类型申请短信模板。
|
247
247
|
:type SmsType: int
|
248
248
|
:param _International: 是否国际/港澳台短信:
|
249
249
|
0:表示国内短信。
|
@@ -1594,7 +1594,7 @@ class ModifySmsTemplateRequest(AbstractModel):
|
|
1594
1594
|
:param _TemplateContent: 新的模板内容。
|
1595
1595
|
:type TemplateContent: str
|
1596
1596
|
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
1597
|
-
|
1597
|
+
注:为进一步提升短信发送质量、提高短信模板审核通过率,从2024年5月16日起,腾讯云短信模板类型优化为“验证码短信”、“通知短信”、“营销短信”,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。新开通短信服务的客户需严格参考新的短信类型申请短信模板。
|
1598
1598
|
:type SmsType: int
|
1599
1599
|
:param _International: 是否国际/港澳台短信:
|
1600
1600
|
0:表示国内短信。
|
@@ -8242,9 +8242,13 @@ class STTConfig(AbstractModel):
|
|
8242
8242
|
|
8243
8243
|
注意:此字段可能返回 null,表示取不到有效值。
|
8244
8244
|
:type AlternativeLanguage: list of str
|
8245
|
+
:param _VadSilenceTime: 语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
|
8246
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8247
|
+
:type VadSilenceTime: int
|
8245
8248
|
"""
|
8246
8249
|
self._Language = None
|
8247
8250
|
self._AlternativeLanguage = None
|
8251
|
+
self._VadSilenceTime = None
|
8248
8252
|
|
8249
8253
|
@property
|
8250
8254
|
def Language(self):
|
@@ -8262,10 +8266,19 @@ class STTConfig(AbstractModel):
|
|
8262
8266
|
def AlternativeLanguage(self, AlternativeLanguage):
|
8263
8267
|
self._AlternativeLanguage = AlternativeLanguage
|
8264
8268
|
|
8269
|
+
@property
|
8270
|
+
def VadSilenceTime(self):
|
8271
|
+
return self._VadSilenceTime
|
8272
|
+
|
8273
|
+
@VadSilenceTime.setter
|
8274
|
+
def VadSilenceTime(self, VadSilenceTime):
|
8275
|
+
self._VadSilenceTime = VadSilenceTime
|
8276
|
+
|
8265
8277
|
|
8266
8278
|
def _deserialize(self, params):
|
8267
8279
|
self._Language = params.get("Language")
|
8268
8280
|
self._AlternativeLanguage = params.get("AlternativeLanguage")
|
8281
|
+
self._VadSilenceTime = params.get("VadSilenceTime")
|
8269
8282
|
memeber_set = set(params.keys())
|
8270
8283
|
for name, value in vars(self).items():
|
8271
8284
|
property_name = name[1:]
|
@@ -5265,8 +5265,6 @@ class CreateCloudNativeAPIGatewayServiceRequest(AbstractModel):
|
|
5265
5265
|
- tcp
|
5266
5266
|
- udp
|
5267
5267
|
:type Protocol: str
|
5268
|
-
:param _Path: 请求路径
|
5269
|
-
:type Path: str
|
5270
5268
|
:param _Timeout: 超时时间,单位ms
|
5271
5269
|
:type Timeout: int
|
5272
5270
|
:param _Retries: 重试次数
|
@@ -5280,15 +5278,17 @@ class CreateCloudNativeAPIGatewayServiceRequest(AbstractModel):
|
|
5280
5278
|
:type UpstreamType: str
|
5281
5279
|
:param _UpstreamInfo: 服务配置信息
|
5282
5280
|
:type UpstreamInfo: :class:`tencentcloud.tse.v20201207.models.KongUpstreamInfo`
|
5281
|
+
:param _Path: 请求路径
|
5282
|
+
:type Path: str
|
5283
5283
|
"""
|
5284
5284
|
self._GatewayId = None
|
5285
5285
|
self._Name = None
|
5286
5286
|
self._Protocol = None
|
5287
|
-
self._Path = None
|
5288
5287
|
self._Timeout = None
|
5289
5288
|
self._Retries = None
|
5290
5289
|
self._UpstreamType = None
|
5291
5290
|
self._UpstreamInfo = None
|
5291
|
+
self._Path = None
|
5292
5292
|
|
5293
5293
|
@property
|
5294
5294
|
def GatewayId(self):
|
@@ -5314,14 +5314,6 @@ class CreateCloudNativeAPIGatewayServiceRequest(AbstractModel):
|
|
5314
5314
|
def Protocol(self, Protocol):
|
5315
5315
|
self._Protocol = Protocol
|
5316
5316
|
|
5317
|
-
@property
|
5318
|
-
def Path(self):
|
5319
|
-
return self._Path
|
5320
|
-
|
5321
|
-
@Path.setter
|
5322
|
-
def Path(self, Path):
|
5323
|
-
self._Path = Path
|
5324
|
-
|
5325
5317
|
@property
|
5326
5318
|
def Timeout(self):
|
5327
5319
|
return self._Timeout
|
@@ -5354,18 +5346,26 @@ class CreateCloudNativeAPIGatewayServiceRequest(AbstractModel):
|
|
5354
5346
|
def UpstreamInfo(self, UpstreamInfo):
|
5355
5347
|
self._UpstreamInfo = UpstreamInfo
|
5356
5348
|
|
5349
|
+
@property
|
5350
|
+
def Path(self):
|
5351
|
+
return self._Path
|
5352
|
+
|
5353
|
+
@Path.setter
|
5354
|
+
def Path(self, Path):
|
5355
|
+
self._Path = Path
|
5356
|
+
|
5357
5357
|
|
5358
5358
|
def _deserialize(self, params):
|
5359
5359
|
self._GatewayId = params.get("GatewayId")
|
5360
5360
|
self._Name = params.get("Name")
|
5361
5361
|
self._Protocol = params.get("Protocol")
|
5362
|
-
self._Path = params.get("Path")
|
5363
5362
|
self._Timeout = params.get("Timeout")
|
5364
5363
|
self._Retries = params.get("Retries")
|
5365
5364
|
self._UpstreamType = params.get("UpstreamType")
|
5366
5365
|
if params.get("UpstreamInfo") is not None:
|
5367
5366
|
self._UpstreamInfo = KongUpstreamInfo()
|
5368
5367
|
self._UpstreamInfo._deserialize(params.get("UpstreamInfo"))
|
5368
|
+
self._Path = params.get("Path")
|
5369
5369
|
memeber_set = set(params.keys())
|
5370
5370
|
for name, value in vars(self).items():
|
5371
5371
|
property_name = name[1:]
|
@@ -20314,8 +20314,6 @@ class ModifyCloudNativeAPIGatewayServiceRequest(AbstractModel):
|
|
20314
20314
|
- tcp
|
20315
20315
|
- udp
|
20316
20316
|
:type Protocol: str
|
20317
|
-
:param _Path: 请求路径
|
20318
|
-
:type Path: str
|
20319
20317
|
:param _Timeout: 超时时间,单位ms
|
20320
20318
|
:type Timeout: int
|
20321
20319
|
:param _Retries: 重试次数
|
@@ -20331,16 +20329,18 @@ class ModifyCloudNativeAPIGatewayServiceRequest(AbstractModel):
|
|
20331
20329
|
:type UpstreamInfo: :class:`tencentcloud.tse.v20201207.models.KongUpstreamInfo`
|
20332
20330
|
:param _ID: 服务ID
|
20333
20331
|
:type ID: str
|
20332
|
+
:param _Path: 请求路径
|
20333
|
+
:type Path: str
|
20334
20334
|
"""
|
20335
20335
|
self._GatewayId = None
|
20336
20336
|
self._Name = None
|
20337
20337
|
self._Protocol = None
|
20338
|
-
self._Path = None
|
20339
20338
|
self._Timeout = None
|
20340
20339
|
self._Retries = None
|
20341
20340
|
self._UpstreamType = None
|
20342
20341
|
self._UpstreamInfo = None
|
20343
20342
|
self._ID = None
|
20343
|
+
self._Path = None
|
20344
20344
|
|
20345
20345
|
@property
|
20346
20346
|
def GatewayId(self):
|
@@ -20366,14 +20366,6 @@ class ModifyCloudNativeAPIGatewayServiceRequest(AbstractModel):
|
|
20366
20366
|
def Protocol(self, Protocol):
|
20367
20367
|
self._Protocol = Protocol
|
20368
20368
|
|
20369
|
-
@property
|
20370
|
-
def Path(self):
|
20371
|
-
return self._Path
|
20372
|
-
|
20373
|
-
@Path.setter
|
20374
|
-
def Path(self, Path):
|
20375
|
-
self._Path = Path
|
20376
|
-
|
20377
20369
|
@property
|
20378
20370
|
def Timeout(self):
|
20379
20371
|
return self._Timeout
|
@@ -20414,12 +20406,19 @@ class ModifyCloudNativeAPIGatewayServiceRequest(AbstractModel):
|
|
20414
20406
|
def ID(self, ID):
|
20415
20407
|
self._ID = ID
|
20416
20408
|
|
20409
|
+
@property
|
20410
|
+
def Path(self):
|
20411
|
+
return self._Path
|
20412
|
+
|
20413
|
+
@Path.setter
|
20414
|
+
def Path(self, Path):
|
20415
|
+
self._Path = Path
|
20416
|
+
|
20417
20417
|
|
20418
20418
|
def _deserialize(self, params):
|
20419
20419
|
self._GatewayId = params.get("GatewayId")
|
20420
20420
|
self._Name = params.get("Name")
|
20421
20421
|
self._Protocol = params.get("Protocol")
|
20422
|
-
self._Path = params.get("Path")
|
20423
20422
|
self._Timeout = params.get("Timeout")
|
20424
20423
|
self._Retries = params.get("Retries")
|
20425
20424
|
self._UpstreamType = params.get("UpstreamType")
|
@@ -20427,6 +20426,7 @@ class ModifyCloudNativeAPIGatewayServiceRequest(AbstractModel):
|
|
20427
20426
|
self._UpstreamInfo = KongUpstreamInfo()
|
20428
20427
|
self._UpstreamInfo._deserialize(params.get("UpstreamInfo"))
|
20429
20428
|
self._ID = params.get("ID")
|
20429
|
+
self._Path = params.get("Path")
|
20430
20430
|
memeber_set = set(params.keys())
|
20431
20431
|
for name, value in vars(self).items():
|
20432
20432
|
property_name = name[1:]
|
@@ -1214,7 +1214,7 @@ class SubmitVideoTranslateJobResponse(AbstractModel):
|
|
1214
1214
|
|
1215
1215
|
def __init__(self):
|
1216
1216
|
r"""
|
1217
|
-
:param _JobId:
|
1217
|
+
:param _JobId: 视频转译任务的Job id
|
1218
1218
|
:type JobId: str
|
1219
1219
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1220
1220
|
:type RequestId: str
|
@@ -324,9 +324,9 @@ class VpcClient(AbstractClient):
|
|
324
324
|
def AssociateAddress(self, request):
|
325
325
|
"""本接口 (AssociateAddress) 用于将[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)绑定到实例或弹性网卡的指定内网 IP 上。
|
326
326
|
* 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
|
327
|
-
* 将 EIP 绑定到主网卡的主内网IP
|
327
|
+
* 将 EIP 绑定到主网卡的主内网IP时,如主内网IP已绑定普通公网IP,必须先退还才能绑定EIP。
|
328
328
|
* 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。
|
329
|
-
* 将 EIP 绑定到内网型CLB
|
329
|
+
* 将 EIP 绑定到内网型CLB实例的功能处于内测阶段,如需使用,请提交[内测申请](https://cloud.tencent.com/apply/p/4kxj7picqci)。
|
330
330
|
* 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)
|
331
331
|
* EIP 如果欠费或被封堵,则不能被绑定。
|
332
332
|
* 只有状态为 UNBIND 的 EIP 才能够被绑定。
|
@@ -608,7 +608,7 @@ class SubmitVideoTranslateJobResponse(AbstractModel):
|
|
608
608
|
|
609
609
|
def __init__(self):
|
610
610
|
r"""
|
611
|
-
:param _JobId:
|
611
|
+
:param _JobId: 视频转译任务的Job id
|
612
612
|
:type JobId: str
|
613
613
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
614
614
|
:type RequestId: str
|