tencentcloud-sdk-python-mqtt 3.0.1334__tar.gz → 3.0.1335__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.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/setup.py +1 -1
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/tencentcloud/mqtt/v20240516/models.py +84 -0
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/tencentcloud/mqtt/v20240516/mqtt_client.py +23 -0
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/tencentcloud_sdk_python_mqtt.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-mqtt-3.0.1335/tencentcloud_sdk_python_mqtt.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-mqtt-3.0.1334/tencentcloud_sdk_python_mqtt.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/README.rst +0 -0
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/setup.cfg +0 -0
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/tencentcloud/mqtt/__init__.py +0 -0
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/tencentcloud/mqtt/v20240516/__init__.py +0 -0
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/tencentcloud/mqtt/v20240516/errorcodes.py +0 -0
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/tencentcloud_sdk_python_mqtt.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/tencentcloud_sdk_python_mqtt.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-mqtt-3.0.1334 → tencentcloud-sdk-python-mqtt-3.0.1335}/tencentcloud_sdk_python_mqtt.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1335"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Mqtt SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3913,6 +3913,90 @@ class DescribeInsPublicEndpointsResponse(AbstractModel):
|
|
|
3913
3913
|
self._RequestId = params.get("RequestId")
|
|
3914
3914
|
|
|
3915
3915
|
|
|
3916
|
+
class DescribeInsVPCEndpointsRequest(AbstractModel):
|
|
3917
|
+
"""DescribeInsVPCEndpoints请求参数结构体
|
|
3918
|
+
|
|
3919
|
+
"""
|
|
3920
|
+
|
|
3921
|
+
def __init__(self):
|
|
3922
|
+
r"""
|
|
3923
|
+
:param _InstanceId: 实例ID
|
|
3924
|
+
:type InstanceId: str
|
|
3925
|
+
"""
|
|
3926
|
+
self._InstanceId = None
|
|
3927
|
+
|
|
3928
|
+
@property
|
|
3929
|
+
def InstanceId(self):
|
|
3930
|
+
"""实例ID
|
|
3931
|
+
:rtype: str
|
|
3932
|
+
"""
|
|
3933
|
+
return self._InstanceId
|
|
3934
|
+
|
|
3935
|
+
@InstanceId.setter
|
|
3936
|
+
def InstanceId(self, InstanceId):
|
|
3937
|
+
self._InstanceId = InstanceId
|
|
3938
|
+
|
|
3939
|
+
|
|
3940
|
+
def _deserialize(self, params):
|
|
3941
|
+
self._InstanceId = params.get("InstanceId")
|
|
3942
|
+
memeber_set = set(params.keys())
|
|
3943
|
+
for name, value in vars(self).items():
|
|
3944
|
+
property_name = name[1:]
|
|
3945
|
+
if property_name in memeber_set:
|
|
3946
|
+
memeber_set.remove(property_name)
|
|
3947
|
+
if len(memeber_set) > 0:
|
|
3948
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3949
|
+
|
|
3950
|
+
|
|
3951
|
+
|
|
3952
|
+
class DescribeInsVPCEndpointsResponse(AbstractModel):
|
|
3953
|
+
"""DescribeInsVPCEndpoints返回参数结构体
|
|
3954
|
+
|
|
3955
|
+
"""
|
|
3956
|
+
|
|
3957
|
+
def __init__(self):
|
|
3958
|
+
r"""
|
|
3959
|
+
:param _Endpoints: 接入点
|
|
3960
|
+
:type Endpoints: list of MQTTEndpointItem
|
|
3961
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3962
|
+
:type RequestId: str
|
|
3963
|
+
"""
|
|
3964
|
+
self._Endpoints = None
|
|
3965
|
+
self._RequestId = None
|
|
3966
|
+
|
|
3967
|
+
@property
|
|
3968
|
+
def Endpoints(self):
|
|
3969
|
+
"""接入点
|
|
3970
|
+
:rtype: list of MQTTEndpointItem
|
|
3971
|
+
"""
|
|
3972
|
+
return self._Endpoints
|
|
3973
|
+
|
|
3974
|
+
@Endpoints.setter
|
|
3975
|
+
def Endpoints(self, Endpoints):
|
|
3976
|
+
self._Endpoints = Endpoints
|
|
3977
|
+
|
|
3978
|
+
@property
|
|
3979
|
+
def RequestId(self):
|
|
3980
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3981
|
+
:rtype: str
|
|
3982
|
+
"""
|
|
3983
|
+
return self._RequestId
|
|
3984
|
+
|
|
3985
|
+
@RequestId.setter
|
|
3986
|
+
def RequestId(self, RequestId):
|
|
3987
|
+
self._RequestId = RequestId
|
|
3988
|
+
|
|
3989
|
+
|
|
3990
|
+
def _deserialize(self, params):
|
|
3991
|
+
if params.get("Endpoints") is not None:
|
|
3992
|
+
self._Endpoints = []
|
|
3993
|
+
for item in params.get("Endpoints"):
|
|
3994
|
+
obj = MQTTEndpointItem()
|
|
3995
|
+
obj._deserialize(item)
|
|
3996
|
+
self._Endpoints.append(obj)
|
|
3997
|
+
self._RequestId = params.get("RequestId")
|
|
3998
|
+
|
|
3999
|
+
|
|
3916
4000
|
class DescribeInstanceListRequest(AbstractModel):
|
|
3917
4001
|
"""DescribeInstanceList请求参数结构体
|
|
3918
4002
|
|
|
@@ -647,6 +647,29 @@ class MqttClient(AbstractClient):
|
|
|
647
647
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
648
648
|
|
|
649
649
|
|
|
650
|
+
def DescribeInsVPCEndpoints(self, request):
|
|
651
|
+
"""查询MQTT实例公网接入点
|
|
652
|
+
|
|
653
|
+
:param request: Request instance for DescribeInsVPCEndpoints.
|
|
654
|
+
:type request: :class:`tencentcloud.mqtt.v20240516.models.DescribeInsVPCEndpointsRequest`
|
|
655
|
+
:rtype: :class:`tencentcloud.mqtt.v20240516.models.DescribeInsVPCEndpointsResponse`
|
|
656
|
+
|
|
657
|
+
"""
|
|
658
|
+
try:
|
|
659
|
+
params = request._serialize()
|
|
660
|
+
headers = request.headers
|
|
661
|
+
body = self.call("DescribeInsVPCEndpoints", params, headers=headers)
|
|
662
|
+
response = json.loads(body)
|
|
663
|
+
model = models.DescribeInsVPCEndpointsResponse()
|
|
664
|
+
model._deserialize(response["Response"])
|
|
665
|
+
return model
|
|
666
|
+
except Exception as e:
|
|
667
|
+
if isinstance(e, TencentCloudSDKException):
|
|
668
|
+
raise
|
|
669
|
+
else:
|
|
670
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
671
|
+
|
|
672
|
+
|
|
650
673
|
def DescribeInstance(self, request):
|
|
651
674
|
"""查询实例信息
|
|
652
675
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1335
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1334
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|