tencentcloud-sdk-python 3.0.1443__py2.py3-none-any.whl → 3.0.1445__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 +539 -172
- tencentcloud/emr/v20190103/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/models.py +105 -0
- tencentcloud/essbasic/v20210526/models.py +60 -0
- 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/lke/v20231130/lke_client.py +1 -1
- tencentcloud/lke/v20231130/models.py +1998 -50
- 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 +46 -16
- tencentcloud/partners/v20180321/models.py +4 -4
- tencentcloud/postgres/v20170312/errorcodes.py +0 -12
- tencentcloud/postgres/v20170312/models.py +191 -1527
- tencentcloud/postgres/v20170312/postgres_client.py +0 -75
- tencentcloud/sqlserver/v20180328/models.py +6 -6
- 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 +75 -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 +15 -0
- tencentcloud/tsf/v20180326/models.py +989 -589
- tencentcloud/tsf/v20180326/tsf_client.py +1 -1
- tencentcloud/vod/v20180717/models.py +570 -10
- tencentcloud/vod/v20180717/vod_client.py +102 -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.1445.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/RECORD +46 -46
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/top_level.txt +0 -0
|
@@ -518,6 +518,36 @@ class VodClient(AbstractClient):
|
|
|
518
518
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
519
519
|
|
|
520
520
|
|
|
521
|
+
def CreateMPSTemplate(self, request):
|
|
522
|
+
"""该接口用于创建自定义模板,模板用于 ProcessMediaByMPS 接口的部分功能。
|
|
523
|
+
创建模板时,需要将 MPS 相关参数以 JSON 格式填入 MPSCreateTemplateParams 参数中。关于具体的任务参数配置方法,请参考 MPS 任务模板相关文档说明。
|
|
524
|
+
当前支持创建自定义模板的 MPS 功能:
|
|
525
|
+
1. [音视频增强](https://cloud.tencent.com/document/product/862/118703)。
|
|
526
|
+
|
|
527
|
+
> 以该种方式创建的任务模板:
|
|
528
|
+
> 1. 模板的管理仍在点播平台中完成。
|
|
529
|
+
> 2. 该功能目前仍在内测中,如需测试体验,您可以联系我们获得支持。
|
|
530
|
+
|
|
531
|
+
:param request: Request instance for CreateMPSTemplate.
|
|
532
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.CreateMPSTemplateRequest`
|
|
533
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.CreateMPSTemplateResponse`
|
|
534
|
+
|
|
535
|
+
"""
|
|
536
|
+
try:
|
|
537
|
+
params = request._serialize()
|
|
538
|
+
headers = request.headers
|
|
539
|
+
body = self.call("CreateMPSTemplate", params, headers=headers)
|
|
540
|
+
response = json.loads(body)
|
|
541
|
+
model = models.CreateMPSTemplateResponse()
|
|
542
|
+
model._deserialize(response["Response"])
|
|
543
|
+
return model
|
|
544
|
+
except Exception as e:
|
|
545
|
+
if isinstance(e, TencentCloudSDKException):
|
|
546
|
+
raise
|
|
547
|
+
else:
|
|
548
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
549
|
+
|
|
550
|
+
|
|
521
551
|
def CreatePersonSample(self, request):
|
|
522
552
|
"""该接口用于创建素材样本,用于通过五官定位等技术,进行内容识别、不适宜视频识别等视频处理。
|
|
523
553
|
|
|
@@ -1152,6 +1182,29 @@ class VodClient(AbstractClient):
|
|
|
1152
1182
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1153
1183
|
|
|
1154
1184
|
|
|
1185
|
+
def DeleteMPSTemplate(self, request):
|
|
1186
|
+
"""删除用户自定义 MPS 任务模板。
|
|
1187
|
+
|
|
1188
|
+
:param request: Request instance for DeleteMPSTemplate.
|
|
1189
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.DeleteMPSTemplateRequest`
|
|
1190
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.DeleteMPSTemplateResponse`
|
|
1191
|
+
|
|
1192
|
+
"""
|
|
1193
|
+
try:
|
|
1194
|
+
params = request._serialize()
|
|
1195
|
+
headers = request.headers
|
|
1196
|
+
body = self.call("DeleteMPSTemplate", params, headers=headers)
|
|
1197
|
+
response = json.loads(body)
|
|
1198
|
+
model = models.DeleteMPSTemplateResponse()
|
|
1199
|
+
model._deserialize(response["Response"])
|
|
1200
|
+
return model
|
|
1201
|
+
except Exception as e:
|
|
1202
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1203
|
+
raise
|
|
1204
|
+
else:
|
|
1205
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1206
|
+
|
|
1207
|
+
|
|
1155
1208
|
def DeleteMedia(self, request):
|
|
1156
1209
|
"""* 删除媒体及其对应的视频处理文件(原始文件、如转码视频、雪碧图、截图、微信发布视频等);
|
|
1157
1210
|
* 可单独删除指定 ID 的视频文件下的原文件、转码视频、微信发布视频等;
|
|
@@ -2221,6 +2274,30 @@ class VodClient(AbstractClient):
|
|
|
2221
2274
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2222
2275
|
|
|
2223
2276
|
|
|
2277
|
+
def DescribeMPSTemplates(self, request):
|
|
2278
|
+
"""获取用户自定义媒体处理服务(MPS)任务模板。
|
|
2279
|
+
查询模板列表时,需要将 MPS 相关参数以 JSON 格式填入 MPSDescribeTemplateParams 参数中。关于具体的任务参数配置方法,请参考 MPS 任务模板相关文档说明。
|
|
2280
|
+
|
|
2281
|
+
:param request: Request instance for DescribeMPSTemplates.
|
|
2282
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.DescribeMPSTemplatesRequest`
|
|
2283
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.DescribeMPSTemplatesResponse`
|
|
2284
|
+
|
|
2285
|
+
"""
|
|
2286
|
+
try:
|
|
2287
|
+
params = request._serialize()
|
|
2288
|
+
headers = request.headers
|
|
2289
|
+
body = self.call("DescribeMPSTemplates", params, headers=headers)
|
|
2290
|
+
response = json.loads(body)
|
|
2291
|
+
model = models.DescribeMPSTemplatesResponse()
|
|
2292
|
+
model._deserialize(response["Response"])
|
|
2293
|
+
return model
|
|
2294
|
+
except Exception as e:
|
|
2295
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2296
|
+
raise
|
|
2297
|
+
else:
|
|
2298
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2299
|
+
|
|
2300
|
+
|
|
2224
2301
|
def DescribeMediaInfos(self, request):
|
|
2225
2302
|
"""1. 该接口可以获取多个媒体文件的多种信息,包括:
|
|
2226
2303
|
1. 基础信息(basicInfo):包括媒体名称、分类、播放地址、封面图片等。
|
|
@@ -3441,6 +3518,30 @@ class VodClient(AbstractClient):
|
|
|
3441
3518
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3442
3519
|
|
|
3443
3520
|
|
|
3521
|
+
def ModifyMPSTemplate(self, request):
|
|
3522
|
+
"""修改用户自定义 MPS 任务模板。
|
|
3523
|
+
修改模板时,需要将 MPS 相关参数以 JSON 格式填入 MPSModifyTemplateParams 参数中。关于具体的任务参数配置方法,请参考 MPS 任务模板相关文档说明。
|
|
3524
|
+
|
|
3525
|
+
:param request: Request instance for ModifyMPSTemplate.
|
|
3526
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.ModifyMPSTemplateRequest`
|
|
3527
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.ModifyMPSTemplateResponse`
|
|
3528
|
+
|
|
3529
|
+
"""
|
|
3530
|
+
try:
|
|
3531
|
+
params = request._serialize()
|
|
3532
|
+
headers = request.headers
|
|
3533
|
+
body = self.call("ModifyMPSTemplate", params, headers=headers)
|
|
3534
|
+
response = json.loads(body)
|
|
3535
|
+
model = models.ModifyMPSTemplateResponse()
|
|
3536
|
+
model._deserialize(response["Response"])
|
|
3537
|
+
return model
|
|
3538
|
+
except Exception as e:
|
|
3539
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3540
|
+
raise
|
|
3541
|
+
else:
|
|
3542
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3543
|
+
|
|
3544
|
+
|
|
3444
3545
|
def ModifyMediaInfo(self, request):
|
|
3445
3546
|
"""修改媒体文件的属性,包括分类、名称、描述、标签、过期时间、打点信息、视频封面、字幕信息等。
|
|
3446
3547
|
|
|
@@ -3943,6 +4044,7 @@ class VodClient(AbstractClient):
|
|
|
3943
4044
|
"""使用媒体处理服务(MPS)的媒体处理能力,对点播中的视频发起媒体处理,任务发起时需将 MPS 相关参数以 JSON 格式填入 MPSProcessMediaParams 参数中。具体任务参数配置请参考[媒体处理 ProcessMedia 接口](https://cloud.tencent.com/document/api/862/37578)。
|
|
3944
4045
|
当前支持的 MPS 功能:
|
|
3945
4046
|
1. [智能擦除](https://cloud.tencent.com/document/product/862/101530):能够对视频画面中的 Logo、字幕、人脸和车牌等元素进行模糊、马赛克或无痕化处理,从而便于内容的传播和分享。该任务产生的新视频将生成新的 FileId 存储在点播平台的子应用中。
|
|
4047
|
+
2. [音视频增强](https://cloud.tencent.com/document/product/862/118703):该功能支持分布式实时画质增强,包含视频去毛刺、降噪、色彩增强、细节增强、人脸增强、SDR2HDR、大模型增强等功能,可大幅提升音视频质量,广泛应用于 OTT、电商、赛事等场景,有效实现 QoE 与 QoS 双维度提升,创造显著业务价值。
|
|
3946
4048
|
|
|
3947
4049
|
> 以该种方式发起的视频处理任务:
|
|
3948
4050
|
> 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
|
|