tencentcloud-sdk-python-iotexplorer 3.0.1136__tar.gz → 3.0.1156__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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/setup.py +1 -1
  3. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/tencentcloud/iotexplorer/v20190423/errorcodes.py +21 -0
  5. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +276 -0
  6. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/tencentcloud/iotexplorer/v20190423/models.py +1724 -148
  7. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-iotexplorer-3.0.1156/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-iotexplorer-3.0.1136/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/README.rst +0 -0
  11. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/tencentcloud/iotexplorer/__init__.py +0 -0
  13. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
  14. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-iotexplorer-3.0.1136 → tencentcloud-sdk-python-iotexplorer-3.0.1156}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-iotexplorer
3
- Version: 3.0.1136
3
+ Version: 3.0.1156
4
4
  Summary: Tencent Cloud Iotexplorer SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -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.1136"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1156"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Iotexplorer SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1136'
17
+ __version__ = '3.0.1156'
@@ -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
 
@@ -26,6 +26,52 @@ class IotexplorerClient(AbstractClient):
26
26
  _service = 'iotexplorer'
27
27
 
28
28
 
29
+ def ActivateTWeCallLicense(self, request):
30
+ """激活
31
+
32
+ :param request: Request instance for ActivateTWeCallLicense.
33
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.ActivateTWeCallLicenseRequest`
34
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.ActivateTWeCallLicenseResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("ActivateTWeCallLicense", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.ActivateTWeCallLicenseResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
52
+ def AssignTWeCallLicense(self, request):
53
+ """分配License
54
+
55
+ :param request: Request instance for AssignTWeCallLicense.
56
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.AssignTWeCallLicenseRequest`
57
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.AssignTWeCallLicenseResponse`
58
+
59
+ """
60
+ try:
61
+ params = request._serialize()
62
+ headers = request.headers
63
+ body = self.call("AssignTWeCallLicense", params, headers=headers)
64
+ response = json.loads(body)
65
+ model = models.AssignTWeCallLicenseResponse()
66
+ model._deserialize(response["Response"])
67
+ return model
68
+ except Exception as e:
69
+ if isinstance(e, TencentCloudSDKException):
70
+ raise
71
+ else:
72
+ raise TencentCloudSDKException(type(e).__name__, str(e))
73
+
74
+
29
75
  def BindCloudStorageUser(self, request):
30
76
  """绑定云存用户
31
77
 
@@ -141,6 +187,29 @@ class IotexplorerClient(AbstractClient):
141
187
  raise TencentCloudSDKException(type(e).__name__, str(e))
142
188
 
143
189
 
190
+ def CancelAssignTWeCallLicense(self, request):
191
+ """取消分配
192
+
193
+ :param request: Request instance for CancelAssignTWeCallLicense.
194
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.CancelAssignTWeCallLicenseRequest`
195
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CancelAssignTWeCallLicenseResponse`
196
+
197
+ """
198
+ try:
199
+ params = request._serialize()
200
+ headers = request.headers
201
+ body = self.call("CancelAssignTWeCallLicense", params, headers=headers)
202
+ response = json.loads(body)
203
+ model = models.CancelAssignTWeCallLicenseResponse()
204
+ model._deserialize(response["Response"])
205
+ return model
206
+ except Exception as e:
207
+ if isinstance(e, TencentCloudSDKException):
208
+ raise
209
+ else:
210
+ raise TencentCloudSDKException(type(e).__name__, str(e))
211
+
212
+
144
213
  def ControlDeviceData(self, request):
145
214
  """根据设备产品ID、设备名称,设置控制设备的属性数据。
146
215
 
@@ -394,6 +463,29 @@ class IotexplorerClient(AbstractClient):
394
463
  raise TencentCloudSDKException(type(e).__name__, str(e))
395
464
 
396
465
 
466
+ def CreateTRTCSignaturesWithRoomId(self, request):
467
+ """创建TRTC通话参数
468
+
469
+ :param request: Request instance for CreateTRTCSignaturesWithRoomId.
470
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTRTCSignaturesWithRoomIdRequest`
471
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTRTCSignaturesWithRoomIdResponse`
472
+
473
+ """
474
+ try:
475
+ params = request._serialize()
476
+ headers = request.headers
477
+ body = self.call("CreateTRTCSignaturesWithRoomId", params, headers=headers)
478
+ response = json.loads(body)
479
+ model = models.CreateTRTCSignaturesWithRoomIdResponse()
480
+ model._deserialize(response["Response"])
481
+ return model
482
+ except Exception as e:
483
+ if isinstance(e, TencentCloudSDKException):
484
+ raise
485
+ else:
486
+ raise TencentCloudSDKException(type(e).__name__, str(e))
487
+
488
+
397
489
  def CreateTopicPolicy(self, request):
398
490
  """本接口(CreateTopicPolicy)用于创建一个Topic
