tencentcloud-sdk-python 3.0.1253__py2.py3-none-any.whl → 3.0.1255__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/asr/v20190614/models.py +1 -1
- tencentcloud/captcha/v20190722/models.py +16 -3
- tencentcloud/ccc/v20200210/models.py +5 -1
- tencentcloud/cdb/v20170320/models.py +26 -0
- tencentcloud/cfw/v20190904/cfw_client.py +3 -1
- tencentcloud/cfw/v20190904/models.py +81 -26
- tencentcloud/ckafka/v20190819/models.py +1 -1
- tencentcloud/cvm/v20170312/models.py +0 -1
- tencentcloud/cwp/v20180228/models.py +15 -2
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +40 -40
- tencentcloud/cynosdb/v20190107/errorcodes.py +24 -0
- tencentcloud/cynosdb/v20190107/models.py +27 -0
- tencentcloud/emr/v20190103/emr_client.py +1 -1
- tencentcloud/ess/v20201111/ess_client.py +9 -8
- tencentcloud/ess/v20201111/models.py +26 -0
- tencentcloud/essbasic/v20210526/models.py +27 -1
- tencentcloud/faceid/v20180301/models.py +4 -0
- tencentcloud/hunyuan/v20230901/models.py +1 -1
- tencentcloud/lcic/v20220817/models.py +11 -3
- tencentcloud/lighthouse/v20200324/errorcodes.py +6 -0
- tencentcloud/monitor/v20180724/models.py +25 -0
- tencentcloud/mqtt/v20240516/models.py +4 -2
- tencentcloud/ses/v20201002/models.py +0 -10
- tencentcloud/sms/v20190711/models.py +8 -10
- tencentcloud/sms/v20210111/models.py +10 -13
- tencentcloud/sms/v20210111/sms_client.py +1 -1
- tencentcloud/taf/v20200210/models.py +63 -0
- tencentcloud/tdmq/v20200217/models.py +158 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/tke/v20180525/models.py +27 -0
- tencentcloud/trocket/v20230308/models.py +160 -114
- tencentcloud/trocket/v20230308/trocket_client.py +6 -6
- tencentcloud/trtc/v20190722/models.py +3 -10
- tencentcloud/vpc/v20170312/models.py +12 -12
- tencentcloud/waf/v20180125/models.py +134 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +592 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1253.dist-info → tencentcloud_sdk_python-3.0.1255.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1253.dist-info → tencentcloud_sdk_python-3.0.1255.dist-info}/RECORD +44 -44
- {tencentcloud_sdk_python-3.0.1253.dist-info → tencentcloud_sdk_python-3.0.1255.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1253.dist-info → tencentcloud_sdk_python-3.0.1255.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1253.dist-info → tencentcloud_sdk_python-3.0.1255.dist-info}/top_level.txt +0 -0
@@ -234,7 +234,7 @@ class TrocketClient(AbstractClient):
|
|
234
234
|
|
235
235
|
|
236
236
|
def DeleteInstance(self, request):
|
237
|
-
"""
|
237
|
+
"""删除 RocketMQ 5.x 集群。
|
238
238
|
|
239
239
|
:param request: Request instance for DeleteInstance.
|
240
240
|
:type request: :class:`tencentcloud.trocket.v20230308.models.DeleteInstanceRequest`
|
@@ -467,11 +467,11 @@ class TrocketClient(AbstractClient):
|
|
467
467
|
|
468
468
|
|
469
469
|
def DescribeFusionInstanceList(self, request):
|
470
|
-
"""
|
470
|
+
"""查询集群列表,支持 4.x 和 5.x 集群,其中 Filters 参数使用说明如下:
|
471
471
|
1. InstanceName, 名称模糊查询
|
472
|
-
2. InstanceId
|
473
|
-
3. InstanceType,
|
474
|
-
4. Version
|
472
|
+
2. InstanceId,集群ID查询
|
473
|
+
3. InstanceType, 集群类型查询,支持多选
|
474
|
+
4. Version,集群版本查询
|
475
475
|
当使用TagFilters查询时,Filters参数失效。
|
476
476
|
|
477
477
|
:param request: Request instance for DescribeFusionInstanceList.
|
@@ -495,7 +495,7 @@ class TrocketClient(AbstractClient):
|
|
495
495
|
|
496
496
|
|
497
497
|
def DescribeInstance(self, request):
|
498
|
-
"""
|
498
|
+
"""查询 RocketMQ 5.x 集群信息。
|
499
499
|
|
500
500
|
:param request: Request instance for DescribeInstance.
|
501
501
|
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeInstanceRequest`
|
@@ -158,25 +158,18 @@ class AgentConfig(AbstractModel):
|
|
158
158
|
def __init__(self):
|
159
159
|
r"""
|
160
160
|
:param _UserId: 机器人的UserId,用于进房发起任务。【注意】这个UserId不能与当前房间内的主播观众[UserId](https://cloud.tencent.com/document/product/647/46351#userid)重复。如果一个房间发起多个任务时,机器人的UserId也不能相互重复,否则会中断前一个任务。需要保证机器人UserId在房间内唯一。
|
161
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
162
161
|
:type UserId: str
|
163
162
|
:param _UserSig: 机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
164
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
165
163
|
:type UserSig: str
|
166
164
|
:param _TargetUserId: 机器人拉流的UserId, 填写后,机器人会拉取该UserId的流进行实时处理
|
167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
168
165
|
:type TargetUserId: str
|
169
166
|
:param _MaxIdleTime: 房间内超过MaxIdleTime 没有推流,后台自动关闭任务,默认值是60s。
|
170
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
171
167
|
:type MaxIdleTime: int
|
172
168
|
:param _WelcomeMessage: 机器人的欢迎语
|
173
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
174
169
|
:type WelcomeMessage: str
|
175
170
|
:param _InterruptMode: 智能打断模式,默认为0,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断
|
176
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
177
171
|
:type InterruptMode: int
|
178
172
|
:param _InterruptSpeechDuration: InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。
|
179
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
180
173
|
:type InterruptSpeechDuration: int
|
181
174
|
"""
|
182
175
|
self._UserId = None
|
@@ -8227,18 +8220,18 @@ class STTConfig(AbstractModel):
|
|
8227
8220
|
18. German = "de" # 德语
|
8228
8221
|
19. Italian = "it" # 意大利语
|
8229
8222
|
20. Russian = "ru" # 俄语
|
8223
|
+
21. Swedish = "sv" # 瑞典语
|
8224
|
+
22. Danish = "da" # 丹麦语
|
8225
|
+
23. Norwegian = "no" # 挪威语
|
8230
8226
|
|
8231
8227
|
注意:
|
8232
8228
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
8233
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8234
8229
|
:type Language: str
|
8235
8230
|
:param _AlternativeLanguage: 发起模糊识别额外可能替代语言类型,最多填写3种语言类型,
|
8236
8231
|
注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
|
8237
8232
|
|
8238
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8239
8233
|
:type AlternativeLanguage: list of str
|
8240
8234
|
:param _VadSilenceTime: 语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
|
8241
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8242
8235
|
:type VadSilenceTime: int
|
8243
8236
|
"""
|
8244
8237
|
self._Language = None
|
@@ -12936,10 +12936,10 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
12936
12936
|
:type VpnGatewayId: str
|
12937
12937
|
:param _SslVpnServerName: SSL-VPN-SERVER 实例名称,长度不超过60个字节。
|
12938
12938
|
:type SslVpnServerName: str
|
12939
|
-
:param _LocalAddress: 云端地址(CIDR)列表。
|
12940
|
-
:type LocalAddress: list of str
|
12941
12939
|
:param _RemoteAddress: 客户端地址网段。
|
12942
12940
|
:type RemoteAddress: str
|
12941
|
+
:param _LocalAddress: 云端地址(CIDR)列表。
|
12942
|
+
:type LocalAddress: list of str
|
12943
12943
|
:param _SslVpnProtocol: SSL VPN服务端监听协议。当前仅支持 UDP,默认UDP。
|
12944
12944
|
:type SslVpnProtocol: str
|
12945
12945
|
:param _SslVpnPort: SSL VPN服务端监听协议端口,默认1194。
|
@@ -12961,8 +12961,8 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
12961
12961
|
"""
|
12962
12962
|
self._VpnGatewayId = None
|
12963
12963
|
self._SslVpnServerName = None
|
12964
|
-
self._LocalAddress = None
|
12965
12964
|
self._RemoteAddress = None
|
12965
|
+
self._LocalAddress = None
|
12966
12966
|
self._SslVpnProtocol = None
|
12967
12967
|
self._SslVpnPort = None
|
12968
12968
|
self._IntegrityAlgorithm = None
|
@@ -12989,14 +12989,6 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
12989
12989
|
def SslVpnServerName(self, SslVpnServerName):
|
12990
12990
|
self._SslVpnServerName = SslVpnServerName
|
12991
12991
|
|
12992
|
-
@property
|
12993
|
-
def LocalAddress(self):
|
12994
|
-
return self._LocalAddress
|
12995
|
-
|
12996
|
-
@LocalAddress.setter
|
12997
|
-
def LocalAddress(self, LocalAddress):
|
12998
|
-
self._LocalAddress = LocalAddress
|
12999
|
-
|
13000
12992
|
@property
|
13001
12993
|
def RemoteAddress(self):
|
13002
12994
|
return self._RemoteAddress
|
@@ -13005,6 +12997,14 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
13005
12997
|
def RemoteAddress(self, RemoteAddress):
|
13006
12998
|
self._RemoteAddress = RemoteAddress
|
13007
12999
|
|
13000
|
+
@property
|
13001
|
+
def LocalAddress(self):
|
13002
|
+
return self._LocalAddress
|
13003
|
+
|
13004
|
+
@LocalAddress.setter
|
13005
|
+
def LocalAddress(self, LocalAddress):
|
13006
|
+
self._LocalAddress = LocalAddress
|
13007
|
+
|
13008
13008
|
@property
|
13009
13009
|
def SslVpnProtocol(self):
|
13010
13010
|
return self._SslVpnProtocol
|
@@ -13081,8 +13081,8 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
13081
13081
|
def _deserialize(self, params):
|
13082
13082
|
self._VpnGatewayId = params.get("VpnGatewayId")
|
13083
13083
|
self._SslVpnServerName = params.get("SslVpnServerName")
|
13084
|
-
self._LocalAddress = params.get("LocalAddress")
|
13085
13084
|
self._RemoteAddress = params.get("RemoteAddress")
|
13085
|
+
self._LocalAddress = params.get("LocalAddress")
|
13086
13086
|
self._SslVpnProtocol = params.get("SslVpnProtocol")
|
13087
13087
|
self._SslVpnPort = params.get("SslVpnPort")
|
13088
13088
|
self._IntegrityAlgorithm = params.get("IntegrityAlgorithm")
|
@@ -14449,6 +14449,93 @@ class DescribePortsResponse(AbstractModel):
|
|
14449
14449
|
self._RequestId = params.get("RequestId")
|
14450
14450
|
|
14451
14451
|
|
14452
|
+
class DescribeProtectionModesRequest(AbstractModel):
|
14453
|
+
"""DescribeProtectionModes请求参数结构体
|
14454
|
+
|
14455
|
+
"""
|
14456
|
+
|
14457
|
+
def __init__(self):
|
14458
|
+
r"""
|
14459
|
+
:param _Edition: sparta-waf或clb
|
14460
|
+
:type Edition: str
|
14461
|
+
:param _Domain: 域名
|
14462
|
+
:type Domain: str
|
14463
|
+
"""
|
14464
|
+
self._Edition = None
|
14465
|
+
self._Domain = None
|
14466
|
+
|
14467
|
+
@property
|
14468
|
+
def Edition(self):
|
14469
|
+
return self._Edition
|
14470
|
+
|
14471
|
+
@Edition.setter
|
14472
|
+
def Edition(self, Edition):
|
14473
|
+
self._Edition = Edition
|
14474
|
+
|
14475
|
+
@property
|
14476
|
+
def Domain(self):
|
14477
|
+
return self._Domain
|
14478
|
+
|
14479
|
+
@Domain.setter
|
14480
|
+
def Domain(self, Domain):
|
14481
|
+
self._Domain = Domain
|
14482
|
+
|
14483
|
+
|
14484
|
+
def _deserialize(self, params):
|
14485
|
+
self._Edition = params.get("Edition")
|
14486
|
+
self._Domain = params.get("Domain")
|
14487
|
+
memeber_set = set(params.keys())
|
14488
|
+
for name, value in vars(self).items():
|
14489
|
+
property_name = name[1:]
|
14490
|
+
if property_name in memeber_set:
|
14491
|
+
memeber_set.remove(property_name)
|
14492
|
+
if len(memeber_set) > 0:
|
14493
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14494
|
+
|
14495
|
+
|
14496
|
+
|
14497
|
+
class DescribeProtectionModesResponse(AbstractModel):
|
14498
|
+
"""DescribeProtectionModes返回参数结构体
|
14499
|
+
|
14500
|
+
"""
|
14501
|
+
|
14502
|
+
def __init__(self):
|
14503
|
+
r"""
|
14504
|
+
:param _Modes: 规则大类ID及防护模式
|
14505
|
+
:type Modes: list of TigaMainClassMode
|
14506
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14507
|
+
:type RequestId: str
|
14508
|
+
"""
|
14509
|
+
self._Modes = None
|
14510
|
+
self._RequestId = None
|
14511
|
+
|
14512
|
+
@property
|
14513
|
+
def Modes(self):
|
14514
|
+
return self._Modes
|
14515
|
+
|
14516
|
+
@Modes.setter
|
14517
|
+
def Modes(self, Modes):
|
14518
|
+
self._Modes = Modes
|
14519
|
+
|
14520
|
+
@property
|
14521
|
+
def RequestId(self):
|
14522
|
+
return self._RequestId
|
14523
|
+
|
14524
|
+
@RequestId.setter
|
14525
|
+
def RequestId(self, RequestId):
|
14526
|
+
self._RequestId = RequestId
|
14527
|
+
|
14528
|
+
|
14529
|
+
def _deserialize(self, params):
|
14530
|
+
if params.get("Modes") is not None:
|
14531
|
+
self._Modes = []
|
14532
|
+
for item in params.get("Modes"):
|
14533
|
+
obj = TigaMainClassMode()
|
14534
|
+
obj._deserialize(item)
|
14535
|
+
self._Modes.append(obj)
|
14536
|
+
self._RequestId = params.get("RequestId")
|
14537
|
+
|
14538
|
+
|
14452
14539
|
class DescribeRuleLimitRequest(AbstractModel):
|
14453
14540
|
"""DescribeRuleLimit请求参数结构体
|
14454
14541
|
|
@@ -29164,6 +29251,53 @@ class TargetEntity(AbstractModel):
|
|
29164
29251
|
|
29165
29252
|
|
29166
29253
|
|
29254
|
+
class TigaMainClassMode(AbstractModel):
|
29255
|
+
"""Tiga引擎中Mainclass的TypeID和防护模式
|
29256
|
+
|
29257
|
+
"""
|
29258
|
+
|
29259
|
+
def __init__(self):
|
29260
|
+
r"""
|
29261
|
+
:param _TypeID: MainclassID
|
29262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
29263
|
+
:type TypeID: str
|
29264
|
+
:param _Mode: 防护模式,0表示观察,1表示拦截
|
29265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
29266
|
+
:type Mode: int
|
29267
|
+
"""
|
29268
|
+
self._TypeID = None
|
29269
|
+
self._Mode = None
|
29270
|
+
|
29271
|
+
@property
|
29272
|
+
def TypeID(self):
|
29273
|
+
return self._TypeID
|
29274
|
+
|
29275
|
+
@TypeID.setter
|
29276
|
+
def TypeID(self, TypeID):
|
29277
|
+
self._TypeID = TypeID
|
29278
|
+
|
29279
|
+
@property
|
29280
|
+
def Mode(self):
|
29281
|
+
return self._Mode
|
29282
|
+
|
29283
|
+
@Mode.setter
|
29284
|
+
def Mode(self, Mode):
|
29285
|
+
self._Mode = Mode
|
29286
|
+
|
29287
|
+
|
29288
|
+
def _deserialize(self, params):
|
29289
|
+
self._TypeID = params.get("TypeID")
|
29290
|
+
self._Mode = params.get("Mode")
|
29291
|
+
memeber_set = set(params.keys())
|
29292
|
+
for name, value in vars(self).items():
|
29293
|
+
property_name = name[1:]
|
29294
|
+
if property_name in memeber_set:
|
29295
|
+
memeber_set.remove(property_name)
|
29296
|
+
if len(memeber_set) > 0:
|
29297
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
29298
|
+
|
29299
|
+
|
29300
|
+
|
29167
29301
|
class TimedJob(AbstractModel):
|
29168
29302
|
"""规则定时任务数据结构
|
29169
29303
|
|
@@ -1711,6 +1711,29 @@ class WafClient(AbstractClient):
|
|
1711
1711
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1712
1712
|
|
1713
1713
|
|
1714
|
+
def DescribeProtectionModes(self, request):
|
1715
|
+
"""查询Tiga引擎大类规则及其防护模式
|
1716
|
+
|
1717
|
+
:param request: Request instance for DescribeProtectionModes.
|
1718
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.DescribeProtectionModesRequest`
|
1719
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.DescribeProtectionModesResponse`
|
1720
|
+
|
1721
|
+
"""
|
1722
|
+
try:
|
1723
|
+
params = request._serialize()
|
1724
|
+
headers = request.headers
|
1725
|
+
body = self.call("DescribeProtectionModes", params, headers=headers)
|
1726
|
+
response = json.loads(body)
|
1727
|
+
model = models.DescribeProtectionModesResponse()
|
1728
|
+
model._deserialize(response["Response"])
|
1729
|
+
return model
|
1730
|
+
except Exception as e:
|
1731
|
+
if isinstance(e, TencentCloudSDKException):
|
1732
|
+
raise
|
1733
|
+
else:
|
1734
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1735
|
+
|
1736
|
+
|
1714
1737
|
def DescribeRuleLimit(self, request):
|
1715
1738
|
"""获取各个模块具体的规格限制
|
1716
1739
|
|