tencentcloud-sdk-python 3.0.1442__py2.py3-none-any.whl → 3.0.1444__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.

Files changed (66) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/models.py +30 -50
  3. tencentcloud/ckafka/v20190819/models.py +23 -23
  4. tencentcloud/clb/v20180317/models.py +426 -30
  5. tencentcloud/cls/v20201016/cls_client.py +4 -4
  6. tencentcloud/cls/v20201016/errorcodes.py +3 -0
  7. tencentcloud/cls/v20201016/models.py +1089 -324
  8. tencentcloud/common/credential.py +20 -2
  9. tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
  10. tencentcloud/dnspod/v20210323/models.py +17 -2
  11. tencentcloud/es/v20180416/models.py +30 -0
  12. tencentcloud/ess/v20201111/ess_client.py +3 -1
  13. tencentcloud/ess/v20201111/models.py +2 -2
  14. tencentcloud/essbasic/v20210526/essbasic_client.py +3 -1
  15. tencentcloud/essbasic/v20210526/models.py +2 -2
  16. tencentcloud/iai/v20200303/models.py +19 -0
  17. tencentcloud/keewidb/v20220308/errorcodes.py +3 -0
  18. tencentcloud/keewidb/v20220308/models.py +2 -2
  19. tencentcloud/lcic/v20220817/errorcodes.py +15 -0
  20. tencentcloud/lcic/v20220817/models.py +67 -16
  21. tencentcloud/lighthouse/v20200324/errorcodes.py +27 -0
  22. tencentcloud/lighthouse/v20200324/lighthouse_client.py +53 -0
  23. tencentcloud/lighthouse/v20200324/models.py +534 -0
  24. tencentcloud/live/v20180801/models.py +2 -10
  25. tencentcloud/lke/v20231130/lke_client.py +0 -23
  26. tencentcloud/lke/v20231130/models.py +40 -128
  27. tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
  28. tencentcloud/mongodb/v20190725/models.py +4 -4
  29. tencentcloud/mps/v20190612/models.py +64 -0
  30. tencentcloud/ocr/v20181119/models.py +65 -16
  31. tencentcloud/organization/v20210331/models.py +24 -26
  32. tencentcloud/postgres/v20170312/errorcodes.py +0 -12
  33. tencentcloud/postgres/v20170312/models.py +191 -1527
  34. tencentcloud/postgres/v20170312/postgres_client.py +0 -75
  35. tencentcloud/ssl/v20191205/models.py +2 -2
  36. tencentcloud/sts/v20180813/sts_client.py +21 -7
  37. tencentcloud/tbaas/v20180416/errorcodes.py +6 -0
  38. tencentcloud/tcbr/v20220217/models.py +151 -0
  39. tencentcloud/tcss/v20201101/models.py +45 -0
  40. tencentcloud/teo/v20220901/models.py +18 -18
  41. tencentcloud/tke/v20180525/models.py +17 -2
  42. tencentcloud/tms/v20201229/errorcodes.py +3 -0
  43. tencentcloud/trabbit/v20230418/models.py +60 -0
  44. tencentcloud/trocket/v20230308/models.py +319 -0
  45. tencentcloud/trocket/v20230308/trocket_client.py +25 -0
  46. tencentcloud/trtc/v20190722/errorcodes.py +18 -0
  47. tencentcloud/trtc/v20190722/models.py +486 -2
  48. tencentcloud/trtc/v20190722/trtc_client.py +64 -0
  49. tencentcloud/tse/v20201207/models.py +30 -0
  50. tencentcloud/tsf/v20180326/errorcodes.py +41 -11
  51. tencentcloud/tsf/v20180326/models.py +1705 -1263
  52. tencentcloud/tsf/v20180326/tsf_client.py +18 -18
  53. tencentcloud/vod/v20180717/models.py +78 -10
  54. tencentcloud/vod/v20180717/vod_client.py +1 -0
  55. tencentcloud/vpc/v20170312/models.py +35 -0
  56. tencentcloud/vpc/v20170312/vpc_client.py +1 -1
  57. tencentcloud/waf/v20180125/errorcodes.py +6 -0
  58. tencentcloud/waf/v20180125/models.py +1926 -744
  59. tencentcloud/waf/v20180125/waf_client.py +161 -0
  60. tencentcloud/wedata/v20210820/models.py +204 -0
  61. tencentcloud/wsa/v20250508/models.py +42 -6
  62. {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/METADATA +1 -1
  63. {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/RECORD +66 -66
  64. {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/LICENSE +0 -0
  65. {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/WHEEL +0 -0
  66. {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/top_level.txt +0 -0
@@ -487,7 +487,7 @@ class TsfClient(AbstractClient):
487
487
 
488
488
 
489
489
  def CreateFileConfigWithDetailResp(self, request):
490
- """创建文件配置项,返回详细信息
490
+ """创建文件配置项,返回详细信息。
491
491
 
492
492
  :param request: Request instance for CreateFileConfigWithDetailResp.
493
493
  :type request: :class:`tencentcloud.tsf.v20180326.models.CreateFileConfigWithDetailRespRequest`
@@ -556,7 +556,7 @@ class TsfClient(AbstractClient):
556
556
 
557
557
 
558
558
  def CreateLane(self, request):
559
- """创建泳道
559
+ """创建泳道配置
560
560
 
561
561
  :param request: Request instance for CreateLane.
562
562
  :type request: :class:`tencentcloud.tsf.v20180326.models.CreateLaneRequest`
@@ -579,7 +579,7 @@ class TsfClient(AbstractClient):
579
579
 
580
580
 
581
581
  def CreateLaneRule(self, request):
582
- """创建泳道规则
582
+ """创建灰度发布规则
583
583
 
584
584
  :param request: Request instance for CreateLaneRule.
585
585
  :type request: :class:`tencentcloud.tsf.v20180326.models.CreateLaneRuleRequest`
@@ -625,7 +625,7 @@ class TsfClient(AbstractClient):
625
625
 
626
626
 
627
627
  def CreateMicroserviceWithDetailResp(self, request):
628
- """新增微服务返回id
628
+ """新增微服务返回ID
629
629
 
630
630
  :param request: Request instance for CreateMicroserviceWithDetailResp.
631
631
  :type request: :class:`tencentcloud.tsf.v20180326.models.CreateMicroserviceWithDetailRespRequest`
@@ -763,7 +763,7 @@ class TsfClient(AbstractClient):
763
763
 
764
764
 
765
765
  def CreatePublicConfigWithDetailResp(self, request):
766
- """创建公共配置项,并返回配置项详细信息
766
+ """创建公共配置项,并返回配置项详细信息。
767
767
 
768
768
  :param request: Request instance for CreatePublicConfigWithDetailResp.
769
769
  :type request: :class:`tencentcloud.tsf.v20180326.models.CreatePublicConfigWithDetailRespRequest`
@@ -1177,7 +1177,7 @@ class TsfClient(AbstractClient):
1177
1177
 
1178
1178
 
1179
1179
  def DeleteLane(self, request):
1180
- """删除泳道
1180
+ """删除泳道配置
1181
1181
 
1182
1182
  :param request: Request instance for DeleteLane.
1183
1183
  :type request: :class:`tencentcloud.tsf.v20180326.models.DeleteLaneRequest`
@@ -1200,7 +1200,7 @@ class TsfClient(AbstractClient):
1200
1200
 
1201
1201
 
1202
1202
  def DeleteLaneRule(self, request):
1203
- """删除泳道规则
1203
+ """删除灰度发布规则
1204
1204
 
1205
1205
  :param request: Request instance for DeleteLaneRule.
1206
1206
  :type request: :class:`tencentcloud.tsf.v20180326.models.DeleteLaneRuleRequest`
@@ -1640,7 +1640,7 @@ class TsfClient(AbstractClient):
1640
1640
 
1641
1641
 
1642
1642
  def DescribeApiVersions(self, request):
1643
- """查询API 版本
1643
+ """查询API版本
1644
1644
 
1645
1645
  :param request: Request instance for DescribeApiVersions.
1646
1646
  :type request: :class:`tencentcloud.tsf.v20180326.models.DescribeApiVersionsRequest`
@@ -2196,7 +2196,7 @@ class TsfClient(AbstractClient):
2196
2196
 
2197
2197
  def DescribeDownloadInfo(self, request):
2198
2198
  """TSF上传的程序包存放在腾讯云对象存储(COS)中,通过该API可以获取从COS下载程序包需要的信息,包括包所在的桶、存储路径、鉴权信息等,之后使用COS API(或SDK)进行下载。
2199
- COS相关文档请查阅:https://cloud.tencent.com/document/product/436
2199
+ 请查阅[COS相关文档](https://cloud.tencent.com/document/product/436)
2200
2200
 
2201
2201
  :param request: Request instance for DescribeDownloadInfo.
2202
2202
  :type request: :class:`tencentcloud.tsf.v20180326.models.DescribeDownloadInfoRequest`
@@ -2819,7 +2819,7 @@ class TsfClient(AbstractClient):
2819
2819
 
2820
2820
 
2821
2821
  def DescribeLaneRules(self, request):
2822
- """查询泳道规则列表
2822
+ """查询灰度发布规则列表
2823
2823
 
2824
2824
  :param request: Request instance for DescribeLaneRules.
2825
2825
  :type request: :class:`tencentcloud.tsf.v20180326.models.DescribeLaneRulesRequest`
@@ -2842,7 +2842,7 @@ class TsfClient(AbstractClient):
2842
2842
 
2843
2843
 
2844
2844
  def DescribeLanes(self, request):
2845
- """查询泳道列表
2845
+ """查询泳道配置列表
2846
2846
 
2847
2847
  :param request: Request instance for DescribeLanes.
2848
2848
  :type request: :class:`tencentcloud.tsf.v20180326.models.DescribeLanesRequest`
@@ -3279,7 +3279,7 @@ class TsfClient(AbstractClient):
3279
3279
 
3280
3280
 
3281
3281
  def DescribeReleasedConfig(self, request):
3282
- """查询group发布的配置
3282
+ """查询部署组发布的配置
3283
3283
 
3284
3284
  :param request: Request instance for DescribeReleasedConfig.
3285
3285
  :type request: :class:`tencentcloud.tsf.v20180326.models.DescribeReleasedConfigRequest`
@@ -3694,7 +3694,7 @@ class TsfClient(AbstractClient):
3694
3694
 
3695
3695
  def DescribeUploadInfo(self, request):
3696
3696
  """TSF会将软件包上传到腾讯云对象存储(COS)。调用此接口获取上传信息,如目标地域,桶,包Id,存储路径,鉴权信息等,之后请使用COS API(或SDK)进行上传。
3697
- COS相关文档请查阅:https://cloud.tencent.com/document/product/436
3697
+ 请查阅[COS相关文档](https://cloud.tencent.com/document/product/436)
3698
3698
 
3699
3699
  :param request: Request instance for DescribeUploadInfo.
3700
3700
  :type request: :class:`tencentcloud.tsf.v20180326.models.DescribeUploadInfoRequest`
@@ -3740,7 +3740,7 @@ class TsfClient(AbstractClient):
3740
3740
 
3741
3741
 
3742
3742
  def DisableLaneRule(self, request):
3743
- """禁用泳道规则
3743
+ """禁用灰度发布规则
3744
3744
 
3745
3745
  :param request: Request instance for DisableLaneRule.
3746
3746
  :type request: :class:`tencentcloud.tsf.v20180326.models.DisableLaneRuleRequest`
@@ -3924,7 +3924,7 @@ class TsfClient(AbstractClient):
3924
3924
 
3925
3925
 
3926
3926
  def EnableLaneRule(self, request):
3927
- """启用泳道规则
3927
+ """启用灰度发布规则
3928
3928
 
3929
3929
  :param request: Request instance for EnableLaneRule.
3930
3930
  :type request: :class:`tencentcloud.tsf.v20180326.models.EnableLaneRuleRequest`
@@ -4223,7 +4223,7 @@ class TsfClient(AbstractClient):
4223
4223
 
4224
4224
 
4225
4225
  def ModifyLane(self, request):
4226
- """更新泳道信息
4226
+ """更新泳道配置信息
4227
4227
 
4228
4228
  :param request: Request instance for ModifyLane.
4229
4229
  :type request: :class:`tencentcloud.tsf.v20180326.models.ModifyLaneRequest`
@@ -4246,7 +4246,7 @@ class TsfClient(AbstractClient):
4246
4246
 
4247
4247
 
4248
4248
  def ModifyLaneRule(self, request):
4249
- """更新泳道规则
4249
+ """更新灰度发布规则
4250
4250
 
4251
4251
  :param request: Request instance for ModifyLaneRule.
4252
4252
  :type request: :class:`tencentcloud.tsf.v20180326.models.ModifyLaneRuleRequest`
@@ -4594,7 +4594,7 @@ class TsfClient(AbstractClient):
4594
4594
 
4595
4595
 
4596
4596
  def ReleaseConfigWithDetailResp(self, request):
4597
- """发布配置,并且返回配置 ID
4597
+ """发布配置,并且返回配置ID
4598
4598
 
4599
4599
  :param request: Request instance for ReleaseConfigWithDetailResp.
4600
4600
  :type request: :class:`tencentcloud.tsf.v20180326.models.ReleaseConfigWithDetailRespRequest`
@@ -13852,11 +13852,14 @@ class ComplexAdaptiveDynamicStreamingTaskAudioInput(AbstractModel):
13852
13852
  <li>NO:不设置为默认音频(默认值)。</li>
13853
13853
 
13854
13854
  :type Default: str
13855
+ :param _AudioTrackIdx: 音轨序号,表示选择音频源中的第几个音轨,从0开始计数。默认值为0,表示选择最靠前的音轨。
13856
+ :type AudioTrackIdx: int
13855
13857
  """
13856
13858
  self._FileId = None
13857
13859
  self._Name = None
13858
13860
  self._Language = None
13859
13861
  self._Default = None
13862
+ self._AudioTrackIdx = None
13860
13863
 
13861
13864
  @property
13862
13865
  def FileId(self):
@@ -13905,12 +13908,24 @@ class ComplexAdaptiveDynamicStreamingTaskAudioInput(AbstractModel):
13905
13908
  def Default(self, Default):
13906
13909
  self._Default = Default
13907
13910
 
13911
+ @property
13912
+ def AudioTrackIdx(self):
13913
+ """音轨序号,表示选择音频源中的第几个音轨,从0开始计数。默认值为0,表示选择最靠前的音轨。
13914
+ :rtype: int
13915
+ """
13916
+ return self._AudioTrackIdx
13917
+
13918
+ @AudioTrackIdx.setter
13919
+ def AudioTrackIdx(self, AudioTrackIdx):
13920
+ self._AudioTrackIdx = AudioTrackIdx
13921
+
13908
13922
 
13909
13923
  def _deserialize(self, params):
13910
13924
  self._FileId = params.get("FileId")
13911
13925
  self._Name = params.get("Name")
13912
13926
  self._Language = params.get("Language")
13913
13927
  self._Default = params.get("Default")
13928
+ self._AudioTrackIdx = params.get("AudioTrackIdx")
13914
13929
  memeber_set = set(params.keys())
13915
13930
  for name, value in vars(self).items():
13916
13931
  property_name = name[1:]
@@ -35154,6 +35169,7 @@ class EventContent(AbstractModel):
35154
35169
  <li>QualityEnhanceComplete:音画质重生任务完成;</li>
35155
35170
  <li>PersistenceComplete:剪辑固化完成;</li>
35156
35171
  <li>ComplexAdaptiveDynamicStreamingComplete:复杂自适应码流任务完成。</li>
35172
+ <li>ProcessMediaByMPSComplete:MPS视频处理完成。</li>
35157
35173
  <b>兼容 2017 版的事件类型:</b>
35158
35174
  <li>TranscodeComplete:视频转码完成;</li>
35159
35175
  <li>ConcatComplete:视频拼接完成;</li>
@@ -35242,6 +35258,8 @@ class EventContent(AbstractModel):
35242
35258
  :param _ComplexAdaptiveDynamicStreamingCompleteEvent: 自适应码流任务信息,仅当 EventType 为ComplexAdaptiveDynamicStreamingComplete 时有效。
35243
35259
  注意:此字段可能返回 null,表示取不到有效值。
35244
35260
  :type ComplexAdaptiveDynamicStreamingCompleteEvent: :class:`tencentcloud.vod.v20180717.models.ComplexAdaptiveDynamicStreamingTask`
35261
+ :param _ProcessMediaByMPSCompleteEvent: MPS 视频处理任务信息,仅当 EventType 为 ProcessMediaByMPSComplete 时有效。
35262
+ :type ProcessMediaByMPSCompleteEvent: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPS`
35245
35263
  """
35246
35264
  self._EventHandle = None
35247
35265
  self._EventType = None
@@ -35272,6 +35290,7 @@ class EventContent(AbstractModel):
35272
35290
  self._MediaCastStatusChangedEvent = None
35273
35291
  self._PersistenceCompleteEvent = None
35274
35292
  self._ComplexAdaptiveDynamicStreamingCompleteEvent = None
35293
+ self._ProcessMediaByMPSCompleteEvent = None
35275
35294
 
35276
35295
  @property
35277
35296
  def EventHandle(self):
@@ -35306,6 +35325,7 @@ class EventContent(AbstractModel):
35306
35325
  <li>QualityEnhanceComplete:音画质重生任务完成;</li>
35307
35326
  <li>PersistenceComplete:剪辑固化完成;</li>
35308
35327
  <li>ComplexAdaptiveDynamicStreamingComplete:复杂自适应码流任务完成。</li>
35328
+ <li>ProcessMediaByMPSComplete:MPS视频处理完成。</li>
35309
35329
  <b>兼容 2017 版的事件类型:</b>
35310
35330
  <li>TranscodeComplete:视频转码完成;</li>
35311
35331
  <li>ConcatComplete:视频拼接完成;</li>
@@ -35644,6 +35664,17 @@ class EventContent(AbstractModel):
35644
35664
  def ComplexAdaptiveDynamicStreamingCompleteEvent(self, ComplexAdaptiveDynamicStreamingCompleteEvent):
35645
35665
  self._ComplexAdaptiveDynamicStreamingCompleteEvent = ComplexAdaptiveDynamicStreamingCompleteEvent
35646
35666
 
35667
+ @property
35668
+ def ProcessMediaByMPSCompleteEvent(self):
35669
+ """MPS 视频处理任务信息,仅当 EventType 为 ProcessMediaByMPSComplete 时有效。
35670
+ :rtype: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPS`
35671
+ """
35672
+ return self._ProcessMediaByMPSCompleteEvent
35673
+
35674
+ @ProcessMediaByMPSCompleteEvent.setter
35675
+ def ProcessMediaByMPSCompleteEvent(self, ProcessMediaByMPSCompleteEvent):
35676
+ self._ProcessMediaByMPSCompleteEvent = ProcessMediaByMPSCompleteEvent
35677
+
35647
35678
 
35648
35679
  def _deserialize(self, params):
35649
35680
  self._EventHandle = params.get("EventHandle")
@@ -35729,6 +35760,9 @@ class EventContent(AbstractModel):
35729
35760
  if params.get("ComplexAdaptiveDynamicStreamingCompleteEvent") is not None:
35730
35761
  self._ComplexAdaptiveDynamicStreamingCompleteEvent = ComplexAdaptiveDynamicStreamingTask()
35731
35762
  self._ComplexAdaptiveDynamicStreamingCompleteEvent._deserialize(params.get("ComplexAdaptiveDynamicStreamingCompleteEvent"))
35763
+ if params.get("ProcessMediaByMPSCompleteEvent") is not None:
35764
+ self._ProcessMediaByMPSCompleteEvent = ProcessMediaByMPS()
35765
+ self._ProcessMediaByMPSCompleteEvent._deserialize(params.get("ProcessMediaByMPSCompleteEvent"))
35732
35766
  memeber_set = set(params.keys())
35733
35767
  for name, value in vars(self).items():
35734
35768
  property_name = name[1:]
@@ -40837,7 +40871,7 @@ class MPSOutputFile(AbstractModel):
40837
40871
  def __init__(self):
40838
40872
  r"""
40839
40873
  :param _FileType: 文件类型。用于标识 MPS 视频处理任务执行结果中的特定返回文件。
40840
- 取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li>
40874
+ 取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件,默认以原文件类型存储;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li><li>MediaProcess.Transcode.Video: 音视频增强任务中增强后的音视频文件,默认以转码文件类型存储。</li>
40841
40875
  :type FileType: str
40842
40876
  :param _StorageMode: 存储形式。用于表示该结果文件的存储形式,取值有:<li> Permanent:永久存储;</li><li> Temporary:临时存储。</li>
40843
40877
  :type StorageMode: str
@@ -40845,6 +40879,8 @@ class MPSOutputFile(AbstractModel):
40845
40879
  :type FileId: str
40846
40880
  :param _Url: 结果文件的可下载 Url。
40847
40881
  :type Url: str
40882
+ :param _Definition: 转码规格 ID。当 FileType 等于 MediaProcess.Transcode.Video时有效,取值为0表示原始文件。
40883
+ :type Definition: str
40848
40884
  :param _ExpiredTime: 过期时间。当 StorageMode 为 Temporary 时有效,表示 Url 的过期时间,单位为秒。
40849
40885
  :type ExpiredTime: int
40850
40886
  """
@@ -40852,12 +40888,13 @@ class MPSOutputFile(AbstractModel):
40852
40888
  self._StorageMode = None
40853
40889
  self._FileId = None
40854
40890
  self._Url = None
40891
+ self._Definition = None
40855
40892
  self._ExpiredTime = None
40856
40893
 
40857
40894
  @property
40858
40895
  def FileType(self):
40859
40896
  """文件类型。用于标识 MPS 视频处理任务执行结果中的特定返回文件。
40860
- 取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li>
40897
+ 取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件,默认以原文件类型存储;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li><li>MediaProcess.Transcode.Video: 音视频增强任务中增强后的音视频文件,默认以转码文件类型存储。</li>
40861
40898
  :rtype: str
40862
40899
  """
40863
40900
  return self._FileType
@@ -40899,6 +40936,17 @@ class MPSOutputFile(AbstractModel):
40899
40936
  def Url(self, Url):
40900
40937
  self._Url = Url
40901
40938
 
40939
+ @property
40940
+ def Definition(self):
40941
+ """转码规格 ID。当 FileType 等于 MediaProcess.Transcode.Video时有效,取值为0表示原始文件。
40942
+ :rtype: str
40943
+ """
40944
+ return self._Definition
40945
+
40946
+ @Definition.setter
40947
+ def Definition(self, Definition):
40948
+ self._Definition = Definition
40949
+
40902
40950
  @property
40903
40951
  def ExpiredTime(self):
40904
40952
  """过期时间。当 StorageMode 为 Temporary 时有效,表示 Url 的过期时间,单位为秒。
@@ -40916,6 +40964,7 @@ class MPSOutputFile(AbstractModel):
40916
40964
  self._StorageMode = params.get("StorageMode")
40917
40965
  self._FileId = params.get("FileId")
40918
40966
  self._Url = params.get("Url")
40967
+ self._Definition = params.get("Definition")
40919
40968
  self._ExpiredTime = params.get("ExpiredTime")
40920
40969
  memeber_set = set(params.keys())
40921
40970
  for name, value in vars(self).items():
@@ -40934,7 +40983,7 @@ class MPSSubTaskResult(AbstractModel):
40934
40983
 
40935
40984
  def __init__(self):
40936
40985
  r"""
40937
- :param _TaskType: 任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li>
40986
+ :param _TaskType: 任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li><li>MediaProcess.Transcode:音视频增强任务。</li>
40938
40987
  :type TaskType: str
40939
40988
  :param _Status: 任务状态。有 PROCESSING,SUCCESS 和 FAIL 三种。
40940
40989
  :type Status: str
@@ -40943,6 +40992,7 @@ class MPSSubTaskResult(AbstractModel):
40943
40992
  :param _Message: 错误信息。
40944
40993
  :type Message: str
40945
40994
  :param _Input: MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。
40995
+ 示例:{"Definition": 24}
40946
40996
  :type Input: str
40947
40997
  :param _Output: MPS 视频处理任务输出。
40948
40998
  :type Output: :class:`tencentcloud.vod.v20180717.models.MPSTaskOutput`
@@ -40956,7 +41006,7 @@ class MPSSubTaskResult(AbstractModel):
40956
41006
 
40957
41007
  @property
40958
41008
  def TaskType(self):
40959
- """任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li>
41009
+ """任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li><li>MediaProcess.Transcode:音视频增强任务。</li>
40960
41010
  :rtype: str
40961
41011
  """
40962
41012
  return self._TaskType
@@ -41001,6 +41051,7 @@ class MPSSubTaskResult(AbstractModel):
41001
41051
  @property
41002
41052
  def Input(self):
41003
41053
  """MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。
41054
+ 示例:{"Definition": 24}
41004
41055
  :rtype: str
41005
41056
  """
41006
41057
  return self._Input
@@ -56429,14 +56480,18 @@ class ProcessMediaByMPSRequest(AbstractModel):
56429
56480
  :param _MPSProcessMediaParams: 该参数用于透传至媒体处理服务(MPS),以便从云点播侧发起 MPS 视频处理任务。
56430
56481
  视频处理参数详情请参考:[MPS 发起媒体处理](https://cloud.tencent.com/document/api/862/37578)。
56431
56482
  填写说明:
56432
- 1. 目前仅需要配置 MPS “发起媒体处理”接口中的 AiAnalysisTask 参数,其他参数无需填写,若包含其它参数,系统将自动忽略;
56433
- 2. 当前仅支持通过此方式发起智能擦除任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数。
56434
-
56483
+ 1. 目前仅需要配置 MPS “发起媒体处理”接口中任务配置相关的参数,如 AiAnalysisTask 与 MediaProcessTask,其他参数无需填写。若包含其它参数,系统将自动忽略;
56484
+ 2. 当前仅支持通过此方式发起智能擦除及音视频增强任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数;
56485
+ 3. 音视频增强任务目前不支持使用预置模板发起,可通过 [CreateMPSTemplate](document/product/266/57382) 接口创建自定义模板。
56486
+ 示例:{"AiAnalysisTask":{"Definition":25}}
56435
56487
  :type MPSProcessMediaParams: str
56488
+ :param _ExtInfo: 保留字段,特殊用途时使用。
56489
+ :type ExtInfo: str
56436
56490
  """
56437
56491
  self._FileId = None
56438
56492
  self._SubAppId = None
56439
56493
  self._MPSProcessMediaParams = None
56494
+ self._ExtInfo = None
56440
56495
 
56441
56496
  @property
56442
56497
  def FileId(self):
@@ -56465,9 +56520,10 @@ class ProcessMediaByMPSRequest(AbstractModel):
56465
56520
  """该参数用于透传至媒体处理服务(MPS),以便从云点播侧发起 MPS 视频处理任务。
56466
56521
  视频处理参数详情请参考:[MPS 发起媒体处理](https://cloud.tencent.com/document/api/862/37578)。
56467
56522
  填写说明:
56468
- 1. 目前仅需要配置 MPS “发起媒体处理”接口中的 AiAnalysisTask 参数,其他参数无需填写,若包含其它参数,系统将自动忽略;
56469
- 2. 当前仅支持通过此方式发起智能擦除任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数。
56470
-
56523
+ 1. 目前仅需要配置 MPS “发起媒体处理”接口中任务配置相关的参数,如 AiAnalysisTask 与 MediaProcessTask,其他参数无需填写。若包含其它参数,系统将自动忽略;
56524
+ 2. 当前仅支持通过此方式发起智能擦除及音视频增强任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数;
56525
+ 3. 音视频增强任务目前不支持使用预置模板发起,可通过 [CreateMPSTemplate](document/product/266/57382) 接口创建自定义模板。
56526
+ 示例:{"AiAnalysisTask":{"Definition":25}}
56471
56527
  :rtype: str
56472
56528
  """
56473
56529
  return self._MPSProcessMediaParams
@@ -56476,11 +56532,23 @@ class ProcessMediaByMPSRequest(AbstractModel):
56476
56532
  def MPSProcessMediaParams(self, MPSProcessMediaParams):
56477
56533
  self._MPSProcessMediaParams = MPSProcessMediaParams
56478
56534
 
56535
+ @property
56536
+ def ExtInfo(self):
56537
+ """保留字段,特殊用途时使用。
56538
+ :rtype: str
56539
+ """
56540
+ return self._ExtInfo
56541
+
56542
+ @ExtInfo.setter
56543
+ def ExtInfo(self, ExtInfo):
56544
+ self._ExtInfo = ExtInfo
56545
+
56479
56546
 
56480
56547
  def _deserialize(self, params):
56481
56548
  self._FileId = params.get("FileId")
56482
56549
  self._SubAppId = params.get("SubAppId")
56483
56550
  self._MPSProcessMediaParams = params.get("MPSProcessMediaParams")
56551
+ self._ExtInfo = params.get("ExtInfo")
56484
56552
  memeber_set = set(params.keys())
56485
56553
  for name, value in vars(self).items():
56486
56554
  property_name = name[1:]
@@ -3943,6 +3943,7 @@ class VodClient(AbstractClient):
3943
3943
  """使用媒体处理服务(MPS)的媒体处理能力,对点播中的视频发起媒体处理,任务发起时需将 MPS 相关参数以 JSON 格式填入 MPSProcessMediaParams 参数中。具体任务参数配置请参考[媒体处理 ProcessMedia 接口](https://cloud.tencent.com/document/api/862/37578)。
3944
3944
  当前支持的 MPS 功能:
3945
3945
  1. [智能擦除](https://cloud.tencent.com/document/product/862/101530):能够对视频画面中的 Logo、字幕、人脸和车牌等元素进行模糊、马赛克或无痕化处理,从而便于内容的传播和分享。该任务产生的新视频将生成新的 FileId 存储在点播平台的子应用中。
3946
+ 2. [音视频增强](https://cloud.tencent.com/document/product/862/118703):该功能支持分布式实时画质增强,包含视频去毛刺、降噪、色彩增强、细节增强、人脸增强、SDR2HDR、大模型增强等功能,可大幅提升音视频质量,广泛应用于 OTT、电商、赛事等场景,有效实现 QoE 与 QoS 双维度提升,创造显著业务价值。
3946
3947
 
3947
3948
  > 以该种方式发起的视频处理任务:
3948
3949
  > 1. 任务状态及结果的查询仍在点播平台中完成,使用 [DescribeTaskDetail](https://cloud.tencent.com/document/product/266/33431) 或 [DescribeTasks](https://cloud.tencent.com/document/product/266/33430) 查询任务。
@@ -3645,6 +3645,41 @@ class AssociateHaVipInstanceRequest(AbstractModel):
3645
3645
 
3646
3646
  """
3647
3647
 
3648
+ def __init__(self):
3649
+ r"""
3650
+ :param _HaVipAssociationSet: HaVip绑定的子机或网卡。最多支持10个实例。
3651
+ :type HaVipAssociationSet: list of HaVipAssociation
3652
+ """
3653
+ self._HaVipAssociationSet = None
3654
+
3655
+ @property
3656
+ def HaVipAssociationSet(self):
3657
+ """HaVip绑定的子机或网卡。最多支持10个实例。
3658
+ :rtype: list of HaVipAssociation
3659
+ """
3660
+ return self._HaVipAssociationSet
3661
+
3662
+ @HaVipAssociationSet.setter
3663
+ def HaVipAssociationSet(self, HaVipAssociationSet):
3664
+ self._HaVipAssociationSet = HaVipAssociationSet
3665
+
3666
+
3667
+ def _deserialize(self, params):
3668
+ if params.get("HaVipAssociationSet") is not None:
3669
+ self._HaVipAssociationSet = []
3670
+ for item in params.get("HaVipAssociationSet"):
3671
+ obj = HaVipAssociation()
3672
+ obj._deserialize(item)
3673
+ self._HaVipAssociationSet.append(obj)
3674
+ memeber_set = set(params.keys())
3675
+ for name, value in vars(self).items():
3676
+ property_name = name[1:]
3677
+ if property_name in memeber_set:
3678
+ memeber_set.remove(property_name)
3679
+ if len(memeber_set) > 0:
3680
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3681
+
3682
+
3648
3683
 
3649
3684
  class AssociateHaVipInstanceResponse(AbstractModel):
3650
3685
  """AssociateHaVipInstance返回参数结构体
@@ -430,7 +430,7 @@ class VpcClient(AbstractClient):
430
430
 
431
431
 
432
432
  def AssociateHaVipInstance(self, request):
433
- """本接口(AssociateHaVipInstance)用于HAVIP绑定子机或网卡(限制HaVip的飘移范围)。
433
+ """本接口(AssociateHaVipInstance)用于HAVIP绑定子机或网卡(限制HaVip的漂移范围)。
434
434
 
435
435
  :param request: Request instance for AssociateHaVipInstance.
436
436
  :type request: :class:`tencentcloud.vpc.v20170312.models.AssociateHaVipInstanceRequest`
@@ -71,6 +71,9 @@ INTERNALERROR_DBERR = 'InternalError.DBErr'
71
71
  # 调用SSL证书接口发生内部错误
72
72
  INTERNALERROR_SSLCALLFAILED = 'InternalError.SSLCallFailed'
73
73
 
74
+ # InternalError.Unknown
75
+ INTERNALERROR_UNKNOWN = 'InternalError.Unknown'
76
+
74
77
  # 存在内部错误,请联系我们
75
78
  INTERNALERROR_UNKNOWNERR = 'InternalError.UnknownErr'
76
79
 
@@ -176,6 +179,9 @@ RESOURCEINSUFFICIENT = 'ResourceInsufficient'
176
179
  # 资源不存在。
177
180
  RESOURCENOTFOUND = 'ResourceNotFound'
178
181
 
182
+ # ResourceNotFound.NotFound
183
+ RESOURCENOTFOUND_NOTFOUND = 'ResourceNotFound.NotFound'
184
+
179
185
  # 资源不可用。
180
186
  RESOURCEUNAVAILABLE = 'ResourceUnavailable'
181
187