tencentcloud-sdk-python 3.0.1431__py2.py3-none-any.whl → 3.0.1432__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/cbs/v20170312/models.py +15 -0
- tencentcloud/ess/v20201111/models.py +42 -0
- tencentcloud/essbasic/v20210526/models.py +58 -22
- tencentcloud/live/v20180801/models.py +0 -2
- tencentcloud/lke/v20231130/models.py +30 -0
- tencentcloud/mps/v20190612/models.py +731 -57
- tencentcloud/mps/v20190612/mps_client.py +5 -5
- tencentcloud/postgres/v20170312/models.py +80 -78
- tencentcloud/ssl/v20191205/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +1 -1
- tencentcloud/vod/v20180717/models.py +372 -2
- tencentcloud/wedata/v20210820/models.py +1524 -2
- tencentcloud/wedata/v20210820/wedata_client.py +184 -0
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1432.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1432.dist-info}/RECORD +19 -19
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1432.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1432.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1431.dist-info → tencentcloud_sdk_python-3.0.1432.dist-info}/top_level.txt +0 -0
|
@@ -908,7 +908,7 @@ INVALIDPARAMETERVALUE_INVALIDPARAMETERFORMAT = 'InvalidParameterValue.InvalidPar
|
|
|
908
908
|
# 数据集名非法。
|
|
909
909
|
INVALIDPARAMETERVALUE_INVALIDPROGRAMNAME = 'InvalidParameterValue.InvalidProgramName'
|
|
910
910
|
|
|
911
|
-
#
|
|
911
|
+
# 该泳道已关联全链路灰度发布规则,请先从规则中移除后删除
|
|
912
912
|
INVALIDPARAMETERVALUE_LANEINFOALREADYUSED = 'InvalidParameterValue.LaneInfoAlreadyUsed'
|
|
913
913
|
|
|
914
914
|
# 存在同名的泳道。
|
|
@@ -31500,7 +31500,7 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
|
31500
31500
|
|
|
31501
31501
|
def __init__(self):
|
|
31502
31502
|
r"""
|
|
31503
|
-
:param _TaskType: 任务类型,取值:<li>Procedure:视频处理任务;</li><li>EditMedia:视频编辑任务;</li><li>SplitMedia:视频拆条任务;</li><li>ComposeMedia:制作媒体文件任务;</li><li>WechatPublish:微信发布任务;</li><li>WechatMiniProgramPublish:微信小程序视频发布任务;</li><li>PullUpload:拉取上传媒体文件任务;</li><li>FastClipMedia:快速剪辑任务;</li><li>RemoveWatermarkTask:智能去除水印任务;</li><li>DescribeFileAttributesTask:获取文件属性任务;</li><li>RebuildMedia:音画质重生任务(不推荐使用);</li><li>ReviewAudioVideo:音视频审核任务;</li><li>ExtractTraceWatermark:提取溯源水印任务;</li><li>ExtractCopyRightWatermark:提取版权水印任务;</li><li>QualityInspect:音画质检测任务;</li><li>QualityEnhance:音画质重生任务;</li><li>ComplexAdaptiveDynamicStreaming
|
|
31503
|
+
:param _TaskType: 任务类型,取值:<li>Procedure:视频处理任务;</li><li>EditMedia:视频编辑任务;</li><li>SplitMedia:视频拆条任务;</li><li>ComposeMedia:制作媒体文件任务;</li><li>WechatPublish:微信发布任务;</li><li>WechatMiniProgramPublish:微信小程序视频发布任务;</li><li>PullUpload:拉取上传媒体文件任务;</li><li>FastClipMedia:快速剪辑任务;</li><li>RemoveWatermarkTask:智能去除水印任务;</li><li>DescribeFileAttributesTask:获取文件属性任务;</li><li>RebuildMedia:音画质重生任务(不推荐使用);</li><li>ReviewAudioVideo:音视频审核任务;</li><li>ExtractTraceWatermark:提取溯源水印任务;</li><li>ExtractCopyRightWatermark:提取版权水印任务;</li><li>QualityInspect:音画质检测任务;</li><li>QualityEnhance:音画质重生任务;</li><li>ComplexAdaptiveDynamicStreaming:复杂自适应码流任务;</li><li>ProcessMediaByMPS:MPS 视频处理任务。</li>
|
|
31504
31504
|
:type TaskType: str
|
|
31505
31505
|
:param _Status: 任务状态,取值:
|
|
31506
31506
|
<li>WAITING:等待中;</li>
|
|
@@ -31580,6 +31580,8 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
|
31580
31580
|
:param _ComplexAdaptiveDynamicStreamingTask: 复杂自适应码流任务信息,仅当 TaskType 为 ComplexAdaptiveDynamicStreaming,该字段有值。
|
|
31581
31581
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
31582
31582
|
:type ComplexAdaptiveDynamicStreamingTask: :class:`tencentcloud.vod.v20180717.models.ComplexAdaptiveDynamicStreamingTask`
|
|
31583
|
+
:param _ProcessMediaByMPSTask: MPS 视频处理任务信息,仅当 TaskType 为 ProcessMediaByMPS,该字段有值。
|
|
31584
|
+
:type ProcessMediaByMPSTask: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPS`
|
|
31583
31585
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
31584
31586
|
:type RequestId: str
|
|
31585
31587
|
"""
|
|
@@ -31610,11 +31612,12 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
|
31610
31612
|
self._QualityInspectTask = None
|
|
31611
31613
|
self._QualityEnhanceTask = None
|
|
31612
31614
|
self._ComplexAdaptiveDynamicStreamingTask = None
|
|
31615
|
+
self._ProcessMediaByMPSTask = None
|
|
31613
31616
|
self._RequestId = None
|
|
31614
31617
|
|
|
31615
31618
|
@property
|
|
31616
31619
|
def TaskType(self):
|
|
31617
|
-
"""任务类型,取值:<li>Procedure:视频处理任务;</li><li>EditMedia:视频编辑任务;</li><li>SplitMedia:视频拆条任务;</li><li>ComposeMedia:制作媒体文件任务;</li><li>WechatPublish:微信发布任务;</li><li>WechatMiniProgramPublish:微信小程序视频发布任务;</li><li>PullUpload:拉取上传媒体文件任务;</li><li>FastClipMedia:快速剪辑任务;</li><li>RemoveWatermarkTask:智能去除水印任务;</li><li>DescribeFileAttributesTask:获取文件属性任务;</li><li>RebuildMedia:音画质重生任务(不推荐使用);</li><li>ReviewAudioVideo:音视频审核任务;</li><li>ExtractTraceWatermark:提取溯源水印任务;</li><li>ExtractCopyRightWatermark:提取版权水印任务;</li><li>QualityInspect:音画质检测任务;</li><li>QualityEnhance:音画质重生任务;</li><li>ComplexAdaptiveDynamicStreaming
|
|
31620
|
+
"""任务类型,取值:<li>Procedure:视频处理任务;</li><li>EditMedia:视频编辑任务;</li><li>SplitMedia:视频拆条任务;</li><li>ComposeMedia:制作媒体文件任务;</li><li>WechatPublish:微信发布任务;</li><li>WechatMiniProgramPublish:微信小程序视频发布任务;</li><li>PullUpload:拉取上传媒体文件任务;</li><li>FastClipMedia:快速剪辑任务;</li><li>RemoveWatermarkTask:智能去除水印任务;</li><li>DescribeFileAttributesTask:获取文件属性任务;</li><li>RebuildMedia:音画质重生任务(不推荐使用);</li><li>ReviewAudioVideo:音视频审核任务;</li><li>ExtractTraceWatermark:提取溯源水印任务;</li><li>ExtractCopyRightWatermark:提取版权水印任务;</li><li>QualityInspect:音画质检测任务;</li><li>QualityEnhance:音画质重生任务;</li><li>ComplexAdaptiveDynamicStreaming:复杂自适应码流任务;</li><li>ProcessMediaByMPS:MPS 视频处理任务。</li>
|
|
31618
31621
|
:rtype: str
|
|
31619
31622
|
"""
|
|
31620
31623
|
return self._TaskType
|
|
@@ -31935,6 +31938,17 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
|
31935
31938
|
def ComplexAdaptiveDynamicStreamingTask(self, ComplexAdaptiveDynamicStreamingTask):
|
|
31936
31939
|
self._ComplexAdaptiveDynamicStreamingTask = ComplexAdaptiveDynamicStreamingTask
|
|
31937
31940
|
|
|
31941
|
+
@property
|
|
31942
|
+
def ProcessMediaByMPSTask(self):
|
|
31943
|
+
"""MPS 视频处理任务信息,仅当 TaskType 为 ProcessMediaByMPS,该字段有值。
|
|
31944
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPS`
|
|
31945
|
+
"""
|
|
31946
|
+
return self._ProcessMediaByMPSTask
|
|
31947
|
+
|
|
31948
|
+
@ProcessMediaByMPSTask.setter
|
|
31949
|
+
def ProcessMediaByMPSTask(self, ProcessMediaByMPSTask):
|
|
31950
|
+
self._ProcessMediaByMPSTask = ProcessMediaByMPSTask
|
|
31951
|
+
|
|
31938
31952
|
@property
|
|
31939
31953
|
def RequestId(self):
|
|
31940
31954
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -32019,6 +32033,9 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
|
32019
32033
|
if params.get("ComplexAdaptiveDynamicStreamingTask") is not None:
|
|
32020
32034
|
self._ComplexAdaptiveDynamicStreamingTask = ComplexAdaptiveDynamicStreamingTask()
|
|
32021
32035
|
self._ComplexAdaptiveDynamicStreamingTask._deserialize(params.get("ComplexAdaptiveDynamicStreamingTask"))
|
|
32036
|
+
if params.get("ProcessMediaByMPSTask") is not None:
|
|
32037
|
+
self._ProcessMediaByMPSTask = ProcessMediaByMPS()
|
|
32038
|
+
self._ProcessMediaByMPSTask._deserialize(params.get("ProcessMediaByMPSTask"))
|
|
32022
32039
|
self._RequestId = params.get("RequestId")
|
|
32023
32040
|
|
|
32024
32041
|
|
|
@@ -40806,6 +40823,258 @@ class LowLightEnhanceInfo(AbstractModel):
|
|
|
40806
40823
|
|
|
40807
40824
|
|
|
40808
40825
|
|
|
40826
|
+
class MPSOutputFile(AbstractModel):
|
|
40827
|
+
"""用于描述 MPS 视频处理任务中的返回文件结果。
|
|
40828
|
+
|
|
40829
|
+
"""
|
|
40830
|
+
|
|
40831
|
+
def __init__(self):
|
|
40832
|
+
r"""
|
|
40833
|
+
:param _FileType: 文件类型。用于标识 MPS 视频处理任务执行结果中的特定返回文件。
|
|
40834
|
+
取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li>
|
|
40835
|
+
:type FileType: str
|
|
40836
|
+
:param _StorageMode: 存储形式。用于表示该结果文件的存储形式,取值有:<li> Permanent:永久存储;</li><li> Temporary:临时存储。</li>
|
|
40837
|
+
:type StorageMode: str
|
|
40838
|
+
:param _FileId: 媒体文件 ID。当 Type 为 Permanent 时有效,表示该结果文件以视频媒资形式存储在点播平台中,字段值为视频媒资的 FileId。
|
|
40839
|
+
:type FileId: str
|
|
40840
|
+
:param _Url: 结果文件的可下载 Url。
|
|
40841
|
+
:type Url: str
|
|
40842
|
+
:param _ExpiredTime: 过期时间。当 StorageMode 为 Temporary 时有效,表示 Url 的过期时间,单位为秒。
|
|
40843
|
+
:type ExpiredTime: int
|
|
40844
|
+
"""
|
|
40845
|
+
self._FileType = None
|
|
40846
|
+
self._StorageMode = None
|
|
40847
|
+
self._FileId = None
|
|
40848
|
+
self._Url = None
|
|
40849
|
+
self._ExpiredTime = None
|
|
40850
|
+
|
|
40851
|
+
@property
|
|
40852
|
+
def FileType(self):
|
|
40853
|
+
"""文件类型。用于标识 MPS 视频处理任务执行结果中的特定返回文件。
|
|
40854
|
+
取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li>
|
|
40855
|
+
:rtype: str
|
|
40856
|
+
"""
|
|
40857
|
+
return self._FileType
|
|
40858
|
+
|
|
40859
|
+
@FileType.setter
|
|
40860
|
+
def FileType(self, FileType):
|
|
40861
|
+
self._FileType = FileType
|
|
40862
|
+
|
|
40863
|
+
@property
|
|
40864
|
+
def StorageMode(self):
|
|
40865
|
+
"""存储形式。用于表示该结果文件的存储形式,取值有:<li> Permanent:永久存储;</li><li> Temporary:临时存储。</li>
|
|
40866
|
+
:rtype: str
|
|
40867
|
+
"""
|
|
40868
|
+
return self._StorageMode
|
|
40869
|
+
|
|
40870
|
+
@StorageMode.setter
|
|
40871
|
+
def StorageMode(self, StorageMode):
|
|
40872
|
+
self._StorageMode = StorageMode
|
|
40873
|
+
|
|
40874
|
+
@property
|
|
40875
|
+
def FileId(self):
|
|
40876
|
+
"""媒体文件 ID。当 Type 为 Permanent 时有效,表示该结果文件以视频媒资形式存储在点播平台中,字段值为视频媒资的 FileId。
|
|
40877
|
+
:rtype: str
|
|
40878
|
+
"""
|
|
40879
|
+
return self._FileId
|
|
40880
|
+
|
|
40881
|
+
@FileId.setter
|
|
40882
|
+
def FileId(self, FileId):
|
|
40883
|
+
self._FileId = FileId
|
|
40884
|
+
|
|
40885
|
+
@property
|
|
40886
|
+
def Url(self):
|
|
40887
|
+
"""结果文件的可下载 Url。
|
|
40888
|
+
:rtype: str
|
|
40889
|
+
"""
|
|
40890
|
+
return self._Url
|
|
40891
|
+
|
|
40892
|
+
@Url.setter
|
|
40893
|
+
def Url(self, Url):
|
|
40894
|
+
self._Url = Url
|
|
40895
|
+
|
|
40896
|
+
@property
|
|
40897
|
+
def ExpiredTime(self):
|
|
40898
|
+
"""过期时间。当 StorageMode 为 Temporary 时有效,表示 Url 的过期时间,单位为秒。
|
|
40899
|
+
:rtype: int
|
|
40900
|
+
"""
|
|
40901
|
+
return self._ExpiredTime
|
|
40902
|
+
|
|
40903
|
+
@ExpiredTime.setter
|
|
40904
|
+
def ExpiredTime(self, ExpiredTime):
|
|
40905
|
+
self._ExpiredTime = ExpiredTime
|
|
40906
|
+
|
|
40907
|
+
|
|
40908
|
+
def _deserialize(self, params):
|
|
40909
|
+
self._FileType = params.get("FileType")
|
|
40910
|
+
self._StorageMode = params.get("StorageMode")
|
|
40911
|
+
self._FileId = params.get("FileId")
|
|
40912
|
+
self._Url = params.get("Url")
|
|
40913
|
+
self._ExpiredTime = params.get("ExpiredTime")
|
|
40914
|
+
memeber_set = set(params.keys())
|
|
40915
|
+
for name, value in vars(self).items():
|
|
40916
|
+
property_name = name[1:]
|
|
40917
|
+
if property_name in memeber_set:
|
|
40918
|
+
memeber_set.remove(property_name)
|
|
40919
|
+
if len(memeber_set) > 0:
|
|
40920
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
40921
|
+
|
|
40922
|
+
|
|
40923
|
+
|
|
40924
|
+
class MPSSubTaskResult(AbstractModel):
|
|
40925
|
+
"""MPS 具体子任务查询结果类型。
|
|
40926
|
+
|
|
40927
|
+
"""
|
|
40928
|
+
|
|
40929
|
+
def __init__(self):
|
|
40930
|
+
r"""
|
|
40931
|
+
:param _TaskType: 任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li>
|
|
40932
|
+
:type TaskType: str
|
|
40933
|
+
:param _Status: 任务状态。有 PROCESSING,SUCCESS 和 FAIL 三种。
|
|
40934
|
+
:type Status: str
|
|
40935
|
+
:param _ErrCode: 错误码。返回0时成功,其他值为失败。
|
|
40936
|
+
:type ErrCode: str
|
|
40937
|
+
:param _Message: 错误信息。
|
|
40938
|
+
:type Message: str
|
|
40939
|
+
:param _Input: MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。
|
|
40940
|
+
:type Input: str
|
|
40941
|
+
:param _Output: MPS 视频处理任务输出。
|
|
40942
|
+
:type Output: :class:`tencentcloud.vod.v20180717.models.MPSTaskOutput`
|
|
40943
|
+
"""
|
|
40944
|
+
self._TaskType = None
|
|
40945
|
+
self._Status = None
|
|
40946
|
+
self._ErrCode = None
|
|
40947
|
+
self._Message = None
|
|
40948
|
+
self._Input = None
|
|
40949
|
+
self._Output = None
|
|
40950
|
+
|
|
40951
|
+
@property
|
|
40952
|
+
def TaskType(self):
|
|
40953
|
+
"""任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li>
|
|
40954
|
+
:rtype: str
|
|
40955
|
+
"""
|
|
40956
|
+
return self._TaskType
|
|
40957
|
+
|
|
40958
|
+
@TaskType.setter
|
|
40959
|
+
def TaskType(self, TaskType):
|
|
40960
|
+
self._TaskType = TaskType
|
|
40961
|
+
|
|
40962
|
+
@property
|
|
40963
|
+
def Status(self):
|
|
40964
|
+
"""任务状态。有 PROCESSING,SUCCESS 和 FAIL 三种。
|
|
40965
|
+
:rtype: str
|
|
40966
|
+
"""
|
|
40967
|
+
return self._Status
|
|
40968
|
+
|
|
40969
|
+
@Status.setter
|
|
40970
|
+
def Status(self, Status):
|
|
40971
|
+
self._Status = Status
|
|
40972
|
+
|
|
40973
|
+
@property
|
|
40974
|
+
def ErrCode(self):
|
|
40975
|
+
"""错误码。返回0时成功,其他值为失败。
|
|
40976
|
+
:rtype: str
|
|
40977
|
+
"""
|
|
40978
|
+
return self._ErrCode
|
|
40979
|
+
|
|
40980
|
+
@ErrCode.setter
|
|
40981
|
+
def ErrCode(self, ErrCode):
|
|
40982
|
+
self._ErrCode = ErrCode
|
|
40983
|
+
|
|
40984
|
+
@property
|
|
40985
|
+
def Message(self):
|
|
40986
|
+
"""错误信息。
|
|
40987
|
+
:rtype: str
|
|
40988
|
+
"""
|
|
40989
|
+
return self._Message
|
|
40990
|
+
|
|
40991
|
+
@Message.setter
|
|
40992
|
+
def Message(self, Message):
|
|
40993
|
+
self._Message = Message
|
|
40994
|
+
|
|
40995
|
+
@property
|
|
40996
|
+
def Input(self):
|
|
40997
|
+
"""MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。
|
|
40998
|
+
:rtype: str
|
|
40999
|
+
"""
|
|
41000
|
+
return self._Input
|
|
41001
|
+
|
|
41002
|
+
@Input.setter
|
|
41003
|
+
def Input(self, Input):
|
|
41004
|
+
self._Input = Input
|
|
41005
|
+
|
|
41006
|
+
@property
|
|
41007
|
+
def Output(self):
|
|
41008
|
+
"""MPS 视频处理任务输出。
|
|
41009
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.MPSTaskOutput`
|
|
41010
|
+
"""
|
|
41011
|
+
return self._Output
|
|
41012
|
+
|
|
41013
|
+
@Output.setter
|
|
41014
|
+
def Output(self, Output):
|
|
41015
|
+
self._Output = Output
|
|
41016
|
+
|
|
41017
|
+
|
|
41018
|
+
def _deserialize(self, params):
|
|
41019
|
+
self._TaskType = params.get("TaskType")
|
|
41020
|
+
self._Status = params.get("Status")
|
|
41021
|
+
self._ErrCode = params.get("ErrCode")
|
|
41022
|
+
self._Message = params.get("Message")
|
|
41023
|
+
self._Input = params.get("Input")
|
|
41024
|
+
if params.get("Output") is not None:
|
|
41025
|
+
self._Output = MPSTaskOutput()
|
|
41026
|
+
self._Output._deserialize(params.get("Output"))
|
|
41027
|
+
memeber_set = set(params.keys())
|
|
41028
|
+
for name, value in vars(self).items():
|
|
41029
|
+
property_name = name[1:]
|
|
41030
|
+
if property_name in memeber_set:
|
|
41031
|
+
memeber_set.remove(property_name)
|
|
41032
|
+
if len(memeber_set) > 0:
|
|
41033
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
41034
|
+
|
|
41035
|
+
|
|
41036
|
+
|
|
41037
|
+
class MPSTaskOutput(AbstractModel):
|
|
41038
|
+
"""MPS 子任务输出返回结果。
|
|
41039
|
+
|
|
41040
|
+
"""
|
|
41041
|
+
|
|
41042
|
+
def __init__(self):
|
|
41043
|
+
r"""
|
|
41044
|
+
:param _OutputFiles: 任务返回结果中的文件类型结果。如智能擦除中,擦除后的视频文件将被存入媒资,并在此字段中给出 FileId;基于画面提取的字幕文件 Url 将在此字段中给出。
|
|
41045
|
+
:type OutputFiles: list of MPSOutputFile
|
|
41046
|
+
"""
|
|
41047
|
+
self._OutputFiles = None
|
|
41048
|
+
|
|
41049
|
+
@property
|
|
41050
|
+
def OutputFiles(self):
|
|
41051
|
+
"""任务返回结果中的文件类型结果。如智能擦除中,擦除后的视频文件将被存入媒资,并在此字段中给出 FileId;基于画面提取的字幕文件 Url 将在此字段中给出。
|
|
41052
|
+
:rtype: list of MPSOutputFile
|
|
41053
|
+
"""
|
|
41054
|
+
return self._OutputFiles
|
|
41055
|
+
|
|
41056
|
+
@OutputFiles.setter
|
|
41057
|
+
def OutputFiles(self, OutputFiles):
|
|
41058
|
+
self._OutputFiles = OutputFiles
|
|
41059
|
+
|
|
41060
|
+
|
|
41061
|
+
def _deserialize(self, params):
|
|
41062
|
+
if params.get("OutputFiles") is not None:
|
|
41063
|
+
self._OutputFiles = []
|
|
41064
|
+
for item in params.get("OutputFiles"):
|
|
41065
|
+
obj = MPSOutputFile()
|
|
41066
|
+
obj._deserialize(item)
|
|
41067
|
+
self._OutputFiles.append(obj)
|
|
41068
|
+
memeber_set = set(params.keys())
|
|
41069
|
+
for name, value in vars(self).items():
|
|
41070
|
+
property_name = name[1:]
|
|
41071
|
+
if property_name in memeber_set:
|
|
41072
|
+
memeber_set.remove(property_name)
|
|
41073
|
+
if len(memeber_set) > 0:
|
|
41074
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
41075
|
+
|
|
41076
|
+
|
|
41077
|
+
|
|
40809
41078
|
class ManageTaskRequest(AbstractModel):
|
|
40810
41079
|
"""ManageTask请求参数结构体
|
|
40811
41080
|
|
|
@@ -56039,6 +56308,107 @@ class ProcessImageResponse(AbstractModel):
|
|
|
56039
56308
|
self._RequestId = params.get("RequestId")
|
|
56040
56309
|
|
|
56041
56310
|
|
|
56311
|
+
class ProcessMediaByMPS(AbstractModel):
|
|
56312
|
+
"""MPS 媒体处理任务信息。
|
|
56313
|
+
|
|
56314
|
+
"""
|
|
56315
|
+
|
|
56316
|
+
def __init__(self):
|
|
56317
|
+
r"""
|
|
56318
|
+
:param _TaskId: 任务 ID。
|
|
56319
|
+
:type TaskId: str
|
|
56320
|
+
:param _Status: 任务状态,取值:<li>PROCESSING:处理中;</li><li>FINISH:已完成。</li>
|
|
56321
|
+
:type Status: str
|
|
56322
|
+
:param _ErrCode: 错误码。源异常时返回非0错误码,返回0时请使用各个具体任务的 ErrCode。
|
|
56323
|
+
:type ErrCode: int
|
|
56324
|
+
:param _Message: 错误信息。源异常时返回对应异常 Message,否则请使用各个具体任务的 Message。
|
|
56325
|
+
:type Message: str
|
|
56326
|
+
:param _SubTaskSet: MPS 视频处理任务。
|
|
56327
|
+
:type SubTaskSet: list of MPSSubTaskResult
|
|
56328
|
+
"""
|
|
56329
|
+
self._TaskId = None
|
|
56330
|
+
self._Status = None
|
|
56331
|
+
self._ErrCode = None
|
|
56332
|
+
self._Message = None
|
|
56333
|
+
self._SubTaskSet = None
|
|
56334
|
+
|
|
56335
|
+
@property
|
|
56336
|
+
def TaskId(self):
|
|
56337
|
+
"""任务 ID。
|
|
56338
|
+
:rtype: str
|
|
56339
|
+
"""
|
|
56340
|
+
return self._TaskId
|
|
56341
|
+
|
|
56342
|
+
@TaskId.setter
|
|
56343
|
+
def TaskId(self, TaskId):
|
|
56344
|
+
self._TaskId = TaskId
|
|
56345
|
+
|
|
56346
|
+
@property
|
|
56347
|
+
def Status(self):
|
|
56348
|
+
"""任务状态,取值:<li>PROCESSING:处理中;</li><li>FINISH:已完成。</li>
|
|
56349
|
+
:rtype: str
|
|
56350
|
+
"""
|
|
56351
|
+
return self._Status
|
|
56352
|
+
|
|
56353
|
+
@Status.setter
|
|
56354
|
+
def Status(self, Status):
|
|
56355
|
+
self._Status = Status
|
|
56356
|
+
|
|
56357
|
+
@property
|
|
56358
|
+
def ErrCode(self):
|
|
56359
|
+
"""错误码。源异常时返回非0错误码,返回0时请使用各个具体任务的 ErrCode。
|
|
56360
|
+
:rtype: int
|
|
56361
|
+
"""
|
|
56362
|
+
return self._ErrCode
|
|
56363
|
+
|
|
56364
|
+
@ErrCode.setter
|
|
56365
|
+
def ErrCode(self, ErrCode):
|
|
56366
|
+
self._ErrCode = ErrCode
|
|
56367
|
+
|
|
56368
|
+
@property
|
|
56369
|
+
def Message(self):
|
|
56370
|
+
"""错误信息。源异常时返回对应异常 Message,否则请使用各个具体任务的 Message。
|
|
56371
|
+
:rtype: str
|
|
56372
|
+
"""
|
|
56373
|
+
return self._Message
|
|
56374
|
+
|
|
56375
|
+
@Message.setter
|
|
56376
|
+
def Message(self, Message):
|
|
56377
|
+
self._Message = Message
|
|
56378
|
+
|
|
56379
|
+
@property
|
|
56380
|
+
def SubTaskSet(self):
|
|
56381
|
+
"""MPS 视频处理任务。
|
|
56382
|
+
:rtype: list of MPSSubTaskResult
|
|
56383
|
+
"""
|
|
56384
|
+
return self._SubTaskSet
|
|
56385
|
+
|
|
56386
|
+
@SubTaskSet.setter
|
|
56387
|
+
def SubTaskSet(self, SubTaskSet):
|
|
56388
|
+
self._SubTaskSet = SubTaskSet
|
|
56389
|
+
|
|
56390
|
+
|
|
56391
|
+
def _deserialize(self, params):
|
|
56392
|
+
self._TaskId = params.get("TaskId")
|
|
56393
|
+
self._Status = params.get("Status")
|
|
56394
|
+
self._ErrCode = params.get("ErrCode")
|
|
56395
|
+
self._Message = params.get("Message")
|
|
56396
|
+
if params.get("SubTaskSet") is not None:
|
|
56397
|
+
self._SubTaskSet = []
|
|
56398
|
+
for item in params.get("SubTaskSet"):
|
|
56399
|
+
obj = MPSSubTaskResult()
|
|
56400
|
+
obj._deserialize(item)
|
|
56401
|
+
self._SubTaskSet.append(obj)
|
|
56402
|
+
memeber_set = set(params.keys())
|
|
56403
|
+
for name, value in vars(self).items():
|
|
56404
|
+
property_name = name[1:]
|
|
56405
|
+
if property_name in memeber_set:
|
|
56406
|
+
memeber_set.remove(property_name)
|
|
56407
|
+
if len(memeber_set) > 0:
|
|
56408
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
56409
|
+
|
|
56410
|
+
|
|
56411
|
+
|
|
56042
56412
|
class ProcessMediaByProcedureRequest(AbstractModel):
|
|
56043
56413
|
"""ProcessMediaByProcedure请求参数结构体
|
|
56044
56414
|
|