399
491
 
@@ -831,6 +923,29 @@ class IotexplorerClient(AbstractClient):
831
923
  raise TencentCloudSDKException(type(e).__name__, str(e))
832
924
 
833
925
 
926
+ def DescribeCloudStorageAIServiceTask(self, request):
927
+ """查询指定的云存 AI 分析任务
928
+
929
+ :param request: Request instance for DescribeCloudStorageAIServiceTask.
930
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeCloudStorageAIServiceTaskRequest`
931
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeCloudStorageAIServiceTaskResponse`
932
+
933
+ """
934
+ try:
935
+ params = request._serialize()
936
+ headers = request.headers
937
+ body = self.call("DescribeCloudStorageAIServiceTask", params, headers=headers)
938
+ response = json.loads(body)
939
+ model = models.DescribeCloudStorageAIServiceTaskResponse()
940
+ model._deserialize(response["Response"])
941
+ return model
942
+ except Exception as e:
943
+ if isinstance(e, TencentCloudSDKException):
944
+ raise
945
+ else:
946
+ raise TencentCloudSDKException(type(e).__name__, str(e))
947
+
948
+
834
949
  def DescribeCloudStorageAIServiceTasks(self, request):
835
950
  """查询指定设备的云存 AI 分析任务列表
836
951
 
@@ -1774,6 +1889,29 @@ class IotexplorerClient(AbstractClient):
1774
1889
  raise TencentCloudSDKException(type(e).__name__, str(e))
1775
1890
 
1776
1891
 
1892
+ def DismissRoomByStrRoomIdFromTRTC(self, request):
1893
+ """解散TRTC房间
1894
+
1895
+ :param request: Request instance for DismissRoomByStrRoomIdFromTRTC.
1896
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.DismissRoomByStrRoomIdFromTRTCRequest`
1897
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DismissRoomByStrRoomIdFromTRTCResponse`
1898
+
1899
+ """
1900
+ try:
1901
+ params = request._serialize()
1902
+ headers = request.headers
1903
+ body = self.call("DismissRoomByStrRoomIdFromTRTC", params, headers=headers)
1904
+ response = json.loads(body)
1905
+ model = models.DismissRoomByStrRoomIdFromTRTCResponse()
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
+
1777
1915
  def EnableTopicRule(self, request):
1778
1916
  """启用规则
1779
1917
 
@@ -1820,6 +1958,29 @@ class IotexplorerClient(AbstractClient):
1820
1958
  raise TencentCloudSDKException(type(e).__name__, str(e))
1821
1959
 
1822
1960
 
1961
+ def GenerateCloudStorageAIServiceTaskFileURL(self, request):
1962
+ """获取云存 AI 分析任务输出文件的下载地址
1963
+
1964
+ :param request: Request instance for GenerateCloudStorageAIServiceTaskFileURL.
1965
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.GenerateCloudStorageAIServiceTaskFileURLRequest`
1966
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GenerateCloudStorageAIServiceTaskFileURLResponse`
1967
+
1968
+ """
1969
+ try:
1970
+ params = request._serialize()
1971
+ headers = request.headers
1972
+ body = self.call("GenerateCloudStorageAIServiceTaskFileURL", params, headers=headers)
1973
+ response = json.loads(body)
1974
+ model = models.GenerateCloudStorageAIServiceTaskFileURLResponse()
1975
+ model._deserialize(response["Response"])
1976
+ return model
1977
+ except Exception as e:
1978
+ if isinstance(e, TencentCloudSDKException):
1979
+ raise
1980
+ else:
1981
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1982
+
1983
+
1823
1984
  def GenerateSignedVideoURL(self, request):
1824
1985
  """获取视频防盗链播放URL
1825
1986
 
@@ -1843,6 +2004,29 @@ class IotexplorerClient(AbstractClient):
1843
2004
  raise TencentCloudSDKException(type(e).__name__, str(e))
1844
2005
 
1845
2006
 
2007
+ def GetAuthMiniProgramAppList(self, request):
2008
+ """查询小程序列表
2009
+
2010
+ :param request: Request instance for GetAuthMiniProgramAppList.
2011
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.GetAuthMiniProgramAppListRequest`
2012
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GetAuthMiniProgramAppListResponse`
2013
+
2014
+ """
2015
+ try:
2016
+ params = request._serialize()
2017
+ headers = request.headers
2018
+ body = self.call("GetAuthMiniProgramAppList", params, headers=headers)
2019
+ response = json.loads(body)
2020
+ model = models.GetAuthMiniProgramAppListResponse()
2021
+ model._deserialize(response["Response"])
2022
+ return model
2023
+ except Exception as e:
2024
+ if isinstance(e, TencentCloudSDKException):
2025
+ raise
2026
+ else:
2027
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2028
+
2029
+
1846
2030
  def GetBatchProductionsList(self, request):
1847
2031
  """列出量产数据列表信息。
