tencentcloud-sdk-python 3.0.1447__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +2 -2
- tencentcloud/cls/v20201016/models.py +16 -6
- tencentcloud/cynosdb/v20190107/models.py +4 -0
- tencentcloud/dlc/v20210125/errorcodes.py +9 -0
- tencentcloud/ess/v20201111/models.py +213 -12
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +353 -0
- tencentcloud/partners/v20180321/models.py +8 -4
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +315 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- tencentcloud/tsf/v20180326/models.py +8 -8
- tencentcloud/vclm/v20240523/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/RECORD +21 -21
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/top_level.txt +0 -0
@@ -14829,6 +14829,106 @@ class DescribeTWeSeeConfigResponse(AbstractModel):
|
|
14829
14829
|
self._RequestId = params.get("RequestId")
|
14830
14830
|
|
14831
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
|
+
|
14832
14932
|
class DescribeTopicPolicyRequest(AbstractModel):
|
14833
14933
|
"""DescribeTopicPolicy请求参数结构体
|
14834
14934
|
|
@@ -30697,6 +30797,259 @@ class VisionRecognitionResult(AbstractModel):
|
|
30697
30797
|
|
30698
30798
|
|
30699
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
|
+
|
30700
31053
|
class VisionSummaryConfig(AbstractModel):
|
30701
31054
|
"""视频摘要配置
|
30702
31055
|
|
@@ -718,7 +718,7 @@ class AgentDealNewElem(AbstractModel):
|
|
718
718
|
|
719
719
|
def __init__(self):
|
720
720
|
r"""
|
721
|
-
:param _DealId:
|
721
|
+
:param _DealId: ID【请勿依赖该字段作为唯一标识】
|
722
722
|
:type DealId: str
|
723
723
|
:param _DealName: 订单号【订单唯一键】
|
724
724
|
:type DealName: str
|
@@ -744,7 +744,9 @@ class AgentDealNewElem(AbstractModel):
|
|
744
744
|
:type Payer: str
|
745
745
|
:param _DealStatus: 订单状态,中文描述
|
746
746
|
:type DealStatus: str
|
747
|
-
:param _Status:
|
747
|
+
:param _Status: 子订单状态(1-待支付,2-已支付,3-发货中,4-已发货,5-发货失败,6-已退款,7-已取消,8-已过期,9-已失效,12-支付中,13-退款中,30-处理中)
|
748
|
+
|
749
|
+
控制台订单状态为大订单状态,是以上状态的聚合:未支付(1) 处理中(2,3,5,12,13,30) 已取消(7) 交易成功(4) 已过期(8) 已退款(6) 订单错误(9)
|
748
750
|
:type Status: str
|
749
751
|
:param _GoodsName: 产品名称
|
750
752
|
:type GoodsName: str
|
@@ -815,7 +817,7 @@ class AgentDealNewElem(AbstractModel):
|
|
815
817
|
|
816
818
|
@property
|
817
819
|
def DealId(self):
|
818
|
-
"""
|
820
|
+
""" ID【请勿依赖该字段作为唯一标识】
|
819
821
|
:rtype: str
|
820
822
|
"""
|
821
823
|
return self._DealId
|
@@ -958,7 +960,9 @@ class AgentDealNewElem(AbstractModel):
|
|
958
960
|
|
959
961
|
@property
|
960
962
|
def Status(self):
|
961
|
-
"""
|
963
|
+
"""子订单状态(1-待支付,2-已支付,3-发货中,4-已发货,5-发货失败,6-已退款,7-已取消,8-已过期,9-已失效,12-支付中,13-退款中,30-处理中)
|
964
|
+
|
965
|
+
控制台订单状态为大订单状态,是以上状态的聚合:未支付(1) 处理中(2,3,5,12,13,30) 已取消(7) 交易成功(4) 已过期(8) 已退款(6) 订单错误(9)
|
962
966
|
:rtype: str
|
963
967
|
"""
|
964
968
|
return self._Status
|
@@ -356,6 +356,9 @@ RESOURCENOTFOUND_MSGPRODUCELOG = 'ResourceNotFound.MsgProduceLog'
|
|
356
356
|
# 命名空间不存在。
|
357
357
|
RESOURCENOTFOUND_NAMESPACE = 'ResourceNotFound.Namespace'
|
358
358
|
|
359
|
+
# 命名空间不存在。
|
360
|
+
RESOURCENOTFOUND_NAMSPACE = 'ResourceNotFound.Namspace'
|
361
|
+
|
359
362
|
# 角色不存在。
|
360
363
|
RESOURCENOTFOUND_ROLE = 'ResourceNotFound.Role'
|
361
364
|
|