tencentcloud-sdk-python-iotexplorer 3.1.127__tar.gz → 3.1.134__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 (17) hide show
  1. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/setup.py +1 -1
  3. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +186 -0
  5. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +146 -0
  6. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/tencentcloud/iotexplorer/v20190423/models.py +2534 -44
  7. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_iotexplorer-3.1.134/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_iotexplorer-3.1.127/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/README.rst +0 -0
  11. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/tencentcloud/iotexplorer/__init__.py +0 -0
  13. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
  14. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_iotexplorer-3.1.127 → tencentcloud_sdk_python_iotexplorer-3.1.134}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-iotexplorer
3
- Version: 3.1.127
3
+ Version: 3.1.134
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.127
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.134
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.127,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.134,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Iotexplorer SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.127'
17
+ __version__ = '3.1.134'
@@ -233,6 +233,31 @@ class IotexplorerClient(AbstractClient):
233
233
  raise TencentCloudSDKException(type(e).__name__, str(e))
234
234
 
235
235
 
236
+ def BindTWeTalkAgent(self, request):
237
+ r"""绑定智能体到产品或设备
238
+ - `BindingScope=product` 时,`DeviceName` 必须为空。
239
+ - `BindingScope=device` 时,`DeviceName` 必填。
240
+
241
+ :param request: Request instance for BindTWeTalkAgent.
242
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.BindTWeTalkAgentRequest`
243
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.BindTWeTalkAgentResponse`
244
+
245
+ """
246
+ try:
247
+ params = request._serialize()
248
+ headers = request.headers
249
+ body = self.call("BindTWeTalkAgent", params, headers=headers)
250
+ response = json.loads(body)
251
+ model = models.BindTWeTalkAgentResponse()
252
+ model._deserialize(response["Response"])
253
+ return model
254
+ except Exception as e:
255
+ if isinstance(e, TencentCloudSDKException):
256
+ raise
257
+ else:
258
+ raise TencentCloudSDKException(type(e).__name__, str(e))
259
+
260
+
236
261
  def CallDeviceActionAsync(self, request):
237
262
  r"""提供给用户异步调用设备行为的能力
238
263
 
@@ -992,6 +1017,29 @@ class IotexplorerClient(AbstractClient):
992
1017
  raise TencentCloudSDKException(type(e).__name__, str(e))
993
1018
 
994
1019
 
1020
+ def CreateTWeTalkAgent(self, request):
1021
+ r"""新增TWeTalk智能体。
1022
+
1023
+ :param request: Request instance for CreateTWeTalkAgent.
1024
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeTalkAgentRequest`
1025
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeTalkAgentResponse`
1026
+
1027
+ """
1028
+ try:
1029
+ params = request._serialize()
1030
+ headers = request.headers
1031
+ body = self.call("CreateTWeTalkAgent", params, headers=headers)
1032
+ response = json.loads(body)
1033
+ model = models.CreateTWeTalkAgentResponse()
1034
+ model._deserialize(response["Response"])
1035
+ return model
1036
+ except Exception as e:
1037
+ if isinstance(e, TencentCloudSDKException):
1038
+ raise
1039
+ else:
1040
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1041
+
1042
+
995
1043
  def CreateTWeTalkProductConfig(self, request):
996
1044
  r"""用于配置TWeTalk服务连接产品配置信息。
997
1045
 
@@ -1406,6 +1454,29 @@ class IotexplorerClient(AbstractClient):
1406
1454
  raise TencentCloudSDKException(type(e).__name__, str(e))
1407
1455
 
1408
1456
 
1457
+ def DeleteTWeTalkAgent(self, request):
1458
+ r"""用于删除TWeTalk智能体
1459
+
1460
+ :param request: Request instance for DeleteTWeTalkAgent.
1461
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteTWeTalkAgentRequest`
1462
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteTWeTalkAgentResponse`
1463
+
1464
+ """
1465
+ try:
1466
+ params = request._serialize()
1467
+ headers = request.headers
1468
+ body = self.call("DeleteTWeTalkAgent", params, headers=headers)
1469
+ response = json.loads(body)
1470
+ model = models.DeleteTWeTalkAgentResponse()
1471
+ model._deserialize(response["Response"])
1472
+ return model
1473
+ except Exception as e:
1474
+ if isinstance(e, TencentCloudSDKException):
1475
+ raise
1476
+ else:
1477
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1478
+
1479
+
1409
1480
  def DeleteTWeTalkProductConfigV2(self, request):
