tencentcloud-sdk-python-intl-en 3.0.1098__py2.py3-none-any.whl → 3.0.1100__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-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +26 -2
- tencentcloud/intlpartnersmgt/v20220928/models.py +344 -16
- tencentcloud/mps/v20190612/models.py +89 -28
- tencentcloud/teo/v20220901/errorcodes.py +3 -3
- tencentcloud/teo/v20220901/models.py +418 -74
- tencentcloud/teo/v20220901/teo_client.py +69 -0
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/RECORD +11 -11
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/top_level.txt +0 -0
|
@@ -1640,14 +1640,18 @@ class AddOnSubtitle(AbstractModel):
|
|
|
1640
1640
|
<li>`subtitle-stream`: Add a subtitle track.</li>
|
|
1641
1641
|
<li>`close-caption-708`: Embed CEA-708 subtitles in SEI frames.</li>
|
|
1642
1642
|
<li>`close-caption-608`: Embed CEA-608 subtitles in SEI frames.</li>
|
|
1643
|
-
Note: This field may return
|
|
1643
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1644
1644
|
:type Type: str
|
|
1645
1645
|
:param _Subtitle: The subtitle file.
|
|
1646
|
-
Note: This field may return
|
|
1646
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1647
1647
|
:type Subtitle: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
|
|
1648
|
+
:param _SubtitleName: Subtitle name.
|
|
1649
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
1650
|
+
:type SubtitleName: str
|
|
1648
1651
|
"""
|
|
1649
1652
|
self._Type = None
|
|
1650
1653
|
self._Subtitle = None
|
|
1654
|
+
self._SubtitleName = None
|
|
1651
1655
|
|
|
1652
1656
|
@property
|
|
1653
1657
|
def Type(self):
|
|
@@ -1655,7 +1659,7 @@ Note: This field may return·null, indicating that no valid values can be obtain
|
|
|
1655
1659
|
<li>`subtitle-stream`: Add a subtitle track.</li>
|
|
1656
1660
|
<li>`close-caption-708`: Embed CEA-708 subtitles in SEI frames.</li>
|
|
1657
1661
|
<li>`close-caption-608`: Embed CEA-608 subtitles in SEI frames.</li>
|
|
1658
|
-
Note: This field may return
|
|
1662
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1659
1663
|
:rtype: str
|
|
1660
1664
|
"""
|
|
1661
1665
|
return self._Type
|
|
@@ -1667,7 +1671,7 @@ Note: This field may return·null, indicating that no valid values can be obtain
|
|
|
1667
1671
|
@property
|
|
1668
1672
|
def Subtitle(self):
|
|
1669
1673
|
"""The subtitle file.
|
|
1670
|
-
Note: This field may return
|
|
1674
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1671
1675
|
:rtype: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
|
|
1672
1676
|
"""
|
|
1673
1677
|
return self._Subtitle
|
|
@@ -1676,12 +1680,25 @@ Note: This field may return·null, indicating that no valid values can be obtain
|
|
|
1676
1680
|
def Subtitle(self, Subtitle):
|
|
1677
1681
|
self._Subtitle = Subtitle
|
|
1678
1682
|
|
|
1683
|
+
@property
|
|
1684
|
+
def SubtitleName(self):
|
|
1685
|
+
"""Subtitle name.
|
|
1686
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
1687
|
+
:rtype: str
|
|
1688
|
+
"""
|
|
1689
|
+
return self._SubtitleName
|
|
1690
|
+
|
|
1691
|
+
@SubtitleName.setter
|
|
1692
|
+
def SubtitleName(self, SubtitleName):
|
|
1693
|
+
self._SubtitleName = SubtitleName
|
|
1694
|
+
|
|
1679
1695
|
|
|
1680
1696
|
def _deserialize(self, params):
|
|
1681
1697
|
self._Type = params.get("Type")
|
|
1682
1698
|
if params.get("Subtitle") is not None:
|
|
1683
1699
|
self._Subtitle = MediaInputInfo()
|
|
1684
1700
|
self._Subtitle._deserialize(params.get("Subtitle"))
|
|
1701
|
+
self._SubtitleName = params.get("SubtitleName")
|
|
1685
1702
|
memeber_set = set(params.keys())
|
|
1686
1703
|
for name, value in vars(self).items():
|
|
1687
1704
|
property_name = name[1:]
|
|
@@ -23430,13 +23447,16 @@ class ImageEnhanceConfig(AbstractModel):
|
|
|
23430
23447
|
def __init__(self):
|
|
23431
23448
|
r"""
|
|
23432
23449
|
:param _SuperResolution: Super-resolution configuration.
|
|
23433
|
-
|
|
23450
|
+
|
|
23434
23451
|
:type SuperResolution: :class:`tencentcloud.mps.v20190612.models.SuperResolutionConfig`
|
|
23435
|
-
:param _ColorEnhance:
|
|
23452
|
+
:param _ColorEnhance: Color enhancement configuration.
|
|
23453
|
+
|
|
23436
23454
|
:type ColorEnhance: :class:`tencentcloud.mps.v20190612.models.ColorEnhanceConfig`
|
|
23437
|
-
:param _SharpEnhance:
|
|
23455
|
+
:param _SharpEnhance: Detail enhancement configuration.
|
|
23456
|
+
|
|
23438
23457
|
:type SharpEnhance: :class:`tencentcloud.mps.v20190612.models.SharpEnhanceConfig`
|
|
23439
|
-
:param _FaceEnhance:
|
|
23458
|
+
:param _FaceEnhance: Face enhancement configuration.
|
|
23459
|
+
|
|
23440
23460
|
:type FaceEnhance: :class:`tencentcloud.mps.v20190612.models.FaceEnhanceConfig`
|
|
23441
23461
|
"""
|
|
23442
23462
|
self._SuperResolution = None
|
|
@@ -23447,7 +23467,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
23447
23467
|
@property
|
|
23448
23468
|
def SuperResolution(self):
|
|
23449
23469
|
"""Super-resolution configuration.
|
|
23450
|
-
|
|
23470
|
+
|
|
23451
23471
|
:rtype: :class:`tencentcloud.mps.v20190612.models.SuperResolutionConfig`
|
|
23452
23472
|
"""
|
|
23453
23473
|
return self._SuperResolution
|
|
@@ -23458,7 +23478,8 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
23458
23478
|
|
|
23459
23479
|
@property
|
|
23460
23480
|
def ColorEnhance(self):
|
|
23461
|
-
"""
|
|
23481
|
+
"""Color enhancement configuration.
|
|
23482
|
+
|
|
23462
23483
|
:rtype: :class:`tencentcloud.mps.v20190612.models.ColorEnhanceConfig`
|
|
23463
23484
|
"""
|
|
23464
23485
|
return self._ColorEnhance
|
|
@@ -23469,7 +23490,8 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
23469
23490
|
|
|
23470
23491
|
@property
|
|
23471
23492
|
def SharpEnhance(self):
|
|
23472
|
-
"""
|
|
23493
|
+
"""Detail enhancement configuration.
|
|
23494
|
+
|
|
23473
23495
|
:rtype: :class:`tencentcloud.mps.v20190612.models.SharpEnhanceConfig`
|
|
23474
23496
|
"""
|
|
23475
23497
|
return self._SharpEnhance
|
|
@@ -23480,7 +23502,8 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
23480
23502
|
|
|
23481
23503
|
@property
|
|
23482
23504
|
def FaceEnhance(self):
|
|
23483
|
-
"""
|
|
23505
|
+
"""Face enhancement configuration.
|
|
23506
|
+
|
|
23484
23507
|
:rtype: :class:`tencentcloud.mps.v20190612.models.FaceEnhanceConfig`
|
|
23485
23508
|
"""
|
|
23486
23509
|
return self._FaceEnhance
|
|
@@ -34299,32 +34322,40 @@ class ParseLiveStreamProcessNotificationResponse(AbstractModel):
|
|
|
34299
34322
|
def __init__(self):
|
|
34300
34323
|
r"""
|
|
34301
34324
|
:param _NotificationType: Live stream processing result type, including:
|
|
34302
|
-
<li>AiReviewResult: content
|
|
34303
|
-
<li>AiRecognitionResult: content recognition result
|
|
34304
|
-
<li>LiveRecordResult: live recording result
|
|
34325
|
+
<li>AiReviewResult: content auditing result.</li>
|
|
34326
|
+
<li>AiRecognitionResult: content recognition result.</li>
|
|
34327
|
+
<li>LiveRecordResult: live recording result.</li>
|
|
34328
|
+
<li>AiQualityControlResult: media quality inspection result.</li>
|
|
34305
34329
|
<li>ProcessEof: live stream processing result.</li>
|
|
34306
34330
|
:type NotificationType: str
|
|
34307
34331
|
:param _TaskId: Video processing task ID.
|
|
34308
34332
|
:type TaskId: str
|
|
34309
34333
|
:param _ProcessEofInfo: Information of a live stream processing error, which is valid when `NotificationType` is `ProcessEof`.
|
|
34310
|
-
Note:
|
|
34334
|
+
Note: when this field return null, means no valid values can be obtained.
|
|
34311
34335
|
:type ProcessEofInfo: :class:`tencentcloud.mps.v20190612.models.LiveStreamProcessErrorInfo`
|
|
34312
34336
|
:param _AiReviewResultInfo: Content audit result, which is valid when `NotificationType` is `AiReviewResult`.
|
|
34313
|
-
Note:
|
|
34337
|
+
Note: when this field return null, means no valid values can be obtained.
|
|
34314
34338
|
:type AiReviewResultInfo: :class:`tencentcloud.mps.v20190612.models.LiveStreamAiReviewResultInfo`
|
|
34315
34339
|
:param _AiRecognitionResultInfo: Content recognition result, which is valid if `NotificationType` is `AiRecognitionResult`.
|
|
34316
34340
|
:type AiRecognitionResultInfo: :class:`tencentcloud.mps.v20190612.models.LiveStreamAiRecognitionResultInfo`
|
|
34317
|
-
:param _AiAnalysisResultInfo:
|
|
34341
|
+
:param _AiAnalysisResultInfo: Content analysis result, which is valid if `NotificationType` is `AiAnalysisResult`.
|
|
34318
34342
|
:type AiAnalysisResultInfo: :class:`tencentcloud.mps.v20190612.models.LiveStreamAiAnalysisResultInfo`
|
|
34319
|
-
:param _AiQualityControlResultInfo:
|
|
34343
|
+
:param _AiQualityControlResultInfo: Media quality inspection result, which is valid if `NotificationType` is `AiQualityControlResult`.
|
|
34320
34344
|
:type AiQualityControlResultInfo: :class:`tencentcloud.mps.v20190612.models.LiveStreamAiQualityControlResultInfo`
|
|
34321
34345
|
:param _LiveRecordResultInfo: Live recording result is valid when NotificationType is LiveRecordResult.
|
|
34322
|
-
Note:
|
|
34346
|
+
Note: when this field return null, means no valid values can be obtained.
|
|
34323
34347
|
:type LiveRecordResultInfo: :class:`tencentcloud.mps.v20190612.models.LiveStreamRecordResultInfo`
|
|
34324
34348
|
:param _SessionId: The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
|
|
34325
34349
|
:type SessionId: str
|
|
34326
34350
|
:param _SessionContext: The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
|
|
34327
34351
|
:type SessionContext: str
|
|
34352
|
+
:param _Timestamp: - Expiration time, event notification signature expiration UNIX timestamp. - By default, notifications sent by MPS expire after 10 minutes. If the expiration time specified has elapsed, a notification will be considered invalid. This can prevent replay attacks. - The format of Timestamp is a decimal UNIX timestamp, which is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
|
|
34353
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
34354
|
+
:type Timestamp: int
|
|
34355
|
+
:param _Sign: Event notification security signature. Sign = MD5 (Timestamp + NotifyKey). Note: Media Processing Service concatenates Timestamp and NotifyKey from TaskNotifyConfig as a string and calculates the Sign value through MD5. This value is included in the notification message. Your backend server can verify whether the Sign is correct using the same algorithm, to confirm whether the message is indeed from the Media Processing Service backend.
|
|
34356
|
+
|
|
34357
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
34358
|
+
:type Sign: str
|
|
34328
34359
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
34329
34360
|
:type RequestId: str
|
|
34330
34361
|
"""
|
|
@@ -34338,14 +34369,17 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
34338
34369
|
self._LiveRecordResultInfo = None
|
|
34339
34370
|
self._SessionId = None
|
|
34340
34371
|
self._SessionContext = None
|
|
34372
|
+
self._Timestamp = None
|
|
34373
|
+
self._Sign = None
|
|
34341
34374
|
self._RequestId = None
|
|
34342
34375
|
|
|
34343
34376
|
@property
|
|
34344
34377
|
def NotificationType(self):
|
|
34345
34378
|
"""Live stream processing result type, including:
|
|
34346
|
-
<li>AiReviewResult: content
|
|
34347
|
-
<li>AiRecognitionResult: content recognition result
|
|
34348
|
-
<li>LiveRecordResult: live recording result
|
|
34379
|
+
<li>AiReviewResult: content auditing result.</li>
|
|
34380
|
+
<li>AiRecognitionResult: content recognition result.</li>
|
|
34381
|
+
<li>LiveRecordResult: live recording result.</li>
|
|
34382
|
+
<li>AiQualityControlResult: media quality inspection result.</li>
|
|
34349
34383
|
<li>ProcessEof: live stream processing result.</li>
|
|
34350
34384
|
:rtype: str
|
|
34351
34385
|
"""
|
|
@@ -34369,7 +34403,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
34369
34403
|
@property
|
|
34370
34404
|
def ProcessEofInfo(self):
|
|
34371
34405
|
"""Information of a live stream processing error, which is valid when `NotificationType` is `ProcessEof`.
|
|
34372
|
-
Note:
|
|
34406
|
+
Note: when this field return null, means no valid values can be obtained.
|
|
34373
34407
|
:rtype: :class:`tencentcloud.mps.v20190612.models.LiveStreamProcessErrorInfo`
|
|
34374
34408
|
"""
|
|
34375
34409
|
return self._ProcessEofInfo
|
|
@@ -34381,7 +34415,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
34381
34415
|
@property
|
|
34382
34416
|
def AiReviewResultInfo(self):
|
|
34383
34417
|
"""Content audit result, which is valid when `NotificationType` is `AiReviewResult`.
|
|
34384
|
-
Note:
|
|
34418
|
+
Note: when this field return null, means no valid values can be obtained.
|
|
34385
34419
|
:rtype: :class:`tencentcloud.mps.v20190612.models.LiveStreamAiReviewResultInfo`
|
|
34386
34420
|
"""
|
|
34387
34421
|
return self._AiReviewResultInfo
|
|
@@ -34403,7 +34437,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
34403
34437
|
|
|
34404
34438
|
@property
|
|
34405
34439
|
def AiAnalysisResultInfo(self):
|
|
34406
|
-
"""
|
|
34440
|
+
"""Content analysis result, which is valid if `NotificationType` is `AiAnalysisResult`.
|
|
34407
34441
|
:rtype: :class:`tencentcloud.mps.v20190612.models.LiveStreamAiAnalysisResultInfo`
|
|
34408
34442
|
"""
|
|
34409
34443
|
return self._AiAnalysisResultInfo
|
|
@@ -34414,7 +34448,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
34414
34448
|
|
|
34415
34449
|
@property
|
|
34416
34450
|
def AiQualityControlResultInfo(self):
|
|
34417
|
-
"""
|
|
34451
|
+
"""Media quality inspection result, which is valid if `NotificationType` is `AiQualityControlResult`.
|
|
34418
34452
|
:rtype: :class:`tencentcloud.mps.v20190612.models.LiveStreamAiQualityControlResultInfo`
|
|
34419
34453
|
"""
|
|
34420
34454
|
return self._AiQualityControlResultInfo
|
|
@@ -34426,7 +34460,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
34426
34460
|
@property
|
|
34427
34461
|
def LiveRecordResultInfo(self):
|
|
34428
34462
|
"""Live recording result is valid when NotificationType is LiveRecordResult.
|
|
34429
|
-
Note:
|
|
34463
|
+
Note: when this field return null, means no valid values can be obtained.
|
|
34430
34464
|
:rtype: :class:`tencentcloud.mps.v20190612.models.LiveStreamRecordResultInfo`
|
|
34431
34465
|
"""
|
|
34432
34466
|
return self._LiveRecordResultInfo
|
|
@@ -34457,6 +34491,31 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
34457
34491
|
def SessionContext(self, SessionContext):
|
|
34458
34492
|
self._SessionContext = SessionContext
|
|
34459
34493
|
|
|
34494
|
+
@property
|
|
34495
|
+
def Timestamp(self):
|
|
34496
|
+
"""- Expiration time, event notification signature expiration UNIX timestamp. - By default, notifications sent by MPS expire after 10 minutes. If the expiration time specified has elapsed, a notification will be considered invalid. This can prevent replay attacks. - The format of Timestamp is a decimal UNIX timestamp, which is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
|
|
34497
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
34498
|
+
:rtype: int
|
|
34499
|
+
"""
|
|
34500
|
+
return self._Timestamp
|
|
34501
|
+
|
|
34502
|
+
@Timestamp.setter
|
|
34503
|
+
def Timestamp(self, Timestamp):
|
|
34504
|
+
self._Timestamp = Timestamp
|
|
34505
|
+
|
|
34506
|
+
@property
|
|
34507
|
+
def Sign(self):
|
|
34508
|
+
"""Event notification security signature. Sign = MD5 (Timestamp + NotifyKey). Note: Media Processing Service concatenates Timestamp and NotifyKey from TaskNotifyConfig as a string and calculates the Sign value through MD5. This value is included in the notification message. Your backend server can verify whether the Sign is correct using the same algorithm, to confirm whether the message is indeed from the Media Processing Service backend.
|
|
34509
|
+
|
|
34510
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
34511
|
+
:rtype: str
|
|
34512
|
+
"""
|
|
34513
|
+
return self._Sign
|
|
34514
|
+
|
|
34515
|
+
@Sign.setter
|
|
34516
|
+
def Sign(self, Sign):
|
|
34517
|
+
self._Sign = Sign
|
|
34518
|
+
|
|
34460
34519
|
@property
|
|
34461
34520
|
def RequestId(self):
|
|
34462
34521
|
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
@@ -34492,6 +34551,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
34492
34551
|
self._LiveRecordResultInfo._deserialize(params.get("LiveRecordResultInfo"))
|
|
34493
34552
|
self._SessionId = params.get("SessionId")
|
|
34494
34553
|
self._SessionContext = params.get("SessionContext")
|
|
34554
|
+
self._Timestamp = params.get("Timestamp")
|
|
34555
|
+
self._Sign = params.get("Sign")
|
|
34495
34556
|
self._RequestId = params.get("RequestId")
|
|
34496
34557
|
|
|
34497
34558
|
|
|
@@ -65,6 +65,9 @@ FAILEDOPERATION_CREATELOGTOPICTASKAUTHFAILURE = 'FailedOperation.CreateLogTopicT
|
|
|
65
65
|
# The edge client certificate has expired. It is not supported to issue expired certificates for the time being.
|
|
66
66
|
FAILEDOPERATION_EDGECLIENTCERTIFICATEHASEXPIRED = 'FailedOperation.EdgeClientCertificateHasExpired'
|
|
67
67
|
|
|
68
|
+
#
|
|
69
|
+
FAILEDOPERATION_FAILEDTOCALLDNSPOD = 'FailedOperation.FailedToCallDNSPod'
|
|
70
|
+
|
|
68
71
|
# Another task is being deployed. Please try again later.
|
|
69
72
|
FAILEDOPERATION_FUNCTIONDEPLOYING = 'FailedOperation.FunctionDeploying'
|
|
70
73
|
|
|
@@ -110,9 +113,6 @@ INTERNALERROR_DBERROR = 'InternalError.DBError'
|
|
|
110
113
|
# Failed to get configuration
|
|
111
114
|
INTERNALERROR_DOMAINCONFIG = 'InternalError.DomainConfig'
|
|
112
115
|
|
|
113
|
-
# Failed to call DNSPod. Please try again later. If the issue persists, please contact the intelligent customer service or submit a ticket.
|
|
114
|
-
INTERNALERROR_FAILEDTOCALLDNSPOD = 'InternalError.FailedToCallDNSPod'
|
|
115
|
-
|
|
116
116
|
# Failed to generate an upload link.
|
|
117
117
|
INTERNALERROR_FAILEDTOGENERATEURL = 'InternalError.FailedToGenerateUrl'
|
|
118
118
|
|