1848
2032
 
@@ -2096,6 +2280,52 @@ class IotexplorerClient(AbstractClient):
2096
2280
  raise TencentCloudSDKException(type(e).__name__, str(e))
2097
2281
 
2098
2282
 
2283
+ def GetTWeCallActiveStatus(self, request):
2284
+ """查询激活状态
2285
+
2286
+ :param request: Request instance for GetTWeCallActiveStatus.
2287
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeCallActiveStatusRequest`
2288
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeCallActiveStatusResponse`
2289
+
2290
+ """
2291
+ try:
2292
+ params = request._serialize()
2293
+ headers = request.headers
2294
+ body = self.call("GetTWeCallActiveStatus", params, headers=headers)
2295
+ response = json.loads(body)
2296
+ model = models.GetTWeCallActiveStatusResponse()
2297
+ model._deserialize(response["Response"])
2298
+ return model
2299
+ except Exception as e:
2300
+ if isinstance(e, TencentCloudSDKException):
2301
+ raise
2302
+ else:
2303
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2304
+
2305
+
2306
+ def GetTWeCallPkgList(self, request):
2307
+ """查询TWeCall包列表
2308
+
2309
+ :param request: Request instance for GetTWeCallPkgList.
2310
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeCallPkgListRequest`
2311
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeCallPkgListResponse`
2312
+
2313
+ """
2314
+ try:
2315
+ params = request._serialize()
2316
+ headers = request.headers
2317
+ body = self.call("GetTWeCallPkgList", params, headers=headers)
2318
+ response = json.loads(body)
2319
+ model = models.GetTWeCallPkgListResponse()
2320
+ model._deserialize(response["Response"])
2321
+ return model
2322
+ except Exception as e:
2323
+ if isinstance(e, TencentCloudSDKException):
2324
+ raise
2325
+ else:
2326
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2327
+
2328
+
2099
2329
  def GetTopicRuleList(self, request):
2100
2330
  """获取规则列表
2101
2331
 
@@ -2625,6 +2855,29 @@ class IotexplorerClient(AbstractClient):
2625
2855
  raise TencentCloudSDKException(type(e).__name__, str(e))
2626
2856
 
2627
2857
 
2858
+ def RemoveUserByRoomIdFromTRTC(self, request):
2859
+ """TRTC操作,将用户从房间移出
2860
+
2861
+ :param request: Request instance for RemoveUserByRoomIdFromTRTC.
2862
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.RemoveUserByRoomIdFromTRTCRequest`
2863
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.RemoveUserByRoomIdFromTRTCResponse`
2864
+
2865
+ """
2866
+ try:
2867
+ params = request._serialize()
2868
+ headers = request.headers
2869
+ body = self.call("RemoveUserByRoomIdFromTRTC", params, headers=headers)
2870
+ response = json.loads(body)
2871
+ model = models.RemoveUserByRoomIdFromTRTCResponse()
2872
+ model._deserialize(response["Response"])
2873
+ return model
2874
+ except Exception as e:
2875
+ if isinstance(e, TencentCloudSDKException):
2876
+ raise
2877
+ else:
2878
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2879
+
2880
+
2628
2881
  def ResetCloudStorage(self, request):
2629
2882
  """重置云存服务
2630
2883
 
@@ -2809,6 +3062,29 @@ class IotexplorerClient(AbstractClient):
2809
3062
  raise TencentCloudSDKException(type(e).__name__, str(e))
2810
3063
 
2811
3064
 
3065
+ def UpdateDeviceTWeCallAuthorizeStatus(self, request):
3066
+ """更新用户对设备的TweCall授权状态
3067
+
3068
+ :param request: Request instance for UpdateDeviceTWeCallAuthorizeStatus.
3069
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateDeviceTWeCallAuthorizeStatusRequest`
3070
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateDeviceTWeCallAuthorizeStatusResponse`
3071
+
3072
+ """
3073
+ try:
3074
+ params = request._serialize()
3075
+ headers = request.headers
3076
+ body = self.call("UpdateDeviceTWeCallAuthorizeStatus", params, headers=headers)
3077
+ response = json.loads(body)
3078
+ model = models.UpdateDeviceTWeCallAuthorizeStatusResponse()
3079
+ model._deserialize(response["Response"])
3080
+ return model
3081
+ except Exception as e:
3082
+ if isinstance(e, TencentCloudSDKException):
3083
+ raise
3084
+ else:
3085
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3086
+
3087
+
2812
3088
  def UpdateDevicesEnableState(self, request):
2813
3089
  """批量禁用启用设备
2814
3090