tencentcloud-sdk-python 3.0.1443__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +422 -26
- tencentcloud/cls/v20201016/cls_client.py +1 -1
- tencentcloud/cls/v20201016/models.py +148 -112
- tencentcloud/keewidb/v20220308/errorcodes.py +3 -0
- tencentcloud/keewidb/v20220308/models.py +2 -2
- tencentcloud/lcic/v20220817/errorcodes.py +15 -0
- tencentcloud/lcic/v20220817/models.py +67 -16
- tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +4 -4
- tencentcloud/mps/v20190612/models.py +64 -0
- tencentcloud/ocr/v20181119/models.py +31 -16
- tencentcloud/postgres/v20170312/errorcodes.py +0 -12
- tencentcloud/postgres/v20170312/models.py +191 -1527
- tencentcloud/postgres/v20170312/postgres_client.py +0 -75
- tencentcloud/sts/v20180813/sts_client.py +21 -7
- tencentcloud/tcbr/v20220217/models.py +151 -0
- tencentcloud/tcss/v20201101/models.py +45 -0
- tencentcloud/tke/v20180525/models.py +17 -2
- tencentcloud/trabbit/v20230418/models.py +60 -0
- tencentcloud/trocket/v20230308/models.py +319 -0
- tencentcloud/trocket/v20230308/trocket_client.py +25 -0
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +6 -4
- tencentcloud/tsf/v20180326/errorcodes.py +9 -0
- tencentcloud/tsf/v20180326/models.py +761 -517
- tencentcloud/vod/v20180717/models.py +63 -10
- tencentcloud/vod/v20180717/vod_client.py +1 -0
- tencentcloud/waf/v20180125/errorcodes.py +6 -0
- tencentcloud/waf/v20180125/models.py +1926 -744
- tencentcloud/waf/v20180125/waf_client.py +161 -0
- tencentcloud/wedata/v20210820/models.py +204 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/RECORD +38 -38
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/top_level.txt +0 -0
|
@@ -35169,6 +35169,7 @@ class EventContent(AbstractModel):
|
|
|
35169
35169
|
<li>QualityEnhanceComplete:音画质重生任务完成;</li>
|
|
35170
35170
|
<li>PersistenceComplete:剪辑固化完成;</li>
|
|
35171
35171
|
<li>ComplexAdaptiveDynamicStreamingComplete:复杂自适应码流任务完成。</li>
|
|
35172
|
+
<li>ProcessMediaByMPSComplete:MPS视频处理完成。</li>
|
|
35172
35173
|
<b>兼容 2017 版的事件类型:</b>
|
|
35173
35174
|
<li>TranscodeComplete:视频转码完成;</li>
|
|
35174
35175
|
<li>ConcatComplete:视频拼接完成;</li>
|
|
@@ -35257,6 +35258,8 @@ class EventContent(AbstractModel):
|
|
|
35257
35258
|
:param _ComplexAdaptiveDynamicStreamingCompleteEvent: 自适应码流任务信息,仅当 EventType 为ComplexAdaptiveDynamicStreamingComplete 时有效。
|
|
35258
35259
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35259
35260
|
:type ComplexAdaptiveDynamicStreamingCompleteEvent: :class:`tencentcloud.vod.v20180717.models.ComplexAdaptiveDynamicStreamingTask`
|
|
35261
|
+
:param _ProcessMediaByMPSCompleteEvent: MPS 视频处理任务信息,仅当 EventType 为 ProcessMediaByMPSComplete 时有效。
|
|
35262
|
+
:type ProcessMediaByMPSCompleteEvent: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPS`
|
|
35260
35263
|
"""
|
|
35261
35264
|
self._EventHandle = None
|
|
35262
35265
|
self._EventType = None
|
|
@@ -35287,6 +35290,7 @@ class EventContent(AbstractModel):
|
|
|
35287
35290
|
self._MediaCastStatusChangedEvent = None
|
|
35288
35291
|
self._PersistenceCompleteEvent = None
|
|
35289
35292
|
self._ComplexAdaptiveDynamicStreamingCompleteEvent = None
|
|
35293
|
+
self._ProcessMediaByMPSCompleteEvent = None
|
|
35290
35294
|
|
|
35291
35295
|
@property
|
|
35292
35296
|
def EventHandle(self):
|
|
@@ -35321,6 +35325,7 @@ class EventContent(AbstractModel):
|
|
|
35321
35325
|
<li>QualityEnhanceComplete:音画质重生任务完成;</li>
|
|
35322
35326
|
<li>PersistenceComplete:剪辑固化完成;</li>
|
|
35323
35327
|
<li>ComplexAdaptiveDynamicStreamingComplete:复杂自适应码流任务完成。</li>
|
|
35328
|
+
<li>ProcessMediaByMPSComplete:MPS视频处理完成。</li>
|
|
35324
35329
|
<b>兼容 2017 版的事件类型:</b>
|
|
35325
35330
|
<li>TranscodeComplete:视频转码完成;</li>
|
|
35326
35331
|
<li>ConcatComplete:视频拼接完成;</li>
|
|
@@ -35659,6 +35664,17 @@ class EventContent(AbstractModel):
|
|
|
35659
35664
|
def ComplexAdaptiveDynamicStreamingCompleteEvent(self, ComplexAdaptiveDynamicStreamingCompleteEvent):
|
|
35660
35665
|
self._ComplexAdaptiveDynamicStreamingCompleteEvent = ComplexAdaptiveDynamicStreamingCompleteEvent
|
|
35661
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
|
+
|
|
35662
35678
|
|
|
35663
35679
|
def _deserialize(self, params):
|
|
35664
35680
|
self._EventHandle = params.get("EventHandle")
|
|
@@ -35744,6 +35760,9 @@ class EventContent(AbstractModel):
|
|
|
35744
35760
|
if params.get("ComplexAdaptiveDynamicStreamingCompleteEvent") is not None:
|
|
35745
35761
|
self._ComplexAdaptiveDynamicStreamingCompleteEvent = ComplexAdaptiveDynamicStreamingTask()
|
|
35746
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"))
|
|
35747
35766
|
memeber_set = set(params.keys())
|
|
35748
35767
|
for name, value in vars(self).items():
|
|
35749
35768
|
property_name = name[1:]
|
|
@@ -40852,7 +40871,7 @@ class MPSOutputFile(AbstractModel):
|
|
|
40852
40871
|
def __init__(self):
|
|
40853
40872
|
r"""
|
|
40854
40873
|
:param _FileType: 文件类型。用于标识 MPS 视频处理任务执行结果中的特定返回文件。
|
|
40855
|
-
取值:<li>AiAnalysis.DeLogo.Video:
|
|
40874
|
+
取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件,默认以原文件类型存储;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li><li>MediaProcess.Transcode.Video: 音视频增强任务中增强后的音视频文件,默认以转码文件类型存储。</li>
|
|
40856
40875
|
:type FileType: str
|
|
40857
40876
|
:param _StorageMode: 存储形式。用于表示该结果文件的存储形式,取值有:<li> Permanent:永久存储;</li><li> Temporary:临时存储。</li>
|
|
40858
40877
|
:type StorageMode: str
|
|
@@ -40860,6 +40879,8 @@ class MPSOutputFile(AbstractModel):
|
|
|
40860
40879
|
:type FileId: str
|
|
40861
40880
|
:param _Url: 结果文件的可下载 Url。
|
|
40862
40881
|
:type Url: str
|
|
40882
|
+
:param _Definition: 转码规格 ID。当 FileType 等于 MediaProcess.Transcode.Video时有效,取值为0表示原始文件。
|
|
40883
|
+
:type Definition: str
|
|
40863
40884
|
:param _ExpiredTime: 过期时间。当 StorageMode 为 Temporary 时有效,表示 Url 的过期时间,单位为秒。
|
|
40864
40885
|
:type ExpiredTime: int
|
|
40865
40886
|
"""
|
|
@@ -40867,12 +40888,13 @@ class MPSOutputFile(AbstractModel):
|
|
|
40867
40888
|
self._StorageMode = None
|
|
40868
40889
|
self._FileId = None
|
|
40869
40890
|
self._Url = None
|
|
40891
|
+
self._Definition = None
|
|
40870
40892
|
self._ExpiredTime = None
|
|
40871
40893
|
|
|
40872
40894
|
@property
|
|
40873
40895
|
def FileType(self):
|
|
40874
40896
|
"""文件类型。用于标识 MPS 视频处理任务执行结果中的特定返回文件。
|
|
40875
|
-
取值:<li>AiAnalysis.DeLogo.Video:
|
|
40897
|
+
取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件,默认以原文件类型存储;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li><li>MediaProcess.Transcode.Video: 音视频增强任务中增强后的音视频文件,默认以转码文件类型存储。</li>
|
|
40876
40898
|
:rtype: str
|
|
40877
40899
|
"""
|
|
40878
40900
|
return self._FileType
|
|
@@ -40914,6 +40936,17 @@ class MPSOutputFile(AbstractModel):
|
|
|
40914
40936
|
def Url(self, Url):
|
|
40915
40937
|
self._Url = Url
|
|
40916
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
|
+
|
|
40917
40950
|
@property
|
|
40918
40951
|
def ExpiredTime(self):
|
|
40919
40952
|
"""过期时间。当 StorageMode 为 Temporary 时有效,表示 Url 的过期时间,单位为秒。
|
|
@@ -40931,6 +40964,7 @@ class MPSOutputFile(AbstractModel):
|
|
|
40931
40964
|
self._StorageMode = params.get("StorageMode")
|
|
40932
40965
|
self._FileId = params.get("FileId")
|
|
40933
40966
|
self._Url = params.get("Url")
|
|
40967
|
+
self._Definition = params.get("Definition")
|
|
40934
40968
|
self._ExpiredTime = params.get("ExpiredTime")
|
|
40935
40969
|
memeber_set = set(params.keys())
|
|
40936
40970
|
for name, value in vars(self).items():
|
|
@@ -40949,7 +40983,7 @@ class MPSSubTaskResult(AbstractModel):
|
|
|
40949
40983
|
|
|
40950
40984
|
def __init__(self):
|
|
40951
40985
|
r"""
|
|
40952
|
-
:param _TaskType: 任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li>
|
|
40986
|
+
:param _TaskType: 任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li><li>MediaProcess.Transcode:音视频增强任务。</li>
|
|
40953
40987
|
:type TaskType: str
|
|
40954
40988
|
:param _Status: 任务状态。有 PROCESSING,SUCCESS 和 FAIL 三种。
|
|
40955
40989
|
:type Status: str
|
|
@@ -40958,6 +40992,7 @@ class MPSSubTaskResult(AbstractModel):
|
|
|
40958
40992
|
:param _Message: 错误信息。
|
|
40959
40993
|
:type Message: str
|
|
40960
40994
|
:param _Input: MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。
|
|
40995
|
+
示例:{"Definition": 24}
|
|
40961
40996
|
:type Input: str
|
|
40962
40997
|
:param _Output: MPS 视频处理任务输出。
|
|
40963
40998
|
:type Output: :class:`tencentcloud.vod.v20180717.models.MPSTaskOutput`
|
|
@@ -40971,7 +41006,7 @@ class MPSSubTaskResult(AbstractModel):
|
|
|
40971
41006
|
|
|
40972
41007
|
@property
|
|
40973
41008
|
def TaskType(self):
|
|
40974
|
-
"""任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li>
|
|
41009
|
+
"""任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li><li>MediaProcess.Transcode:音视频增强任务。</li>
|
|
40975
41010
|
:rtype: str
|
|
40976
41011
|
"""
|
|
40977
41012
|
return self._TaskType
|
|
@@ -41016,6 +41051,7 @@ class MPSSubTaskResult(AbstractModel):
|
|
|
41016
41051
|
@property
|
|
41017
41052
|
def Input(self):
|
|
41018
41053
|
"""MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。
|
|
41054
|
+
示例:{"Definition": 24}
|
|
41019
41055
|
:rtype: str
|
|
41020
41056
|
"""
|
|
41021
41057
|
return self._Input
|
|
@@ -56444,14 +56480,18 @@ class ProcessMediaByMPSRequest(AbstractModel):
|
|
|
56444
56480
|
:param _MPSProcessMediaParams: 该参数用于透传至媒体处理服务(MPS),以便从云点播侧发起 MPS 视频处理任务。
|
|
56445
56481
|
视频处理参数详情请参考:[MPS 发起媒体处理](https://cloud.tencent.com/document/api/862/37578)。
|
|
56446
56482
|
填写说明:
|
|
56447
|
-
1. 目前仅需要配置 MPS
|
|
56448
|
-
2.
|
|
56449
|
-
|
|
56483
|
+
1. 目前仅需要配置 MPS “发起媒体处理”接口中任务配置相关的参数,如 AiAnalysisTask 与 MediaProcessTask,其他参数无需填写。若包含其它参数,系统将自动忽略;
|
|
56484
|
+
2. 当前仅支持通过此方式发起智能擦除及音视频增强任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数;
|
|
56485
|
+
3. 音视频增强任务目前不支持使用预置模板发起,可通过 [CreateMPSTemplate](document/product/266/57382) 接口创建自定义模板。
|
|
56486
|
+
示例:{"AiAnalysisTask":{"Definition":25}}
|
|
56450
56487
|
:type MPSProcessMediaParams: str
|
|
56488
|
+
:param _ExtInfo: 保留字段,特殊用途时使用。
|
|
56489
|
+
:type ExtInfo: str
|
|
56451
56490
|
"""
|
|
56452
56491
|
self._FileId = None
|
|
56453
56492
|
self._SubAppId = None
|
|
56454
56493
|
self._MPSProcessMediaParams = None
|
|
56494
|
+
self._ExtInfo = None
|
|
56455
56495
|
|
|
56456
56496
|
@property
|
|
56457
56497
|
def FileId(self):
|
|
@@ -56480,9 +56520,10 @@ class ProcessMediaByMPSRequest(AbstractModel):
|
|
|
56480
56520
|
"""该参数用于透传至媒体处理服务(MPS),以便从云点播侧发起 MPS 视频处理任务。
|
|
56481
56521
|
视频处理参数详情请参考:[MPS 发起媒体处理](https://cloud.tencent.com/document/api/862/37578)。
|
|
56482
56522
|
填写说明:
|
|
56483
|
-
1. 目前仅需要配置 MPS
|
|
56484
|
-
2.
|
|
56485
|
-
|
|
56523
|
+
1. 目前仅需要配置 MPS “发起媒体处理”接口中任务配置相关的参数,如 AiAnalysisTask 与 MediaProcessTask,其他参数无需填写。若包含其它参数,系统将自动忽略;
|
|
56524
|
+
2. 当前仅支持通过此方式发起智能擦除及音视频增强任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数;
|
|
56525
|
+
3. 音视频增强任务目前不支持使用预置模板发起,可通过 [CreateMPSTemplate](document/product/266/57382) 接口创建自定义模板。
|
|
56526
|
+
示例:{"AiAnalysisTask":{"Definition":25}}
|
|
56486
56527
|
:rtype: str
|
|
56487
56528
|
"""
|
|
56488
56529
|
return self._MPSProcessMediaParams
|
|
@@ -56491,11 +56532,23 @@ class ProcessMediaByMPSRequest(AbstractModel):
|
|
|
56491
56532
|
def MPSProcessMediaParams(self, MPSProcessMediaParams):
|
|
56492
56533
|
self._MPSProcessMediaParams = MPSProcessMediaParams
|
|
56493
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
|
+
|
|
56494
56546
|
|
|
56495
56547
|
def _deserialize(self, params):
|
|
56496
56548
|
self._FileId = params.get("FileId")
|
|
56497
56549
|
self._SubAppId = params.get("SubAppId")
|
|
56498
56550
|
self._MPSProcessMediaParams = params.get("MPSProcessMediaParams")
|
|
56551
|
+
self._ExtInfo = params.get("ExtInfo")
|
|
56499
56552
|
memeber_set = set(params.keys())
|
|
56500
56553
|
for name, value in vars(self).items():
|
|
56501
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) 查询任务。
|
|
@@ -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
|
|