1410
1481
  r"""用于删除配置TWeTalk服务连接产品配置信息。
1411
1482
 
@@ -2947,6 +3018,75 @@ class IotexplorerClient(AbstractClient):
2947
3018
  raise TencentCloudSDKException(type(e).__name__, str(e))
2948
3019
 
2949
3020
 
3021
+ def DescribeTWeTalkAgent(self, request):
3022
+ r"""用户查询TWeTalk智能体详情
3023
+
3024
+ :param request: Request instance for DescribeTWeTalkAgent.
3025
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeTalkAgentRequest`
3026
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeTalkAgentResponse`
3027
+
3028
+ """
3029
+ try:
3030
+ params = request._serialize()
3031
+ headers = request.headers
3032
+ body = self.call("DescribeTWeTalkAgent", params, headers=headers)
3033
+ response = json.loads(body)
3034
+ model = models.DescribeTWeTalkAgentResponse()
3035
+ model._deserialize(response["Response"])
3036
+ return model
3037
+ except Exception as e:
3038
+ if isinstance(e, TencentCloudSDKException):
3039
+ raise
3040
+ else:
3041
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3042
+
3043
+
3044
+ def DescribeTWeTalkAgentBinding(self, request):
3045
+ r"""查询智能体绑定关系
3046
+
3047
+ :param request: Request instance for DescribeTWeTalkAgentBinding.
3048
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeTalkAgentBindingRequest`
3049
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeTalkAgentBindingResponse`
3050
+
3051
+ """
3052
+ try:
3053
+ params = request._serialize()
3054
+ headers = request.headers
3055
+ body = self.call("DescribeTWeTalkAgentBinding", params, headers=headers)
3056
+ response = json.loads(body)
3057
+ model = models.DescribeTWeTalkAgentBindingResponse()
3058
+ model._deserialize(response["Response"])
3059
+ return model
3060
+ except Exception as e:
3061
+ if isinstance(e, TencentCloudSDKException):
3062
+ raise
3063
+ else:
3064
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3065
+
3066
+
3067
+ def DescribeTWeTalkAgentList(self, request):
3068
+ r"""分页查询智能体列表
3069
+
3070
+ :param request: Request instance for DescribeTWeTalkAgentList.
3071
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeTalkAgentListRequest`
3072
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeTalkAgentListResponse`
3073
+
3074
+ """
3075
+ try:
3076
+ params = request._serialize()
3077
+ headers = request.headers
3078
+ body = self.call("DescribeTWeTalkAgentList", params, headers=headers)
3079
+ response = json.loads(body)
3080
+ model = models.DescribeTWeTalkAgentListResponse()
3081
+ model._deserialize(response["Response"])
3082
+ return model
3083
+ except Exception as e:
3084
+ if isinstance(e, TencentCloudSDKException):
3085
+ raise
3086
+ else:
3087
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3088
+
3089
+
2950
3090
  def DescribeTWeTalkProductConfig(self, request):
2951
3091
  r"""用于获取TWeTalk服务连接产品配置信息。
2952
3092
 
@@ -4559,6 +4699,29 @@ class IotexplorerClient(AbstractClient):
4559
4699
  raise TencentCloudSDKException(type(e).__name__, str(e))
4560
4700
 
4561
4701
 
4702
+ def ModifyTWeTalkAgent(self, request):
4703
+ r"""修改TWeTalk智能体
4704
+
4705
+ :param request: Request instance for ModifyTWeTalkAgent.
4706
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyTWeTalkAgentRequest`
4707
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyTWeTalkAgentResponse`
4708
+
4709
+ """
4710
+ try:
4711
+ params = request._serialize()
4712
+ headers = request.headers
4713
+ body = self.call("ModifyTWeTalkAgent", params, headers=headers)
4714
+ response = json.loads(body)
4715
+ model = models.ModifyTWeTalkAgentResponse()
4716
+ model._deserialize(response["Response"])
4717
+ return model
4718
+ except Exception as e:
4719
+ if isinstance(e, TencentCloudSDKException):
4720
+ raise
4721
+ else:
4722
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4723
+
4724
+
4562
4725
  def ModifyTWeTalkProductConfig(self, request):
