tencentcloud-sdk-python-iotexplorer 3.0.1135__tar.gz → 3.0.1153__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.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/tencentcloud/iotexplorer/v20190423/errorcodes.py +21 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +161 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/tencentcloud/iotexplorer/v20190423/models.py +847 -22
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iotexplorer-3.0.1153/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1135/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1135 → tencentcloud-sdk-python-iotexplorer-3.0.1153}/tencentcloud_sdk_python_iotexplorer.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-iotexplorer',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1153"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -53,6 +53,9 @@ FAILEDOPERATION_PRODUCTNOTRELEASED = 'FailedOperation.ProductNotReleased'
|
|
|
53
53
|
# RRPC接口未收到设备端响应。
|
|
54
54
|
FAILEDOPERATION_RRPCTIMEOUT = 'FailedOperation.RRPCTimeout'
|
|
55
55
|
|
|
56
|
+
# 请求TRTC失败
|
|
57
|
+
FAILEDOPERATION_REQUESTTRTCFAIL = 'FailedOperation.RequestTRTCFail'
|
|
58
|
+
|
|
56
59
|
# 转发已经停止。
|
|
57
60
|
FAILEDOPERATION_RULEALREADYDISABLED = 'FailedOperation.RuleAlreadyDisabled'
|
|
58
61
|
|
|
@@ -101,6 +104,12 @@ INVALIDPARAMETER_FIRMWAREALREADYEXIST = 'InvalidParameter.FirmwareAlreadyExist'
|
|
|
101
104
|
# 产品不是网关类型,无法绑定子产品。
|
|
102
105
|
INVALIDPARAMETER_PRODUCTISNOTGATEWAY = 'InvalidParameter.ProductIsNotGateway'
|
|
103
106
|
|
|
107
|
+
# RoomId已存在
|
|
108
|
+
INVALIDPARAMETER_ROOMIDEXIST = 'InvalidParameter.RoomIdExist'
|
|
109
|
+
|
|
110
|
+
# UserId数量超出限制
|
|
111
|
+
INVALIDPARAMETER_USERIDOVERLIMIT = 'InvalidParameter.UserIdOverLimit'
|
|
112
|
+
|
|
104
113
|
# 参数取值错误。
|
|
105
114
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
106
115
|
|
|
@@ -341,6 +350,12 @@ RESOURCENOTFOUND_BATCHPRODUCTIONNOTEXIST = 'ResourceNotFound.BatchProductionNotE
|
|
|
341
350
|
# 上传URL无法获取。
|
|
342
351
|
RESOURCENOTFOUND_CANNOTGETFROMURL = 'ResourceNotFound.CannotGetFromUrl'
|
|
343
352
|
|
|
353
|
+
# 云存AI分析任务不存在
|
|
354
|
+
RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASK = 'ResourceNotFound.CloudStorageAIServiceTask'
|
|
355
|
+
|
|
356
|
+
# 云存AI分析任务输出文件不存在
|
|
357
|
+
RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASKFILE = 'ResourceNotFound.CloudStorageAIServiceTaskFile'
|
|
358
|
+
|
|
344
359
|
# 存在重复设备。
|
|
345
360
|
RESOURCENOTFOUND_DEVICEDUPKEYEXIST = 'ResourceNotFound.DeviceDupKeyExist'
|
|
346
361
|
|
|
@@ -446,6 +461,9 @@ UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOINSTANCE = 'UnauthorizedOperation.NoPe
|
|
|
446
461
|
# 产品ACL错误。
|
|
447
462
|
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = 'UnauthorizedOperation.NoPermissionToStudioProduct'
|
|
448
463
|
|
|
464
|
+
# 无权操作该房间
|
|
465
|
+
UNAUTHORIZEDOPERATION_NOPERMISSIONTOTRTCROOM = 'UnauthorizedOperation.NoPermissionToTRTCRoom'
|
|
466
|
+
|
|
449
467
|
# 您的帐号未实名认证,请登录腾讯云进行实名认证
|
|
450
468
|
UNAUTHORIZEDOPERATION_NOVERIFIED = 'UnauthorizedOperation.NoVerified'
|
|
451
469
|
|
|
@@ -542,6 +560,9 @@ UNSUPPORTEDOPERATION_STAFFPOOLDUPNAMEEXIST = 'UnsupportedOperation.StaffPoolDupN
|
|
|
542
560
|
# LoRa频点还被节点或网关使用。
|
|
543
561
|
UNSUPPORTEDOPERATION_STUDIOLORAFREQINUSED = 'UnsupportedOperation.StudioLoRaFreqInUsed'
|
|
544
562
|
|
|
563
|
+
# TRTC增值服务未开通
|
|
564
|
+
UNSUPPORTEDOPERATION_TRTCSERVICENOTOPEN = 'UnsupportedOperation.TRTCServiceNotOpen'
|
|
565
|
+
|
|
545
566
|
# 账户有未支付订单。
|
|
546
567
|
UNSUPPORTEDOPERATION_UNPAIDORDER = 'UnsupportedOperation.UnpaidOrder'
|
|
547
568
|
|
|
@@ -394,6 +394,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
394
394
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
395
395
|
|
|
396
396
|
|
|
397
|
+
def CreateTRTCSignaturesWithRoomId(self, request):
|
|
398
|
+
"""创建TRTC通话参数
|
|
399
|
+
|
|
400
|
+
:param request: Request instance for CreateTRTCSignaturesWithRoomId.
|
|
401
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTRTCSignaturesWithRoomIdRequest`
|
|
402
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTRTCSignaturesWithRoomIdResponse`
|
|
403
|
+
|
|
404
|
+
"""
|
|
405
|
+
try:
|
|
406
|
+
params = request._serialize()
|
|
407
|
+
headers = request.headers
|
|
408
|
+
body = self.call("CreateTRTCSignaturesWithRoomId", params, headers=headers)
|
|
409
|
+
response = json.loads(body)
|
|
410
|
+
model = models.CreateTRTCSignaturesWithRoomIdResponse()
|
|
411
|
+
model._deserialize(response["Response"])
|
|
412
|
+
return model
|
|
413
|
+
except Exception as e:
|
|
414
|
+
if isinstance(e, TencentCloudSDKException):
|
|
415
|
+
raise
|
|
416
|
+
else:
|
|
417
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
|
+
|
|
419
|
+
|
|
397
420
|
def CreateTopicPolicy(self, request):
|
|
398
421
|
"""本接口(CreateTopicPolicy)用于创建一个Topic
|
|
399
422
|
|
|
@@ -831,6 +854,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
831
854
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
832
855
|
|
|
833
856
|
|
|
857
|
+
def DescribeCloudStorageAIServiceTask(self, request):
|
|
858
|
+
"""查询指定的云存 AI 分析任务
|
|
859
|
+
|
|
860
|
+
:param request: Request instance for DescribeCloudStorageAIServiceTask.
|
|
861
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeCloudStorageAIServiceTaskRequest`
|
|
862
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeCloudStorageAIServiceTaskResponse`
|
|
863
|
+
|
|
864
|
+
"""
|
|
865
|
+
try:
|
|
866
|
+
params = request._serialize()
|
|
867
|
+
headers = request.headers
|
|
868
|
+
body = self.call("DescribeCloudStorageAIServiceTask", params, headers=headers)
|
|
869
|
+
response = json.loads(body)
|
|
870
|
+
model = models.DescribeCloudStorageAIServiceTaskResponse()
|
|
871
|
+
model._deserialize(response["Response"])
|
|
872
|
+
return model
|
|
873
|
+
except Exception as e:
|
|
874
|
+
if isinstance(e, TencentCloudSDKException):
|
|
875
|
+
raise
|
|
876
|
+
else:
|
|
877
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
878
|
+
|
|
879
|
+
|
|
834
880
|
def DescribeCloudStorageAIServiceTasks(self, request):
|
|
835
881
|
"""查询指定设备的云存 AI 分析任务列表
|
|
836
882
|
|
|
@@ -1222,6 +1268,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
1222
1268
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1223
1269
|
|
|
1224
1270
|
|
|
1271
|
+
def DescribeDeviceFirmwares(self, request):
|
|
1272
|
+
"""获取设备当前固件信息
|
|
1273
|
+
|
|
1274
|
+
:param request: Request instance for DescribeDeviceFirmwares.
|
|
1275
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeDeviceFirmwaresRequest`
|
|
1276
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeDeviceFirmwaresResponse`
|
|
1277
|
+
|
|
1278
|
+
"""
|
|
1279
|
+
try:
|
|
1280
|
+
params = request._serialize()
|
|
1281
|
+
headers = request.headers
|
|
1282
|
+
body = self.call("DescribeDeviceFirmwares", params, headers=headers)
|
|
1283
|
+
response = json.loads(body)
|
|
1284
|
+
model = models.DescribeDeviceFirmwaresResponse()
|
|
1285
|
+
model._deserialize(response["Response"])
|
|
1286
|
+
return model
|
|
1287
|
+
except Exception as e:
|
|
1288
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1289
|
+
raise
|
|
1290
|
+
else:
|
|
1291
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1292
|
+
|
|
1293
|
+
|
|
1225
1294
|
def DescribeDeviceLocationSolve(self, request):
|
|
1226
1295
|
"""获取实时位置解析
|
|
1227
1296
|
|
|
@@ -1751,6 +1820,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
1751
1820
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1752
1821
|
|
|
1753
1822
|
|
|
1823
|
+
def DismissRoomByStrRoomIdFromTRTC(self, request):
|
|
1824
|
+
"""解散TRTC房间
|
|
1825
|
+
|
|
1826
|
+
:param request: Request instance for DismissRoomByStrRoomIdFromTRTC.
|
|
1827
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DismissRoomByStrRoomIdFromTRTCRequest`
|
|
1828
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DismissRoomByStrRoomIdFromTRTCResponse`
|
|
1829
|
+
|
|
1830
|
+
"""
|
|
1831
|
+
try:
|
|
1832
|
+
params = request._serialize()
|
|
1833
|
+
headers = request.headers
|
|
1834
|
+
body = self.call("DismissRoomByStrRoomIdFromTRTC", params, headers=headers)
|
|
1835
|
+
response = json.loads(body)
|
|
1836
|
+
model = models.DismissRoomByStrRoomIdFromTRTCResponse()
|
|
1837
|
+
model._deserialize(response["Response"])
|
|
1838
|
+
return model
|
|
1839
|
+
except Exception as e:
|
|
1840
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1841
|
+
raise
|
|
1842
|
+
else:
|
|
1843
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1844
|
+
|
|
1845
|
+
|
|
1754
1846
|
def EnableTopicRule(self, request):
|
|
1755
1847
|
"""启用规则
|
|
1756
1848
|
|
|
@@ -1797,6 +1889,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
1797
1889
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1798
1890
|
|
|
1799
1891
|
|
|
1892
|
+
def GenerateCloudStorageAIServiceTaskFileURL(self, request):
|
|
1893
|
+
"""获取云存 AI 分析任务输出文件的下载地址
|
|
1894
|
+
|
|
1895
|
+
:param request: Request instance for GenerateCloudStorageAIServiceTaskFileURL.
|
|
1896
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.GenerateCloudStorageAIServiceTaskFileURLRequest`
|
|
1897
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GenerateCloudStorageAIServiceTaskFileURLResponse`
|
|
1898
|
+
|
|
1899
|
+
"""
|
|
1900
|
+
try:
|
|
1901
|
+
params = request._serialize()
|
|
1902
|
+
headers = request.headers
|
|
1903
|
+
body = self.call("GenerateCloudStorageAIServiceTaskFileURL", params, headers=headers)
|
|
1904
|
+
response = json.loads(body)
|
|
1905
|
+
model = models.GenerateCloudStorageAIServiceTaskFileURLResponse()
|
|
1906
|
+
model._deserialize(response["Response"])
|
|
1907
|
+
return model
|
|
1908
|
+
except Exception as e:
|
|
1909
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1910
|
+
raise
|
|
1911
|
+
else:
|
|
1912
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1913
|
+
|
|
1914
|
+
|
|
1800
1915
|
def GenerateSignedVideoURL(self, request):
|
|
1801
1916
|
"""获取视频防盗链播放URL
|
|
1802
1917
|
|
|
@@ -2602,6 +2717,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2602
2717
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2603
2718
|
|
|
2604
2719
|
|
|
2720
|
+
def RemoveUserByRoomIdFromTRTC(self, request):
|
|
2721
|
+
"""TRTC操作,将用户从房间移出
|
|
2722
|
+
|
|
2723
|
+
:param request: Request instance for RemoveUserByRoomIdFromTRTC.
|
|
2724
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.RemoveUserByRoomIdFromTRTCRequest`
|
|
2725
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.RemoveUserByRoomIdFromTRTCResponse`
|
|
2726
|
+
|
|
2727
|
+
"""
|
|
2728
|
+
try:
|
|
2729
|
+
params = request._serialize()
|
|
2730
|
+
headers = request.headers
|
|
2731
|
+
body = self.call("RemoveUserByRoomIdFromTRTC", params, headers=headers)
|
|
2732
|
+
response = json.loads(body)
|
|
2733
|
+
model = models.RemoveUserByRoomIdFromTRTCResponse()
|
|
2734
|
+
model._deserialize(response["Response"])
|
|
2735
|
+
return model
|
|
2736
|
+
except Exception as e:
|
|
2737
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2738
|
+
raise
|
|
2739
|
+
else:
|
|
2740
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2741
|
+
|
|
2742
|
+
|
|
2605
2743
|
def ResetCloudStorage(self, request):
|
|
2606
2744
|
"""重置云存服务
|
|
2607
2745
|
|
|
@@ -2786,6 +2924,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2786
2924
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2787
2925
|
|
|
2788
2926
|
|
|
2927
|
+
def UpdateDeviceTWeCallAuthorizeStatus(self, request):
|
|
2928
|
+
"""更新用户对设备的TweCall授权状态
|
|
2929
|
+
|
|
2930
|
+
:param request: Request instance for UpdateDeviceTWeCallAuthorizeStatus.
|
|
2931
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateDeviceTWeCallAuthorizeStatusRequest`
|
|
2932
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateDeviceTWeCallAuthorizeStatusResponse`
|
|
2933
|
+
|
|
2934
|
+
"""
|
|
2935
|
+
try:
|
|
2936
|
+
params = request._serialize()
|
|
2937
|
+
headers = request.headers
|
|
2938
|
+
body = self.call("UpdateDeviceTWeCallAuthorizeStatus", params, headers=headers)
|
|
2939
|
+
response = json.loads(body)
|
|
2940
|
+
model = models.UpdateDeviceTWeCallAuthorizeStatusResponse()
|
|
2941
|
+
model._deserialize(response["Response"])
|
|
2942
|
+
return model
|
|
2943
|
+
except Exception as e:
|
|
2944
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2945
|
+
raise
|
|
2946
|
+
else:
|
|
2947
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2948
|
+
|
|
2949
|
+
|
|
2789
2950
|
def UpdateDevicesEnableState(self, request):
|
|
2790
2951
|
"""批量禁用启用设备
|
|
2791
2952
|
|