tencentcloud-sdk-python-iotexplorer 3.0.1467__tar.gz → 3.0.1481__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_iotexplorer-3.0.1481/PKG-INFO +46 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +138 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/tencentcloud/iotexplorer/v20190423/models.py +2362 -294
- tencentcloud_sdk_python_iotexplorer-3.0.1481/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_iotexplorer-3.0.1481/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1467/PKG-INFO +0 -45
- tencentcloud-sdk-python-iotexplorer-3.0.1467/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-iotexplorer-3.0.1467/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1467 → tencentcloud_sdk_python_iotexplorer-3.0.1481}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
+
Version: 3.0.1481
|
|
4
|
+
Summary: Tencent Cloud Iotexplorer SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Iotexplorer SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-iotexplorer
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common iotexplorer
|
|
46
|
+
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-iotexplorer',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1481,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -718,6 +718,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
718
718
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
719
719
|
|
|
720
720
|
|
|
721
|
+
def CreateTWeSeeService(self, request):
|
|
722
|
+
r"""开通 TWeSee 后付费服务
|
|
723
|
+
|
|
724
|
+
:param request: Request instance for CreateTWeSeeService.
|
|
725
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeServiceRequest`
|
|
726
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeServiceResponse`
|
|
727
|
+
|
|
728
|
+
"""
|
|
729
|
+
try:
|
|
730
|
+
params = request._serialize()
|
|
731
|
+
headers = request.headers
|
|
732
|
+
body = self.call("CreateTWeSeeService", params, headers=headers)
|
|
733
|
+
response = json.loads(body)
|
|
734
|
+
model = models.CreateTWeSeeServiceResponse()
|
|
735
|
+
model._deserialize(response["Response"])
|
|
736
|
+
return model
|
|
737
|
+
except Exception as e:
|
|
738
|
+
if isinstance(e, TencentCloudSDKException):
|
|
739
|
+
raise
|
|
740
|
+
else:
|
|
741
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
742
|
+
|
|
743
|
+
|
|
721
744
|
def CreateTWeTalkProductConfig(self, request):
|
|
722
745
|
r"""用于配置TWeTalk服务连接产品配置信息。
|
|
723
746
|
|
|
@@ -741,6 +764,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
741
764
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
742
765
|
|
|
743
766
|
|
|
767
|
+
def CreateTWeTalkProductConfigV2(self, request):
|
|
768
|
+
r"""用于配置TWeTalk服务连接产品配置信息。
|
|
769
|
+
|
|
770
|
+
:param request: Request instance for CreateTWeTalkProductConfigV2.
|
|
771
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeTalkProductConfigV2Request`
|
|
772
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeTalkProductConfigV2Response`
|
|
773
|
+
|
|
774
|
+
"""
|
|
775
|
+
try:
|
|
776
|
+
params = request._serialize()
|
|
777
|
+
headers = request.headers
|
|
778
|
+
body = self.call("CreateTWeTalkProductConfigV2", params, headers=headers)
|
|
779
|
+
response = json.loads(body)
|
|
780
|
+
model = models.CreateTWeTalkProductConfigV2Response()
|
|
781
|
+
model._deserialize(response["Response"])
|
|
782
|
+
return model
|
|
783
|
+
except Exception as e:
|
|
784
|
+
if isinstance(e, TencentCloudSDKException):
|
|
785
|
+
raise
|
|
786
|
+
else:
|
|
787
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
788
|
+
|
|
789
|
+
|
|
744
790
|
def CreateTopicPolicy(self, request):
|
|
745
791
|
r"""本接口(CreateTopicPolicy)用于创建一个Topic
|
|
746
792
|
|
|
@@ -2422,6 +2468,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2422
2468
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2423
2469
|
|
|
2424
2470
|
|
|
2471
|
+
def DescribeTWeTalkProductConfigV2(self, request):
|
|
2472
|
+
r"""用于查询TWeTalk服务连接产品配置信息。
|
|
2473
|
+
|
|
2474
|
+
:param request: Request instance for DescribeTWeTalkProductConfigV2.
|
|
2475
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeTalkProductConfigV2Request`
|
|
2476
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeTalkProductConfigV2Response`
|
|
2477
|
+
|
|
2478
|
+
"""
|
|
2479
|
+
try:
|
|
2480
|
+
params = request._serialize()
|
|
2481
|
+
headers = request.headers
|
|
2482
|
+
body = self.call("DescribeTWeTalkProductConfigV2", params, headers=headers)
|
|
2483
|
+
response = json.loads(body)
|
|
2484
|
+
model = models.DescribeTWeTalkProductConfigV2Response()
|
|
2485
|
+
model._deserialize(response["Response"])
|
|
2486
|
+
return model
|
|
2487
|
+
except Exception as e:
|
|
2488
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2489
|
+
raise
|
|
2490
|
+
else:
|
|
2491
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2492
|
+
|
|
2493
|
+
|
|
2425
2494
|
def DescribeTopicPolicy(self, request):
|
|
2426
2495
|
r"""本接口(DescribeTopicPolicy)用于查看Topic详细信息
|
|
2427
2496
|
|
|
@@ -2997,6 +3066,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2997
3066
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2998
3067
|
|
|
2999
3068
|
|
|
3069
|
+
def GetTWeTalkProductConfigListV2(self, request):
|
|
3070
|
+
r"""用于查询TWeTalk服务连接产品配置信息。
|
|
3071
|
+
|
|
3072
|
+
:param request: Request instance for GetTWeTalkProductConfigListV2.
|
|
3073
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeTalkProductConfigListV2Request`
|
|
3074
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeTalkProductConfigListV2Response`
|
|
3075
|
+
|
|
3076
|
+
"""
|
|
3077
|
+
try:
|
|
3078
|
+
params = request._serialize()
|
|
3079
|
+
headers = request.headers
|
|
3080
|
+
body = self.call("GetTWeTalkProductConfigListV2", params, headers=headers)
|
|
3081
|
+
response = json.loads(body)
|
|
3082
|
+
model = models.GetTWeTalkProductConfigListV2Response()
|
|
3083
|
+
model._deserialize(response["Response"])
|
|
3084
|
+
return model
|
|
3085
|
+
except Exception as e:
|
|
3086
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3087
|
+
raise
|
|
3088
|
+
else:
|
|
3089
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3090
|
+
|
|
3091
|
+
|
|
3000
3092
|
def GetTopicRuleList(self, request):
|
|
3001
3093
|
r"""获取规则列表
|
|
3002
3094
|
|
|
@@ -3641,6 +3733,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
3641
3733
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3642
3734
|
|
|
3643
3735
|
|
|
3736
|
+
def ModifyTWeTalkProductConfigV2(self, request):
|
|
3737
|
+
r"""用于修改配置TWeTalk服务连接产品配置信息。
|
|
3738
|
+
|
|
3739
|
+
:param request: Request instance for ModifyTWeTalkProductConfigV2.
|
|
3740
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyTWeTalkProductConfigV2Request`
|
|
3741
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyTWeTalkProductConfigV2Response`
|
|
3742
|
+
|
|
3743
|
+
"""
|
|
3744
|
+
try:
|
|
3745
|
+
params = request._serialize()
|
|
3746
|
+
headers = request.headers
|
|
3747
|
+
body = self.call("ModifyTWeTalkProductConfigV2", params, headers=headers)
|
|
3748
|
+
response = json.loads(body)
|
|
3749
|
+
model = models.ModifyTWeTalkProductConfigV2Response()
|
|
3750
|
+
model._deserialize(response["Response"])
|
|
3751
|
+
return model
|
|
3752
|
+
except Exception as e:
|
|
3753
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3754
|
+
raise
|
|
3755
|
+
else:
|
|
3756
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3757
|
+
|
|
3758
|
+
|
|
3644
3759
|
def ModifyTopicPolicy(self, request):
|
|
3645
3760
|
r"""本接口(UpdateTopicPolicy)用于更新Topic信息
|
|
3646
3761
|
|
|
@@ -4220,6 +4335,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
4220
4335
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4221
4336
|
|
|
4222
4337
|
|
|
4338
|
+
def UpdateOtaTaskStatus(self, request):
|
|
4339
|
+
r"""本接口(UpdateOtaTask)当固件升级大任务处于没有在全部成功的状态时,可修改为取消状态,取消部分或全部设备的升级;或其它允许的可修改的状态。
|
|
4340
|
+
|
|
4341
|
+
:param request: Request instance for UpdateOtaTaskStatus.
|
|
4342
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateOtaTaskStatusRequest`
|
|
4343
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateOtaTaskStatusResponse`
|
|
4344
|
+
|
|
4345
|
+
"""
|
|
4346
|
+
try:
|
|
4347
|
+
params = request._serialize()
|
|
4348
|
+
headers = request.headers
|
|
4349
|
+
body = self.call("UpdateOtaTaskStatus", params, headers=headers)
|
|
4350
|
+
response = json.loads(body)
|
|
4351
|
+
model = models.UpdateOtaTaskStatusResponse()
|
|
4352
|
+
model._deserialize(response["Response"])
|
|
4353
|
+
return model
|
|
4354
|
+
except Exception as e:
|
|
4355
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4356
|
+
raise
|
|
4357
|
+
else:
|
|
4358
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4359
|
+
|
|
4360
|
+
|
|
4223
4361
|
def UploadFirmware(self, request):
|
|
4224
4362
|
r"""本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。
|
|
4225
4363
|
|