tencentcloud-sdk-python 3.0.1446__py2.py3-none-any.whl → 3.0.1448__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +2 -2
- tencentcloud/bi/v20220105/bi_client.py +23 -0
- tencentcloud/bi/v20220105/models.py +179 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +30 -6
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfs/v20190719/models.py +21 -2
- tencentcloud/clb/v20180317/models.py +30 -0
- tencentcloud/cls/v20201016/models.py +110 -26
- tencentcloud/common/abstract_client.py +14 -12
- tencentcloud/common/credential.py +61 -26
- tencentcloud/csip/v20221121/models.py +4 -4
- tencentcloud/ctem/v20231128/models.py +30 -0
- tencentcloud/cwp/v20180228/models.py +53 -14
- tencentcloud/cynosdb/v20190107/models.py +6 -0
- tencentcloud/dc/v20180410/models.py +30 -0
- tencentcloud/dlc/v20210125/errorcodes.py +12 -0
- tencentcloud/dlc/v20210125/models.py +30 -0
- tencentcloud/dts/v20211206/dts_client.py +23 -0
- tencentcloud/dts/v20211206/models.py +64 -0
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +496 -22
- tencentcloud/essbasic/v20210526/models.py +10 -16
- tencentcloud/faceid/v20180301/models.py +2 -2
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +934 -17
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +465 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +122 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +16 -10
- tencentcloud/lkeap/v20240522/lkeap_client.py +4 -0
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mongodb/v20190725/models.py +19 -0
- tencentcloud/mps/v20190612/models.py +174 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- tencentcloud/mqtt/v20240516/models.py +880 -22
- tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +7 -23
- tencentcloud/organization/v20210331/models.py +393 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/partners/v20180321/models.py +16 -12
- tencentcloud/partners/v20180321/partners_client.py +2 -2
- tencentcloud/rce/v20201103/rce_client.py +1 -1
- tencentcloud/smh/v20210712/models.py +19 -4
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +315 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -1
- tencentcloud/tione/v20211111/models.py +333 -10
- tencentcloud/tke/v20180525/models.py +15 -0
- tencentcloud/tke/v20220501/models.py +32 -2
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- tencentcloud/trtc/v20190722/trtc_client.py +9 -3
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +10 -12
- tencentcloud/vclm/v20240523/models.py +15 -0
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/RECORD +71 -71
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/top_level.txt +0 -0
|
@@ -2215,6 +2215,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
2215
2215
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2216
2216
|
|
|
2217
2217
|
|
|
2218
|
+
def DescribeTWeSeeRecognitionTask(self, request):
|
|
2219
|
+
"""查询 TWeSee 语义理解任务
|
|
2220
|
+
|
|
2221
|
+
:param request: Request instance for DescribeTWeSeeRecognitionTask.
|
|
2222
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeSeeRecognitionTaskRequest`
|
|
2223
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeSeeRecognitionTaskResponse`
|
|
2224
|
+
|
|
2225
|
+
"""
|
|
2226
|
+
try:
|
|
2227
|
+
params = request._serialize()
|
|
2228
|
+
headers = request.headers
|
|
2229
|
+
body = self.call("DescribeTWeSeeRecognitionTask", params, headers=headers)
|
|
2230
|
+
response = json.loads(body)
|
|
2231
|
+
model = models.DescribeTWeSeeRecognitionTaskResponse()
|
|
2232
|
+
model._deserialize(response["Response"])
|
|
2233
|
+
return model
|
|
2234
|
+
except Exception as e:
|
|
2235
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2236
|
+
raise
|
|
2237
|
+
else:
|
|
2238
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2239
|
+
|
|
2240
|
+
|
|
2218
2241
|
def DescribeTopicPolicy(self, request):
|
|
2219
2242
|
"""本接口(DescribeTopicPolicy)用于查看Topic详细信息
|
|
2220
2243
|
|
|
@@ -5871,6 +5871,12 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
5871
5871
|
:type SummaryQOS: str
|
|
5872
5872
|
:param _SummaryConfig: 摘要输出配置
|
|
5873
5873
|
:type SummaryConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
5874
|
+
:param _ServiceType: 算法类型,可能取值:
|
|
5875
|
+
- `Summary`:视频/图片摘要
|
|
5876
|
+
- `ObjectDetect`:目标检测
|
|
5877
|
+
:type ServiceType: str
|
|
5878
|
+
:param _ObjectDetectConfig: 目标检测配置
|
|
5879
|
+
:type ObjectDetectConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionObjectDetectConfig`
|
|
5874
5880
|
"""
|
|
5875
5881
|
self._ProductId = None
|
|
5876
5882
|
self._DeviceName = None
|
|
@@ -5884,6 +5890,8 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
5884
5890
|
self._InputType = None
|
|
5885
5891
|
self._SummaryQOS = None
|
|
5886
5892
|
self._SummaryConfig = None
|
|
5893
|
+
self._ServiceType = None
|
|
5894
|
+
self._ObjectDetectConfig = None
|
|
5887
5895
|
|
|
5888
5896
|
@property
|
|
5889
5897
|
def ProductId(self):
|
|
@@ -6023,6 +6031,30 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
6023
6031
|
def SummaryConfig(self, SummaryConfig):
|
|
6024
6032
|
self._SummaryConfig = SummaryConfig
|
|
6025
6033
|
|
|
6034
|
+
@property
|
|
6035
|
+
def ServiceType(self):
|
|
6036
|
+
"""算法类型,可能取值:
|
|
6037
|
+
- `Summary`:视频/图片摘要
|
|
6038
|
+
- `ObjectDetect`:目标检测
|
|
6039
|
+
:rtype: str
|
|
6040
|
+
"""
|
|
6041
|
+
return self._ServiceType
|
|
6042
|
+
|
|
6043
|
+
@ServiceType.setter
|
|
6044
|
+
def ServiceType(self, ServiceType):
|
|
6045
|
+
self._ServiceType = ServiceType
|
|
6046
|
+
|
|
6047
|
+
@property
|
|
6048
|
+
def ObjectDetectConfig(self):
|
|
6049
|
+
"""目标检测配置
|
|
6050
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionObjectDetectConfig`
|
|
6051
|
+
"""
|
|
6052
|
+
return self._ObjectDetectConfig
|
|
6053
|
+
|
|
6054
|
+
@ObjectDetectConfig.setter
|
|
6055
|
+
def ObjectDetectConfig(self, ObjectDetectConfig):
|
|
6056
|
+
self._ObjectDetectConfig = ObjectDetectConfig
|
|
6057
|
+
|
|
6026
6058
|
|
|
6027
6059
|
def _deserialize(self, params):
|
|
6028
6060
|
self._ProductId = params.get("ProductId")
|
|
@@ -6039,6 +6071,10 @@ class CreateTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
6039
6071
|
if params.get("SummaryConfig") is not None:
|
|
6040
6072
|
self._SummaryConfig = VisionSummaryConfig()
|
|
6041
6073
|
self._SummaryConfig._deserialize(params.get("SummaryConfig"))
|
|
6074
|
+
self._ServiceType = params.get("ServiceType")
|
|
6075
|
+
if params.get("ObjectDetectConfig") is not None:
|
|
6076
|
+
self._ObjectDetectConfig = VisionObjectDetectConfig()
|
|
6077
|
+
self._ObjectDetectConfig._deserialize(params.get("ObjectDetectConfig"))
|
|
6042
6078
|
memeber_set = set(params.keys())
|
|
6043
6079
|
for name, value in vars(self).items():
|
|
6044
6080
|
property_name = name[1:]
|
|
@@ -14793,6 +14829,106 @@ class DescribeTWeSeeConfigResponse(AbstractModel):
|
|
|
14793
14829
|
self._RequestId = params.get("RequestId")
|
|
14794
14830
|
|
|
14795
14831
|
|
|
14832
|
+
class DescribeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
14833
|
+
"""DescribeTWeSeeRecognitionTask请求参数结构体
|
|
14834
|
+
|
|
14835
|
+
"""
|
|
14836
|
+
|
|
14837
|
+
def __init__(self):
|
|
14838
|
+
r"""
|
|
14839
|
+
:param _TaskId: 任务 ID
|
|
14840
|
+
:type TaskId: str
|
|
14841
|
+
:param _FileURLExpireTime: 下载 URL 的过期时间。
|
|
14842
|
+
|
|
14843
|
+
若传入该参数,则响应中将包含所有文件的下载 URL
|
|
14844
|
+
:type FileURLExpireTime: int
|
|
14845
|
+
"""
|
|
14846
|
+
self._TaskId = None
|
|
14847
|
+
self._FileURLExpireTime = None
|
|
14848
|
+
|
|
14849
|
+
@property
|
|
14850
|
+
def TaskId(self):
|
|
14851
|
+
"""任务 ID
|
|
14852
|
+
:rtype: str
|
|
14853
|
+
"""
|
|
14854
|
+
return self._TaskId
|
|
14855
|
+
|
|
14856
|
+
@TaskId.setter
|
|
14857
|
+
def TaskId(self, TaskId):
|
|
14858
|
+
self._TaskId = TaskId
|
|
14859
|
+
|
|
14860
|
+
@property
|
|
14861
|
+
def FileURLExpireTime(self):
|
|
14862
|
+
"""下载 URL 的过期时间。
|
|
14863
|
+
|
|
14864
|
+
若传入该参数,则响应中将包含所有文件的下载 URL
|
|
14865
|
+
:rtype: int
|
|
14866
|
+
"""
|
|
14867
|
+
return self._FileURLExpireTime
|
|
14868
|
+
|
|
14869
|
+
@FileURLExpireTime.setter
|
|
14870
|
+
def FileURLExpireTime(self, FileURLExpireTime):
|
|
14871
|
+
self._FileURLExpireTime = FileURLExpireTime
|
|
14872
|
+
|
|
14873
|
+
|
|
14874
|
+
def _deserialize(self, params):
|
|
14875
|
+
self._TaskId = params.get("TaskId")
|
|
14876
|
+
self._FileURLExpireTime = params.get("FileURLExpireTime")
|
|
14877
|
+
memeber_set = set(params.keys())
|
|
14878
|
+
for name, value in vars(self).items():
|
|
14879
|
+
property_name = name[1:]
|
|
14880
|
+
if property_name in memeber_set:
|
|
14881
|
+
memeber_set.remove(property_name)
|
|
14882
|
+
if len(memeber_set) > 0:
|
|
14883
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14884
|
+
|
|
14885
|
+
|
|
14886
|
+
|
|
14887
|
+
class DescribeTWeSeeRecognitionTaskResponse(AbstractModel):
|
|
14888
|
+
"""DescribeTWeSeeRecognitionTask返回参数结构体
|
|
14889
|
+
|
|
14890
|
+
"""
|
|
14891
|
+
|
|
14892
|
+
def __init__(self):
|
|
14893
|
+
r"""
|
|
14894
|
+
:param _TaskInfo: 任务信息
|
|
14895
|
+
:type TaskInfo: :class:`tencentcloud.iotexplorer.v20190423.models.VisionRecognitionTask`
|
|
14896
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14897
|
+
:type RequestId: str
|
|
14898
|
+
"""
|
|
14899
|
+
self._TaskInfo = None
|
|
14900
|
+
self._RequestId = None
|
|
14901
|
+
|
|
14902
|
+
@property
|
|
14903
|
+
def TaskInfo(self):
|
|
14904
|
+
"""任务信息
|
|
14905
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionRecognitionTask`
|
|
14906
|
+
"""
|
|
14907
|
+
return self._TaskInfo
|
|
14908
|
+
|
|
14909
|
+
@TaskInfo.setter
|
|
14910
|
+
def TaskInfo(self, TaskInfo):
|
|
14911
|
+
self._TaskInfo = TaskInfo
|
|
14912
|
+
|
|
14913
|
+
@property
|
|
14914
|
+
def RequestId(self):
|
|
14915
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14916
|
+
:rtype: str
|
|
14917
|
+
"""
|
|
14918
|
+
return self._RequestId
|
|
14919
|
+
|
|
14920
|
+
@RequestId.setter
|
|
14921
|
+
def RequestId(self, RequestId):
|
|
14922
|
+
self._RequestId = RequestId
|
|
14923
|
+
|
|
14924
|
+
|
|
14925
|
+
def _deserialize(self, params):
|
|
14926
|
+
if params.get("TaskInfo") is not None:
|
|
14927
|
+
self._TaskInfo = VisionRecognitionTask()
|
|
14928
|
+
self._TaskInfo._deserialize(params.get("TaskInfo"))
|
|
14929
|
+
self._RequestId = params.get("RequestId")
|
|
14930
|
+
|
|
14931
|
+
|
|
14796
14932
|
class DescribeTopicPolicyRequest(AbstractModel):
|
|
14797
14933
|
"""DescribeTopicPolicy请求参数结构体
|
|
14798
14934
|
|
|
@@ -21177,6 +21313,12 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21177
21313
|
:type SummaryQOS: str
|
|
21178
21314
|
:param _SummaryConfig: 摘要输出配置
|
|
21179
21315
|
:type SummaryConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
21316
|
+
:param _ServiceType: 算法类型,可能取值:
|
|
21317
|
+
- `Summary`:视频/图片摘要
|
|
21318
|
+
- `ObjectDetect`:目标检测
|
|
21319
|
+
:type ServiceType: str
|
|
21320
|
+
:param _ObjectDetectConfig: 目标检测配置
|
|
21321
|
+
:type ObjectDetectConfig: :class:`tencentcloud.iotexplorer.v20190423.models.VisionObjectDetectConfig`
|
|
21180
21322
|
"""
|
|
21181
21323
|
self._ProductId = None
|
|
21182
21324
|
self._DeviceName = None
|
|
@@ -21190,6 +21332,8 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21190
21332
|
self._InputType = None
|
|
21191
21333
|
self._SummaryQOS = None
|
|
21192
21334
|
self._SummaryConfig = None
|
|
21335
|
+
self._ServiceType = None
|
|
21336
|
+
self._ObjectDetectConfig = None
|
|
21193
21337
|
|
|
21194
21338
|
@property
|
|
21195
21339
|
def ProductId(self):
|
|
@@ -21329,6 +21473,30 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21329
21473
|
def SummaryConfig(self, SummaryConfig):
|
|
21330
21474
|
self._SummaryConfig = SummaryConfig
|
|
21331
21475
|
|
|
21476
|
+
@property
|
|
21477
|
+
def ServiceType(self):
|
|
21478
|
+
"""算法类型,可能取值:
|
|
21479
|
+
- `Summary`:视频/图片摘要
|
|
21480
|
+
- `ObjectDetect`:目标检测
|
|
21481
|
+
:rtype: str
|
|
21482
|
+
"""
|
|
21483
|
+
return self._ServiceType
|
|
21484
|
+
|
|
21485
|
+
@ServiceType.setter
|
|
21486
|
+
def ServiceType(self, ServiceType):
|
|
21487
|
+
self._ServiceType = ServiceType
|
|
21488
|
+
|
|
21489
|
+
@property
|
|
21490
|
+
def ObjectDetectConfig(self):
|
|
21491
|
+
"""目标检测配置
|
|
21492
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionObjectDetectConfig`
|
|
21493
|
+
"""
|
|
21494
|
+
return self._ObjectDetectConfig
|
|
21495
|
+
|
|
21496
|
+
@ObjectDetectConfig.setter
|
|
21497
|
+
def ObjectDetectConfig(self, ObjectDetectConfig):
|
|
21498
|
+
self._ObjectDetectConfig = ObjectDetectConfig
|
|
21499
|
+
|
|
21332
21500
|
|
|
21333
21501
|
def _deserialize(self, params):
|
|
21334
21502
|
self._ProductId = params.get("ProductId")
|
|
@@ -21345,6 +21513,10 @@ class InvokeTWeSeeRecognitionTaskRequest(AbstractModel):
|
|
|
21345
21513
|
if params.get("SummaryConfig") is not None:
|
|
21346
21514
|
self._SummaryConfig = VisionSummaryConfig()
|
|
21347
21515
|
self._SummaryConfig._deserialize(params.get("SummaryConfig"))
|
|
21516
|
+
self._ServiceType = params.get("ServiceType")
|
|
21517
|
+
if params.get("ObjectDetectConfig") is not None:
|
|
21518
|
+
self._ObjectDetectConfig = VisionObjectDetectConfig()
|
|
21519
|
+
self._ObjectDetectConfig._deserialize(params.get("ObjectDetectConfig"))
|
|
21348
21520
|
memeber_set = set(params.keys())
|
|
21349
21521
|
for name, value in vars(self).items():
|
|
21350
21522
|
property_name = name[1:]
|
|
@@ -30465,6 +30637,46 @@ class VideoLicenseEntity(AbstractModel):
|
|
|
30465
30637
|
|
|
30466
30638
|
|
|
30467
30639
|
|
|
30640
|
+
class VisionObjectDetectConfig(AbstractModel):
|
|
30641
|
+
"""目标检测配置
|
|
30642
|
+
|
|
30643
|
+
"""
|
|
30644
|
+
|
|
30645
|
+
def __init__(self):
|
|
30646
|
+
r"""
|
|
30647
|
+
:param _DetectTypes: 检测类别,可选值:
|
|
30648
|
+
- `adult`:成年人
|
|
30649
|
+
- `child`:儿童
|
|
30650
|
+
:type DetectTypes: list of str
|
|
30651
|
+
"""
|
|
30652
|
+
self._DetectTypes = None
|
|
30653
|
+
|
|
30654
|
+
@property
|
|
30655
|
+
def DetectTypes(self):
|
|
30656
|
+
"""检测类别,可选值:
|
|
30657
|
+
- `adult`:成年人
|
|
30658
|
+
- `child`:儿童
|
|
30659
|
+
:rtype: list of str
|
|
30660
|
+
"""
|
|
30661
|
+
return self._DetectTypes
|
|
30662
|
+
|
|
30663
|
+
@DetectTypes.setter
|
|
30664
|
+
def DetectTypes(self, DetectTypes):
|
|
30665
|
+
self._DetectTypes = DetectTypes
|
|
30666
|
+
|
|
30667
|
+
|
|
30668
|
+
def _deserialize(self, params):
|
|
30669
|
+
self._DetectTypes = params.get("DetectTypes")
|
|
30670
|
+
memeber_set = set(params.keys())
|
|
30671
|
+
for name, value in vars(self).items():
|
|
30672
|
+
property_name = name[1:]
|
|
30673
|
+
if property_name in memeber_set:
|
|
30674
|
+
memeber_set.remove(property_name)
|
|
30675
|
+
if len(memeber_set) > 0:
|
|
30676
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30677
|
+
|
|
30678
|
+
|
|
30679
|
+
|
|
30468
30680
|
class VisionRecognitionResult(AbstractModel):
|
|
30469
30681
|
"""TWeSee 语义理解结果
|
|
30470
30682
|
|
|
@@ -30585,6 +30797,259 @@ class VisionRecognitionResult(AbstractModel):
|
|
|
30585
30797
|
|
|
30586
30798
|
|
|
30587
30799
|
|
|
30800
|
+
class VisionRecognitionTask(AbstractModel):
|
|
30801
|
+
"""TWeSee 语义理解任务信息
|
|
30802
|
+
|
|
30803
|
+
"""
|
|
30804
|
+
|
|
30805
|
+
def __init__(self):
|
|
30806
|
+
r"""
|
|
30807
|
+
:param _TaskId: 云存 AI 服务任务 ID
|
|
30808
|
+
:type TaskId: str
|
|
30809
|
+
:param _ProductId: 产品 ID
|
|
30810
|
+
:type ProductId: str
|
|
30811
|
+
:param _DeviceName: 设备名称
|
|
30812
|
+
:type DeviceName: str
|
|
30813
|
+
:param _ChannelId: 通道 ID
|
|
30814
|
+
:type ChannelId: int
|
|
30815
|
+
:param _StartTime: 对应云存视频的起始时间(秒级 UNIX 时间戳)
|
|
30816
|
+
:type StartTime: int
|
|
30817
|
+
:param _StartTimeMs: 对应云存视频的起始时间(毫秒级 UNIX 时间戳)
|
|
30818
|
+
:type StartTimeMs: int
|
|
30819
|
+
:param _EndTime: 对应云存视频的结束时间(秒级 UNIX 时间戳)
|
|
30820
|
+
:type EndTime: int
|
|
30821
|
+
:param _EndTimeMs: 对应云存视频的结束时间(毫秒级 UNIX 时间戳)
|
|
30822
|
+
:type EndTimeMs: int
|
|
30823
|
+
:param _Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
|
|
30824
|
+
:type Status: int
|
|
30825
|
+
:param _Result: 任务结果
|
|
30826
|
+
:type Result: :class:`tencentcloud.iotexplorer.v20190423.models.VisionRecognitionResult`
|
|
30827
|
+
:param _CreateTime: 创建时间
|
|
30828
|
+
:type CreateTime: int
|
|
30829
|
+
:param _UpdateTime: 最后更新时间
|
|
30830
|
+
:type UpdateTime: int
|
|
30831
|
+
:param _CustomId: 自定义任务 ID
|
|
30832
|
+
:type CustomId: str
|
|
30833
|
+
:param _Files: 任务输出文件列表
|
|
30834
|
+
:type Files: list of str
|
|
30835
|
+
:param _FilesInfo: 任务输出文件信息列表
|
|
30836
|
+
:type FilesInfo: list of CloudStorageAIServiceTaskFileInfo
|
|
30837
|
+
"""
|
|
30838
|
+
self._TaskId = None
|
|
30839
|
+
self._ProductId = None
|
|
30840
|
+
self._DeviceName = None
|
|
30841
|
+
self._ChannelId = None
|
|
30842
|
+
self._StartTime = None
|
|
30843
|
+
self._StartTimeMs = None
|
|
30844
|
+
self._EndTime = None
|
|
30845
|
+
self._EndTimeMs = None
|
|
30846
|
+
self._Status = None
|
|
30847
|
+
self._Result = None
|
|
30848
|
+
self._CreateTime = None
|
|
30849
|
+
self._UpdateTime = None
|
|
30850
|
+
self._CustomId = None
|
|
30851
|
+
self._Files = None
|
|
30852
|
+
self._FilesInfo = None
|
|
30853
|
+
|
|
30854
|
+
@property
|
|
30855
|
+
def TaskId(self):
|
|
30856
|
+
"""云存 AI 服务任务 ID
|
|
30857
|
+
:rtype: str
|
|
30858
|
+
"""
|
|
30859
|
+
return self._TaskId
|
|
30860
|
+
|
|
30861
|
+
@TaskId.setter
|
|
30862
|
+
def TaskId(self, TaskId):
|
|
30863
|
+
self._TaskId = TaskId
|
|
30864
|
+
|
|
30865
|
+
@property
|
|
30866
|
+
def ProductId(self):
|
|
30867
|
+
"""产品 ID
|
|
30868
|
+
:rtype: str
|
|
30869
|
+
"""
|
|
30870
|
+
return self._ProductId
|
|
30871
|
+
|
|
30872
|
+
@ProductId.setter
|
|
30873
|
+
def ProductId(self, ProductId):
|
|
30874
|
+
self._ProductId = ProductId
|
|
30875
|
+
|
|
30876
|
+
@property
|
|
30877
|
+
def DeviceName(self):
|
|
30878
|
+
"""设备名称
|
|
30879
|
+
:rtype: str
|
|
30880
|
+
"""
|
|
30881
|
+
return self._DeviceName
|
|
30882
|
+
|
|
30883
|
+
@DeviceName.setter
|
|
30884
|
+
def DeviceName(self, DeviceName):
|
|
30885
|
+
self._DeviceName = DeviceName
|
|
30886
|
+
|
|
30887
|
+
@property
|
|
30888
|
+
def ChannelId(self):
|
|
30889
|
+
"""通道 ID
|
|
30890
|
+
:rtype: int
|
|
30891
|
+
"""
|
|
30892
|
+
return self._ChannelId
|
|
30893
|
+
|
|
30894
|
+
@ChannelId.setter
|
|
30895
|
+
def ChannelId(self, ChannelId):
|
|
30896
|
+
self._ChannelId = ChannelId
|
|
30897
|
+
|
|
30898
|
+
@property
|
|
30899
|
+
def StartTime(self):
|
|
30900
|
+
"""对应云存视频的起始时间(秒级 UNIX 时间戳)
|
|
30901
|
+
:rtype: int
|
|
30902
|
+
"""
|
|
30903
|
+
return self._StartTime
|
|
30904
|
+
|
|
30905
|
+
@StartTime.setter
|
|
30906
|
+
def StartTime(self, StartTime):
|
|
30907
|
+
self._StartTime = StartTime
|
|
30908
|
+
|
|
30909
|
+
@property
|
|
30910
|
+
def StartTimeMs(self):
|
|
30911
|
+
"""对应云存视频的起始时间(毫秒级 UNIX 时间戳)
|
|
30912
|
+
:rtype: int
|
|
30913
|
+
"""
|
|
30914
|
+
return self._StartTimeMs
|
|
30915
|
+
|
|
30916
|
+
@StartTimeMs.setter
|
|
30917
|
+
def StartTimeMs(self, StartTimeMs):
|
|
30918
|
+
self._StartTimeMs = StartTimeMs
|
|
30919
|
+
|
|
30920
|
+
@property
|
|
30921
|
+
def EndTime(self):
|
|
30922
|
+
"""对应云存视频的结束时间(秒级 UNIX 时间戳)
|
|
30923
|
+
:rtype: int
|
|
30924
|
+
"""
|
|
30925
|
+
return self._EndTime
|
|
30926
|
+
|
|
30927
|
+
@EndTime.setter
|
|
30928
|
+
def EndTime(self, EndTime):
|
|
30929
|
+
self._EndTime = EndTime
|
|
30930
|
+
|
|
30931
|
+
@property
|
|
30932
|
+
def EndTimeMs(self):
|
|
30933
|
+
"""对应云存视频的结束时间(毫秒级 UNIX 时间戳)
|
|
30934
|
+
:rtype: int
|
|
30935
|
+
"""
|
|
30936
|
+
return self._EndTimeMs
|
|
30937
|
+
|
|
30938
|
+
@EndTimeMs.setter
|
|
30939
|
+
def EndTimeMs(self, EndTimeMs):
|
|
30940
|
+
self._EndTimeMs = EndTimeMs
|
|
30941
|
+
|
|
30942
|
+
@property
|
|
30943
|
+
def Status(self):
|
|
30944
|
+
"""任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
|
|
30945
|
+
:rtype: int
|
|
30946
|
+
"""
|
|
30947
|
+
return self._Status
|
|
30948
|
+
|
|
30949
|
+
@Status.setter
|
|
30950
|
+
def Status(self, Status):
|
|
30951
|
+
self._Status = Status
|
|
30952
|
+
|
|
30953
|
+
@property
|
|
30954
|
+
def Result(self):
|
|
30955
|
+
"""任务结果
|
|
30956
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.VisionRecognitionResult`
|
|
30957
|
+
"""
|
|
30958
|
+
return self._Result
|
|
30959
|
+
|
|
30960
|
+
@Result.setter
|
|
30961
|
+
def Result(self, Result):
|
|
30962
|
+
self._Result = Result
|
|
30963
|
+
|
|
30964
|
+
@property
|
|
30965
|
+
def CreateTime(self):
|
|
30966
|
+
"""创建时间
|
|
30967
|
+
:rtype: int
|
|
30968
|
+
"""
|
|
30969
|
+
return self._CreateTime
|
|
30970
|
+
|
|
30971
|
+
@CreateTime.setter
|
|
30972
|
+
def CreateTime(self, CreateTime):
|
|
30973
|
+
self._CreateTime = CreateTime
|
|
30974
|
+
|
|
30975
|
+
@property
|
|
30976
|
+
def UpdateTime(self):
|
|
30977
|
+
"""最后更新时间
|
|
30978
|
+
:rtype: int
|
|
30979
|
+
"""
|
|
30980
|
+
return self._UpdateTime
|
|
30981
|
+
|
|
30982
|
+
@UpdateTime.setter
|
|
30983
|
+
def UpdateTime(self, UpdateTime):
|
|
30984
|
+
self._UpdateTime = UpdateTime
|
|
30985
|
+
|
|
30986
|
+
@property
|
|
30987
|
+
def CustomId(self):
|
|
30988
|
+
"""自定义任务 ID
|
|
30989
|
+
:rtype: str
|
|
30990
|
+
"""
|
|
30991
|
+
return self._CustomId
|
|
30992
|
+
|
|
30993
|
+
@CustomId.setter
|
|
30994
|
+
def CustomId(self, CustomId):
|
|
30995
|
+
self._CustomId = CustomId
|
|
30996
|
+
|
|
30997
|
+
@property
|
|
30998
|
+
def Files(self):
|
|
30999
|
+
"""任务输出文件列表
|
|
31000
|
+
:rtype: list of str
|
|
31001
|
+
"""
|
|
31002
|
+
return self._Files
|
|
31003
|
+
|
|
31004
|
+
@Files.setter
|
|
31005
|
+
def Files(self, Files):
|
|
31006
|
+
self._Files = Files
|
|
31007
|
+
|
|
31008
|
+
@property
|
|
31009
|
+
def FilesInfo(self):
|
|
31010
|
+
"""任务输出文件信息列表
|
|
31011
|
+
:rtype: list of CloudStorageAIServiceTaskFileInfo
|
|
31012
|
+
"""
|
|
31013
|
+
return self._FilesInfo
|
|
31014
|
+
|
|
31015
|
+
@FilesInfo.setter
|
|
31016
|
+
def FilesInfo(self, FilesInfo):
|
|
31017
|
+
self._FilesInfo = FilesInfo
|
|
31018
|
+
|
|
31019
|
+
|
|
31020
|
+
def _deserialize(self, params):
|
|
31021
|
+
self._TaskId = params.get("TaskId")
|
|
31022
|
+
self._ProductId = params.get("ProductId")
|
|
31023
|
+
self._DeviceName = params.get("DeviceName")
|
|
31024
|
+
self._ChannelId = params.get("ChannelId")
|
|
31025
|
+
self._StartTime = params.get("StartTime")
|
|
31026
|
+
self._StartTimeMs = params.get("StartTimeMs")
|
|
31027
|
+
self._EndTime = params.get("EndTime")
|
|
31028
|
+
self._EndTimeMs = params.get("EndTimeMs")
|
|
31029
|
+
self._Status = params.get("Status")
|
|
31030
|
+
if params.get("Result") is not None:
|
|
31031
|
+
self._Result = VisionRecognitionResult()
|
|
31032
|
+
self._Result._deserialize(params.get("Result"))
|
|
31033
|
+
self._CreateTime = params.get("CreateTime")
|
|
31034
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
31035
|
+
self._CustomId = params.get("CustomId")
|
|
31036
|
+
self._Files = params.get("Files")
|
|
31037
|
+
if params.get("FilesInfo") is not None:
|
|
31038
|
+
self._FilesInfo = []
|
|
31039
|
+
for item in params.get("FilesInfo"):
|
|
31040
|
+
obj = CloudStorageAIServiceTaskFileInfo()
|
|
31041
|
+
obj._deserialize(item)
|
|
31042
|
+
self._FilesInfo.append(obj)
|
|
31043
|
+
memeber_set = set(params.keys())
|
|
31044
|
+
for name, value in vars(self).items():
|
|
31045
|
+
property_name = name[1:]
|
|
31046
|
+
if property_name in memeber_set:
|
|
31047
|
+
memeber_set.remove(property_name)
|
|
31048
|
+
if len(memeber_set) > 0:
|
|
31049
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
31050
|
+
|
|
31051
|
+
|
|
31052
|
+
|
|
30588
31053
|
class VisionSummaryConfig(AbstractModel):
|
|
30589
31054
|
"""视频摘要配置
|
|
30590
31055
|
|
|
@@ -422,6 +422,9 @@ INVALIDPARAMETERVALUE_UNSUPPORTEDSTREAMPROTOCOL = 'InvalidParameterValue.Unsuppo
|
|
|
422
422
|
# 查询的通道数量不能超过3000个
|
|
423
423
|
LIMITEXCEEDED_CHANNELNUMEXCEEDED = 'LimitExceeded.ChannelNumExceeded'
|
|
424
424
|
|
|
425
|
+
# 查询的设备数量不能超过200个
|
|
426
|
+
LIMITEXCEEDED_DEICEIDQUANTITYEXCEEDEDLIMIT = 'LimitExceeded.DeiceIdQuantityExceededLimit'
|
|
427
|
+
|
|
425
428
|
# 查询的国标设备数量不能超过500个
|
|
426
429
|
LIMITEXCEEDED_GBDEVICENUMEXCEEDED = 'LimitExceeded.GBDeviceNumExceeded'
|
|
427
430
|
|
|
@@ -1295,6 +1295,29 @@ class IssClient(AbstractClient):
|
|
|
1295
1295
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1296
1296
|
|
|
1297
1297
|
|
|
1298
|
+
def DescribeUserDeviceList(self, request):
|
|
1299
|
+
"""用于批量查询设备详细信息。
|
|
1300
|
+
|
|
1301
|
+
:param request: Request instance for DescribeUserDeviceList.
|
|
1302
|
+
:type request: :class:`tencentcloud.iss.v20230517.models.DescribeUserDeviceListRequest`
|
|
1303
|
+
:rtype: :class:`tencentcloud.iss.v20230517.models.DescribeUserDeviceListResponse`
|
|
1304
|
+
|
|
1305
|
+
"""
|
|
1306
|
+
try:
|
|
1307
|
+
params = request._serialize()
|
|
1308
|
+
headers = request.headers
|
|
1309
|
+
body = self.call("DescribeUserDeviceList", params, headers=headers)
|
|
1310
|
+
response = json.loads(body)
|
|
1311
|
+
model = models.DescribeUserDeviceListResponse()
|
|
1312
|
+
model._deserialize(response["Response"])
|
|
1313
|
+
return model
|
|
1314
|
+
except Exception as e:
|
|
1315
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1316
|
+
raise
|
|
1317
|
+
else:
|
|
1318
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1319
|
+
|
|
1320
|
+
|
|
1298
1321
|
def DescribeVideoBitRate(self, request):
|
|
1299
1322
|
"""用于获取视频通道的码率信息
|
|
1300
1323
|
|