tencentcloud-sdk-python-iotexplorer 3.0.1161__tar.gz → 3.0.1216__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.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/tencentcloud/iotexplorer/v20190423/errorcodes.py +21 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +162 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/tencentcloud/iotexplorer/v20190423/models.py +1481 -70
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-iotexplorer-3.0.1216/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1161/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1161 → tencentcloud-sdk-python-iotexplorer-3.0.1216}/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.1216"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -26,9 +26,15 @@ FAILEDOPERATION_ACTIONUNREACHABLE = 'FailedOperation.ActionUnreachable'
|
|
|
26
26
|
# 广播任务正在执行。
|
|
27
27
|
FAILEDOPERATION_BROADCASTTASKISRUNNING = 'FailedOperation.BroadcastTaskIsRunning'
|
|
28
28
|
|
|
29
|
+
# 云存 AI 套餐生效时长不能超过当前云存套餐生效时长
|
|
30
|
+
FAILEDOPERATION_CLOUDSTORAGEAIPACKAGEEXPIRETIMEEXCEEDED = 'FailedOperation.CloudStorageAIPackageExpireTimeExceeded'
|
|
31
|
+
|
|
29
32
|
# 产品未开通视频AI分析服务
|
|
30
33
|
FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = 'FailedOperation.CloudStorageAIServiceNotEnabled'
|
|
31
34
|
|
|
35
|
+
# 需先开通云存套餐
|
|
36
|
+
FAILEDOPERATION_CLOUDSTORAGEPACKAGEREQUIRED = 'FailedOperation.CloudStoragePackageRequired'
|
|
37
|
+
|
|
32
38
|
# 设备已经被禁用。
|
|
33
39
|
FAILEDOPERATION_DEVICEALREADYDISABLED = 'FailedOperation.DeviceAlreadyDisabled'
|
|
34
40
|
|
|
@@ -47,6 +53,9 @@ FAILEDOPERATION_DEVICEOFFLINE = 'FailedOperation.DeviceOffline'
|
|
|
47
53
|
# 存在其他升级任务。
|
|
48
54
|
FAILEDOPERATION_OTHERUPDATETASKEXIST = 'FailedOperation.OtherUpdateTaskExist'
|
|
49
55
|
|
|
56
|
+
# 产品未开通 IoT Video 服务
|
|
57
|
+
FAILEDOPERATION_PRODUCTIOTVIDEOSERVICENOTENABLED = 'FailedOperation.ProductIotVideoServiceNotEnabled'
|
|
58
|
+
|
|
50
59
|
# 产品尚未发布。
|
|
51
60
|
FAILEDOPERATION_PRODUCTNOTRELEASED = 'FailedOperation.ProductNotReleased'
|
|
52
61
|
|
|
@@ -137,6 +146,9 @@ INVALIDPARAMETERVALUE_APPNOTEXISTS = 'InvalidParameterValue.AppNotExists'
|
|
|
137
146
|
# 检查第三方URL超时或失败。
|
|
138
147
|
INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = 'InvalidParameterValue.CheckForwardURLFail'
|
|
139
148
|
|
|
149
|
+
# 指定的云存 AI 套餐不存在
|
|
150
|
+
INVALIDPARAMETERVALUE_CLOUDSTORAGEAIPACKAGEIDNOTEXIST = 'InvalidParameterValue.CloudStorageAIPackageIdNotExist'
|
|
151
|
+
|
|
140
152
|
# 创建的设备名已存在。
|
|
141
153
|
INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = 'InvalidParameterValue.DeviceAlreadyExist'
|
|
142
154
|
|
|
@@ -242,6 +254,9 @@ INVALIDPARAMETERVALUE_MSGTITLEINVALID = 'InvalidParameterValue.MsgTitleInvalid'
|
|
|
242
254
|
# 消息类型非法。
|
|
243
255
|
INVALIDPARAMETERVALUE_MSGTYPEINVALID = 'InvalidParameterValue.MsgTypeInvalid'
|
|
244
256
|
|
|
257
|
+
# 无权限。
|
|
258
|
+
INVALIDPARAMETERVALUE_NOPERMISSION = 'InvalidParameterValue.NoPermission'
|
|
259
|
+
|
|
245
260
|
# 操作不支持。
|
|
246
261
|
INVALIDPARAMETERVALUE_OPERATIONDENIED = 'InvalidParameterValue.OperationDenied'
|
|
247
262
|
|
|
@@ -488,6 +503,12 @@ UNSUPPORTEDOPERATION_BINDSEXISTUNDERFENCE = 'UnsupportedOperation.BindsExistUnde
|
|
|
488
503
|
# 存在重复的绑定关系。
|
|
489
504
|
UNSUPPORTEDOPERATION_CANNOTREBINDFAMILY = 'UnsupportedOperation.CannotReBindFamily'
|
|
490
505
|
|
|
506
|
+
# 云存套餐与云存 AI 套餐时长不匹配
|
|
507
|
+
UNSUPPORTEDOPERATION_CLOUDSTORAGEPACKAGETIMEMISMATCH = 'UnsupportedOperation.CloudStoragePackageTimeMismatch'
|
|
508
|
+
|
|
509
|
+
# 云存套餐与云存 AI 套餐类型不匹配
|
|
510
|
+
UNSUPPORTEDOPERATION_CLOUDSTORAGEPACKAGETYPEMISMATCH = 'UnsupportedOperation.CloudStoragePackageTypeMismatch'
|
|
511
|
+
|
|
491
512
|
# 创建的设备已经存在。
|
|
492
513
|
UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = 'UnsupportedOperation.DeviceDupKeyExist'
|
|
493
514
|
|
|
@@ -210,6 +210,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
210
210
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
211
211
|
|
|
212
212
|
|
|
213
|
+
def CheckFirmwareUpdate(self, request):
|
|
214
|
+
"""本接口(CheckFirmwareUpdate)用于查询设备可升级固件版本
|
|
215
|
+
|
|
216
|
+
:param request: Request instance for CheckFirmwareUpdate.
|
|
217
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CheckFirmwareUpdateRequest`
|
|
218
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CheckFirmwareUpdateResponse`
|
|
219
|
+
|
|
220
|
+
"""
|
|
221
|
+
try:
|
|
222
|
+
params = request._serialize()
|
|
223
|
+
headers = request.headers
|
|
224
|
+
body = self.call("CheckFirmwareUpdate", params, headers=headers)
|
|
225
|
+
response = json.loads(body)
|
|
226
|
+
model = models.CheckFirmwareUpdateResponse()
|
|
227
|
+
model._deserialize(response["Response"])
|
|
228
|
+
return model
|
|
229
|
+
except Exception as e:
|
|
230
|
+
if isinstance(e, TencentCloudSDKException):
|
|
231
|
+
raise
|
|
232
|
+
else:
|
|
233
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
234
|
+
|
|
235
|
+
|
|
213
236
|
def ControlDeviceData(self, request):
|
|
214
237
|
"""根据设备产品ID、设备名称,设置控制设备的属性数据。
|
|
215
238
|
|
|
@@ -256,6 +279,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
256
279
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
280
|
|
|
258
281
|
|
|
282
|
+
def CreateCloudStorageAIService(self, request):
|
|
283
|
+
"""开通设备云存AI分析服务
|
|
284
|
+
|
|
285
|
+
:param request: Request instance for CreateCloudStorageAIService.
|
|
286
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceRequest`
|
|
287
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceResponse`
|
|
288
|
+
|
|
289
|
+
"""
|
|
290
|
+
try:
|
|
291
|
+
params = request._serialize()
|
|
292
|
+
headers = request.headers
|
|
293
|
+
body = self.call("CreateCloudStorageAIService", params, headers=headers)
|
|
294
|
+
response = json.loads(body)
|
|
295
|
+
model = models.CreateCloudStorageAIServiceResponse()
|
|
296
|
+
model._deserialize(response["Response"])
|
|
297
|
+
return model
|
|
298
|
+
except Exception as e:
|
|
299
|
+
if isinstance(e, TencentCloudSDKException):
|
|
300
|
+
raise
|
|
301
|
+
else:
|
|
302
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
|
+
|
|
304
|
+
|
|
259
305
|
def CreateDevice(self, request):
|
|
260
306
|
"""创建设备
|
|
261
307
|
|
|
@@ -1475,6 +1521,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
1475
1521
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1476
1522
|
|
|
1477
1523
|
|
|
1524
|
+
def DescribeFirmware(self, request):
|
|
1525
|
+
"""查询固件信息
|
|
1526
|
+
|
|
1527
|
+
:param request: Request instance for DescribeFirmware.
|
|
1528
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeFirmwareRequest`
|
|
1529
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeFirmwareResponse`
|
|
1530
|
+
|
|
1531
|
+
"""
|
|
1532
|
+
try:
|
|
1533
|
+
params = request._serialize()
|
|
1534
|
+
headers = request.headers
|
|
1535
|
+
body = self.call("DescribeFirmware", params, headers=headers)
|
|
1536
|
+
response = json.loads(body)
|
|
1537
|
+
model = models.DescribeFirmwareResponse()
|
|
1538
|
+
model._deserialize(response["Response"])
|
|
1539
|
+
return model
|
|
1540
|
+
except Exception as e:
|
|
1541
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1542
|
+
raise
|
|
1543
|
+
else:
|
|
1544
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1545
|
+
|
|
1546
|
+
|
|
1478
1547
|
def DescribeFirmwareTask(self, request):
|
|
1479
1548
|
"""查询固件升级任务列表
|
|
1480
1549
|
|
|
@@ -1498,6 +1567,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
1498
1567
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1499
1568
|
|
|
1500
1569
|
|
|
1570
|
+
def DescribeFirmwareUpdateStatus(self, request):
|
|
1571
|
+
"""本接口(DescribeFirmwareUpdateStatus)用于查询设备固件升级状态及进度。
|
|
1572
|
+
|
|
1573
|
+
:param request: Request instance for DescribeFirmwareUpdateStatus.
|
|
1574
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeFirmwareUpdateStatusRequest`
|
|
1575
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeFirmwareUpdateStatusResponse`
|
|
1576
|
+
|
|
1577
|
+
"""
|
|
1578
|
+
try:
|
|
1579
|
+
params = request._serialize()
|
|
1580
|
+
headers = request.headers
|
|
1581
|
+
body = self.call("DescribeFirmwareUpdateStatus", params, headers=headers)
|
|
1582
|
+
response = json.loads(body)
|
|
1583
|
+
model = models.DescribeFirmwareUpdateStatusResponse()
|
|
1584
|
+
model._deserialize(response["Response"])
|
|
1585
|
+
return model
|
|
1586
|
+
except Exception as e:
|
|
1587
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1588
|
+
raise
|
|
1589
|
+
else:
|
|
1590
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1591
|
+
|
|
1592
|
+
|
|
1501
1593
|
def DescribeGatewayBindDevices(self, request):
|
|
1502
1594
|
"""获取网关绑定的子设备列表
|
|
1503
1595
|
|
|
@@ -2349,6 +2441,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2349
2441
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2350
2442
|
|
|
2351
2443
|
|
|
2444
|
+
def GetWechatDeviceTicket(self, request):
|
|
2445
|
+
"""查询微信设备授权票据
|
|
2446
|
+
|
|
2447
|
+
:param request: Request instance for GetWechatDeviceTicket.
|
|
2448
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.GetWechatDeviceTicketRequest`
|
|
2449
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GetWechatDeviceTicketResponse`
|
|
2450
|
+
|
|
2451
|
+
"""
|
|
2452
|
+
try:
|
|
2453
|
+
params = request._serialize()
|
|
2454
|
+
headers = request.headers
|
|
2455
|
+
body = self.call("GetWechatDeviceTicket", params, headers=headers)
|
|
2456
|
+
response = json.loads(body)
|
|
2457
|
+
model = models.GetWechatDeviceTicketResponse()
|
|
2458
|
+
model._deserialize(response["Response"])
|
|
2459
|
+
return model
|
|
2460
|
+
except Exception as e:
|
|
2461
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2462
|
+
raise
|
|
2463
|
+
else:
|
|
2464
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2465
|
+
|
|
2466
|
+
|
|
2352
2467
|
def InheritCloudStorageUser(self, request):
|
|
2353
2468
|
"""继承云存用户
|
|
2354
2469
|
|
|
@@ -2442,7 +2557,7 @@ class IotexplorerClient(AbstractClient):
|
|
|
2442
2557
|
|
|
2443
2558
|
|
|
2444
2559
|
def ModifyCloudStorageAIService(self, request):
|
|
2445
|
-
"""修改指定设备的云存 AI
|
|
2560
|
+
"""修改指定设备的云存 AI 服务参数配置
|
|
2446
2561
|
|
|
2447
2562
|
:param request: Request instance for ModifyCloudStorageAIService.
|
|
2448
2563
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyCloudStorageAIServiceRequest`
|
|
@@ -2786,6 +2901,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2786
2901
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2787
2902
|
|
|
2788
2903
|
|
|
2904
|
+
def PublishFirmwareUpdateMessage(self, request):
|
|
2905
|
+
"""本接口(PublishFirmwareUpdateMessage)用于用户确认升级后,云端向设备发起固件升级请求。
|
|
2906
|
+
|
|
2907
|
+
:param request: Request instance for PublishFirmwareUpdateMessage.
|
|
2908
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.PublishFirmwareUpdateMessageRequest`
|
|
2909
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.PublishFirmwareUpdateMessageResponse`
|
|
2910
|
+
|
|
2911
|
+
"""
|
|
2912
|
+
try:
|
|
2913
|
+
params = request._serialize()
|
|
2914
|
+
headers = request.headers
|
|
2915
|
+
body = self.call("PublishFirmwareUpdateMessage", params, headers=headers)
|
|
2916
|
+
response = json.loads(body)
|
|
2917
|
+
model = models.PublishFirmwareUpdateMessageResponse()
|
|
2918
|
+
model._deserialize(response["Response"])
|
|
2919
|
+
return model
|
|
2920
|
+
except Exception as e:
|
|
2921
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2922
|
+
raise
|
|
2923
|
+
else:
|
|
2924
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2925
|
+
|
|
2926
|
+
|
|
2789
2927
|
def PublishMessage(self, request):
|
|
2790
2928
|
"""本接口(PublishMessage)用于使用自定义透传协议进行设备远控
|
|
2791
2929
|
|
|
@@ -2901,6 +3039,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2901
3039
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2902
3040
|
|
|
2903
3041
|
|
|
3042
|
+
def ResetCloudStorageAIService(self, request):
|
|
3043
|
+
"""重置指定设备的云存 AI 服务
|
|
3044
|
+
|
|
3045
|
+
:param request: Request instance for ResetCloudStorageAIService.
|
|
3046
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.ResetCloudStorageAIServiceRequest`
|
|
3047
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.ResetCloudStorageAIServiceResponse`
|
|
3048
|
+
|
|
3049
|
+
"""
|
|
3050
|
+
try:
|
|
3051
|
+
params = request._serialize()
|
|
3052
|
+
headers = request.headers
|
|
3053
|
+
body = self.call("ResetCloudStorageAIService", params, headers=headers)
|
|
3054
|
+
response = json.loads(body)
|
|
3055
|
+
model = models.ResetCloudStorageAIServiceResponse()
|
|
3056
|
+
model._deserialize(response["Response"])
|
|
3057
|
+
return model
|
|
3058
|
+
except Exception as e:
|
|
3059
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3060
|
+
raise
|
|
3061
|
+
else:
|
|
3062
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3063
|
+
|
|
3064
|
+
|
|
2904
3065
|
def ResetCloudStorageEvent(self, request):
|
|
2905
3066
|
"""重置云存事件
|
|
2906
3067
|
|