tencentcloud-sdk-python-iotexplorer 3.0.1206__py2.py3-none-any.whl → 3.0.1255__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/errorcodes.py +6 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +356 -6
- {tencentcloud_sdk_python_iotexplorer-3.0.1206.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.1255.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_iotexplorer-3.0.1255.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_iotexplorer-3.0.1206.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_iotexplorer-3.0.1206.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.1255.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.0.1206.dist-info → tencentcloud_sdk_python_iotexplorer-3.0.1255.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -32,6 +32,9 @@ FAILEDOPERATION_CLOUDSTORAGEAIPACKAGEEXPIRETIMEEXCEEDED = 'FailedOperation.Cloud
|
|
|
32
32
|
# 产品未开通视频AI分析服务
|
|
33
33
|
FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = 'FailedOperation.CloudStorageAIServiceNotEnabled'
|
|
34
34
|
|
|
35
|
+
# 云存 AI 分析任务已存在,不支持重复创建
|
|
36
|
+
FAILEDOPERATION_CLOUDSTORAGEAISERVICETASKALREADYEXISTS = 'FailedOperation.CloudStorageAIServiceTaskAlreadyExists'
|
|
37
|
+
|
|
35
38
|
# 需先开通云存套餐
|
|
36
39
|
FAILEDOPERATION_CLOUDSTORAGEPACKAGEREQUIRED = 'FailedOperation.CloudStoragePackageRequired'
|
|
37
40
|
|
|
@@ -356,6 +359,9 @@ RESOURCEINSUFFICIENT = 'ResourceInsufficient'
|
|
|
356
359
|
# 已有量产进行,请等待量产完成。
|
|
357
360
|
RESOURCEINSUFFICIENT_BATCHPRODUCTIONISRUNNING = 'ResourceInsufficient.BatchProductionIsRunning'
|
|
358
361
|
|
|
362
|
+
# 云存 AI 分析任务创建额度不足
|
|
363
|
+
RESOURCEINSUFFICIENT_CLOUDSTORAGEAISERVICETASKQUOTAINSUFFICIENT = 'ResourceInsufficient.CloudStorageAIServiceTaskQuotaInsufficient'
|
|
364
|
+
|
|
359
365
|
# 资源不存在。
|
|
360
366
|
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
361
367
|
|
|
@@ -325,6 +325,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
325
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
326
326
|
|
|
327
327
|
|
|
328
|
+
def CreateExternalSourceAIServiceTask(self, request):
|
|
329
|
+
"""创建外部视频 AI 分析任务
|
|
330
|
+
|
|
331
|
+
:param request: Request instance for CreateExternalSourceAIServiceTask.
|
|
332
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateExternalSourceAIServiceTaskRequest`
|
|
333
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateExternalSourceAIServiceTaskResponse`
|
|
334
|
+
|
|
335
|
+
"""
|
|
336
|
+
try:
|
|
337
|
+
params = request._serialize()
|
|
338
|
+
headers = request.headers
|
|
339
|
+
body = self.call("CreateExternalSourceAIServiceTask", params, headers=headers)
|
|
340
|
+
response = json.loads(body)
|
|
341
|
+
model = models.CreateExternalSourceAIServiceTaskResponse()
|
|
342
|
+
model._deserialize(response["Response"])
|
|
343
|
+
return model
|
|
344
|
+
except Exception as e:
|
|
345
|
+
if isinstance(e, TencentCloudSDKException):
|
|
346
|
+
raise
|
|
347
|
+
else:
|
|
348
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
|
+
|
|
350
|
+
|
|
328
351
|
def CreateFenceBind(self, request):
|
|
329
352
|
"""创建围栏绑定信息
|
|
330
353
|
|
|
@@ -2487,6 +2510,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2487
2510
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2488
2511
|
|
|
2489
2512
|
|
|
2513
|
+
def InvokeExternalSourceAIServiceTask(self, request):
|
|
2514
|
+
"""创建外部视频 AI 分析任务
|
|
2515
|
+
|
|
2516
|
+
:param request: Request instance for InvokeExternalSourceAIServiceTask.
|
|
2517
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.InvokeExternalSourceAIServiceTaskRequest`
|
|
2518
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.InvokeExternalSourceAIServiceTaskResponse`
|
|
2519
|
+
|
|
2520
|
+
"""
|
|
2521
|
+
try:
|
|
2522
|
+
params = request._serialize()
|
|
2523
|
+
headers = request.headers
|
|
2524
|
+
body = self.call("InvokeExternalSourceAIServiceTask", params, headers=headers)
|
|
2525
|
+
response = json.loads(body)
|
|
2526
|
+
model = models.InvokeExternalSourceAIServiceTaskResponse()
|
|
2527
|
+
model._deserialize(response["Response"])
|
|
2528
|
+
return model
|
|
2529
|
+
except Exception as e:
|
|
2530
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2531
|
+
raise
|
|
2532
|
+
else:
|
|
2533
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2534
|
+
|
|
2535
|
+
|
|
2490
2536
|
def ListEventHistory(self, request):
|
|
2491
2537
|
"""获取设备的历史事件
|
|
2492
2538
|
|
|
@@ -90,10 +90,18 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
|
|
|
90
90
|
:param _DeviceList: 设备激活返回数据
|
|
91
91
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
92
92
|
:type DeviceList: list of DeviceActiveResult
|
|
93
|
+
:param _FailureList: 设备激活失败返回数据
|
|
94
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
95
|
+
:type FailureList: list of DeviceActiveResult
|
|
96
|
+
:param _SuccessList: 设备激活成功返回数据
|
|
97
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
98
|
+
:type SuccessList: list of DeviceActiveResult
|
|
93
99
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
94
100
|
:type RequestId: str
|
|
95
101
|
"""
|
|
96
102
|
self._DeviceList = None
|
|
103
|
+
self._FailureList = None
|
|
104
|
+
self._SuccessList = None
|
|
97
105
|
self._RequestId = None
|
|
98
106
|
|
|
99
107
|
@property
|
|
@@ -104,6 +112,22 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
|
|
|
104
112
|
def DeviceList(self, DeviceList):
|
|
105
113
|
self._DeviceList = DeviceList
|
|
106
114
|
|
|
115
|
+
@property
|
|
116
|
+
def FailureList(self):
|
|
117
|
+
return self._FailureList
|
|
118
|
+
|
|
119
|
+
@FailureList.setter
|
|
120
|
+
def FailureList(self, FailureList):
|
|
121
|
+
self._FailureList = FailureList
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def SuccessList(self):
|
|
125
|
+
return self._SuccessList
|
|
126
|
+
|
|
127
|
+
@SuccessList.setter
|
|
128
|
+
def SuccessList(self, SuccessList):
|
|
129
|
+
self._SuccessList = SuccessList
|
|
130
|
+
|
|
107
131
|
@property
|
|
108
132
|
def RequestId(self):
|
|
109
133
|
return self._RequestId
|
|
@@ -120,6 +144,18 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
|
|
|
120
144
|
obj = DeviceActiveResult()
|
|
121
145
|
obj._deserialize(item)
|
|
122
146
|
self._DeviceList.append(obj)
|
|
147
|
+
if params.get("FailureList") is not None:
|
|
148
|
+
self._FailureList = []
|
|
149
|
+
for item in params.get("FailureList"):
|
|
150
|
+
obj = DeviceActiveResult()
|
|
151
|
+
obj._deserialize(item)
|
|
152
|
+
self._FailureList.append(obj)
|
|
153
|
+
if params.get("SuccessList") is not None:
|
|
154
|
+
self._SuccessList = []
|
|
155
|
+
for item in params.get("SuccessList"):
|
|
156
|
+
obj = DeviceActiveResult()
|
|
157
|
+
obj._deserialize(item)
|
|
158
|
+
self._SuccessList.append(obj)
|
|
123
159
|
self._RequestId = params.get("RequestId")
|
|
124
160
|
|
|
125
161
|
|
|
@@ -275,7 +311,7 @@ class AssignTWeCallLicenseRequest(AbstractModel):
|
|
|
275
311
|
:type PkgType: int
|
|
276
312
|
:param _MiniProgramAppId: appId
|
|
277
313
|
:type MiniProgramAppId: str
|
|
278
|
-
:param _DeductNum: License
|
|
314
|
+
:param _DeductNum: License数,只支持50,500,1000,5000,10000,20000,50000
|
|
279
315
|
:type DeductNum: int
|
|
280
316
|
"""
|
|
281
317
|
self._PkgType = None
|
|
@@ -1420,7 +1456,7 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
|
1420
1456
|
:type ChannelId: int
|
|
1421
1457
|
:param _ServiceType: 云存 AI 服务类型。可能取值:
|
|
1422
1458
|
|
|
1423
|
-
- `
|
|
1459
|
+
- `RealtimeObjectDetect`:目标检测
|
|
1424
1460
|
- `Highlight`:视频浓缩
|
|
1425
1461
|
:type ServiceType: str
|
|
1426
1462
|
:param _StartTime: 对应云存视频的起始时间
|
|
@@ -1437,6 +1473,8 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
|
1437
1473
|
:type CreateTime: int
|
|
1438
1474
|
:param _UpdateTime: 最后更新时间
|
|
1439
1475
|
:type UpdateTime: int
|
|
1476
|
+
:param _CustomId: 自定义任务 ID
|
|
1477
|
+
:type CustomId: str
|
|
1440
1478
|
"""
|
|
1441
1479
|
self._TaskId = None
|
|
1442
1480
|
self._ProductId = None
|
|
@@ -1450,6 +1488,7 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
|
1450
1488
|
self._Files = None
|
|
1451
1489
|
self._CreateTime = None
|
|
1452
1490
|
self._UpdateTime = None
|
|
1491
|
+
self._CustomId = None
|
|
1453
1492
|
|
|
1454
1493
|
@property
|
|
1455
1494
|
def TaskId(self):
|
|
@@ -1547,6 +1586,14 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
|
1547
1586
|
def UpdateTime(self, UpdateTime):
|
|
1548
1587
|
self._UpdateTime = UpdateTime
|
|
1549
1588
|
|
|
1589
|
+
@property
|
|
1590
|
+
def CustomId(self):
|
|
1591
|
+
return self._CustomId
|
|
1592
|
+
|
|
1593
|
+
@CustomId.setter
|
|
1594
|
+
def CustomId(self, CustomId):
|
|
1595
|
+
self._CustomId = CustomId
|
|
1596
|
+
|
|
1550
1597
|
|
|
1551
1598
|
def _deserialize(self, params):
|
|
1552
1599
|
self._TaskId = params.get("TaskId")
|
|
@@ -1561,6 +1608,7 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
|
1561
1608
|
self._Files = params.get("Files")
|
|
1562
1609
|
self._CreateTime = params.get("CreateTime")
|
|
1563
1610
|
self._UpdateTime = params.get("UpdateTime")
|
|
1611
|
+
self._CustomId = params.get("CustomId")
|
|
1564
1612
|
memeber_set = set(params.keys())
|
|
1565
1613
|
for name, value in vars(self).items():
|
|
1566
1614
|
property_name = name[1:]
|
|
@@ -2393,6 +2441,139 @@ class CreateDeviceResponse(AbstractModel):
|
|
|
2393
2441
|
self._RequestId = params.get("RequestId")
|
|
2394
2442
|
|
|
2395
2443
|
|
|
2444
|
+
class CreateExternalSourceAIServiceTaskRequest(AbstractModel):
|
|
2445
|
+
"""CreateExternalSourceAIServiceTask请求参数结构体
|
|
2446
|
+
|
|
2447
|
+
"""
|
|
2448
|
+
|
|
2449
|
+
def __init__(self):
|
|
2450
|
+
r"""
|
|
2451
|
+
:param _ProductId: 产品 ID
|
|
2452
|
+
:type ProductId: str
|
|
2453
|
+
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
2454
|
+
- `RealtimeObjectDetect`:目标检测
|
|
2455
|
+
- `Highlight`:视频浓缩
|
|
2456
|
+
- `VideoToText`:视频语义理解
|
|
2457
|
+
:type ServiceType: str
|
|
2458
|
+
:param _VideoURLs: 分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)
|
|
2459
|
+
:type VideoURLs: list of str
|
|
2460
|
+
:param _CustomId: 自定义任务 ID
|
|
2461
|
+
:type CustomId: str
|
|
2462
|
+
:param _Config: 视频分析配置参数
|
|
2463
|
+
:type Config: str
|
|
2464
|
+
:param _ROI: 视频分析识别区域
|
|
2465
|
+
:type ROI: str
|
|
2466
|
+
"""
|
|
2467
|
+
self._ProductId = None
|
|
2468
|
+
self._ServiceType = None
|
|
2469
|
+
self._VideoURLs = None
|
|
2470
|
+
self._CustomId = None
|
|
2471
|
+
self._Config = None
|
|
2472
|
+
self._ROI = None
|
|
2473
|
+
|
|
2474
|
+
@property
|
|
2475
|
+
def ProductId(self):
|
|
2476
|
+
return self._ProductId
|
|
2477
|
+
|
|
2478
|
+
@ProductId.setter
|
|
2479
|
+
def ProductId(self, ProductId):
|
|
2480
|
+
self._ProductId = ProductId
|
|
2481
|
+
|
|
2482
|
+
@property
|
|
2483
|
+
def ServiceType(self):
|
|
2484
|
+
return self._ServiceType
|
|
2485
|
+
|
|
2486
|
+
@ServiceType.setter
|
|
2487
|
+
def ServiceType(self, ServiceType):
|
|
2488
|
+
self._ServiceType = ServiceType
|
|
2489
|
+
|
|
2490
|
+
@property
|
|
2491
|
+
def VideoURLs(self):
|
|
2492
|
+
return self._VideoURLs
|
|
2493
|
+
|
|
2494
|
+
@VideoURLs.setter
|
|
2495
|
+
def VideoURLs(self, VideoURLs):
|
|
2496
|
+
self._VideoURLs = VideoURLs
|
|
2497
|
+
|
|
2498
|
+
@property
|
|
2499
|
+
def CustomId(self):
|
|
2500
|
+
return self._CustomId
|
|
2501
|
+
|
|
2502
|
+
@CustomId.setter
|
|
2503
|
+
def CustomId(self, CustomId):
|
|
2504
|
+
self._CustomId = CustomId
|
|
2505
|
+
|
|
2506
|
+
@property
|
|
2507
|
+
def Config(self):
|
|
2508
|
+
return self._Config
|
|
2509
|
+
|
|
2510
|
+
@Config.setter
|
|
2511
|
+
def Config(self, Config):
|
|
2512
|
+
self._Config = Config
|
|
2513
|
+
|
|
2514
|
+
@property
|
|
2515
|
+
def ROI(self):
|
|
2516
|
+
return self._ROI
|
|
2517
|
+
|
|
2518
|
+
@ROI.setter
|
|
2519
|
+
def ROI(self, ROI):
|
|
2520
|
+
self._ROI = ROI
|
|
2521
|
+
|
|
2522
|
+
|
|
2523
|
+
def _deserialize(self, params):
|
|
2524
|
+
self._ProductId = params.get("ProductId")
|
|
2525
|
+
self._ServiceType = params.get("ServiceType")
|
|
2526
|
+
self._VideoURLs = params.get("VideoURLs")
|
|
2527
|
+
self._CustomId = params.get("CustomId")
|
|
2528
|
+
self._Config = params.get("Config")
|
|
2529
|
+
self._ROI = params.get("ROI")
|
|
2530
|
+
memeber_set = set(params.keys())
|
|
2531
|
+
for name, value in vars(self).items():
|
|
2532
|
+
property_name = name[1:]
|
|
2533
|
+
if property_name in memeber_set:
|
|
2534
|
+
memeber_set.remove(property_name)
|
|
2535
|
+
if len(memeber_set) > 0:
|
|
2536
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2537
|
+
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
class CreateExternalSourceAIServiceTaskResponse(AbstractModel):
|
|
2541
|
+
"""CreateExternalSourceAIServiceTask返回参数结构体
|
|
2542
|
+
|
|
2543
|
+
"""
|
|
2544
|
+
|
|
2545
|
+
def __init__(self):
|
|
2546
|
+
r"""
|
|
2547
|
+
:param _TaskId: 任务 ID
|
|
2548
|
+
:type TaskId: str
|
|
2549
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2550
|
+
:type RequestId: str
|
|
2551
|
+
"""
|
|
2552
|
+
self._TaskId = None
|
|
2553
|
+
self._RequestId = None
|
|
2554
|
+
|
|
2555
|
+
@property
|
|
2556
|
+
def TaskId(self):
|
|
2557
|
+
return self._TaskId
|
|
2558
|
+
|
|
2559
|
+
@TaskId.setter
|
|
2560
|
+
def TaskId(self, TaskId):
|
|
2561
|
+
self._TaskId = TaskId
|
|
2562
|
+
|
|
2563
|
+
@property
|
|
2564
|
+
def RequestId(self):
|
|
2565
|
+
return self._RequestId
|
|
2566
|
+
|
|
2567
|
+
@RequestId.setter
|
|
2568
|
+
def RequestId(self, RequestId):
|
|
2569
|
+
self._RequestId = RequestId
|
|
2570
|
+
|
|
2571
|
+
|
|
2572
|
+
def _deserialize(self, params):
|
|
2573
|
+
self._TaskId = params.get("TaskId")
|
|
2574
|
+
self._RequestId = params.get("RequestId")
|
|
2575
|
+
|
|
2576
|
+
|
|
2396
2577
|
class CreateFenceBindRequest(AbstractModel):
|
|
2397
2578
|
"""CreateFenceBind请求参数结构体
|
|
2398
2579
|
|
|
@@ -5009,19 +5190,15 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
|
|
|
5009
5190
|
- `1`:全时套餐
|
|
5010
5191
|
- `2`:事件套餐
|
|
5011
5192
|
- `3`:低功耗套餐
|
|
5012
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5013
5193
|
:type Type: int
|
|
5014
5194
|
:param _Status: 云存 AI 套餐生效状态。可能取值:
|
|
5015
5195
|
|
|
5016
5196
|
- `0`:未开通或已过期
|
|
5017
5197
|
- `1`:生效中
|
|
5018
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5019
5198
|
:type Status: int
|
|
5020
5199
|
:param _ExpireTime: 云存 AI 套餐过期时间 UNIX 时间戳
|
|
5021
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5022
5200
|
:type ExpireTime: int
|
|
5023
5201
|
:param _UserId: 用户 ID
|
|
5024
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5025
5202
|
:type UserId: str
|
|
5026
5203
|
:param _Enabled: 视频分析启用状态
|
|
5027
5204
|
:type Enabled: bool
|
|
@@ -10223,10 +10400,14 @@ class DeviceActiveResult(AbstractModel):
|
|
|
10223
10400
|
:param _ErrCode: 设备激活状态,0:激活成功;9800020:设备数超出限制;9800040:资源包类型和设备类型不匹配;9800039:资源包余额不足;9800037:激活码序号已使用;9800038:设备有效期超出限制;
|
|
10224
10401
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10225
10402
|
:type ErrCode: int
|
|
10403
|
+
:param _ExpireTime: 过期时间
|
|
10404
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10405
|
+
:type ExpireTime: int
|
|
10226
10406
|
"""
|
|
10227
10407
|
self._ModelId = None
|
|
10228
10408
|
self._Sn = None
|
|
10229
10409
|
self._ErrCode = None
|
|
10410
|
+
self._ExpireTime = None
|
|
10230
10411
|
|
|
10231
10412
|
@property
|
|
10232
10413
|
def ModelId(self):
|
|
@@ -10252,11 +10433,20 @@ class DeviceActiveResult(AbstractModel):
|
|
|
10252
10433
|
def ErrCode(self, ErrCode):
|
|
10253
10434
|
self._ErrCode = ErrCode
|
|
10254
10435
|
|
|
10436
|
+
@property
|
|
10437
|
+
def ExpireTime(self):
|
|
10438
|
+
return self._ExpireTime
|
|
10439
|
+
|
|
10440
|
+
@ExpireTime.setter
|
|
10441
|
+
def ExpireTime(self, ExpireTime):
|
|
10442
|
+
self._ExpireTime = ExpireTime
|
|
10443
|
+
|
|
10255
10444
|
|
|
10256
10445
|
def _deserialize(self, params):
|
|
10257
10446
|
self._ModelId = params.get("ModelId")
|
|
10258
10447
|
self._Sn = params.get("Sn")
|
|
10259
10448
|
self._ErrCode = params.get("ErrCode")
|
|
10449
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
10260
10450
|
memeber_set = set(params.keys())
|
|
10261
10451
|
for name, value in vars(self).items():
|
|
10262
10452
|
property_name = name[1:]
|
|
@@ -14639,6 +14829,166 @@ class InstanceDetail(AbstractModel):
|
|
|
14639
14829
|
|
|
14640
14830
|
|
|
14641
14831
|
|
|
14832
|
+
class InvokeExternalSourceAIServiceTaskRequest(AbstractModel):
|
|
14833
|
+
"""InvokeExternalSourceAIServiceTask请求参数结构体
|
|
14834
|
+
|
|
14835
|
+
"""
|
|
14836
|
+
|
|
14837
|
+
def __init__(self):
|
|
14838
|
+
r"""
|
|
14839
|
+
:param _ProductId: 产品 ID
|
|
14840
|
+
:type ProductId: str
|
|
14841
|
+
:param _ServiceType: 云存 AI 服务类型。可选值:
|
|
14842
|
+
- `RealtimeObjectDetect`:目标检测
|
|
14843
|
+
- `Highlight`:视频浓缩
|
|
14844
|
+
- `VideoToText`:视频语义理解
|
|
14845
|
+
:type ServiceType: str
|
|
14846
|
+
:param _VideoURLs: 分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)
|
|
14847
|
+
:type VideoURLs: list of str
|
|
14848
|
+
:param _CustomId: 自定义任务 ID
|
|
14849
|
+
:type CustomId: str
|
|
14850
|
+
:param _Config: 视频分析配置参数
|
|
14851
|
+
:type Config: str
|
|
14852
|
+
:param _ROI: 视频分析识别区域
|
|
14853
|
+
:type ROI: str
|
|
14854
|
+
"""
|
|
14855
|
+
self._ProductId = None
|
|
14856
|
+
self._ServiceType = None
|
|
14857
|
+
self._VideoURLs = None
|
|
14858
|
+
self._CustomId = None
|
|
14859
|
+
self._Config = None
|
|
14860
|
+
self._ROI = None
|
|
14861
|
+
|
|
14862
|
+
@property
|
|
14863
|
+
def ProductId(self):
|
|
14864
|
+
return self._ProductId
|
|
14865
|
+
|
|
14866
|
+
@ProductId.setter
|
|
14867
|
+
def ProductId(self, ProductId):
|
|
14868
|
+
self._ProductId = ProductId
|
|
14869
|
+
|
|
14870
|
+
@property
|
|
14871
|
+
def ServiceType(self):
|
|
14872
|
+
return self._ServiceType
|
|
14873
|
+
|
|
14874
|
+
@ServiceType.setter
|
|
14875
|
+
def ServiceType(self, ServiceType):
|
|
14876
|
+
self._ServiceType = ServiceType
|
|
14877
|
+
|
|
14878
|
+
@property
|
|
14879
|
+
def VideoURLs(self):
|
|
14880
|
+
return self._VideoURLs
|
|
14881
|
+
|
|
14882
|
+
@VideoURLs.setter
|
|
14883
|
+
def VideoURLs(self, VideoURLs):
|
|
14884
|
+
self._VideoURLs = VideoURLs
|
|
14885
|
+
|
|
14886
|
+
@property
|
|
14887
|
+
def CustomId(self):
|
|
14888
|
+
return self._CustomId
|
|
14889
|
+
|
|
14890
|
+
@CustomId.setter
|
|
14891
|
+
def CustomId(self, CustomId):
|
|
14892
|
+
self._CustomId = CustomId
|
|
14893
|
+
|
|
14894
|
+
@property
|
|
14895
|
+
def Config(self):
|
|
14896
|
+
return self._Config
|
|
14897
|
+
|
|
14898
|
+
@Config.setter
|
|
14899
|
+
def Config(self, Config):
|
|
14900
|
+
self._Config = Config
|
|
14901
|
+
|
|
14902
|
+
@property
|
|
14903
|
+
def ROI(self):
|
|
14904
|
+
return self._ROI
|
|
14905
|
+
|
|
14906
|
+
@ROI.setter
|
|
14907
|
+
def ROI(self, ROI):
|
|
14908
|
+
self._ROI = ROI
|
|
14909
|
+
|
|
14910
|
+
|
|
14911
|
+
def _deserialize(self, params):
|
|
14912
|
+
self._ProductId = params.get("ProductId")
|
|
14913
|
+
self._ServiceType = params.get("ServiceType")
|
|
14914
|
+
self._VideoURLs = params.get("VideoURLs")
|
|
14915
|
+
self._CustomId = params.get("CustomId")
|
|
14916
|
+
self._Config = params.get("Config")
|
|
14917
|
+
self._ROI = params.get("ROI")
|
|
14918
|
+
memeber_set = set(params.keys())
|
|
14919
|
+
for name, value in vars(self).items():
|
|
14920
|
+
property_name = name[1:]
|
|
14921
|
+
if property_name in memeber_set:
|
|
14922
|
+
memeber_set.remove(property_name)
|
|
14923
|
+
if len(memeber_set) > 0:
|
|
14924
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14925
|
+
|
|
14926
|
+
|
|
14927
|
+
|
|
14928
|
+
class InvokeExternalSourceAIServiceTaskResponse(AbstractModel):
|
|
14929
|
+
"""InvokeExternalSourceAIServiceTask返回参数结构体
|
|
14930
|
+
|
|
14931
|
+
"""
|
|
14932
|
+
|
|
14933
|
+
def __init__(self):
|
|
14934
|
+
r"""
|
|
14935
|
+
:param _Completed: 任务是否执行完成
|
|
14936
|
+
:type Completed: bool
|
|
14937
|
+
:param _TaskId: 任务 ID
|
|
14938
|
+
:type TaskId: str
|
|
14939
|
+
:param _TaskInfo: 任务信息
|
|
14940
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14941
|
+
:type TaskInfo: :class:`tencentcloud.iotexplorer.v20190423.models.CloudStorageAIServiceTask`
|
|
14942
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14943
|
+
:type RequestId: str
|
|
14944
|
+
"""
|
|
14945
|
+
self._Completed = None
|
|
14946
|
+
self._TaskId = None
|
|
14947
|
+
self._TaskInfo = None
|
|
14948
|
+
self._RequestId = None
|
|
14949
|
+
|
|
14950
|
+
@property
|
|
14951
|
+
def Completed(self):
|
|
14952
|
+
return self._Completed
|
|
14953
|
+
|
|
14954
|
+
@Completed.setter
|
|
14955
|
+
def Completed(self, Completed):
|
|
14956
|
+
self._Completed = Completed
|
|
14957
|
+
|
|
14958
|
+
@property
|
|
14959
|
+
def TaskId(self):
|
|
14960
|
+
return self._TaskId
|
|
14961
|
+
|
|
14962
|
+
@TaskId.setter
|
|
14963
|
+
def TaskId(self, TaskId):
|
|
14964
|
+
self._TaskId = TaskId
|
|
14965
|
+
|
|
14966
|
+
@property
|
|
14967
|
+
def TaskInfo(self):
|
|
14968
|
+
return self._TaskInfo
|
|
14969
|
+
|
|
14970
|
+
@TaskInfo.setter
|
|
14971
|
+
def TaskInfo(self, TaskInfo):
|
|
14972
|
+
self._TaskInfo = TaskInfo
|
|
14973
|
+
|
|
14974
|
+
@property
|
|
14975
|
+
def RequestId(self):
|
|
14976
|
+
return self._RequestId
|
|
14977
|
+
|
|
14978
|
+
@RequestId.setter
|
|
14979
|
+
def RequestId(self, RequestId):
|
|
14980
|
+
self._RequestId = RequestId
|
|
14981
|
+
|
|
14982
|
+
|
|
14983
|
+
def _deserialize(self, params):
|
|
14984
|
+
self._Completed = params.get("Completed")
|
|
14985
|
+
self._TaskId = params.get("TaskId")
|
|
14986
|
+
if params.get("TaskInfo") is not None:
|
|
14987
|
+
self._TaskInfo = CloudStorageAIServiceTask()
|
|
14988
|
+
self._TaskInfo._deserialize(params.get("TaskInfo"))
|
|
14989
|
+
self._RequestId = params.get("RequestId")
|
|
14990
|
+
|
|
14991
|
+
|
|
14642
14992
|
class ListEventHistoryRequest(AbstractModel):
|
|
14643
14993
|
"""ListEventHistory请求参数结构体
|
|
14644
14994
|
|
|
@@ -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.1255
|
|
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.1255)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=l-8HqpcLImr_CjiI4mUg6xA6d61M3WdzgSDr4AFM31g,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=JHZ71xpoxtLynYOEOEVtrxAT64NGN0L-V_KzlJ1pK44,23452
|
|
5
|
+
tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=8-5Zu7XigGY9eZ8LPcn9H36J_RAwQMS2Z6D1MlqmWOo,135942
|
|
6
|
+
tencentcloud/iotexplorer/v20190423/models.py,sha256=Hjdb2gpy8e7Jl8azwdgq49ARPinWKB_sI0sJHig8yp0,598188
|
|
7
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1255.dist-info/METADATA,sha256=ISdzMsOIbMjrQ_lzd8OycEmiKGhZrY63ywwUGeN0pg4,1532
|
|
8
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1255.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1255.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_iotexplorer-3.0.1255.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=DOhYDza9SihzYLhagMDAJOUgRTDC1_kLJTv5Ajuh_Ao,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=10_1atsc-s9j1wRygpjQwY_kWGs6lIJUqWnCK-6r9yw,23103
|
|
5
|
-
tencentcloud/iotexplorer/v20190423/iotexplorer_client.py,sha256=KPV3YORVPvBD2UxuQ-SM4VHloZFXcIRNEt6uZrJ10jg,133948
|
|
6
|
-
tencentcloud/iotexplorer/v20190423/models.py,sha256=pLO_McXyI_0fpA8PIEVA28LTQ6GVwH_rPs9E8QB7nps,588217
|
|
7
|
-
tencentcloud_sdk_python_iotexplorer-3.0.1206.dist-info/METADATA,sha256=J9QtLYGZgh4_FOJDI1P7SQnLAEv3ddT8KjQDWoi2lXI,1532
|
|
8
|
-
tencentcloud_sdk_python_iotexplorer-3.0.1206.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_iotexplorer-3.0.1206.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_iotexplorer-3.0.1206.dist-info/RECORD,,
|
|
File without changes
|