4563
4726
  r"""用于修改TWeTalk服务连接产品配置信息。
4564
4727
 
@@ -5161,6 +5324,29 @@ class IotexplorerClient(AbstractClient):
5161
5324
  raise TencentCloudSDKException(type(e).__name__, str(e))
5162
5325
 
5163
5326
 
5327
+ def UnbindTWeTalkAgent(self, request):
5328
+ r"""解绑产品或设备上的智能体
5329
+
5330
+ :param request: Request instance for UnbindTWeTalkAgent.
5331
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.UnbindTWeTalkAgentRequest`
5332
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.UnbindTWeTalkAgentResponse`
5333
+
5334
+ """
5335
+ try:
5336
+ params = request._serialize()
5337
+ headers = request.headers
5338
+ body = self.call("UnbindTWeTalkAgent", params, headers=headers)
5339
+ response = json.loads(body)
5340
+ model = models.UnbindTWeTalkAgentResponse()
5341
+ model._deserialize(response["Response"])
5342
+ return model
5343
+ except Exception as e:
5344
+ if isinstance(e, TencentCloudSDKException):
5345
+ raise
5346
+ else:
5347
+ raise TencentCloudSDKException(type(e).__name__, str(e))
5348
+
5349
+
5164
5350
  def UpdateDeviceTWeCallAuthorizeStatus(self, request):
5165
5351
  r"""更新用户对设备的TweCall授权状态
5166
5352
 
@@ -187,6 +187,26 @@ class IotexplorerClient(AbstractClient):
187
187
 
188
188
  return await self.call_and_deserialize(**kwargs)
189
189
 
