tencentcloud-sdk-python-mqtt 3.1.103__tar.gz → 3.1.127__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.
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/setup.py +1 -1
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/tencentcloud/mqtt/v20240516/models.py +225 -20
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/tencentcloud_sdk_python_mqtt.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mqtt-3.1.127/tencentcloud_sdk_python_mqtt.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mqtt-3.1.103/tencentcloud_sdk_python_mqtt.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/README.rst +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/tencentcloud/mqtt/__init__.py +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/tencentcloud/mqtt/v20240516/__init__.py +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/tencentcloud/mqtt/v20240516/mqtt_client.py +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/tencentcloud/mqtt/v20240516/mqtt_client_async.py +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/tencentcloud_sdk_python_mqtt.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/tencentcloud_sdk_python_mqtt.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.103 → tencentcloud_sdk_python_mqtt-3.1.127}/tencentcloud_sdk_python_mqtt.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-mqtt
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.127
|
|
4
4
|
Summary: Tencent Cloud Mqtt SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.127
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-mqtt',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.127,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mqtt SDK for Python',
|
|
@@ -23,6 +23,9 @@ FAILEDOPERATION_CALLTRADE = 'FailedOperation.CallTrade'
|
|
|
23
23
|
# FailedOperation.CertificateVerificationFailed
|
|
24
24
|
FAILEDOPERATION_CERTIFICATEVERIFICATIONFAILED = 'FailedOperation.CertificateVerificationFailed'
|
|
25
25
|
|
|
26
|
+
# 集群已打开删除保护开关。
|
|
27
|
+
FAILEDOPERATION_DELETEPROTECT = 'FailedOperation.DeleteProtect'
|
|
28
|
+
|
|
26
29
|
# 策略优先级重复
|
|
27
30
|
FAILEDOPERATION_DUPLICATEAUTHORIZATIONIDORPRIORITY = 'FailedOperation.DuplicateAuthorizationIdOrPriority'
|
|
28
31
|
|
|
@@ -1461,6 +1461,16 @@ class CreateHttpAuthenticatorRequest(AbstractModel):
|
|
|
1461
1461
|
:type Header: list of HeaderItem
|
|
1462
1462
|
:param _Body: 转发请求body
|
|
1463
1463
|
:type Body: list of BodyItem
|
|
1464
|
+
:param _IncludingUserProperties: 连接UserProperty作为Header转发,默认false
|
|
1465
|
+
:type IncludingUserProperties: bool
|
|
1466
|
+
:param _VpcSvcId: vpcsvcId
|
|
1467
|
+
HTTP认证需要通过vpc网络访问时需要配置
|
|
1468
|
+
:type VpcSvcId: str
|
|
1469
|
+
:param _NetworkType: 网络连接类型
|
|
1470
|
+
vpc:vpc网络
|
|
1471
|
+
public:公网
|
|
1472
|
+
通过vpc网络连接需要设置VpcSvcId参数
|
|
1473
|
+
:type NetworkType: str
|
|
1464
1474
|
"""
|
|
1465
1475
|
self._InstanceId = None
|
|
1466
1476
|
self._Endpoint = None
|
|
@@ -1472,6 +1482,9 @@ class CreateHttpAuthenticatorRequest(AbstractModel):
|
|
|
1472
1482
|
self._ReadTimeout = None
|
|
1473
1483
|
self._Header = None
|
|
1474
1484
|
self._Body = None
|
|
1485
|
+
self._IncludingUserProperties = None
|
|
1486
|
+
self._VpcSvcId = None
|
|
1487
|
+
self._NetworkType = None
|
|
1475
1488
|
|
|
1476
1489
|
@property
|
|
1477
1490
|
def InstanceId(self):
|
|
@@ -1583,6 +1596,43 @@ class CreateHttpAuthenticatorRequest(AbstractModel):
|
|
|
1583
1596
|
def Body(self, Body):
|
|
1584
1597
|
self._Body = Body
|
|
1585
1598
|
|
|
1599
|
+
@property
|
|
1600
|
+
def IncludingUserProperties(self):
|
|
1601
|
+
r"""连接UserProperty作为Header转发,默认false
|
|
1602
|
+
:rtype: bool
|
|
1603
|
+
"""
|
|
1604
|
+
return self._IncludingUserProperties
|
|
1605
|
+
|
|
1606
|
+
@IncludingUserProperties.setter
|
|
1607
|
+
def IncludingUserProperties(self, IncludingUserProperties):
|
|
1608
|
+
self._IncludingUserProperties = IncludingUserProperties
|
|
1609
|
+
|
|
1610
|
+
@property
|
|
1611
|
+
def VpcSvcId(self):
|
|
1612
|
+
r"""vpcsvcId
|
|
1613
|
+
HTTP认证需要通过vpc网络访问时需要配置
|
|
1614
|
+
:rtype: str
|
|
1615
|
+
"""
|
|
1616
|
+
return self._VpcSvcId
|
|
1617
|
+
|
|
1618
|
+
@VpcSvcId.setter
|
|
1619
|
+
def VpcSvcId(self, VpcSvcId):
|
|
1620
|
+
self._VpcSvcId = VpcSvcId
|
|
1621
|
+
|
|
1622
|
+
@property
|
|
1623
|
+
def NetworkType(self):
|
|
1624
|
+
r"""网络连接类型
|
|
1625
|
+
vpc:vpc网络
|
|
1626
|
+
public:公网
|
|
1627
|
+
通过vpc网络连接需要设置VpcSvcId参数
|
|
1628
|
+
:rtype: str
|
|
1629
|
+
"""
|
|
1630
|
+
return self._NetworkType
|
|
1631
|
+
|
|
1632
|
+
@NetworkType.setter
|
|
1633
|
+
def NetworkType(self, NetworkType):
|
|
1634
|
+
self._NetworkType = NetworkType
|
|
1635
|
+
|
|
1586
1636
|
|
|
1587
1637
|
def _deserialize(self, params):
|
|
1588
1638
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -1605,6 +1655,9 @@ class CreateHttpAuthenticatorRequest(AbstractModel):
|
|
|
1605
1655
|
obj = BodyItem()
|
|
1606
1656
|
obj._deserialize(item)
|
|
1607
1657
|
self._Body.append(obj)
|
|
1658
|
+
self._IncludingUserProperties = params.get("IncludingUserProperties")
|
|
1659
|
+
self._VpcSvcId = params.get("VpcSvcId")
|
|
1660
|
+
self._NetworkType = params.get("NetworkType")
|
|
1608
1661
|
memeber_set = set(params.keys())
|
|
1609
1662
|
for name, value in vars(self).items():
|
|
1610
1663
|
property_name = name[1:]
|
|
@@ -4335,10 +4388,19 @@ class DescribeClientListRequest(AbstractModel):
|
|
|
4335
4388
|
:type ClientId: str
|
|
4336
4389
|
:param _Number: 客户端数量限制,最大1024,默认1024
|
|
4337
4390
|
:type Number: str
|
|
4391
|
+
:param _OnlineStatus: 0:查询在线和离线客户端(默认值)
|
|
4392
|
+
1:查询在线客户端
|
|
4393
|
+
2:查询离线客户端
|
|
4394
|
+
:type OnlineStatus: int
|
|
4395
|
+
:param _MaxTimestamp: 在线连接:表示最后的连接时间
|
|
4396
|
+
离线连接:表示最后的断开连接时间
|
|
4397
|
+
:type MaxTimestamp: int
|
|
4338
4398
|
"""
|
|
4339
4399
|
self._InstanceId = None
|
|
4340
4400
|
self._ClientId = None
|
|
4341
4401
|
self._Number = None
|
|
4402
|
+
self._OnlineStatus = None
|
|
4403
|
+
self._MaxTimestamp = None
|
|
4342
4404
|
|
|
4343
4405
|
@property
|
|
4344
4406
|
def InstanceId(self):
|
|
@@ -4373,11 +4435,38 @@ class DescribeClientListRequest(AbstractModel):
|
|
|
4373
4435
|
def Number(self, Number):
|
|
4374
4436
|
self._Number = Number
|
|
4375
4437
|
|
|
4438
|
+
@property
|
|
4439
|
+
def OnlineStatus(self):
|
|
4440
|
+
r"""0:查询在线和离线客户端(默认值)
|
|
4441
|
+
1:查询在线客户端
|
|
4442
|
+
2:查询离线客户端
|
|
4443
|
+
:rtype: int
|
|
4444
|
+
"""
|
|
4445
|
+
return self._OnlineStatus
|
|
4446
|
+
|
|
4447
|
+
@OnlineStatus.setter
|
|
4448
|
+
def OnlineStatus(self, OnlineStatus):
|
|
4449
|
+
self._OnlineStatus = OnlineStatus
|
|
4450
|
+
|
|
4451
|
+
@property
|
|
4452
|
+
def MaxTimestamp(self):
|
|
4453
|
+
r"""在线连接:表示最后的连接时间
|
|
4454
|
+
离线连接:表示最后的断开连接时间
|
|
4455
|
+
:rtype: int
|
|
4456
|
+
"""
|
|
4457
|
+
return self._MaxTimestamp
|
|
4458
|
+
|
|
4459
|
+
@MaxTimestamp.setter
|
|
4460
|
+
def MaxTimestamp(self, MaxTimestamp):
|
|
4461
|
+
self._MaxTimestamp = MaxTimestamp
|
|
4462
|
+
|
|
4376
4463
|
|
|
4377
4464
|
def _deserialize(self, params):
|
|
4378
4465
|
self._InstanceId = params.get("InstanceId")
|
|
4379
4466
|
self._ClientId = params.get("ClientId")
|
|
4380
4467
|
self._Number = params.get("Number")
|
|
4468
|
+
self._OnlineStatus = params.get("OnlineStatus")
|
|
4469
|
+
self._MaxTimestamp = params.get("MaxTimestamp")
|
|
4381
4470
|
memeber_set = set(params.keys())
|
|
4382
4471
|
for name, value in vars(self).items():
|
|
4383
4472
|
property_name = name[1:]
|
|
@@ -5497,17 +5586,13 @@ class DescribeInstanceListRequest(AbstractModel):
|
|
|
5497
5586
|
|
|
5498
5587
|
def __init__(self):
|
|
5499
5588
|
r"""
|
|
5500
|
-
:param _Filters:
|
|
5501
|
-
InstanceName:集群名模糊搜索
|
|
5502
|
-
InstanceId:集群id精确搜索
|
|
5503
|
-
InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,MODIFYING-变配中,DELETING-删除中)
|
|
5504
|
-
注意:配置TagFilters时该查询条件不生效。
|
|
5589
|
+
:param _Filters: <p>查询条件列表,支持以下字段<br>InstanceName:集群名模糊搜索<br>InstanceId:集群id精确搜索<br>InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,MODIFYING-变配中,DELETING-删除中)<br>PayMode:付费模式搜索(PREPAID-包年包月,POSTPAID-按小时计费)<br>ExpiredBefore:按过期时间过滤:仅筛选包年包月(PREPAID)集群<br>注意:配置TagFilters时该查询条件不生效。</p>
|
|
5505
5590
|
:type Filters: list of Filter
|
|
5506
|
-
:param _Offset:
|
|
5591
|
+
:param _Offset: <p>查询起始位置,默认0</p>
|
|
5507
5592
|
:type Offset: int
|
|
5508
|
-
:param _Limit:
|
|
5593
|
+
:param _Limit: <p>查询结果限制数量,默认20,最大100</p>
|
|
5509
5594
|
:type Limit: int
|
|
5510
|
-
:param _TagFilters:
|
|
5595
|
+
:param _TagFilters: <p>标签过滤器</p>
|
|
5511
5596
|
:type TagFilters: list of TagFilter
|
|
5512
5597
|
"""
|
|
5513
5598
|
self._Filters = None
|
|
@@ -5517,11 +5602,7 @@ InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,M
|
|
|
5517
5602
|
|
|
5518
5603
|
@property
|
|
5519
5604
|
def Filters(self):
|
|
5520
|
-
r"""
|
|
5521
|
-
InstanceName:集群名模糊搜索
|
|
5522
|
-
InstanceId:集群id精确搜索
|
|
5523
|
-
InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,MODIFYING-变配中,DELETING-删除中)
|
|
5524
|
-
注意:配置TagFilters时该查询条件不生效。
|
|
5605
|
+
r"""<p>查询条件列表,支持以下字段<br>InstanceName:集群名模糊搜索<br>InstanceId:集群id精确搜索<br>InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,MODIFYING-变配中,DELETING-删除中)<br>PayMode:付费模式搜索(PREPAID-包年包月,POSTPAID-按小时计费)<br>ExpiredBefore:按过期时间过滤:仅筛选包年包月(PREPAID)集群<br>注意:配置TagFilters时该查询条件不生效。</p>
|
|
5525
5606
|
:rtype: list of Filter
|
|
5526
5607
|
"""
|
|
5527
5608
|
return self._Filters
|
|
@@ -5532,7 +5613,7 @@ InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,M
|
|
|
5532
5613
|
|
|
5533
5614
|
@property
|
|
5534
5615
|
def Offset(self):
|
|
5535
|
-
r"""
|
|
5616
|
+
r"""<p>查询起始位置,默认0</p>
|
|
5536
5617
|
:rtype: int
|
|
5537
5618
|
"""
|
|
5538
5619
|
return self._Offset
|
|
@@ -5543,7 +5624,7 @@ InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,M
|
|
|
5543
5624
|
|
|
5544
5625
|
@property
|
|
5545
5626
|
def Limit(self):
|
|
5546
|
-
r"""
|
|
5627
|
+
r"""<p>查询结果限制数量,默认20,最大100</p>
|
|
5547
5628
|
:rtype: int
|
|
5548
5629
|
"""
|
|
5549
5630
|
return self._Limit
|
|
@@ -5554,7 +5635,7 @@ InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,M
|
|
|
5554
5635
|
|
|
5555
5636
|
@property
|
|
5556
5637
|
def TagFilters(self):
|
|
5557
|
-
r"""
|
|
5638
|
+
r"""<p>标签过滤器</p>
|
|
5558
5639
|
:rtype: list of TagFilter
|
|
5559
5640
|
"""
|
|
5560
5641
|
return self._TagFilters
|
|
@@ -5596,9 +5677,9 @@ class DescribeInstanceListResponse(AbstractModel):
|
|
|
5596
5677
|
|
|
5597
5678
|
def __init__(self):
|
|
5598
5679
|
r"""
|
|
5599
|
-
:param _TotalCount:
|
|
5680
|
+
:param _TotalCount: <p>查询总数</p>
|
|
5600
5681
|
:type TotalCount: int
|
|
5601
|
-
:param _Data:
|
|
5682
|
+
:param _Data: <p>实例列表</p>
|
|
5602
5683
|
:type Data: list of MQTTInstanceItem
|
|
5603
5684
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5604
5685
|
:type RequestId: str
|
|
@@ -5609,7 +5690,7 @@ class DescribeInstanceListResponse(AbstractModel):
|
|
|
5609
5690
|
|
|
5610
5691
|
@property
|
|
5611
5692
|
def TotalCount(self):
|
|
5612
|
-
r"""
|
|
5693
|
+
r"""<p>查询总数</p>
|
|
5613
5694
|
:rtype: int
|
|
5614
5695
|
"""
|
|
5615
5696
|
return self._TotalCount
|
|
@@ -5620,7 +5701,7 @@ class DescribeInstanceListResponse(AbstractModel):
|
|
|
5620
5701
|
|
|
5621
5702
|
@property
|
|
5622
5703
|
def Data(self):
|
|
5623
|
-
r"""
|
|
5704
|
+
r"""<p>实例列表</p>
|
|
5624
5705
|
:rtype: list of MQTTInstanceItem
|
|
5625
5706
|
"""
|
|
5626
5707
|
return self._Data
|
|
@@ -5767,6 +5848,12 @@ class DescribeInstanceResponse(AbstractModel):
|
|
|
5767
5848
|
:type MessageEnrichmentRuleLimit: int
|
|
5768
5849
|
:param _BlockRuleLimit: <p>封禁规则最大数量</p>
|
|
5769
5850
|
:type BlockRuleLimit: int
|
|
5851
|
+
:param _DeleteProtect: <p>删除保护开关</p>
|
|
5852
|
+
:type DeleteProtect: bool
|
|
5853
|
+
:param _EventDialect: <p>集群客户端事件格式</p><p>枚举值:</p><ul><li>V1: 详见官网文档</li><li>V2: 详见官网文档</li><li>V3: 详见官网文档</li></ul><p>默认值:V3</p>
|
|
5854
|
+
:type EventDialect: str
|
|
5855
|
+
:param _HashMessagePolicy: <p>消息HASH策略</p><p>枚举值:</p><ul><li>TOPIC_NAME: 按主题名</li><li>CLIENT_ID: 按客户端ID</li></ul><p>默认值:TOPIC_NAME</p>
|
|
5856
|
+
:type HashMessagePolicy: str
|
|
5770
5857
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5771
5858
|
:type RequestId: str
|
|
5772
5859
|
"""
|
|
@@ -5806,6 +5893,9 @@ class DescribeInstanceResponse(AbstractModel):
|
|
|
5806
5893
|
self._TransportLayerSecurity = None
|
|
5807
5894
|
self._MessageEnrichmentRuleLimit = None
|
|
5808
5895
|
self._BlockRuleLimit = None
|
|
5896
|
+
self._DeleteProtect = None
|
|
5897
|
+
self._EventDialect = None
|
|
5898
|
+
self._HashMessagePolicy = None
|
|
5809
5899
|
self._RequestId = None
|
|
5810
5900
|
|
|
5811
5901
|
@property
|
|
@@ -6208,6 +6298,39 @@ class DescribeInstanceResponse(AbstractModel):
|
|
|
6208
6298
|
def BlockRuleLimit(self, BlockRuleLimit):
|
|
6209
6299
|
self._BlockRuleLimit = BlockRuleLimit
|
|
6210
6300
|
|
|
6301
|
+
@property
|
|
6302
|
+
def DeleteProtect(self):
|
|
6303
|
+
r"""<p>删除保护开关</p>
|
|
6304
|
+
:rtype: bool
|
|
6305
|
+
"""
|
|
6306
|
+
return self._DeleteProtect
|
|
6307
|
+
|
|
6308
|
+
@DeleteProtect.setter
|
|
6309
|
+
def DeleteProtect(self, DeleteProtect):
|
|
6310
|
+
self._DeleteProtect = DeleteProtect
|
|
6311
|
+
|
|
6312
|
+
@property
|
|
6313
|
+
def EventDialect(self):
|
|
6314
|
+
r"""<p>集群客户端事件格式</p><p>枚举值:</p><ul><li>V1: 详见官网文档</li><li>V2: 详见官网文档</li><li>V3: 详见官网文档</li></ul><p>默认值:V3</p>
|
|
6315
|
+
:rtype: str
|
|
6316
|
+
"""
|
|
6317
|
+
return self._EventDialect
|
|
6318
|
+
|
|
6319
|
+
@EventDialect.setter
|
|
6320
|
+
def EventDialect(self, EventDialect):
|
|
6321
|
+
self._EventDialect = EventDialect
|
|
6322
|
+
|
|
6323
|
+
@property
|
|
6324
|
+
def HashMessagePolicy(self):
|
|
6325
|
+
r"""<p>消息HASH策略</p><p>枚举值:</p><ul><li>TOPIC_NAME: 按主题名</li><li>CLIENT_ID: 按客户端ID</li></ul><p>默认值:TOPIC_NAME</p>
|
|
6326
|
+
:rtype: str
|
|
6327
|
+
"""
|
|
6328
|
+
return self._HashMessagePolicy
|
|
6329
|
+
|
|
6330
|
+
@HashMessagePolicy.setter
|
|
6331
|
+
def HashMessagePolicy(self, HashMessagePolicy):
|
|
6332
|
+
self._HashMessagePolicy = HashMessagePolicy
|
|
6333
|
+
|
|
6211
6334
|
@property
|
|
6212
6335
|
def RequestId(self):
|
|
6213
6336
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6257,6 +6380,9 @@ class DescribeInstanceResponse(AbstractModel):
|
|
|
6257
6380
|
self._TransportLayerSecurity = params.get("TransportLayerSecurity")
|
|
6258
6381
|
self._MessageEnrichmentRuleLimit = params.get("MessageEnrichmentRuleLimit")
|
|
6259
6382
|
self._BlockRuleLimit = params.get("BlockRuleLimit")
|
|
6383
|
+
self._DeleteProtect = params.get("DeleteProtect")
|
|
6384
|
+
self._EventDialect = params.get("EventDialect")
|
|
6385
|
+
self._HashMessagePolicy = params.get("HashMessagePolicy")
|
|
6260
6386
|
self._RequestId = params.get("RequestId")
|
|
6261
6387
|
|
|
6262
6388
|
|
|
@@ -8644,9 +8770,12 @@ class KickOutClientRequest(AbstractModel):
|
|
|
8644
8770
|
:type InstanceId: str
|
|
8645
8771
|
:param _ClientId: 客户端id
|
|
8646
8772
|
:type ClientId: str
|
|
8773
|
+
:param _DeleteSession: 是否清理session,默认false
|
|
8774
|
+
:type DeleteSession: bool
|
|
8647
8775
|
"""
|
|
8648
8776
|
self._InstanceId = None
|
|
8649
8777
|
self._ClientId = None
|
|
8778
|
+
self._DeleteSession = None
|
|
8650
8779
|
|
|
8651
8780
|
@property
|
|
8652
8781
|
def InstanceId(self):
|
|
@@ -8670,10 +8799,22 @@ class KickOutClientRequest(AbstractModel):
|
|
|
8670
8799
|
def ClientId(self, ClientId):
|
|
8671
8800
|
self._ClientId = ClientId
|
|
8672
8801
|
|
|
8802
|
+
@property
|
|
8803
|
+
def DeleteSession(self):
|
|
8804
|
+
r"""是否清理session,默认false
|
|
8805
|
+
:rtype: bool
|
|
8806
|
+
"""
|
|
8807
|
+
return self._DeleteSession
|
|
8808
|
+
|
|
8809
|
+
@DeleteSession.setter
|
|
8810
|
+
def DeleteSession(self, DeleteSession):
|
|
8811
|
+
self._DeleteSession = DeleteSession
|
|
8812
|
+
|
|
8673
8813
|
|
|
8674
8814
|
def _deserialize(self, params):
|
|
8675
8815
|
self._InstanceId = params.get("InstanceId")
|
|
8676
8816
|
self._ClientId = params.get("ClientId")
|
|
8817
|
+
self._DeleteSession = params.get("DeleteSession")
|
|
8677
8818
|
memeber_set = set(params.keys())
|
|
8678
8819
|
for name, value in vars(self).items():
|
|
8679
8820
|
property_name = name[1:]
|
|
@@ -8904,6 +9045,10 @@ class MQTTClientInfo(AbstractModel):
|
|
|
8904
9045
|
:type DisconnectTime: int
|
|
8905
9046
|
:param _MQTTClientSubscriptions: 客户端的订阅列表
|
|
8906
9047
|
:type MQTTClientSubscriptions: list of MQTTClientSubscription
|
|
9048
|
+
:param _CleanSession: clean-session标志,在客户端使用mqtt5协议时,该字段即clean-start
|
|
9049
|
+
:type CleanSession: bool
|
|
9050
|
+
:param _ExpireIntervalInSeconds: MQTT5协议:expireIntervalInSeconds
|
|
9051
|
+
:type ExpireIntervalInSeconds: int
|
|
8907
9052
|
"""
|
|
8908
9053
|
self._ClientId = None
|
|
8909
9054
|
self._ClientAddress = None
|
|
@@ -8914,6 +9059,8 @@ class MQTTClientInfo(AbstractModel):
|
|
|
8914
9059
|
self._ConnectTime = None
|
|
8915
9060
|
self._DisconnectTime = None
|
|
8916
9061
|
self._MQTTClientSubscriptions = None
|
|
9062
|
+
self._CleanSession = None
|
|
9063
|
+
self._ExpireIntervalInSeconds = None
|
|
8917
9064
|
|
|
8918
9065
|
@property
|
|
8919
9066
|
def ClientId(self):
|
|
@@ -9017,6 +9164,28 @@ class MQTTClientInfo(AbstractModel):
|
|
|
9017
9164
|
def MQTTClientSubscriptions(self, MQTTClientSubscriptions):
|
|
9018
9165
|
self._MQTTClientSubscriptions = MQTTClientSubscriptions
|
|
9019
9166
|
|
|
9167
|
+
@property
|
|
9168
|
+
def CleanSession(self):
|
|
9169
|
+
r"""clean-session标志,在客户端使用mqtt5协议时,该字段即clean-start
|
|
9170
|
+
:rtype: bool
|
|
9171
|
+
"""
|
|
9172
|
+
return self._CleanSession
|
|
9173
|
+
|
|
9174
|
+
@CleanSession.setter
|
|
9175
|
+
def CleanSession(self, CleanSession):
|
|
9176
|
+
self._CleanSession = CleanSession
|
|
9177
|
+
|
|
9178
|
+
@property
|
|
9179
|
+
def ExpireIntervalInSeconds(self):
|
|
9180
|
+
r"""MQTT5协议:expireIntervalInSeconds
|
|
9181
|
+
:rtype: int
|
|
9182
|
+
"""
|
|
9183
|
+
return self._ExpireIntervalInSeconds
|
|
9184
|
+
|
|
9185
|
+
@ExpireIntervalInSeconds.setter
|
|
9186
|
+
def ExpireIntervalInSeconds(self, ExpireIntervalInSeconds):
|
|
9187
|
+
self._ExpireIntervalInSeconds = ExpireIntervalInSeconds
|
|
9188
|
+
|
|
9020
9189
|
|
|
9021
9190
|
def _deserialize(self, params):
|
|
9022
9191
|
self._ClientId = params.get("ClientId")
|
|
@@ -9033,6 +9202,8 @@ class MQTTClientInfo(AbstractModel):
|
|
|
9033
9202
|
obj = MQTTClientSubscription()
|
|
9034
9203
|
obj._deserialize(item)
|
|
9035
9204
|
self._MQTTClientSubscriptions.append(obj)
|
|
9205
|
+
self._CleanSession = params.get("CleanSession")
|
|
9206
|
+
self._ExpireIntervalInSeconds = params.get("ExpireIntervalInSeconds")
|
|
9036
9207
|
memeber_set = set(params.keys())
|
|
9037
9208
|
for name, value in vars(self).items():
|
|
9038
9209
|
property_name = name[1:]
|
|
@@ -9345,6 +9516,8 @@ DELETING,删除中
|
|
|
9345
9516
|
:type AutoSubscriptionPolicyLimit: int
|
|
9346
9517
|
:param _MaxTopicFilterPerAutoSubscriptionPolicy: 单条自动订阅规则TopicFilter数限制
|
|
9347
9518
|
:type MaxTopicFilterPerAutoSubscriptionPolicy: int
|
|
9519
|
+
:param _DeleteProtect: 集群删除保护开关
|
|
9520
|
+
:type DeleteProtect: bool
|
|
9348
9521
|
"""
|
|
9349
9522
|
self._InstanceId = None
|
|
9350
9523
|
self._InstanceName = None
|
|
@@ -9370,6 +9543,7 @@ DELETING,删除中
|
|
|
9370
9543
|
self._MaxTopicFilterPerSharedSubscriptionGroup = None
|
|
9371
9544
|
self._AutoSubscriptionPolicyLimit = None
|
|
9372
9545
|
self._MaxTopicFilterPerAutoSubscriptionPolicy = None
|
|
9546
|
+
self._DeleteProtect = None
|
|
9373
9547
|
|
|
9374
9548
|
@property
|
|
9375
9549
|
def InstanceId(self):
|
|
@@ -9618,6 +9792,8 @@ DELETING,删除中
|
|
|
9618
9792
|
|
|
9619
9793
|
@property
|
|
9620
9794
|
def MaxTopicFilterPerSharedSubscriptionGroup(self):
|
|
9795
|
+
warnings.warn("parameter `MaxTopicFilterPerSharedSubscriptionGroup` is deprecated", DeprecationWarning)
|
|
9796
|
+
|
|
9621
9797
|
r"""单个共享订阅组TopicFilter数限制
|
|
9622
9798
|
:rtype: int
|
|
9623
9799
|
"""
|
|
@@ -9625,6 +9801,8 @@ DELETING,删除中
|
|
|
9625
9801
|
|
|
9626
9802
|
@MaxTopicFilterPerSharedSubscriptionGroup.setter
|
|
9627
9803
|
def MaxTopicFilterPerSharedSubscriptionGroup(self, MaxTopicFilterPerSharedSubscriptionGroup):
|
|
9804
|
+
warnings.warn("parameter `MaxTopicFilterPerSharedSubscriptionGroup` is deprecated", DeprecationWarning)
|
|
9805
|
+
|
|
9628
9806
|
self._MaxTopicFilterPerSharedSubscriptionGroup = MaxTopicFilterPerSharedSubscriptionGroup
|
|
9629
9807
|
|
|
9630
9808
|
@property
|
|
@@ -9649,6 +9827,17 @@ DELETING,删除中
|
|
|
9649
9827
|
def MaxTopicFilterPerAutoSubscriptionPolicy(self, MaxTopicFilterPerAutoSubscriptionPolicy):
|
|
9650
9828
|
self._MaxTopicFilterPerAutoSubscriptionPolicy = MaxTopicFilterPerAutoSubscriptionPolicy
|
|
9651
9829
|
|
|
9830
|
+
@property
|
|
9831
|
+
def DeleteProtect(self):
|
|
9832
|
+
r"""集群删除保护开关
|
|
9833
|
+
:rtype: bool
|
|
9834
|
+
"""
|
|
9835
|
+
return self._DeleteProtect
|
|
9836
|
+
|
|
9837
|
+
@DeleteProtect.setter
|
|
9838
|
+
def DeleteProtect(self, DeleteProtect):
|
|
9839
|
+
self._DeleteProtect = DeleteProtect
|
|
9840
|
+
|
|
9652
9841
|
|
|
9653
9842
|
def _deserialize(self, params):
|
|
9654
9843
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -9675,6 +9864,7 @@ DELETING,删除中
|
|
|
9675
9864
|
self._MaxTopicFilterPerSharedSubscriptionGroup = params.get("MaxTopicFilterPerSharedSubscriptionGroup")
|
|
9676
9865
|
self._AutoSubscriptionPolicyLimit = params.get("AutoSubscriptionPolicyLimit")
|
|
9677
9866
|
self._MaxTopicFilterPerAutoSubscriptionPolicy = params.get("MaxTopicFilterPerAutoSubscriptionPolicy")
|
|
9867
|
+
self._DeleteProtect = params.get("DeleteProtect")
|
|
9678
9868
|
memeber_set = set(params.keys())
|
|
9679
9869
|
for name, value in vars(self).items():
|
|
9680
9870
|
property_name = name[1:]
|
|
@@ -10807,6 +10997,8 @@ class ModifyHttpAuthenticatorRequest(AbstractModel):
|
|
|
10807
10997
|
:type Header: list of HeaderItem
|
|
10808
10998
|
:param _Body: 请求body
|
|
10809
10999
|
:type Body: list of BodyItem
|
|
11000
|
+
:param _IncludingUserProperties: 连接UserProperty作为Header转发,默认false
|
|
11001
|
+
:type IncludingUserProperties: bool
|
|
10810
11002
|
"""
|
|
10811
11003
|
self._InstanceId = None
|
|
10812
11004
|
self._Endpoint = None
|
|
@@ -10818,6 +11010,7 @@ class ModifyHttpAuthenticatorRequest(AbstractModel):
|
|
|
10818
11010
|
self._Method = None
|
|
10819
11011
|
self._Header = None
|
|
10820
11012
|
self._Body = None
|
|
11013
|
+
self._IncludingUserProperties = None
|
|
10821
11014
|
|
|
10822
11015
|
@property
|
|
10823
11016
|
def InstanceId(self):
|
|
@@ -10929,6 +11122,17 @@ class ModifyHttpAuthenticatorRequest(AbstractModel):
|
|
|
10929
11122
|
def Body(self, Body):
|
|
10930
11123
|
self._Body = Body
|
|
10931
11124
|
|
|
11125
|
+
@property
|
|
11126
|
+
def IncludingUserProperties(self):
|
|
11127
|
+
r"""连接UserProperty作为Header转发,默认false
|
|
11128
|
+
:rtype: bool
|
|
11129
|
+
"""
|
|
11130
|
+
return self._IncludingUserProperties
|
|
11131
|
+
|
|
11132
|
+
@IncludingUserProperties.setter
|
|
11133
|
+
def IncludingUserProperties(self, IncludingUserProperties):
|
|
11134
|
+
self._IncludingUserProperties = IncludingUserProperties
|
|
11135
|
+
|
|
10932
11136
|
|
|
10933
11137
|
def _deserialize(self, params):
|
|
10934
11138
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -10951,6 +11155,7 @@ class ModifyHttpAuthenticatorRequest(AbstractModel):
|
|
|
10951
11155
|
obj = BodyItem()
|
|
10952
11156
|
obj._deserialize(item)
|
|
10953
11157
|
self._Body.append(obj)
|
|
11158
|
+
self._IncludingUserProperties = params.get("IncludingUserProperties")
|
|
10954
11159
|
memeber_set = set(params.keys())
|
|
10955
11160
|
for name, value in vars(self).items():
|
|
10956
11161
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-mqtt
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.127
|
|
4
4
|
Summary: Tencent Cloud Mqtt SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.127
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.127
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.103
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|