tencentcloud-sdk-python-iotexplorer 3.0.1283__py2.py3-none-any.whl → 3.0.1289__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +29 -2
- tencentcloud/iotexplorer/v20190423/models.py +220 -0
- {tencentcloud_sdk_python_iotexplorer-3.0.1283.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.1289.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_iotexplorer-3.0.1289.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_iotexplorer-3.0.1283.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_iotexplorer-3.0.1283.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.1289.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.0.1283.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.1289.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -304,6 +304,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
304
304
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
305
305
|
|
|
306
306
|
|
|
307
|
+
def CreateCloudStorageAIServiceTask(self, request):
|
|
308
|
+
"""创建设备云存 AI 分析任务
|
|
309
|
+
|
|
310
|
+
:param request: Request instance for CreateCloudStorageAIServiceTask.
|
|
311
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceTaskRequest`
|
|
312
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceTaskResponse`
|
|
313
|
+
|
|
314
|
+
"""
|
|
315
|
+
try:
|
|
316
|
+
params = request._serialize()
|
|
317
|
+
headers = request.headers
|
|
318
|
+
body = self.call("CreateCloudStorageAIServiceTask", params, headers=headers)
|
|
319
|
+
response = json.loads(body)
|
|
320
|
+
model = models.CreateCloudStorageAIServiceTaskResponse()
|
|
321
|
+
model._deserialize(response["Response"])
|
|
322
|
+
return model
|
|
323
|
+
except Exception as e:
|
|
324
|
+
if isinstance(e, TencentCloudSDKException):
|
|
325
|
+
raise
|
|
326
|
+
else:
|
|
327
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
328
|
+
|
|
329
|
+
|
|
307
330
|
def CreateDevice(self, request):
|
|
308
331
|
"""创建设备
|
|
309
332
|
|
|
@@ -2998,7 +3021,9 @@ class IotexplorerClient(AbstractClient):
|
|
|
2998
3021
|
|
|
2999
3022
|
|
|
3000
3023
|
def PublishBroadcastMessage(self, request):
|
|
3001
|
-
"""
|
|
3024
|
+
"""发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。
|
|
3025
|
+
|
|
3026
|
+
发布广播消息
|
|
3002
3027
|
|
|
3003
3028
|
:param request: Request instance for PublishBroadcastMessage.
|
|
3004
3029
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.PublishBroadcastMessageRequest`
|
|
@@ -3067,7 +3092,9 @@ class IotexplorerClient(AbstractClient):
|
|
|
3067
3092
|
|
|
3068
3093
|
|
|
3069
3094
|
def PublishRRPCMessage(self, request):
|
|
3070
|
-
"""
|
|
3095
|
+
"""发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。
|
|
3096
|
+
|
|
3097
|
+
下发RRPC消息
|
|
3071
3098
|
|
|
3072
3099
|
:param request: Request instance for PublishRRPCMessage.
|
|
3073
3100
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.PublishRRPCMessageRequest`
|
|
@@ -2722,6 +2722,226 @@ class CreateCloudStorageAIServiceResponse(AbstractModel):
|
|
|
2722
2722
|
self._RequestId = params.get("RequestId")
|
|
2723
2723
|
|
|
2724
2724
|
|
|
2725
|
+
class CreateCloudStorageAIServiceTaskRequest(AbstractModel):
|
|
2726
|
+
"""CreateCloudStorageAIServiceTask请求参数结构体
|
|
2727
|
+
|
|
2728
|
+
"""
|
|
2729
|
+
|
|
2730
|
+
def __init__(self):
|
|
2731
|
+
r"""
|
|
2732
|
+
:param _ProductId: 产品 ID
|
|
2733
|
+
:type ProductId: str
|
|
2734
|
+
:param _DeviceName: 设备名称
|
|
2735
|
+
:type DeviceName: str
|
|
2736
|
+
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
2737
|
+
- `RealtimeObjectDetect`:目标检测
|
|
2738
|
+
- `Highlight`:视频浓缩
|
|
2739
|
+
- `VideoToText`:视频语义理解
|
|
2740
|
+
:type ServiceType: str
|
|
2741
|
+
:param _StartTime: 待分析云存的起始时间
|
|
2742
|
+
:type StartTime: int
|
|
2743
|
+
:param _EndTime: 待分析云存的结束时间
|
|
2744
|
+
:type EndTime: int
|
|
2745
|
+
:param _ChannelId: 通道 ID
|
|
2746
|
+
:type ChannelId: int
|
|
2747
|
+
:param _Config: 视频分析配置参数
|
|
2748
|
+
:type Config: str
|
|
2749
|
+
:param _ROI: 视频分析识别区域
|
|
2750
|
+
:type ROI: str
|
|
2751
|
+
:param _VideoURLs: 分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)
|
|
2752
|
+
:type VideoURLs: list of str
|
|
2753
|
+
:param _CustomId: 自定义任务 ID
|
|
2754
|
+
:type CustomId: str
|
|
2755
|
+
"""
|
|
2756
|
+
self._ProductId = None
|
|
2757
|
+
self._DeviceName = None
|
|
2758
|
+
self._ServiceType = None
|
|
2759
|
+
self._StartTime = None
|
|
2760
|
+
self._EndTime = None
|
|
2761
|
+
self._ChannelId = None
|
|
2762
|
+
self._Config = None
|
|
2763
|
+
self._ROI = None
|
|
2764
|
+
self._VideoURLs = None
|
|
2765
|
+
self._CustomId = None
|
|
2766
|
+
|
|
2767
|
+
@property
|
|
2768
|
+
def ProductId(self):
|
|
2769
|
+
"""产品 ID
|
|
2770
|
+
:rtype: str
|
|
2771
|
+
"""
|
|
2772
|
+
return self._ProductId
|
|
2773
|
+
|
|
2774
|
+
@ProductId.setter
|
|
2775
|
+
def ProductId(self, ProductId):
|
|
2776
|
+
self._ProductId = ProductId
|
|
2777
|
+
|
|
2778
|
+
@property
|
|
2779
|
+
def DeviceName(self):
|
|
2780
|
+
"""设备名称
|
|
2781
|
+
:rtype: str
|
|
2782
|
+
"""
|
|
2783
|
+
return self._DeviceName
|
|
2784
|
+
|
|
2785
|
+
@DeviceName.setter
|
|
2786
|
+
def DeviceName(self, DeviceName):
|
|
2787
|
+
self._DeviceName = DeviceName
|
|
2788
|
+
|
|
2789
|
+
@property
|
|
2790
|
+
def ServiceType(self):
|
|
2791
|
+
"""云存 AI 服务类型。可选值:
|
|
2792
|
+
- `RealtimeObjectDetect`:目标检测
|
|
2793
|
+
- `Highlight`:视频浓缩
|
|
2794
|
+
- `VideoToText`:视频语义理解
|
|
2795
|
+
:rtype: str
|
|
2796
|
+
"""
|
|
2797
|
+
return self._ServiceType
|
|
2798
|
+
|
|
2799
|
+
@ServiceType.setter
|
|
2800
|
+
def ServiceType(self, ServiceType):
|
|
2801
|
+
self._ServiceType = ServiceType
|
|
2802
|
+
|
|
2803
|
+
@property
|
|
2804
|
+
def StartTime(self):
|
|
2805
|
+
"""待分析云存的起始时间
|
|
2806
|
+
:rtype: int
|
|
2807
|
+
"""
|
|
2808
|
+
return self._StartTime
|
|
2809
|
+
|
|
2810
|
+
@StartTime.setter
|
|
2811
|
+
def StartTime(self, StartTime):
|
|
2812
|
+
self._StartTime = StartTime
|
|
2813
|
+
|
|
2814
|
+
@property
|
|
2815
|
+
def EndTime(self):
|
|
2816
|
+
"""待分析云存的结束时间
|
|
2817
|
+
:rtype: int
|
|
2818
|
+
"""
|
|
2819
|
+
return self._EndTime
|
|
2820
|
+
|
|
2821
|
+
@EndTime.setter
|
|
2822
|
+
def EndTime(self, EndTime):
|
|
2823
|
+
self._EndTime = EndTime
|
|
2824
|
+
|
|
2825
|
+
@property
|
|
2826
|
+
def ChannelId(self):
|
|
2827
|
+
"""通道 ID
|
|
2828
|
+
:rtype: int
|
|
2829
|
+
"""
|
|
2830
|
+
return self._ChannelId
|
|
2831
|
+
|
|
2832
|
+
@ChannelId.setter
|
|
2833
|
+
def ChannelId(self, ChannelId):
|
|
2834
|
+
self._ChannelId = ChannelId
|
|
2835
|
+
|
|
2836
|
+
@property
|
|
2837
|
+
def Config(self):
|
|
2838
|
+
"""视频分析配置参数
|
|
2839
|
+
:rtype: str
|
|
2840
|
+
"""
|
|
2841
|
+
return self._Config
|
|
2842
|
+
|
|
2843
|
+
@Config.setter
|
|
2844
|
+
def Config(self, Config):
|
|
2845
|
+
self._Config = Config
|
|
2846
|
+
|
|
2847
|
+
@property
|
|
2848
|
+
def ROI(self):
|
|
2849
|
+
"""视频分析识别区域
|
|
2850
|
+
:rtype: str
|
|
2851
|
+
"""
|
|
2852
|
+
return self._ROI
|
|
2853
|
+
|
|
2854
|
+
@ROI.setter
|
|
2855
|
+
def ROI(self, ROI):
|
|
2856
|
+
self._ROI = ROI
|
|
2857
|
+
|
|
2858
|
+
@property
|
|
2859
|
+
def VideoURLs(self):
|
|
2860
|
+
"""分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)
|
|
2861
|
+
:rtype: list of str
|
|
2862
|
+
"""
|
|
2863
|
+
return self._VideoURLs
|
|
2864
|
+
|
|
2865
|
+
@VideoURLs.setter
|
|
2866
|
+
def VideoURLs(self, VideoURLs):
|
|
2867
|
+
self._VideoURLs = VideoURLs
|
|
2868
|
+
|
|
2869
|
+
@property
|
|
2870
|
+
def CustomId(self):
|
|
2871
|
+
"""自定义任务 ID
|
|
2872
|
+
:rtype: str
|
|
2873
|
+
"""
|
|
2874
|
+
return self._CustomId
|
|
2875
|
+
|
|
2876
|
+
@CustomId.setter
|
|
2877
|
+
def CustomId(self, CustomId):
|
|
2878
|
+
self._CustomId = CustomId
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
def _deserialize(self, params):
|
|
2882
|
+
self._ProductId = params.get("ProductId")
|
|
2883
|
+
self._DeviceName = params.get("DeviceName")
|
|
2884
|
+
self._ServiceType = params.get("ServiceType")
|
|
2885
|
+
self._StartTime = params.get("StartTime")
|
|
2886
|
+
self._EndTime = params.get("EndTime")
|
|
2887
|
+
self._ChannelId = params.get("ChannelId")
|
|
2888
|
+
self._Config = params.get("Config")
|
|
2889
|
+
self._ROI = params.get("ROI")
|
|
2890
|
+
self._VideoURLs = params.get("VideoURLs")
|
|
2891
|
+
self._CustomId = params.get("CustomId")
|
|
2892
|
+
memeber_set = set(params.keys())
|
|
2893
|
+
for name, value in vars(self).items():
|
|
2894
|
+
property_name = name[1:]
|
|
2895
|
+
if property_name in memeber_set:
|
|
2896
|
+
memeber_set.remove(property_name)
|
|
2897
|
+
if len(memeber_set) > 0:
|
|
2898
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2899
|
+
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
class CreateCloudStorageAIServiceTaskResponse(AbstractModel):
|
|
2903
|
+
"""CreateCloudStorageAIServiceTask返回参数结构体
|
|
2904
|
+
|
|
2905
|
+
"""
|
|
2906
|
+
|
|
2907
|
+
def __init__(self):
|
|
2908
|
+
r"""
|
|
2909
|
+
:param _TaskId: 任务 ID
|
|
2910
|
+
:type TaskId: str
|
|
2911
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2912
|
+
:type RequestId: str
|
|
2913
|
+
"""
|
|
2914
|
+
self._TaskId = None
|
|
2915
|
+
self._RequestId = None
|
|
2916
|
+
|
|
2917
|
+
@property
|
|
2918
|
+
def TaskId(self):
|
|
2919
|
+
"""任务 ID
|
|
2920
|
+
:rtype: str
|
|
2921
|
+
"""
|
|
2922
|
+
return self._TaskId
|
|
2923
|
+
|
|
2924
|
+
@TaskId.setter
|
|
2925
|
+
def TaskId(self, TaskId):
|
|
2926
|
+
self._TaskId = TaskId
|
|
2927
|
+
|
|
2928
|
+
@property
|
|
2929
|
+
def RequestId(self):
|
|
2930
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2931
|
+
:rtype: str
|
|
2932
|
+
"""
|
|
2933
|
+
return self._RequestId
|
|
2934
|
+
|
|
2935
|
+
@RequestId.setter
|
|
2936
|
+
def RequestId(self, RequestId):
|
|
2937
|
+
self._RequestId = RequestId
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
def _deserialize(self, params):
|
|
2941
|
+
self._TaskId = params.get("TaskId")
|
|
2942
|
+
self._RequestId = params.get("RequestId")
|
|
2943
|
+
|
|
2944
|
+
|
|
2725
2945
|
class CreateDeviceChannelRequest(AbstractModel):
|
|
2726
2946
|
"""CreateDeviceChannel请求参数结构体
|
|
2727
2947
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1289
|
|
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 (==3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1289)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=vgappoHY6kki3cH6ZfDtHAO4s_2wuabMzZdPtaLicu8,631
|
|
2
|
+
tencentcloud/iotexplorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/iotexplorer/v20190423/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/iotexplorer/v20190423/errorcodes.py,sha256=5ngBLiqBqH9-cLKp8t3oSSc0eosxdjP6gJxyupQZKtA,23452
|
|
5
|
+
tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=0xAQ_nvXUkpKc0hUV9xCUxor3-lXjLGS1DTLV5W7mCo,140044
|
|
6
|
+
tencentcloud/iotexplorer/v20190423/models.py,sha256=oVO5o4luknELodkomH1iR4SziAH_VkxNpnXeNPhvfEg,755807
|
|
7
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1289.dist-info/METADATA,sha256=_eJLNdiP2W6YDgI6sbHgm7MCnp2ZaKaq0hU-4A1E3L0,1536
|
|
8
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1289.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1289.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1289.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=yAtQqteELndhRqGXUob0TKJDXc4t9USMiZ09j-97MMc,631
|
|
2
|
-
tencentcloud/iotexplorer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/iotexplorer/v20190423/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/iotexplorer/v20190423/errorcodes.py,sha256=5ngBLiqBqH9-cLKp8t3oSSc0eosxdjP6gJxyupQZKtA,23452
|
|
5
|
-
tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=Xvpnrk-uWqbvav766AZecpyRoFxgJrtWpC2shbHeS68,138827
|
|
6
|
-
tencentcloud/iotexplorer/v20190423/models.py,sha256=itT7q4iahLjDFYKRz1saRij_n9X7LAnrCIk5HLyt9-I,749736
|
|
7
|
-
tencentcloud_sdk_python_iotexplorer-3.0.1283.dist-info/METADATA,sha256=uMHdt-_x42lpl4RLEflZgXI5dVpkX-PASIpwSyR2zwA,1536
|
|
8
|
-
tencentcloud_sdk_python_iotexplorer-3.0.1283.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_iotexplorer-3.0.1283.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_iotexplorer-3.0.1283.dist-info/RECORD,,
|
|
File without changes
|