tencentcloud-sdk-python-intl-en 3.0.1177__py2.py3-none-any.whl → 3.0.1179__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/captcha/v20190722/models.py +4 -6
- tencentcloud/cvm/v20170312/cvm_client.py +0 -1
- tencentcloud/mdl/v20200326/mdl_client.py +0 -23
- tencentcloud/mdl/v20200326/models.py +23 -353
- tencentcloud/mdp/v20200527/models.py +30 -0
- tencentcloud/monitor/v20180724/models.py +2 -2
- tencentcloud/mps/v20190612/models.py +80 -66
- tencentcloud/rum/v20210622/models.py +32 -2
- tencentcloud/sqlserver/v20180328/models.py +109 -0
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +4274 -1634
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python_intl_en-3.0.1177.dist-info → tencentcloud_sdk_python_intl_en-3.0.1179.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1177.dist-info → tencentcloud_sdk_python_intl_en-3.0.1179.dist-info}/RECORD +17 -17
- {tencentcloud_sdk_python_intl_en-3.0.1177.dist-info → tencentcloud_sdk_python_intl_en-3.0.1179.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1177.dist-info → tencentcloud_sdk_python_intl_en-3.0.1179.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -223,10 +223,9 @@ class DescribeCaptchaResultResponse(AbstractModel):
|
|
|
223
223
|
:param _CaptchaMsg: Status description and verification error message
|
|
224
224
|
Note: This field may return `null`, indicating that no valid value was found.
|
|
225
225
|
:type CaptchaMsg: str
|
|
226
|
-
:param _EvilLevel: This parameter returns the result of imperceptible verification.
|
|
226
|
+
:param _EvilLevel: This parameter returns the result of imperceptible verification.
|
|
227
227
|
`0`: The request is trusted.
|
|
228
228
|
`100`: The request is malicious.
|
|
229
|
-
Note: This field may return `null`, indicating that no valid value was found.
|
|
230
229
|
:type EvilLevel: int
|
|
231
230
|
:param _GetCaptchaTime: The timestamp when the frontend obtains the CAPTCHA.
|
|
232
231
|
Note: This field may return `null`, indicating that no valid value was found.
|
|
@@ -236,7 +235,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
236
235
|
:type EvilBitmap: int
|
|
237
236
|
:param _SubmitCaptchaTime: The time when the CAPTCHA is submitted.
|
|
238
237
|
:type SubmitCaptchaTime: int
|
|
239
|
-
:param _DeviceRiskCategory: Device Risk Category
|
|
238
|
+
:param _DeviceRiskCategory: Device Risk Category.
|
|
240
239
|
:type DeviceRiskCategory: str
|
|
241
240
|
: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.
|
|
242
241
|
:type RequestId: str
|
|
@@ -282,10 +281,9 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
282
281
|
|
|
283
282
|
@property
|
|
284
283
|
def EvilLevel(self):
|
|
285
|
-
"""This parameter returns the result of imperceptible verification.
|
|
284
|
+
"""This parameter returns the result of imperceptible verification.
|
|
286
285
|
`0`: The request is trusted.
|
|
287
286
|
`100`: The request is malicious.
|
|
288
|
-
Note: This field may return `null`, indicating that no valid value was found.
|
|
289
287
|
:rtype: int
|
|
290
288
|
"""
|
|
291
289
|
return self._EvilLevel
|
|
@@ -331,7 +329,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
331
329
|
|
|
332
330
|
@property
|
|
333
331
|
def DeviceRiskCategory(self):
|
|
334
|
-
"""Device Risk Category
|
|
332
|
+
"""Device Risk Category.
|
|
335
333
|
:rtype: str
|
|
336
334
|
"""
|
|
337
335
|
return self._DeviceRiskCategory
|
|
@@ -1960,7 +1960,6 @@ class CvmClient(AbstractClient):
|
|
|
1960
1960
|
|
|
1961
1961
|
* Use this API to return instances that are no longer required.
|
|
1962
1962
|
* Pay-as-you-go instances can be returned directly through this API.
|
|
1963
|
-
* When this API is called for the first time, the instance will be moved to the recycle bin. When this API is called for the second time, the instance will be terminated and cannot be recovered.
|
|
1964
1963
|
* Batch operations are supported. The allowed maximum number of instances in each request is 100.
|
|
1965
1964
|
|
|
1966
1965
|
:param request: Request instance for TerminateInstances.
|
|
@@ -256,29 +256,6 @@ class MdlClient(AbstractClient):
|
|
|
256
256
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
257
|
|
|
258
258
|
|
|
259
|
-
def DescribeMediaLiveHighlightResult(self, request):
|
|
260
|
-
"""Query the highlight result information corresponding to the media live broadcast channel.
|
|
261
|
-
|
|
262
|
-
:param request: Request instance for DescribeMediaLiveHighlightResult.
|
|
263
|
-
:type request: :class:`tencentcloud.mdl.v20200326.models.DescribeMediaLiveHighlightResultRequest`
|
|
264
|
-
:rtype: :class:`tencentcloud.mdl.v20200326.models.DescribeMediaLiveHighlightResultResponse`
|
|
265
|
-
|
|
266
|
-
"""
|
|
267
|
-
try:
|
|
268
|
-
params = request._serialize()
|
|
269
|
-
headers = request.headers
|
|
270
|
-
body = self.call("DescribeMediaLiveHighlightResult", params, headers=headers)
|
|
271
|
-
response = json.loads(body)
|
|
272
|
-
model = models.DescribeMediaLiveHighlightResultResponse()
|
|
273
|
-
model._deserialize(response["Response"])
|
|
274
|
-
return model
|
|
275
|
-
except Exception as e:
|
|
276
|
-
if isinstance(e, TencentCloudSDKException):
|
|
277
|
-
raise
|
|
278
|
-
else:
|
|
279
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
|
-
|
|
281
|
-
|
|
282
259
|
def DescribeStreamLiveChannel(self, request):
|
|
283
260
|
"""This API is used to query a StreamLive channel.
|
|
284
261
|
|
|
@@ -31,9 +31,9 @@ class AVTemplate(AbstractModel):
|
|
|
31
31
|
:type NeedVideo: int
|
|
32
32
|
:param _Vcodec: Video codec. Valid values: `H264`, `H265`. If this parameter is left empty, the original video codec will be used.
|
|
33
33
|
:type Vcodec: str
|
|
34
|
-
:param _Width: Video width. Value range: (0,
|
|
34
|
+
:param _Width: Video width. Value range: (0, 4096]. The value must be an integer multiple of 2. If this parameter is left empty, the original video width will be used.
|
|
35
35
|
:type Width: int
|
|
36
|
-
:param _Height: Video height. Value range: (0,
|
|
36
|
+
:param _Height: Video height. Value range: (0, 4096]. The value must be an integer multiple of 2. If this parameter is left empty, the original video height will be used.
|
|
37
37
|
:type Height: int
|
|
38
38
|
:param _Fps: Video frame rate. Value range: [1, 240]. If this parameter is left empty, the original frame rate will be used.
|
|
39
39
|
:type Fps: int
|
|
@@ -174,7 +174,7 @@ Valid values: `6000`, `7000`, `8000`, `10000`, `12000`, `14000`, `16000`, `20000
|
|
|
174
174
|
|
|
175
175
|
@property
|
|
176
176
|
def Width(self):
|
|
177
|
-
"""Video width. Value range: (0,
|
|
177
|
+
"""Video width. Value range: (0, 4096]. The value must be an integer multiple of 2. If this parameter is left empty, the original video width will be used.
|
|
178
178
|
:rtype: int
|
|
179
179
|
"""
|
|
180
180
|
return self._Width
|
|
@@ -185,7 +185,7 @@ Valid values: `6000`, `7000`, `8000`, `10000`, `12000`, `14000`, `16000`, `20000
|
|
|
185
185
|
|
|
186
186
|
@property
|
|
187
187
|
def Height(self):
|
|
188
|
-
"""Video height. Value range: (0,
|
|
188
|
+
"""Video height. Value range: (0, 4096]. The value must be an integer multiple of 2. If this parameter is left empty, the original video height will be used.
|
|
189
189
|
:rtype: int
|
|
190
190
|
"""
|
|
191
191
|
return self._Height
|
|
@@ -3554,225 +3554,6 @@ class DescribeImageSettings(AbstractModel):
|
|
|
3554
3554
|
|
|
3555
3555
|
|
|
3556
3556
|
|
|
3557
|
-
class DescribeMediaLiveHighlightResultRequest(AbstractModel):
|
|
3558
|
-
"""DescribeMediaLiveHighlightResult request structure.
|
|
3559
|
-
|
|
3560
|
-
"""
|
|
3561
|
-
|
|
3562
|
-
def __init__(self):
|
|
3563
|
-
r"""
|
|
3564
|
-
:param _Id: Media live broadcast channel ID.
|
|
3565
|
-
:type Id: str
|
|
3566
|
-
:param _StartTime: Query start time, unix timestamp, query data within the last 6 hours by default, and the maximum query range supports the last 7 days.
|
|
3567
|
-
:type StartTime: int
|
|
3568
|
-
:param _EndTime: Query end time, Unix timestamp, query data within the last 6 hours by default, and the maximum query range supports the last 7 days.
|
|
3569
|
-
:type EndTime: int
|
|
3570
|
-
:param _PageNum: Paging query page number.
|
|
3571
|
-
:type PageNum: int
|
|
3572
|
-
:param _PageSize: Paging query the size of each page.
|
|
3573
|
-
:type PageSize: int
|
|
3574
|
-
"""
|
|
3575
|
-
self._Id = None
|
|
3576
|
-
self._StartTime = None
|
|
3577
|
-
self._EndTime = None
|
|
3578
|
-
self._PageNum = None
|
|
3579
|
-
self._PageSize = None
|
|
3580
|
-
|
|
3581
|
-
@property
|
|
3582
|
-
def Id(self):
|
|
3583
|
-
"""Media live broadcast channel ID.
|
|
3584
|
-
:rtype: str
|
|
3585
|
-
"""
|
|
3586
|
-
return self._Id
|
|
3587
|
-
|
|
3588
|
-
@Id.setter
|
|
3589
|
-
def Id(self, Id):
|
|
3590
|
-
self._Id = Id
|
|
3591
|
-
|
|
3592
|
-
@property
|
|
3593
|
-
def StartTime(self):
|
|
3594
|
-
"""Query start time, unix timestamp, query data within the last 6 hours by default, and the maximum query range supports the last 7 days.
|
|
3595
|
-
:rtype: int
|
|
3596
|
-
"""
|
|
3597
|
-
return self._StartTime
|
|
3598
|
-
|
|
3599
|
-
@StartTime.setter
|
|
3600
|
-
def StartTime(self, StartTime):
|
|
3601
|
-
self._StartTime = StartTime
|
|
3602
|
-
|
|
3603
|
-
@property
|
|
3604
|
-
def EndTime(self):
|
|
3605
|
-
"""Query end time, Unix timestamp, query data within the last 6 hours by default, and the maximum query range supports the last 7 days.
|
|
3606
|
-
:rtype: int
|
|
3607
|
-
"""
|
|
3608
|
-
return self._EndTime
|
|
3609
|
-
|
|
3610
|
-
@EndTime.setter
|
|
3611
|
-
def EndTime(self, EndTime):
|
|
3612
|
-
self._EndTime = EndTime
|
|
3613
|
-
|
|
3614
|
-
@property
|
|
3615
|
-
def PageNum(self):
|
|
3616
|
-
"""Paging query page number.
|
|
3617
|
-
:rtype: int
|
|
3618
|
-
"""
|
|
3619
|
-
return self._PageNum
|
|
3620
|
-
|
|
3621
|
-
@PageNum.setter
|
|
3622
|
-
def PageNum(self, PageNum):
|
|
3623
|
-
self._PageNum = PageNum
|
|
3624
|
-
|
|
3625
|
-
@property
|
|
3626
|
-
def PageSize(self):
|
|
3627
|
-
"""Paging query the size of each page.
|
|
3628
|
-
:rtype: int
|
|
3629
|
-
"""
|
|
3630
|
-
return self._PageSize
|
|
3631
|
-
|
|
3632
|
-
@PageSize.setter
|
|
3633
|
-
def PageSize(self, PageSize):
|
|
3634
|
-
self._PageSize = PageSize
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
def _deserialize(self, params):
|
|
3638
|
-
self._Id = params.get("Id")
|
|
3639
|
-
self._StartTime = params.get("StartTime")
|
|
3640
|
-
self._EndTime = params.get("EndTime")
|
|
3641
|
-
self._PageNum = params.get("PageNum")
|
|
3642
|
-
self._PageSize = params.get("PageSize")
|
|
3643
|
-
memeber_set = set(params.keys())
|
|
3644
|
-
for name, value in vars(self).items():
|
|
3645
|
-
property_name = name[1:]
|
|
3646
|
-
if property_name in memeber_set:
|
|
3647
|
-
memeber_set.remove(property_name)
|
|
3648
|
-
if len(memeber_set) > 0:
|
|
3649
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
class DescribeMediaLiveHighlightResultResponse(AbstractModel):
|
|
3654
|
-
"""DescribeMediaLiveHighlightResult response structure.
|
|
3655
|
-
|
|
3656
|
-
"""
|
|
3657
|
-
|
|
3658
|
-
def __init__(self):
|
|
3659
|
-
r"""
|
|
3660
|
-
:param _Info: Highlight results information.
|
|
3661
|
-
:type Info: list of HighlightResInfoResp
|
|
3662
|
-
:param _Id: Collection id.
|
|
3663
|
-
:type Id: str
|
|
3664
|
-
:param _ChannelId: Media live broadcast channel id.
|
|
3665
|
-
:type ChannelId: str
|
|
3666
|
-
:param _PageNum: Number of pages.
|
|
3667
|
-
:type PageNum: int
|
|
3668
|
-
:param _PageSize: Paging Size.
|
|
3669
|
-
:type PageSize: int
|
|
3670
|
-
:param _TotalNum: The total number of eligible entries in the background.
|
|
3671
|
-
:type TotalNum: int
|
|
3672
|
-
: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.
|
|
3673
|
-
:type RequestId: str
|
|
3674
|
-
"""
|
|
3675
|
-
self._Info = None
|
|
3676
|
-
self._Id = None
|
|
3677
|
-
self._ChannelId = None
|
|
3678
|
-
self._PageNum = None
|
|
3679
|
-
self._PageSize = None
|
|
3680
|
-
self._TotalNum = None
|
|
3681
|
-
self._RequestId = None
|
|
3682
|
-
|
|
3683
|
-
@property
|
|
3684
|
-
def Info(self):
|
|
3685
|
-
"""Highlight results information.
|
|
3686
|
-
:rtype: list of HighlightResInfoResp
|
|
3687
|
-
"""
|
|
3688
|
-
return self._Info
|
|
3689
|
-
|
|
3690
|
-
@Info.setter
|
|
3691
|
-
def Info(self, Info):
|
|
3692
|
-
self._Info = Info
|
|
3693
|
-
|
|
3694
|
-
@property
|
|
3695
|
-
def Id(self):
|
|
3696
|
-
"""Collection id.
|
|
3697
|
-
:rtype: str
|
|
3698
|
-
"""
|
|
3699
|
-
return self._Id
|
|
3700
|
-
|
|
3701
|
-
@Id.setter
|
|
3702
|
-
def Id(self, Id):
|
|
3703
|
-
self._Id = Id
|
|
3704
|
-
|
|
3705
|
-
@property
|
|
3706
|
-
def ChannelId(self):
|
|
3707
|
-
"""Media live broadcast channel id.
|
|
3708
|
-
:rtype: str
|
|
3709
|
-
"""
|
|
3710
|
-
return self._ChannelId
|
|
3711
|
-
|
|
3712
|
-
@ChannelId.setter
|
|
3713
|
-
def ChannelId(self, ChannelId):
|
|
3714
|
-
self._ChannelId = ChannelId
|
|
3715
|
-
|
|
3716
|
-
@property
|
|
3717
|
-
def PageNum(self):
|
|
3718
|
-
"""Number of pages.
|
|
3719
|
-
:rtype: int
|
|
3720
|
-
"""
|
|
3721
|
-
return self._PageNum
|
|
3722
|
-
|
|
3723
|
-
@PageNum.setter
|
|
3724
|
-
def PageNum(self, PageNum):
|
|
3725
|
-
self._PageNum = PageNum
|
|
3726
|
-
|
|
3727
|
-
@property
|
|
3728
|
-
def PageSize(self):
|
|
3729
|
-
"""Paging Size.
|
|
3730
|
-
:rtype: int
|
|
3731
|
-
"""
|
|
3732
|
-
return self._PageSize
|
|
3733
|
-
|
|
3734
|
-
@PageSize.setter
|
|
3735
|
-
def PageSize(self, PageSize):
|
|
3736
|
-
self._PageSize = PageSize
|
|
3737
|
-
|
|
3738
|
-
@property
|
|
3739
|
-
def TotalNum(self):
|
|
3740
|
-
"""The total number of eligible entries in the background.
|
|
3741
|
-
:rtype: int
|
|
3742
|
-
"""
|
|
3743
|
-
return self._TotalNum
|
|
3744
|
-
|
|
3745
|
-
@TotalNum.setter
|
|
3746
|
-
def TotalNum(self, TotalNum):
|
|
3747
|
-
self._TotalNum = TotalNum
|
|
3748
|
-
|
|
3749
|
-
@property
|
|
3750
|
-
def RequestId(self):
|
|
3751
|
-
"""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.
|
|
3752
|
-
:rtype: str
|
|
3753
|
-
"""
|
|
3754
|
-
return self._RequestId
|
|
3755
|
-
|
|
3756
|
-
@RequestId.setter
|
|
3757
|
-
def RequestId(self, RequestId):
|
|
3758
|
-
self._RequestId = RequestId
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
def _deserialize(self, params):
|
|
3762
|
-
if params.get("Info") is not None:
|
|
3763
|
-
self._Info = []
|
|
3764
|
-
for item in params.get("Info"):
|
|
3765
|
-
obj = HighlightResInfoResp()
|
|
3766
|
-
obj._deserialize(item)
|
|
3767
|
-
self._Info.append(obj)
|
|
3768
|
-
self._Id = params.get("Id")
|
|
3769
|
-
self._ChannelId = params.get("ChannelId")
|
|
3770
|
-
self._PageNum = params.get("PageNum")
|
|
3771
|
-
self._PageSize = params.get("PageSize")
|
|
3772
|
-
self._TotalNum = params.get("TotalNum")
|
|
3773
|
-
self._RequestId = params.get("RequestId")
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
3557
|
class DescribeStreamLiveChannelAlertsRequest(AbstractModel):
|
|
3777
3558
|
"""DescribeStreamLiveChannelAlerts request structure.
|
|
3778
3559
|
|
|
@@ -6720,132 +6501,6 @@ class HighlightInfo(AbstractModel):
|
|
|
6720
6501
|
|
|
6721
6502
|
|
|
6722
6503
|
|
|
6723
|
-
class HighlightResInfoResp(AbstractModel):
|
|
6724
|
-
"""Highlight results information.
|
|
6725
|
-
|
|
6726
|
-
"""
|
|
6727
|
-
|
|
6728
|
-
def __init__(self):
|
|
6729
|
-
r"""
|
|
6730
|
-
:param _TaskId: MPS task ID.
|
|
6731
|
-
:type TaskId: str
|
|
6732
|
-
:param _SegmentUrl: Highlights video link.
|
|
6733
|
-
:type SegmentUrl: str
|
|
6734
|
-
:param _CovImgUrl: Collection cover link.
|
|
6735
|
-
:type CovImgUrl: str
|
|
6736
|
-
:param _CreateTime: Generation time, UTC format.
|
|
6737
|
-
:type CreateTime: int
|
|
6738
|
-
:param _StartTime: Starting pts.
|
|
6739
|
-
:type StartTime: float
|
|
6740
|
-
:param _EndTime: End pts.
|
|
6741
|
-
:type EndTime: float
|
|
6742
|
-
:param _Duration: Duration in seconds.
|
|
6743
|
-
:type Duration: float
|
|
6744
|
-
"""
|
|
6745
|
-
self._TaskId = None
|
|
6746
|
-
self._SegmentUrl = None
|
|
6747
|
-
self._CovImgUrl = None
|
|
6748
|
-
self._CreateTime = None
|
|
6749
|
-
self._StartTime = None
|
|
6750
|
-
self._EndTime = None
|
|
6751
|
-
self._Duration = None
|
|
6752
|
-
|
|
6753
|
-
@property
|
|
6754
|
-
def TaskId(self):
|
|
6755
|
-
"""MPS task ID.
|
|
6756
|
-
:rtype: str
|
|
6757
|
-
"""
|
|
6758
|
-
return self._TaskId
|
|
6759
|
-
|
|
6760
|
-
@TaskId.setter
|
|
6761
|
-
def TaskId(self, TaskId):
|
|
6762
|
-
self._TaskId = TaskId
|
|
6763
|
-
|
|
6764
|
-
@property
|
|
6765
|
-
def SegmentUrl(self):
|
|
6766
|
-
"""Highlights video link.
|
|
6767
|
-
:rtype: str
|
|
6768
|
-
"""
|
|
6769
|
-
return self._SegmentUrl
|
|
6770
|
-
|
|
6771
|
-
@SegmentUrl.setter
|
|
6772
|
-
def SegmentUrl(self, SegmentUrl):
|
|
6773
|
-
self._SegmentUrl = SegmentUrl
|
|
6774
|
-
|
|
6775
|
-
@property
|
|
6776
|
-
def CovImgUrl(self):
|
|
6777
|
-
"""Collection cover link.
|
|
6778
|
-
:rtype: str
|
|
6779
|
-
"""
|
|
6780
|
-
return self._CovImgUrl
|
|
6781
|
-
|
|
6782
|
-
@CovImgUrl.setter
|
|
6783
|
-
def CovImgUrl(self, CovImgUrl):
|
|
6784
|
-
self._CovImgUrl = CovImgUrl
|
|
6785
|
-
|
|
6786
|
-
@property
|
|
6787
|
-
def CreateTime(self):
|
|
6788
|
-
"""Generation time, UTC format.
|
|
6789
|
-
:rtype: int
|
|
6790
|
-
"""
|
|
6791
|
-
return self._CreateTime
|
|
6792
|
-
|
|
6793
|
-
@CreateTime.setter
|
|
6794
|
-
def CreateTime(self, CreateTime):
|
|
6795
|
-
self._CreateTime = CreateTime
|
|
6796
|
-
|
|
6797
|
-
@property
|
|
6798
|
-
def StartTime(self):
|
|
6799
|
-
"""Starting pts.
|
|
6800
|
-
:rtype: float
|
|
6801
|
-
"""
|
|
6802
|
-
return self._StartTime
|
|
6803
|
-
|
|
6804
|
-
@StartTime.setter
|
|
6805
|
-
def StartTime(self, StartTime):
|
|
6806
|
-
self._StartTime = StartTime
|
|
6807
|
-
|
|
6808
|
-
@property
|
|
6809
|
-
def EndTime(self):
|
|
6810
|
-
"""End pts.
|
|
6811
|
-
:rtype: float
|
|
6812
|
-
"""
|
|
6813
|
-
return self._EndTime
|
|
6814
|
-
|
|
6815
|
-
@EndTime.setter
|
|
6816
|
-
def EndTime(self, EndTime):
|
|
6817
|
-
self._EndTime = EndTime
|
|
6818
|
-
|
|
6819
|
-
@property
|
|
6820
|
-
def Duration(self):
|
|
6821
|
-
"""Duration in seconds.
|
|
6822
|
-
:rtype: float
|
|
6823
|
-
"""
|
|
6824
|
-
return self._Duration
|
|
6825
|
-
|
|
6826
|
-
@Duration.setter
|
|
6827
|
-
def Duration(self, Duration):
|
|
6828
|
-
self._Duration = Duration
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
def _deserialize(self, params):
|
|
6832
|
-
self._TaskId = params.get("TaskId")
|
|
6833
|
-
self._SegmentUrl = params.get("SegmentUrl")
|
|
6834
|
-
self._CovImgUrl = params.get("CovImgUrl")
|
|
6835
|
-
self._CreateTime = params.get("CreateTime")
|
|
6836
|
-
self._StartTime = params.get("StartTime")
|
|
6837
|
-
self._EndTime = params.get("EndTime")
|
|
6838
|
-
self._Duration = params.get("Duration")
|
|
6839
|
-
memeber_set = set(params.keys())
|
|
6840
|
-
for name, value in vars(self).items():
|
|
6841
|
-
property_name = name[1:]
|
|
6842
|
-
if property_name in memeber_set:
|
|
6843
|
-
memeber_set.remove(property_name)
|
|
6844
|
-
if len(memeber_set) > 0:
|
|
6845
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6846
|
-
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
6504
|
class HlsRemuxSettingsInfo(AbstractModel):
|
|
6850
6505
|
"""HLS protocol configuration.
|
|
6851
6506
|
|
|
@@ -6880,6 +6535,8 @@ Currently, fMP4 segments do not support DRM or time shifting.
|
|
|
6880
6535
|
:type VideoResolution: int
|
|
6881
6536
|
:param _EndListTag: Whether to include the `EXT-X-ENDLIST` tag, 1 includes `EXT-X-ENDLIST` tag, 2 does not include `EXT-X-ENDLIST` tag; the default value is 1.
|
|
6882
6537
|
:type EndListTag: int
|
|
6538
|
+
:param _AdMarkupType: Optional: `ENHANCED_SCTE35`, `DATERANGE`; default value: `ENHANCED_SCTE35`.
|
|
6539
|
+
:type AdMarkupType: str
|
|
6883
6540
|
"""
|
|
6884
6541
|
self._SegmentDuration = None
|
|
6885
6542
|
self._SegmentNumber = None
|
|
@@ -6894,6 +6551,7 @@ Currently, fMP4 segments do not support DRM or time shifting.
|
|
|
6894
6551
|
self._StreamOrder = None
|
|
6895
6552
|
self._VideoResolution = None
|
|
6896
6553
|
self._EndListTag = None
|
|
6554
|
+
self._AdMarkupType = None
|
|
6897
6555
|
|
|
6898
6556
|
@property
|
|
6899
6557
|
def SegmentDuration(self):
|
|
@@ -7039,6 +6697,17 @@ Currently, fMP4 segments do not support DRM or time shifting.
|
|
|
7039
6697
|
def EndListTag(self, EndListTag):
|
|
7040
6698
|
self._EndListTag = EndListTag
|
|
7041
6699
|
|
|
6700
|
+
@property
|
|
6701
|
+
def AdMarkupType(self):
|
|
6702
|
+
"""Optional: `ENHANCED_SCTE35`, `DATERANGE`; default value: `ENHANCED_SCTE35`.
|
|
6703
|
+
:rtype: str
|
|
6704
|
+
"""
|
|
6705
|
+
return self._AdMarkupType
|
|
6706
|
+
|
|
6707
|
+
@AdMarkupType.setter
|
|
6708
|
+
def AdMarkupType(self, AdMarkupType):
|
|
6709
|
+
self._AdMarkupType = AdMarkupType
|
|
6710
|
+
|
|
7042
6711
|
|
|
7043
6712
|
def _deserialize(self, params):
|
|
7044
6713
|
self._SegmentDuration = params.get("SegmentDuration")
|
|
@@ -7054,6 +6723,7 @@ Currently, fMP4 segments do not support DRM or time shifting.
|
|
|
7054
6723
|
self._StreamOrder = params.get("StreamOrder")
|
|
7055
6724
|
self._VideoResolution = params.get("VideoResolution")
|
|
7056
6725
|
self._EndListTag = params.get("EndListTag")
|
|
6726
|
+
self._AdMarkupType = params.get("AdMarkupType")
|
|
7057
6727
|
memeber_set = set(params.keys())
|
|
7058
6728
|
for name, value in vars(self).items():
|
|
7059
6729
|
property_name = name[1:]
|
|
@@ -12159,9 +11829,9 @@ class VideoTemplateInfo(AbstractModel):
|
|
|
12159
11829
|
:type Vcodec: str
|
|
12160
11830
|
:param _VideoBitrate: Video bitrate. Value range: [50000,40000000]. The value can only be a multiple of 1,000. If this parameter is left empty, the original value will be used.
|
|
12161
11831
|
:type VideoBitrate: int
|
|
12162
|
-
:param _Width: Video width. Value range: (0,
|
|
11832
|
+
:param _Width: Video width. Value range: (0,4096]. The value can only be a multiple of 2. If this parameter is left empty, the original value will be used.
|
|
12163
11833
|
:type Width: int
|
|
12164
|
-
:param _Height: Video height. Value range: (0,
|
|
11834
|
+
:param _Height: Video height. Value range: (0,4096]. The value can only be a multiple of 2. If this parameter is left empty, the original value will be used.
|
|
12165
11835
|
:type Height: int
|
|
12166
11836
|
:param _Fps: Video frame rate. Value range: [1,240]. If this parameter is left empty, the original value will be used.
|
|
12167
11837
|
:type Fps: int
|
|
@@ -12254,7 +11924,7 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
12254
11924
|
|
|
12255
11925
|
@property
|
|
12256
11926
|
def Width(self):
|
|
12257
|
-
"""Video width. Value range: (0,
|
|
11927
|
+
"""Video width. Value range: (0,4096]. The value can only be a multiple of 2. If this parameter is left empty, the original value will be used.
|
|
12258
11928
|
:rtype: int
|
|
12259
11929
|
"""
|
|
12260
11930
|
return self._Width
|
|
@@ -12265,7 +11935,7 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
12265
11935
|
|
|
12266
11936
|
@property
|
|
12267
11937
|
def Height(self):
|
|
12268
|
-
"""Video height. Value range: (0,
|
|
11938
|
+
"""Video height. Value range: (0,4096]. The value can only be a multiple of 2. If this parameter is left empty, the original value will be used.
|
|
12269
11939
|
:rtype: int
|
|
12270
11940
|
"""
|
|
12271
11941
|
return self._Height
|
|
@@ -8983,6 +8983,10 @@ class SSAIConf(AbstractModel):
|
|
|
8983
8983
|
:type SourceCDNPrefix: str
|
|
8984
8984
|
:param _AdCDNPrefix: Advertising CDN prefix needs to start with http:// or https://
|
|
8985
8985
|
:type AdCDNPrefix: str
|
|
8986
|
+
:param _PreRollAdsUrl: Pre-roll ad decision service address.
|
|
8987
|
+
:type PreRollAdsUrl: str
|
|
8988
|
+
:param _PreRollMaxAllowedDuration: The maximum allowed duration of pre-roll ads, (0, 3600].
|
|
8989
|
+
:type PreRollMaxAllowedDuration: int
|
|
8986
8990
|
"""
|
|
8987
8991
|
self._AdsUrl = None
|
|
8988
8992
|
self._ConfigAliases = None
|
|
@@ -8995,6 +8999,8 @@ class SSAIConf(AbstractModel):
|
|
|
8995
8999
|
self._DeliveryRestrictions = None
|
|
8996
9000
|
self._SourceCDNPrefix = None
|
|
8997
9001
|
self._AdCDNPrefix = None
|
|
9002
|
+
self._PreRollAdsUrl = None
|
|
9003
|
+
self._PreRollMaxAllowedDuration = None
|
|
8998
9004
|
|
|
8999
9005
|
@property
|
|
9000
9006
|
def AdsUrl(self):
|
|
@@ -9131,6 +9137,28 @@ class SSAIConf(AbstractModel):
|
|
|
9131
9137
|
def AdCDNPrefix(self, AdCDNPrefix):
|
|
9132
9138
|
self._AdCDNPrefix = AdCDNPrefix
|
|
9133
9139
|
|
|
9140
|
+
@property
|
|
9141
|
+
def PreRollAdsUrl(self):
|
|
9142
|
+
"""Pre-roll ad decision service address.
|
|
9143
|
+
:rtype: str
|
|
9144
|
+
"""
|
|
9145
|
+
return self._PreRollAdsUrl
|
|
9146
|
+
|
|
9147
|
+
@PreRollAdsUrl.setter
|
|
9148
|
+
def PreRollAdsUrl(self, PreRollAdsUrl):
|
|
9149
|
+
self._PreRollAdsUrl = PreRollAdsUrl
|
|
9150
|
+
|
|
9151
|
+
@property
|
|
9152
|
+
def PreRollMaxAllowedDuration(self):
|
|
9153
|
+
"""The maximum allowed duration of pre-roll ads, (0, 3600].
|
|
9154
|
+
:rtype: int
|
|
9155
|
+
"""
|
|
9156
|
+
return self._PreRollMaxAllowedDuration
|
|
9157
|
+
|
|
9158
|
+
@PreRollMaxAllowedDuration.setter
|
|
9159
|
+
def PreRollMaxAllowedDuration(self, PreRollMaxAllowedDuration):
|
|
9160
|
+
self._PreRollMaxAllowedDuration = PreRollMaxAllowedDuration
|
|
9161
|
+
|
|
9134
9162
|
|
|
9135
9163
|
def _deserialize(self, params):
|
|
9136
9164
|
self._AdsUrl = params.get("AdsUrl")
|
|
@@ -9149,6 +9177,8 @@ class SSAIConf(AbstractModel):
|
|
|
9149
9177
|
self._DeliveryRestrictions = params.get("DeliveryRestrictions")
|
|
9150
9178
|
self._SourceCDNPrefix = params.get("SourceCDNPrefix")
|
|
9151
9179
|
self._AdCDNPrefix = params.get("AdCDNPrefix")
|
|
9180
|
+
self._PreRollAdsUrl = params.get("PreRollAdsUrl")
|
|
9181
|
+
self._PreRollMaxAllowedDuration = params.get("PreRollMaxAllowedDuration")
|
|
9152
9182
|
memeber_set = set(params.keys())
|
|
9153
9183
|
for name, value in vars(self).items():
|
|
9154
9184
|
property_name = name[1:]
|
|
@@ -17739,7 +17739,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
17739
17739
|
:type AlertRules: list of PrometheusAlertPolicyItem
|
|
17740
17740
|
:param _Total: Total number
|
|
17741
17741
|
:type Total: int
|
|
17742
|
-
:param _RequestId: The unique request ID,
|
|
17742
|
+
: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.
|
|
17743
17743
|
:type RequestId: str
|
|
17744
17744
|
"""
|
|
17745
17745
|
self._AlertRules = None
|
|
@@ -17771,7 +17771,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
17771
17771
|
|
|
17772
17772
|
@property
|
|
17773
17773
|
def RequestId(self):
|
|
17774
|
-
"""The unique request ID,
|
|
17774
|
+
"""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.
|
|
17775
17775
|
:rtype: str
|
|
17776
17776
|
"""
|
|
17777
17777
|
return self._RequestId
|