190
+ async def BindTWeTalkAgent(
191
+ self,
192
+ request: models.BindTWeTalkAgentRequest,
193
+ opts: Dict = None,
194
+ ) -> models.BindTWeTalkAgentResponse:
195
+ """
196
+ 绑定智能体到产品或设备
197
+ - `BindingScope=product` 时,`DeviceName` 必须为空。
198
+ - `BindingScope=device` 时,`DeviceName` 必填。
199
+ """
200
+
201
+ kwargs = {}
202
+ kwargs["action"] = "BindTWeTalkAgent"
203
+ kwargs["params"] = request._serialize()
204
+ kwargs["resp_cls"] = models.BindTWeTalkAgentResponse
205
+ kwargs["headers"] = request.headers
206
+ kwargs["opts"] = opts or {}
207
+
208
+ return await self.call_and_deserialize(**kwargs)
209
+
190
210
  async def CallDeviceActionAsync(
191
211
  self,
192
212
  request: models.CallDeviceActionAsyncRequest,
@@ -781,6 +801,24 @@ class IotexplorerClient(AbstractClient):
781
801
 
782
802
  return await self.call_and_deserialize(**kwargs)
783
803
 
804
+ async def CreateTWeTalkAgent(
805
+ self,
806
+ request: models.CreateTWeTalkAgentRequest,
807
+ opts: Dict = None,
808
+ ) -> models.CreateTWeTalkAgentResponse:
809
+ """
810
+ 新增TWeTalk智能体。
811
+ """
812
+
813
+ kwargs = {}
814
+ kwargs["action"] = "CreateTWeTalkAgent"
815
+ kwargs["params"] = request._serialize()
816
+ kwargs["resp_cls"] = models.CreateTWeTalkAgentResponse
817
+ kwargs["headers"] = request.headers
818
+ kwargs["opts"] = opts or {}
819
+
820
+ return await self.call_and_deserialize(**kwargs)
821
+
784
822
  async def CreateTWeTalkProductConfig(
785
823
  self,
786
824
  request: models.CreateTWeTalkProductConfigRequest,
@@ -1105,6 +1143,24 @@ class IotexplorerClient(AbstractClient):
1105
1143
 
1106
1144
  return await self.call_and_deserialize(**kwargs)
1107
1145
 
1146
+ async def DeleteTWeTalkAgent(
1147
+ self,
1148
+ request: models.DeleteTWeTalkAgentRequest,
1149
+ opts: Dict = None,
1150
+ ) -> models.DeleteTWeTalkAgentResponse:
1151
+ """
1152
+ 用于删除TWeTalk智能体
1153
+ """
1154
+
1155
+ kwargs = {}
1156
+ kwargs["action"] = "DeleteTWeTalkAgent"
1157
+ kwargs["params"] = request._serialize()
1158
+ kwargs["resp_cls"] = models.DeleteTWeTalkAgentResponse
1159
+ kwargs["headers"] = request.headers
1160
+ kwargs["opts"] = opts or {}
1161
+
1162
+ return await self.call_and_deserialize(**kwargs)
1163
+
1108
1164
  async def DeleteTWeTalkProductConfigV2(
1109
1165
  self,
1110
1166
  request: models.DeleteTWeTalkProductConfigV2Request,
@@ -2311,6 +2367,60 @@ class IotexplorerClient(AbstractClient):
2311
2367
 
2312
2368
  return await self.call_and_deserialize(**kwargs)
2313
2369
 
2370
+ async def DescribeTWeTalkAgent(
2371
+ self,
2372
+ request: models.DescribeTWeTalkAgentRequest,
2373
+ opts: Dict = None,
2374
+ ) -> models.DescribeTWeTalkAgentResponse:
2375
+ """
2376
+ 用户查询TWeTalk智能体详情
2377
+ """
2378
+
2379
+ kwargs = {}
2380
+ kwargs["action"] = "DescribeTWeTalkAgent"
2381
+ kwargs["params"] = request._serialize()
2382
+ kwargs["resp_cls"] = models.DescribeTWeTalkAgentResponse
2383
+ kwargs["headers"] = request.headers
2384
+ kwargs["opts"] = opts or {}
2385
+
2386
+ return await self.call_and_deserialize(**kwargs)
2387
+
2388
+ async def DescribeTWeTalkAgentBinding(
2389
+ self,
2390
+ request: models.DescribeTWeTalkAgentBindingRequest,
2391
+ opts: Dict = None,
2392
+ ) -> models.DescribeTWeTalkAgentBindingResponse:
2393
+ """
2394
+ 查询智能体绑定关系
2395
+ """
2396
+
2397
+ kwargs = {}
2398
+ kwargs["action"] = "DescribeTWeTalkAgentBinding"
2399
+ kwargs["params"] = request._serialize()
2400
+ kwargs["resp_cls"] = models.DescribeTWeTalkAgentBindingResponse
2401
+ kwargs["headers"] = request.headers
2402
+ kwargs["opts"] = opts or {}
2403
+
2404
+ return await self.call_and_deserialize(**kwargs)
2405
+
2406
+ async def DescribeTWeTalkAgentList(
2407
+ self,
2408
+ request: models.DescribeTWeTalkAgentListRequest,
2409
+ opts: Dict = None,
2410
+ ) -> models.DescribeTWeTalkAgentListResponse:
2411
+ """
2412
+ 分页查询智能体列表
2413
+ """
2414
+
2415
+ kwargs = {}
2416
+ kwargs["action"] = "DescribeTWeTalkAgentList"
2417
+ kwargs["params"] = request._serialize()
2418
+ kwargs["resp_cls"] = models.DescribeTWeTalkAgentListResponse
2419
+ kwargs["headers"] = request.headers
2420
+ kwargs["opts"] = opts or {}
2421
+
2422
+ return await self.call_and_deserialize(**kwargs)
2423
+
2314
2424
  async def DescribeTWeTalkProductConfig(
2315
2425
  self,
2316
2426
  request: models.DescribeTWeTalkProductConfigRequest,
@@ -3573,6 +3683,24 @@ class IotexplorerClient(AbstractClient):
3573
3683
 
3574
3684
  return await self.call_and_deserialize(**kwargs)
3575
3685
 
3686
+ async def ModifyTWeTalkAgent(
3687
+ self,
3688
+ request: models.ModifyTWeTalkAgentRequest,
3689
+ opts: Dict = None,
3690
+ ) -> models.ModifyTWeTalkAgentResponse:
3691
+ """
3692
+ 修改TWeTalk智能体
3693
+ """
3694
+
3695
+ kwargs = {}
3696
+ kwargs["action"] = "ModifyTWeTalkAgent"
3697
+ kwargs["params"] = request._serialize()
3698
+ kwargs["resp_cls"] = models.ModifyTWeTalkAgentResponse
3699
+ kwargs["headers"] = request.headers
3700
+ kwargs["opts"] = opts or {}
3701
+
3702
+ return await self.call_and_deserialize(**kwargs)
3703
+
3576
3704
  async def ModifyTWeTalkProductConfig(
3577
3705
  self,
3578
3706
  request: models.ModifyTWeTalkProductConfigRequest,
@@ -4045,6 +4173,24 @@ class IotexplorerClient(AbstractClient):
4045
4173
 
4046
4174
  return await self.call_and_deserialize(**kwargs)
4047
4175
 
4176
+ async def UnbindTWeTalkAgent(
4177
+ self,
4178
+ request: models.UnbindTWeTalkAgentRequest,
4179
+ opts: Dict = None,
4180
+ ) -> models.UnbindTWeTalkAgentResponse:
4181
+ """
4182
+ 解绑产品或设备上的智能体
4183
+ """
4184
+
4185
+ kwargs = {}
4186
+ kwargs["action"] = "UnbindTWeTalkAgent"
4187
+ kwargs["params"] = request._serialize()
4188
+ kwargs["resp_cls"] = models.UnbindTWeTalkAgentResponse
4189
+ kwargs["headers"] = request.headers
4190
+ kwargs["opts"] = opts or {}
4191
+
4192
+ return await self.call_and_deserialize(**kwargs)
4193
+
4048
4194
  async def UpdateDeviceTWeCallAuthorizeStatus(
4049
4195
  self,
4050
4196
  request: models.UpdateDeviceTWeCallAuthorizeStatusRequest,