tencentcloud-sdk-python-mqtt 3.1.7__tar.gz → 3.1.82__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.7 → tencentcloud_sdk_python_mqtt-3.1.82}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/setup.py +1 -1
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/tencentcloud/mqtt/v20240516/models.py +320 -82
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/tencentcloud/mqtt/v20240516/mqtt_client.py +23 -0
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/tencentcloud/mqtt/v20240516/mqtt_client_async.py +18 -0
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/tencentcloud_sdk_python_mqtt.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mqtt-3.1.82/tencentcloud_sdk_python_mqtt.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mqtt-3.1.7/tencentcloud_sdk_python_mqtt.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/README.rst +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/tencentcloud/mqtt/__init__.py +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/tencentcloud/mqtt/v20240516/__init__.py +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/tencentcloud/mqtt/v20240516/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/tencentcloud_sdk_python_mqtt.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/tencentcloud_sdk_python_mqtt.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mqtt-3.1.7 → tencentcloud_sdk_python_mqtt-3.1.82}/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.82
|
|
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.82
|
|
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.82,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mqtt SDK for Python',
|
|
@@ -5659,14 +5659,14 @@ class DescribeInstanceRequest(AbstractModel):
|
|
|
5659
5659
|
|
|
5660
5660
|
def __init__(self):
|
|
5661
5661
|
r"""
|
|
5662
|
-
:param _InstanceId:
|
|
5662
|
+
:param _InstanceId: <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
5663
5663
|
:type InstanceId: str
|
|
5664
5664
|
"""
|
|
5665
5665
|
self._InstanceId = None
|
|
5666
5666
|
|
|
5667
5667
|
@property
|
|
5668
5668
|
def InstanceId(self):
|
|
5669
|
-
r"""
|
|
5669
|
+
r"""<p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
5670
5670
|
:rtype: str
|
|
5671
5671
|
"""
|
|
5672
5672
|
return self._InstanceId
|
|
@@ -5695,81 +5695,78 @@ class DescribeInstanceResponse(AbstractModel):
|
|
|
5695
5695
|
|
|
5696
5696
|
def __init__(self):
|
|
5697
5697
|
r"""
|
|
5698
|
-
:param _InstanceType:
|
|
5699
|
-
BASIC 基础版
|
|
5700
|
-
PRO 专业版
|
|
5701
|
-
PLATINUM 铂金版
|
|
5698
|
+
:param _InstanceType: <p>实例类型<br>BASIC 基础版<br>PRO 专业版<br>PLATINUM 铂金版</p>
|
|
5702
5699
|
:type InstanceType: str
|
|
5703
|
-
:param _InstanceId:
|
|
5700
|
+
:param _InstanceId: <p>实例ID</p>
|
|
5704
5701
|
:type InstanceId: str
|
|
5705
|
-
:param _InstanceName:
|
|
5702
|
+
:param _InstanceName: <p>实例名称</p>
|
|
5706
5703
|
:type InstanceName: str
|
|
5707
|
-
:param _TopicNum:
|
|
5704
|
+
:param _TopicNum: <p>主题数量</p>
|
|
5708
5705
|
:type TopicNum: int
|
|
5709
|
-
:param _TopicNumLimit:
|
|
5706
|
+
:param _TopicNumLimit: <p>实例最大主题数量</p>
|
|
5710
5707
|
:type TopicNumLimit: int
|
|
5711
|
-
:param _TpsLimit: TPS
|
|
5708
|
+
:param _TpsLimit: <p>TPS限流值</p>
|
|
5712
5709
|
:type TpsLimit: int
|
|
5713
|
-
:param _CreatedTime:
|
|
5710
|
+
:param _CreatedTime: <p>创建时间,秒为单位</p>
|
|
5714
5711
|
:type CreatedTime: int
|
|
5715
|
-
:param _Remark:
|
|
5712
|
+
:param _Remark: <p>备注信息</p>
|
|
5716
5713
|
:type Remark: str
|
|
5717
|
-
:param _InstanceStatus:
|
|
5714
|
+
:param _InstanceStatus: <p>实例状态, RUNNING, 运行中 MAINTAINING,维护中 ABNORMAL,异常 OVERDUE,欠费 DESTROYED,已删除 CREATING,创建中 MODIFYING,变配中 CREATE_FAILURE,创建失败 MODIFY_FAILURE,变配失败 DELETING,删除中</p>
|
|
5718
5715
|
:type InstanceStatus: str
|
|
5719
|
-
:param _SkuCode:
|
|
5716
|
+
:param _SkuCode: <p>实例规格</p>
|
|
5720
5717
|
:type SkuCode: str
|
|
5721
|
-
:param _MaxSubscriptionPerClient:
|
|
5718
|
+
:param _MaxSubscriptionPerClient: <p>单客户端最大订阅数</p>
|
|
5722
5719
|
:type MaxSubscriptionPerClient: int
|
|
5723
|
-
:param _AuthorizationPolicyLimit:
|
|
5720
|
+
:param _AuthorizationPolicyLimit: <p>授权规则条数</p>
|
|
5724
5721
|
:type AuthorizationPolicyLimit: int
|
|
5725
|
-
:param _ClientNumLimit:
|
|
5722
|
+
:param _ClientNumLimit: <p>客户端数量上限</p>
|
|
5726
5723
|
:type ClientNumLimit: int
|
|
5727
|
-
:param _DeviceCertificateProvisionType:
|
|
5728
|
-
JITP:自动注册
|
|
5729
|
-
API:通过API手动注册
|
|
5724
|
+
:param _DeviceCertificateProvisionType: <p>客户端证书注册方式:<br>JITP:自动注册<br>API:通过API手动注册</p>
|
|
5730
5725
|
:type DeviceCertificateProvisionType: str
|
|
5731
|
-
:param _AutomaticActivation:
|
|
5726
|
+
:param _AutomaticActivation: <p>自动注册设备证书时是否自动激活</p>
|
|
5732
5727
|
:type AutomaticActivation: bool
|
|
5733
|
-
:param _RenewFlag:
|
|
5728
|
+
:param _RenewFlag: <p>是否自动续费。仅包年包月集群生效。 1:自动续费 0:非自动续费</p>
|
|
5734
5729
|
:type RenewFlag: int
|
|
5735
|
-
:param _PayMode:
|
|
5730
|
+
:param _PayMode: <p>计费模式, POSTPAID,按量计费 PREPAID,包年包月</p>
|
|
5736
5731
|
:type PayMode: str
|
|
5737
|
-
:param _ExpiryTime:
|
|
5732
|
+
:param _ExpiryTime: <p>到期时间,毫秒级时间戳</p>
|
|
5738
5733
|
:type ExpiryTime: int
|
|
5739
|
-
:param _DestroyTime:
|
|
5734
|
+
:param _DestroyTime: <p>预销毁时间,毫秒级时间戳</p>
|
|
5740
5735
|
:type DestroyTime: int
|
|
5741
|
-
:param _X509Mode: TLS,单向认证 mTLS,双向认证 BYOC
|
|
5736
|
+
:param _X509Mode: <p>TLS,单向认证 mTLS,双向认证 BYOC;一机一证</p>
|
|
5742
5737
|
:type X509Mode: str
|
|
5743
|
-
:param _MaxCaNum:
|
|
5738
|
+
:param _MaxCaNum: <p>最大Ca配额</p>
|
|
5744
5739
|
:type MaxCaNum: int
|
|
5745
|
-
:param _RegistrationCode:
|
|
5740
|
+
:param _RegistrationCode: <p>证书注册码</p>
|
|
5746
5741
|
:type RegistrationCode: str
|
|
5747
|
-
:param _MaxSubscription:
|
|
5742
|
+
:param _MaxSubscription: <p>集群最大订阅数</p>
|
|
5748
5743
|
:type MaxSubscription: int
|
|
5749
|
-
:param _AuthorizationPolicy:
|
|
5744
|
+
:param _AuthorizationPolicy: <p>授权策略开关</p>
|
|
5750
5745
|
:type AuthorizationPolicy: bool
|
|
5751
|
-
:param _SharedSubscriptionGroupLimit:
|
|
5746
|
+
:param _SharedSubscriptionGroupLimit: <p>共享订阅组数最大限制</p>
|
|
5752
5747
|
:type SharedSubscriptionGroupLimit: int
|
|
5753
|
-
:param _MaxTopicFilterPerSharedSubscriptionGroup:
|
|
5748
|
+
:param _MaxTopicFilterPerSharedSubscriptionGroup: <p>单个共享订阅组TopicFilter数限制</p>
|
|
5754
5749
|
:type MaxTopicFilterPerSharedSubscriptionGroup: int
|
|
5755
|
-
:param _AutoSubscriptionPolicyLimit:
|
|
5750
|
+
:param _AutoSubscriptionPolicyLimit: <p>自动订阅规则条数限制</p>
|
|
5756
5751
|
:type AutoSubscriptionPolicyLimit: int
|
|
5757
|
-
:param _MaxTopicFilterPerAutoSubscriptionPolicy:
|
|
5752
|
+
:param _MaxTopicFilterPerAutoSubscriptionPolicy: <p>单条自动订阅规则TopicFilter数限制</p>
|
|
5758
5753
|
:type MaxTopicFilterPerAutoSubscriptionPolicy: int
|
|
5759
|
-
:param _UseDefaultServerCert:
|
|
5754
|
+
:param _UseDefaultServerCert: <p>是否使用默认的服务端证书</p>
|
|
5760
5755
|
:type UseDefaultServerCert: bool
|
|
5761
|
-
:param _TrustedCaLimit:
|
|
5756
|
+
:param _TrustedCaLimit: <p>服务端CA最大数量</p>
|
|
5762
5757
|
:type TrustedCaLimit: int
|
|
5763
|
-
:param _ServerCertLimit:
|
|
5758
|
+
:param _ServerCertLimit: <p>服务端证书最大数量</p>
|
|
5764
5759
|
:type ServerCertLimit: int
|
|
5765
|
-
:param _TopicPrefixSlashLimit: topic
|
|
5760
|
+
:param _TopicPrefixSlashLimit: <p>topic前缀最大层级</p>
|
|
5766
5761
|
:type TopicPrefixSlashLimit: int
|
|
5767
|
-
:param _MessageRate:
|
|
5762
|
+
:param _MessageRate: <p>单客户端发送消息限速,单位 条/秒</p>
|
|
5768
5763
|
:type MessageRate: int
|
|
5769
|
-
:param _TransportLayerSecurity:
|
|
5764
|
+
:param _TransportLayerSecurity: <p>服务端tls支持的协议,使用“,”分割。例如:TLSv1.3,TLSv1.2,TLSv1.1,TLSv1</p>
|
|
5770
5765
|
:type TransportLayerSecurity: str
|
|
5771
|
-
:param _MessageEnrichmentRuleLimit:
|
|
5766
|
+
:param _MessageEnrichmentRuleLimit: <p>消息属性增强规则配额</p>
|
|
5772
5767
|
:type MessageEnrichmentRuleLimit: int
|
|
5768
|
+
:param _BlockRuleLimit: <p>封禁规则最大数量</p>
|
|
5769
|
+
:type BlockRuleLimit: int
|
|
5773
5770
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5774
5771
|
:type RequestId: str
|
|
5775
5772
|
"""
|
|
@@ -5808,14 +5805,12 @@ API:通过API手动注册
|
|
|
5808
5805
|
self._MessageRate = None
|
|
5809
5806
|
self._TransportLayerSecurity = None
|
|
5810
5807
|
self._MessageEnrichmentRuleLimit = None
|
|
5808
|
+
self._BlockRuleLimit = None
|
|
5811
5809
|
self._RequestId = None
|
|
5812
5810
|
|
|
5813
5811
|
@property
|
|
5814
5812
|
def InstanceType(self):
|
|
5815
|
-
r"""
|
|
5816
|
-
BASIC 基础版
|
|
5817
|
-
PRO 专业版
|
|
5818
|
-
PLATINUM 铂金版
|
|
5813
|
+
r"""<p>实例类型<br>BASIC 基础版<br>PRO 专业版<br>PLATINUM 铂金版</p>
|
|
5819
5814
|
:rtype: str
|
|
5820
5815
|
"""
|
|
5821
5816
|
return self._InstanceType
|
|
@@ -5826,7 +5821,7 @@ PLATINUM 铂金版
|
|
|
5826
5821
|
|
|
5827
5822
|
@property
|
|
5828
5823
|
def InstanceId(self):
|
|
5829
|
-
r"""
|
|
5824
|
+
r"""<p>实例ID</p>
|
|
5830
5825
|
:rtype: str
|
|
5831
5826
|
"""
|
|
5832
5827
|
return self._InstanceId
|
|
@@ -5837,7 +5832,7 @@ PLATINUM 铂金版
|
|
|
5837
5832
|
|
|
5838
5833
|
@property
|
|
5839
5834
|
def InstanceName(self):
|
|
5840
|
-
r"""
|
|
5835
|
+
r"""<p>实例名称</p>
|
|
5841
5836
|
:rtype: str
|
|
5842
5837
|
"""
|
|
5843
5838
|
return self._InstanceName
|
|
@@ -5848,7 +5843,7 @@ PLATINUM 铂金版
|
|
|
5848
5843
|
|
|
5849
5844
|
@property
|
|
5850
5845
|
def TopicNum(self):
|
|
5851
|
-
r"""
|
|
5846
|
+
r"""<p>主题数量</p>
|
|
5852
5847
|
:rtype: int
|
|
5853
5848
|
"""
|
|
5854
5849
|
return self._TopicNum
|
|
@@ -5859,7 +5854,7 @@ PLATINUM 铂金版
|
|
|
5859
5854
|
|
|
5860
5855
|
@property
|
|
5861
5856
|
def TopicNumLimit(self):
|
|
5862
|
-
r"""
|
|
5857
|
+
r"""<p>实例最大主题数量</p>
|
|
5863
5858
|
:rtype: int
|
|
5864
5859
|
"""
|
|
5865
5860
|
return self._TopicNumLimit
|
|
@@ -5870,7 +5865,7 @@ PLATINUM 铂金版
|
|
|
5870
5865
|
|
|
5871
5866
|
@property
|
|
5872
5867
|
def TpsLimit(self):
|
|
5873
|
-
r"""TPS
|
|
5868
|
+
r"""<p>TPS限流值</p>
|
|
5874
5869
|
:rtype: int
|
|
5875
5870
|
"""
|
|
5876
5871
|
return self._TpsLimit
|
|
@@ -5881,7 +5876,7 @@ PLATINUM 铂金版
|
|
|
5881
5876
|
|
|
5882
5877
|
@property
|
|
5883
5878
|
def CreatedTime(self):
|
|
5884
|
-
r"""
|
|
5879
|
+
r"""<p>创建时间,秒为单位</p>
|
|
5885
5880
|
:rtype: int
|
|
5886
5881
|
"""
|
|
5887
5882
|
return self._CreatedTime
|
|
@@ -5892,7 +5887,7 @@ PLATINUM 铂金版
|
|
|
5892
5887
|
|
|
5893
5888
|
@property
|
|
5894
5889
|
def Remark(self):
|
|
5895
|
-
r"""
|
|
5890
|
+
r"""<p>备注信息</p>
|
|
5896
5891
|
:rtype: str
|
|
5897
5892
|
"""
|
|
5898
5893
|
return self._Remark
|
|
@@ -5903,7 +5898,7 @@ PLATINUM 铂金版
|
|
|
5903
5898
|
|
|
5904
5899
|
@property
|
|
5905
5900
|
def InstanceStatus(self):
|
|
5906
|
-
r"""
|
|
5901
|
+
r"""<p>实例状态, RUNNING, 运行中 MAINTAINING,维护中 ABNORMAL,异常 OVERDUE,欠费 DESTROYED,已删除 CREATING,创建中 MODIFYING,变配中 CREATE_FAILURE,创建失败 MODIFY_FAILURE,变配失败 DELETING,删除中</p>
|
|
5907
5902
|
:rtype: str
|
|
5908
5903
|
"""
|
|
5909
5904
|
return self._InstanceStatus
|
|
@@ -5914,7 +5909,7 @@ PLATINUM 铂金版
|
|
|
5914
5909
|
|
|
5915
5910
|
@property
|
|
5916
5911
|
def SkuCode(self):
|
|
5917
|
-
r"""
|
|
5912
|
+
r"""<p>实例规格</p>
|
|
5918
5913
|
:rtype: str
|
|
5919
5914
|
"""
|
|
5920
5915
|
return self._SkuCode
|
|
@@ -5925,7 +5920,7 @@ PLATINUM 铂金版
|
|
|
5925
5920
|
|
|
5926
5921
|
@property
|
|
5927
5922
|
def MaxSubscriptionPerClient(self):
|
|
5928
|
-
r"""
|
|
5923
|
+
r"""<p>单客户端最大订阅数</p>
|
|
5929
5924
|
:rtype: int
|
|
5930
5925
|
"""
|
|
5931
5926
|
return self._MaxSubscriptionPerClient
|
|
@@ -5936,7 +5931,7 @@ PLATINUM 铂金版
|
|
|
5936
5931
|
|
|
5937
5932
|
@property
|
|
5938
5933
|
def AuthorizationPolicyLimit(self):
|
|
5939
|
-
r"""
|
|
5934
|
+
r"""<p>授权规则条数</p>
|
|
5940
5935
|
:rtype: int
|
|
5941
5936
|
"""
|
|
5942
5937
|
return self._AuthorizationPolicyLimit
|
|
@@ -5947,7 +5942,7 @@ PLATINUM 铂金版
|
|
|
5947
5942
|
|
|
5948
5943
|
@property
|
|
5949
5944
|
def ClientNumLimit(self):
|
|
5950
|
-
r"""
|
|
5945
|
+
r"""<p>客户端数量上限</p>
|
|
5951
5946
|
:rtype: int
|
|
5952
5947
|
"""
|
|
5953
5948
|
return self._ClientNumLimit
|
|
@@ -5958,9 +5953,7 @@ PLATINUM 铂金版
|
|
|
5958
5953
|
|
|
5959
5954
|
@property
|
|
5960
5955
|
def DeviceCertificateProvisionType(self):
|
|
5961
|
-
r"""
|
|
5962
|
-
JITP:自动注册
|
|
5963
|
-
API:通过API手动注册
|
|
5956
|
+
r"""<p>客户端证书注册方式:<br>JITP:自动注册<br>API:通过API手动注册</p>
|
|
5964
5957
|
:rtype: str
|
|
5965
5958
|
"""
|
|
5966
5959
|
return self._DeviceCertificateProvisionType
|
|
@@ -5971,7 +5964,7 @@ API:通过API手动注册
|
|
|
5971
5964
|
|
|
5972
5965
|
@property
|
|
5973
5966
|
def AutomaticActivation(self):
|
|
5974
|
-
r"""
|
|
5967
|
+
r"""<p>自动注册设备证书时是否自动激活</p>
|
|
5975
5968
|
:rtype: bool
|
|
5976
5969
|
"""
|
|
5977
5970
|
return self._AutomaticActivation
|
|
@@ -5982,7 +5975,7 @@ API:通过API手动注册
|
|
|
5982
5975
|
|
|
5983
5976
|
@property
|
|
5984
5977
|
def RenewFlag(self):
|
|
5985
|
-
r"""
|
|
5978
|
+
r"""<p>是否自动续费。仅包年包月集群生效。 1:自动续费 0:非自动续费</p>
|
|
5986
5979
|
:rtype: int
|
|
5987
5980
|
"""
|
|
5988
5981
|
return self._RenewFlag
|
|
@@ -5993,7 +5986,7 @@ API:通过API手动注册
|
|
|
5993
5986
|
|
|
5994
5987
|
@property
|
|
5995
5988
|
def PayMode(self):
|
|
5996
|
-
r"""
|
|
5989
|
+
r"""<p>计费模式, POSTPAID,按量计费 PREPAID,包年包月</p>
|
|
5997
5990
|
:rtype: str
|
|
5998
5991
|
"""
|
|
5999
5992
|
return self._PayMode
|
|
@@ -6004,7 +5997,7 @@ API:通过API手动注册
|
|
|
6004
5997
|
|
|
6005
5998
|
@property
|
|
6006
5999
|
def ExpiryTime(self):
|
|
6007
|
-
r"""
|
|
6000
|
+
r"""<p>到期时间,毫秒级时间戳</p>
|
|
6008
6001
|
:rtype: int
|
|
6009
6002
|
"""
|
|
6010
6003
|
return self._ExpiryTime
|
|
@@ -6015,7 +6008,7 @@ API:通过API手动注册
|
|
|
6015
6008
|
|
|
6016
6009
|
@property
|
|
6017
6010
|
def DestroyTime(self):
|
|
6018
|
-
r"""
|
|
6011
|
+
r"""<p>预销毁时间,毫秒级时间戳</p>
|
|
6019
6012
|
:rtype: int
|
|
6020
6013
|
"""
|
|
6021
6014
|
return self._DestroyTime
|
|
@@ -6026,7 +6019,7 @@ API:通过API手动注册
|
|
|
6026
6019
|
|
|
6027
6020
|
@property
|
|
6028
6021
|
def X509Mode(self):
|
|
6029
|
-
r"""TLS,单向认证 mTLS,双向认证 BYOC
|
|
6022
|
+
r"""<p>TLS,单向认证 mTLS,双向认证 BYOC;一机一证</p>
|
|
6030
6023
|
:rtype: str
|
|
6031
6024
|
"""
|
|
6032
6025
|
return self._X509Mode
|
|
@@ -6037,7 +6030,7 @@ API:通过API手动注册
|
|
|
6037
6030
|
|
|
6038
6031
|
@property
|
|
6039
6032
|
def MaxCaNum(self):
|
|
6040
|
-
r"""
|
|
6033
|
+
r"""<p>最大Ca配额</p>
|
|
6041
6034
|
:rtype: int
|
|
6042
6035
|
"""
|
|
6043
6036
|
return self._MaxCaNum
|
|
@@ -6048,7 +6041,7 @@ API:通过API手动注册
|
|
|
6048
6041
|
|
|
6049
6042
|
@property
|
|
6050
6043
|
def RegistrationCode(self):
|
|
6051
|
-
r"""
|
|
6044
|
+
r"""<p>证书注册码</p>
|
|
6052
6045
|
:rtype: str
|
|
6053
6046
|
"""
|
|
6054
6047
|
return self._RegistrationCode
|
|
@@ -6059,7 +6052,7 @@ API:通过API手动注册
|
|
|
6059
6052
|
|
|
6060
6053
|
@property
|
|
6061
6054
|
def MaxSubscription(self):
|
|
6062
|
-
r"""
|
|
6055
|
+
r"""<p>集群最大订阅数</p>
|
|
6063
6056
|
:rtype: int
|
|
6064
6057
|
"""
|
|
6065
6058
|
return self._MaxSubscription
|
|
@@ -6070,7 +6063,7 @@ API:通过API手动注册
|
|
|
6070
6063
|
|
|
6071
6064
|
@property
|
|
6072
6065
|
def AuthorizationPolicy(self):
|
|
6073
|
-
r"""
|
|
6066
|
+
r"""<p>授权策略开关</p>
|
|
6074
6067
|
:rtype: bool
|
|
6075
6068
|
"""
|
|
6076
6069
|
return self._AuthorizationPolicy
|
|
@@ -6081,7 +6074,7 @@ API:通过API手动注册
|
|
|
6081
6074
|
|
|
6082
6075
|
@property
|
|
6083
6076
|
def SharedSubscriptionGroupLimit(self):
|
|
6084
|
-
r"""
|
|
6077
|
+
r"""<p>共享订阅组数最大限制</p>
|
|
6085
6078
|
:rtype: int
|
|
6086
6079
|
"""
|
|
6087
6080
|
return self._SharedSubscriptionGroupLimit
|
|
@@ -6092,18 +6085,22 @@ API:通过API手动注册
|
|
|
6092
6085
|
|
|
6093
6086
|
@property
|
|
6094
6087
|
def MaxTopicFilterPerSharedSubscriptionGroup(self):
|
|
6095
|
-
|
|
6088
|
+
warnings.warn("parameter `MaxTopicFilterPerSharedSubscriptionGroup` is deprecated", DeprecationWarning)
|
|
6089
|
+
|
|
6090
|
+
r"""<p>单个共享订阅组TopicFilter数限制</p>
|
|
6096
6091
|
:rtype: int
|
|
6097
6092
|
"""
|
|
6098
6093
|
return self._MaxTopicFilterPerSharedSubscriptionGroup
|
|
6099
6094
|
|
|
6100
6095
|
@MaxTopicFilterPerSharedSubscriptionGroup.setter
|
|
6101
6096
|
def MaxTopicFilterPerSharedSubscriptionGroup(self, MaxTopicFilterPerSharedSubscriptionGroup):
|
|
6097
|
+
warnings.warn("parameter `MaxTopicFilterPerSharedSubscriptionGroup` is deprecated", DeprecationWarning)
|
|
6098
|
+
|
|
6102
6099
|
self._MaxTopicFilterPerSharedSubscriptionGroup = MaxTopicFilterPerSharedSubscriptionGroup
|
|
6103
6100
|
|
|
6104
6101
|
@property
|
|
6105
6102
|
def AutoSubscriptionPolicyLimit(self):
|
|
6106
|
-
r"""
|
|
6103
|
+
r"""<p>自动订阅规则条数限制</p>
|
|
6107
6104
|
:rtype: int
|
|
6108
6105
|
"""
|
|
6109
6106
|
return self._AutoSubscriptionPolicyLimit
|
|
@@ -6114,7 +6111,7 @@ API:通过API手动注册
|
|
|
6114
6111
|
|
|
6115
6112
|
@property
|
|
6116
6113
|
def MaxTopicFilterPerAutoSubscriptionPolicy(self):
|
|
6117
|
-
r"""
|
|
6114
|
+
r"""<p>单条自动订阅规则TopicFilter数限制</p>
|
|
6118
6115
|
:rtype: int
|
|
6119
6116
|
"""
|
|
6120
6117
|
return self._MaxTopicFilterPerAutoSubscriptionPolicy
|
|
@@ -6125,7 +6122,7 @@ API:通过API手动注册
|
|
|
6125
6122
|
|
|
6126
6123
|
@property
|
|
6127
6124
|
def UseDefaultServerCert(self):
|
|
6128
|
-
r"""
|
|
6125
|
+
r"""<p>是否使用默认的服务端证书</p>
|
|
6129
6126
|
:rtype: bool
|
|
6130
6127
|
"""
|
|
6131
6128
|
return self._UseDefaultServerCert
|
|
@@ -6136,7 +6133,7 @@ API:通过API手动注册
|
|
|
6136
6133
|
|
|
6137
6134
|
@property
|
|
6138
6135
|
def TrustedCaLimit(self):
|
|
6139
|
-
r"""
|
|
6136
|
+
r"""<p>服务端CA最大数量</p>
|
|
6140
6137
|
:rtype: int
|
|
6141
6138
|
"""
|
|
6142
6139
|
return self._TrustedCaLimit
|
|
@@ -6147,7 +6144,7 @@ API:通过API手动注册
|
|
|
6147
6144
|
|
|
6148
6145
|
@property
|
|
6149
6146
|
def ServerCertLimit(self):
|
|
6150
|
-
r"""
|
|
6147
|
+
r"""<p>服务端证书最大数量</p>
|
|
6151
6148
|
:rtype: int
|
|
6152
6149
|
"""
|
|
6153
6150
|
return self._ServerCertLimit
|
|
@@ -6158,7 +6155,7 @@ API:通过API手动注册
|
|
|
6158
6155
|
|
|
6159
6156
|
@property
|
|
6160
6157
|
def TopicPrefixSlashLimit(self):
|
|
6161
|
-
r"""topic
|
|
6158
|
+
r"""<p>topic前缀最大层级</p>
|
|
6162
6159
|
:rtype: int
|
|
6163
6160
|
"""
|
|
6164
6161
|
return self._TopicPrefixSlashLimit
|
|
@@ -6169,7 +6166,7 @@ API:通过API手动注册
|
|
|
6169
6166
|
|
|
6170
6167
|
@property
|
|
6171
6168
|
def MessageRate(self):
|
|
6172
|
-
r"""
|
|
6169
|
+
r"""<p>单客户端发送消息限速,单位 条/秒</p>
|
|
6173
6170
|
:rtype: int
|
|
6174
6171
|
"""
|
|
6175
6172
|
return self._MessageRate
|
|
@@ -6180,7 +6177,7 @@ API:通过API手动注册
|
|
|
6180
6177
|
|
|
6181
6178
|
@property
|
|
6182
6179
|
def TransportLayerSecurity(self):
|
|
6183
|
-
r"""
|
|
6180
|
+
r"""<p>服务端tls支持的协议,使用“,”分割。例如:TLSv1.3,TLSv1.2,TLSv1.1,TLSv1</p>
|
|
6184
6181
|
:rtype: str
|
|
6185
6182
|
"""
|
|
6186
6183
|
return self._TransportLayerSecurity
|
|
@@ -6191,7 +6188,7 @@ API:通过API手动注册
|
|
|
6191
6188
|
|
|
6192
6189
|
@property
|
|
6193
6190
|
def MessageEnrichmentRuleLimit(self):
|
|
6194
|
-
r"""
|
|
6191
|
+
r"""<p>消息属性增强规则配额</p>
|
|
6195
6192
|
:rtype: int
|
|
6196
6193
|
"""
|
|
6197
6194
|
return self._MessageEnrichmentRuleLimit
|
|
@@ -6200,6 +6197,17 @@ API:通过API手动注册
|
|
|
6200
6197
|
def MessageEnrichmentRuleLimit(self, MessageEnrichmentRuleLimit):
|
|
6201
6198
|
self._MessageEnrichmentRuleLimit = MessageEnrichmentRuleLimit
|
|
6202
6199
|
|
|
6200
|
+
@property
|
|
6201
|
+
def BlockRuleLimit(self):
|
|
6202
|
+
r"""<p>封禁规则最大数量</p>
|
|
6203
|
+
:rtype: int
|
|
6204
|
+
"""
|
|
6205
|
+
return self._BlockRuleLimit
|
|
6206
|
+
|
|
6207
|
+
@BlockRuleLimit.setter
|
|
6208
|
+
def BlockRuleLimit(self, BlockRuleLimit):
|
|
6209
|
+
self._BlockRuleLimit = BlockRuleLimit
|
|
6210
|
+
|
|
6203
6211
|
@property
|
|
6204
6212
|
def RequestId(self):
|
|
6205
6213
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6248,6 +6256,7 @@ API:通过API手动注册
|
|
|
6248
6256
|
self._MessageRate = params.get("MessageRate")
|
|
6249
6257
|
self._TransportLayerSecurity = params.get("TransportLayerSecurity")
|
|
6250
6258
|
self._MessageEnrichmentRuleLimit = params.get("MessageEnrichmentRuleLimit")
|
|
6259
|
+
self._BlockRuleLimit = params.get("BlockRuleLimit")
|
|
6251
6260
|
self._RequestId = params.get("RequestId")
|
|
6252
6261
|
|
|
6253
6262
|
|
|
@@ -7081,6 +7090,105 @@ class DescribeProductSKUListResponse(AbstractModel):
|
|
|
7081
7090
|
self._RequestId = params.get("RequestId")
|
|
7082
7091
|
|
|
7083
7092
|
|
|
7093
|
+
class DescribeSharedSubscriptionGroupsRequest(AbstractModel):
|
|
7094
|
+
r"""DescribeSharedSubscriptionGroups请求参数结构体
|
|
7095
|
+
|
|
7096
|
+
"""
|
|
7097
|
+
|
|
7098
|
+
def __init__(self):
|
|
7099
|
+
r"""
|
|
7100
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
|
7101
|
+
:type InstanceId: str
|
|
7102
|
+
"""
|
|
7103
|
+
self._InstanceId = None
|
|
7104
|
+
|
|
7105
|
+
@property
|
|
7106
|
+
def InstanceId(self):
|
|
7107
|
+
r"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
|
7108
|
+
:rtype: str
|
|
7109
|
+
"""
|
|
7110
|
+
return self._InstanceId
|
|
7111
|
+
|
|
7112
|
+
@InstanceId.setter
|
|
7113
|
+
def InstanceId(self, InstanceId):
|
|
7114
|
+
self._InstanceId = InstanceId
|
|
7115
|
+
|
|
7116
|
+
|
|
7117
|
+
def _deserialize(self, params):
|
|
7118
|
+
self._InstanceId = params.get("InstanceId")
|
|
7119
|
+
memeber_set = set(params.keys())
|
|
7120
|
+
for name, value in vars(self).items():
|
|
7121
|
+
property_name = name[1:]
|
|
7122
|
+
if property_name in memeber_set:
|
|
7123
|
+
memeber_set.remove(property_name)
|
|
7124
|
+
if len(memeber_set) > 0:
|
|
7125
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7126
|
+
|
|
7127
|
+
|
|
7128
|
+
|
|
7129
|
+
class DescribeSharedSubscriptionGroupsResponse(AbstractModel):
|
|
7130
|
+
r"""DescribeSharedSubscriptionGroups返回参数结构体
|
|
7131
|
+
|
|
7132
|
+
"""
|
|
7133
|
+
|
|
7134
|
+
def __init__(self):
|
|
7135
|
+
r"""
|
|
7136
|
+
:param _Data: 集群下共享订阅组列表
|
|
7137
|
+
:type Data: list of SharedGroup
|
|
7138
|
+
:param _TotalCount: 查询总数
|
|
7139
|
+
:type TotalCount: int
|
|
7140
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7141
|
+
:type RequestId: str
|
|
7142
|
+
"""
|
|
7143
|
+
self._Data = None
|
|
7144
|
+
self._TotalCount = None
|
|
7145
|
+
self._RequestId = None
|
|
7146
|
+
|
|
7147
|
+
@property
|
|
7148
|
+
def Data(self):
|
|
7149
|
+
r"""集群下共享订阅组列表
|
|
7150
|
+
:rtype: list of SharedGroup
|
|
7151
|
+
"""
|
|
7152
|
+
return self._Data
|
|
7153
|
+
|
|
7154
|
+
@Data.setter
|
|
7155
|
+
def Data(self, Data):
|
|
7156
|
+
self._Data = Data
|
|
7157
|
+
|
|
7158
|
+
@property
|
|
7159
|
+
def TotalCount(self):
|
|
7160
|
+
r""" 查询总数
|
|
7161
|
+
:rtype: int
|
|
7162
|
+
"""
|
|
7163
|
+
return self._TotalCount
|
|
7164
|
+
|
|
7165
|
+
@TotalCount.setter
|
|
7166
|
+
def TotalCount(self, TotalCount):
|
|
7167
|
+
self._TotalCount = TotalCount
|
|
7168
|
+
|
|
7169
|
+
@property
|
|
7170
|
+
def RequestId(self):
|
|
7171
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7172
|
+
:rtype: str
|
|
7173
|
+
"""
|
|
7174
|
+
return self._RequestId
|
|
7175
|
+
|
|
7176
|
+
@RequestId.setter
|
|
7177
|
+
def RequestId(self, RequestId):
|
|
7178
|
+
self._RequestId = RequestId
|
|
7179
|
+
|
|
7180
|
+
|
|
7181
|
+
def _deserialize(self, params):
|
|
7182
|
+
if params.get("Data") is not None:
|
|
7183
|
+
self._Data = []
|
|
7184
|
+
for item in params.get("Data"):
|
|
7185
|
+
obj = SharedGroup()
|
|
7186
|
+
obj._deserialize(item)
|
|
7187
|
+
self._Data.append(obj)
|
|
7188
|
+
self._TotalCount = params.get("TotalCount")
|
|
7189
|
+
self._RequestId = params.get("RequestId")
|
|
7190
|
+
|
|
7191
|
+
|
|
7084
7192
|
class DescribeSharedSubscriptionLagRequest(AbstractModel):
|
|
7085
7193
|
r"""DescribeSharedSubscriptionLag请求参数结构体
|
|
7086
7194
|
|
|
@@ -12660,6 +12768,136 @@ class RevokedDeviceCertificateResponse(AbstractModel):
|
|
|
12660
12768
|
self._RequestId = params.get("RequestId")
|
|
12661
12769
|
|
|
12662
12770
|
|
|
12771
|
+
class SharedGroup(AbstractModel):
|
|
12772
|
+
r"""共享订阅组
|
|
12773
|
+
|
|
12774
|
+
"""
|
|
12775
|
+
|
|
12776
|
+
def __init__(self):
|
|
12777
|
+
r"""
|
|
12778
|
+
:param _InstanceId: 腾讯云MQTT实例ID
|
|
12779
|
+
:type InstanceId: str
|
|
12780
|
+
:param _SharedName: 共享订阅组名
|
|
12781
|
+
:type SharedName: str
|
|
12782
|
+
:param _LbStrategy: 共享组消费负载均衡策略 1.RANDOM 2.HASH_PARTITION
|
|
12783
|
+
:type LbStrategy: int
|
|
12784
|
+
:param _ExpiryInterval: HASH_PARTITION 策略下生效,表示Client掉线或新Client上线加入共享订阅组消费的延迟时间。
|
|
12785
|
+
范围:0~600秒
|
|
12786
|
+
:type ExpiryInterval: int
|
|
12787
|
+
:param _Remark: 备注,长度不超过128个字符。
|
|
12788
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12789
|
+
:type Remark: str
|
|
12790
|
+
:param _CreateTime: 创建时间,毫秒级时间戳 。
|
|
12791
|
+
:type CreateTime: int
|
|
12792
|
+
:param _UpdateTime: 上次更新时间,毫秒级时间戳 。
|
|
12793
|
+
:type UpdateTime: int
|
|
12794
|
+
"""
|
|
12795
|
+
self._InstanceId = None
|
|
12796
|
+
self._SharedName = None
|
|
12797
|
+
self._LbStrategy = None
|
|
12798
|
+
self._ExpiryInterval = None
|
|
12799
|
+
self._Remark = None
|
|
12800
|
+
self._CreateTime = None
|
|
12801
|
+
self._UpdateTime = None
|
|
12802
|
+
|
|
12803
|
+
@property
|
|
12804
|
+
def InstanceId(self):
|
|
12805
|
+
r"""腾讯云MQTT实例ID
|
|
12806
|
+
:rtype: str
|
|
12807
|
+
"""
|
|
12808
|
+
return self._InstanceId
|
|
12809
|
+
|
|
12810
|
+
@InstanceId.setter
|
|
12811
|
+
def InstanceId(self, InstanceId):
|
|
12812
|
+
self._InstanceId = InstanceId
|
|
12813
|
+
|
|
12814
|
+
@property
|
|
12815
|
+
def SharedName(self):
|
|
12816
|
+
r"""共享订阅组名
|
|
12817
|
+
:rtype: str
|
|
12818
|
+
"""
|
|
12819
|
+
return self._SharedName
|
|
12820
|
+
|
|
12821
|
+
@SharedName.setter
|
|
12822
|
+
def SharedName(self, SharedName):
|
|
12823
|
+
self._SharedName = SharedName
|
|
12824
|
+
|
|
12825
|
+
@property
|
|
12826
|
+
def LbStrategy(self):
|
|
12827
|
+
r"""共享组消费负载均衡策略 1.RANDOM 2.HASH_PARTITION
|
|
12828
|
+
:rtype: int
|
|
12829
|
+
"""
|
|
12830
|
+
return self._LbStrategy
|
|
12831
|
+
|
|
12832
|
+
@LbStrategy.setter
|
|
12833
|
+
def LbStrategy(self, LbStrategy):
|
|
12834
|
+
self._LbStrategy = LbStrategy
|
|
12835
|
+
|
|
12836
|
+
@property
|
|
12837
|
+
def ExpiryInterval(self):
|
|
12838
|
+
r"""HASH_PARTITION 策略下生效,表示Client掉线或新Client上线加入共享订阅组消费的延迟时间。
|
|
12839
|
+
范围:0~600秒
|
|
12840
|
+
:rtype: int
|
|
12841
|
+
"""
|
|
12842
|
+
return self._ExpiryInterval
|
|
12843
|
+
|
|
12844
|
+
@ExpiryInterval.setter
|
|
12845
|
+
def ExpiryInterval(self, ExpiryInterval):
|
|
12846
|
+
self._ExpiryInterval = ExpiryInterval
|
|
12847
|
+
|
|
12848
|
+
@property
|
|
12849
|
+
def Remark(self):
|
|
12850
|
+
r"""备注,长度不超过128个字符。
|
|
12851
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12852
|
+
:rtype: str
|
|
12853
|
+
"""
|
|
12854
|
+
return self._Remark
|
|
12855
|
+
|
|
12856
|
+
@Remark.setter
|
|
12857
|
+
def Remark(self, Remark):
|
|
12858
|
+
self._Remark = Remark
|
|
12859
|
+
|
|
12860
|
+
@property
|
|
12861
|
+
def CreateTime(self):
|
|
12862
|
+
r"""创建时间,毫秒级时间戳 。
|
|
12863
|
+
:rtype: int
|
|
12864
|
+
"""
|
|
12865
|
+
return self._CreateTime
|
|
12866
|
+
|
|
12867
|
+
@CreateTime.setter
|
|
12868
|
+
def CreateTime(self, CreateTime):
|
|
12869
|
+
self._CreateTime = CreateTime
|
|
12870
|
+
|
|
12871
|
+
@property
|
|
12872
|
+
def UpdateTime(self):
|
|
12873
|
+
r"""上次更新时间,毫秒级时间戳 。
|
|
12874
|
+
:rtype: int
|
|
12875
|
+
"""
|
|
12876
|
+
return self._UpdateTime
|
|
12877
|
+
|
|
12878
|
+
@UpdateTime.setter
|
|
12879
|
+
def UpdateTime(self, UpdateTime):
|
|
12880
|
+
self._UpdateTime = UpdateTime
|
|
12881
|
+
|
|
12882
|
+
|
|
12883
|
+
def _deserialize(self, params):
|
|
12884
|
+
self._InstanceId = params.get("InstanceId")
|
|
12885
|
+
self._SharedName = params.get("SharedName")
|
|
12886
|
+
self._LbStrategy = params.get("LbStrategy")
|
|
12887
|
+
self._ExpiryInterval = params.get("ExpiryInterval")
|
|
12888
|
+
self._Remark = params.get("Remark")
|
|
12889
|
+
self._CreateTime = params.get("CreateTime")
|
|
12890
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
12891
|
+
memeber_set = set(params.keys())
|
|
12892
|
+
for name, value in vars(self).items():
|
|
12893
|
+
property_name = name[1:]
|
|
12894
|
+
if property_name in memeber_set:
|
|
12895
|
+
memeber_set.remove(property_name)
|
|
12896
|
+
if len(memeber_set) > 0:
|
|
12897
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12898
|
+
|
|
12899
|
+
|
|
12900
|
+
|
|
12663
12901
|
class SubscriptionUserProperty(AbstractModel):
|
|
12664
12902
|
r"""订阅的UserProperty结构
|
|
12665
12903
|
|
|
@@ -1066,6 +1066,29 @@ class MqttClient(AbstractClient):
|
|
|
1066
1066
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1067
1067
|
|
|
1068
1068
|
|
|
1069
|
+
def DescribeSharedSubscriptionGroups(self, request):
|
|
1070
|
+
r"""查询集群下共享订阅组列表
|
|
1071
|
+
|
|
1072
|
+
:param request: Request instance for DescribeSharedSubscriptionGroups.
|
|
1073
|
+
:type request: :class:`tencentcloud.mqtt.v20240516.models.DescribeSharedSubscriptionGroupsRequest`
|
|
1074
|
+
:rtype: :class:`tencentcloud.mqtt.v20240516.models.DescribeSharedSubscriptionGroupsResponse`
|
|
1075
|
+
|
|
1076
|
+
"""
|
|
1077
|
+
try:
|
|
1078
|
+
params = request._serialize()
|
|
1079
|
+
headers = request.headers
|
|
1080
|
+
body = self.call("DescribeSharedSubscriptionGroups", params, headers=headers)
|
|
1081
|
+
response = json.loads(body)
|
|
1082
|
+
model = models.DescribeSharedSubscriptionGroupsResponse()
|
|
1083
|
+
model._deserialize(response["Response"])
|
|
1084
|
+
return model
|
|
1085
|
+
except Exception as e:
|
|
1086
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1087
|
+
raise
|
|
1088
|
+
else:
|
|
1089
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1090
|
+
|
|
1091
|
+
|
|
1069
1092
|
def DescribeSharedSubscriptionLag(self, request):
|
|
1070
1093
|
r"""查询共享订阅消息堆积量
|
|
1071
1094
|
|
|
@@ -840,6 +840,24 @@ class MqttClient(AbstractClient):
|
|
|
840
840
|
|
|
841
841
|
return await self.call_and_deserialize(**kwargs)
|
|
842
842
|
|
|
843
|
+
async def DescribeSharedSubscriptionGroups(
|
|
844
|
+
self,
|
|
845
|
+
request: models.DescribeSharedSubscriptionGroupsRequest,
|
|
846
|
+
opts: Dict = None,
|
|
847
|
+
) -> models.DescribeSharedSubscriptionGroupsResponse:
|
|
848
|
+
"""
|
|
849
|
+
查询集群下共享订阅组列表
|
|
850
|
+
"""
|
|
851
|
+
|
|
852
|
+
kwargs = {}
|
|
853
|
+
kwargs["action"] = "DescribeSharedSubscriptionGroups"
|
|
854
|
+
kwargs["params"] = request._serialize()
|
|
855
|
+
kwargs["resp_cls"] = models.DescribeSharedSubscriptionGroupsResponse
|
|
856
|
+
kwargs["headers"] = request.headers
|
|
857
|
+
kwargs["opts"] = opts or {}
|
|
858
|
+
|
|
859
|
+
return await self.call_and_deserialize(**kwargs)
|
|
860
|
+
|
|
843
861
|
async def DescribeSharedSubscriptionLag(
|
|
844
862
|
self,
|
|
845
863
|
request: models.DescribeSharedSubscriptionLagRequest,
|
|
@@ -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.82
|
|
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.82
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.82
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.7
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|