tencentcloud-sdk-nodejs-intl-en 3.0.508 → 3.0.511
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.
- package/package.json +1 -1
- package/tencentcloud/as/v20180419/as_client.js +129 -9
- package/tencentcloud/as/v20180419/models.js +1684 -269
- package/tencentcloud/billing/v20180709/models.js +67 -0
- package/tencentcloud/cdb/v20170320/cdb_client.js +83 -17
- package/tencentcloud/cdb/v20170320/models.js +619 -86
- package/tencentcloud/cdn/v20180606/models.js +6 -5
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +14 -1
- package/tencentcloud/ckafka/v20190819/models.js +121 -20
- package/tencentcloud/cls/v20201016/models.js +9 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/live/v20180801/live_client.js +37 -72
- package/tencentcloud/live/v20180801/models.js +777 -652
- package/tencentcloud/monitor/v20180724/models.js +58 -0
- package/tencentcloud/monitor/v20180724/monitor_client.js +1 -0
- package/tencentcloud/ocr/v20181119/models.js +201 -43
- package/tencentcloud/ocr/v20181119/ocr_client.js +16 -1
- package/tencentcloud/redis/v20180412/models.js +65 -0
- package/tencentcloud/redis/v20180412/redis_client.js +13 -0
- package/tencentcloud/tke/v20180525/models.js +451 -58
- package/tencentcloud/tke/v20180525/tke_client.js +548 -483
- package/tencentcloud/trtc/v20190722/models.js +170 -13
- package/tencentcloud/trtc/v20190722/trtc_client.js +30 -26
- package/tencentcloud/tts/v20190823/models.js +79 -0
- package/tencentcloud/tts/v20190823/tts_client.js +1 -0
- package/tencentcloud/vod/v20180717/models.js +200 -55
- package/tencentcloud/vod/v20180717/vod_client.js +46 -22
- package/tencentcloud/vpc/v20170312/models.js +812 -279
- package/tencentcloud/vpc/v20170312/vpc_client.js +71 -17
|
@@ -3155,6 +3155,49 @@ class CoverConfigureInfo extends AbstractModel {
|
|
|
3155
3155
|
}
|
|
3156
3156
|
}
|
|
3157
3157
|
|
|
3158
|
+
/**
|
|
3159
|
+
* DescribeClientUploadAccelerationUsageData response structure.
|
|
3160
|
+
* @class
|
|
3161
|
+
*/
|
|
3162
|
+
class DescribeClientUploadAccelerationUsageDataResponse extends AbstractModel {
|
|
3163
|
+
constructor(){
|
|
3164
|
+
super();
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* The usage of client upload acceleration.
|
|
3168
|
+
* @type {Array.<StatDataItem> || null}
|
|
3169
|
+
*/
|
|
3170
|
+
this.ClientUploadAccelerationUsageDataSet = null;
|
|
3171
|
+
|
|
3172
|
+
/**
|
|
3173
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3174
|
+
* @type {string || null}
|
|
3175
|
+
*/
|
|
3176
|
+
this.RequestId = null;
|
|
3177
|
+
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3180
|
+
/**
|
|
3181
|
+
* @private
|
|
3182
|
+
*/
|
|
3183
|
+
deserialize(params) {
|
|
3184
|
+
if (!params) {
|
|
3185
|
+
return;
|
|
3186
|
+
}
|
|
3187
|
+
|
|
3188
|
+
if (params.ClientUploadAccelerationUsageDataSet) {
|
|
3189
|
+
this.ClientUploadAccelerationUsageDataSet = new Array();
|
|
3190
|
+
for (let z in params.ClientUploadAccelerationUsageDataSet) {
|
|
3191
|
+
let obj = new StatDataItem();
|
|
3192
|
+
obj.deserialize(params.ClientUploadAccelerationUsageDataSet[z]);
|
|
3193
|
+
this.ClientUploadAccelerationUsageDataSet.push(obj);
|
|
3194
|
+
}
|
|
3195
|
+
}
|
|
3196
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3197
|
+
|
|
3198
|
+
}
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3158
3201
|
/**
|
|
3159
3202
|
* ComposeMedia request structure.
|
|
3160
3203
|
* @class
|
|
@@ -9905,25 +9948,23 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
9905
9948
|
this.ResolutionAdaptive = null;
|
|
9906
9949
|
|
|
9907
9950
|
/**
|
|
9908
|
-
*
|
|
9909
|
-
<li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video
|
|
9910
|
-
<li>If `Width` is 0
|
|
9911
|
-
<li>If `Width` is not 0
|
|
9912
|
-
<li>If
|
|
9951
|
+
* The maximum video width (or long side) in pixels. Value range: 0 and [128, 8192].
|
|
9952
|
+
<li>If both `Width` and `Height` are 0, the output resolution will be the same as that of the source video.</li>
|
|
9953
|
+
<li>If `Width` is 0 and `Height` is not, the video width will be proportionally scaled.</li>
|
|
9954
|
+
<li>If `Width` is not 0 and `Height` is, the video height will be proportionally scaled.</li>
|
|
9955
|
+
<li>If neither `Width` nor `Height` is 0, the specified width and height will be used.</li>
|
|
9913
9956
|
Default value: 0.
|
|
9914
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
9915
9957
|
* @type {number || null}
|
|
9916
9958
|
*/
|
|
9917
9959
|
this.Width = null;
|
|
9918
9960
|
|
|
9919
9961
|
/**
|
|
9920
|
-
*
|
|
9921
|
-
<li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video
|
|
9922
|
-
<li>If `Width` is 0
|
|
9923
|
-
<li>If `Width` is not 0
|
|
9924
|
-
<li>If
|
|
9962
|
+
* The maximum video height (or short side) in pixels. Value range: 0 and [128, 8192].
|
|
9963
|
+
<li>If both `Width` and `Height` are 0, the output resolution will be the same as that of the source video.</li>
|
|
9964
|
+
<li>If `Width` is 0 and `Height` is not, the video width will be proportionally scaled.</li>
|
|
9965
|
+
<li>If `Width` is not 0 and `Height` is, the video height will be proportionally scaled.</li>
|
|
9966
|
+
<li>If neither `Width` nor `Height` is 0, the specified width and height will be used.</li>
|
|
9925
9967
|
Default value: 0.
|
|
9926
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
9927
9968
|
* @type {number || null}
|
|
9928
9969
|
*/
|
|
9929
9970
|
this.Height = null;
|
|
@@ -9957,6 +9998,15 @@ When this parameter is set to 0 or left empty, `Gop` will be automatically set.
|
|
|
9957
9998
|
*/
|
|
9958
9999
|
this.Gop = null;
|
|
9959
10000
|
|
|
10001
|
+
/**
|
|
10002
|
+
* Whether to output an HDR (high dynamic range) video if the source video is HDR. Valid values:
|
|
10003
|
+
<li>ON: If the source video is HDR, output an HDR video; if not, output an SDR (standard dynamic range) video.</li>
|
|
10004
|
+
<li>OFF: Output an SDR video regardless of whether the source video is HDR.</li>
|
|
10005
|
+
Default value: OFF.
|
|
10006
|
+
* @type {string || null}
|
|
10007
|
+
*/
|
|
10008
|
+
this.PreserveHDRSwitch = null;
|
|
10009
|
+
|
|
9960
10010
|
}
|
|
9961
10011
|
|
|
9962
10012
|
/**
|
|
@@ -9975,6 +10025,7 @@ When this parameter is set to 0 or left empty, `Gop` will be automatically set.
|
|
|
9975
10025
|
this.FillType = 'FillType' in params ? params.FillType : null;
|
|
9976
10026
|
this.Vcrf = 'Vcrf' in params ? params.Vcrf : null;
|
|
9977
10027
|
this.Gop = 'Gop' in params ? params.Gop : null;
|
|
10028
|
+
this.PreserveHDRSwitch = 'PreserveHDRSwitch' in params ? params.PreserveHDRSwitch : null;
|
|
9978
10029
|
|
|
9979
10030
|
}
|
|
9980
10031
|
}
|
|
@@ -14729,6 +14780,15 @@ class PlayerConfig extends AbstractModel {
|
|
|
14729
14780
|
*/
|
|
14730
14781
|
this.Type = null;
|
|
14731
14782
|
|
|
14783
|
+
/**
|
|
14784
|
+
* The type of audio/video played. Valid values:
|
|
14785
|
+
<li>AdaptiveDynamicStreaming: Adaptive bitrate stream</li>
|
|
14786
|
+
<li>Transcode: Transcoded stream</li>
|
|
14787
|
+
<li>Original: The original stream</li>
|
|
14788
|
+
* @type {string || null}
|
|
14789
|
+
*/
|
|
14790
|
+
this.AudioVideoType = null;
|
|
14791
|
+
|
|
14732
14792
|
/**
|
|
14733
14793
|
* Switch of DRM-protected adaptive bitstream playback:
|
|
14734
14794
|
<li>ON: enabled, indicating to play back only output adaptive bitstreams protected by DRM;</li>
|
|
@@ -14749,6 +14809,12 @@ class PlayerConfig extends AbstractModel {
|
|
|
14749
14809
|
*/
|
|
14750
14810
|
this.DrmStreamingsInfo = null;
|
|
14751
14811
|
|
|
14812
|
+
/**
|
|
14813
|
+
* The ID of the transcoding template allowed.
|
|
14814
|
+
* @type {number || null}
|
|
14815
|
+
*/
|
|
14816
|
+
this.TranscodeDefinition = null;
|
|
14817
|
+
|
|
14752
14818
|
/**
|
|
14753
14819
|
* ID of the image sprite generating template that allows output.
|
|
14754
14820
|
* @type {number || null}
|
|
@@ -14805,6 +14871,7 @@ class PlayerConfig extends AbstractModel {
|
|
|
14805
14871
|
}
|
|
14806
14872
|
this.Name = 'Name' in params ? params.Name : null;
|
|
14807
14873
|
this.Type = 'Type' in params ? params.Type : null;
|
|
14874
|
+
this.AudioVideoType = 'AudioVideoType' in params ? params.AudioVideoType : null;
|
|
14808
14875
|
this.DrmSwitch = 'DrmSwitch' in params ? params.DrmSwitch : null;
|
|
14809
14876
|
this.AdaptiveDynamicStreamingDefinition = 'AdaptiveDynamicStreamingDefinition' in params ? params.AdaptiveDynamicStreamingDefinition : null;
|
|
14810
14877
|
|
|
@@ -14813,6 +14880,7 @@ class PlayerConfig extends AbstractModel {
|
|
|
14813
14880
|
obj.deserialize(params.DrmStreamingsInfo)
|
|
14814
14881
|
this.DrmStreamingsInfo = obj;
|
|
14815
14882
|
}
|
|
14883
|
+
this.TranscodeDefinition = 'TranscodeDefinition' in params ? params.TranscodeDefinition : null;
|
|
14816
14884
|
this.ImageSpriteDefinition = 'ImageSpriteDefinition' in params ? params.ImageSpriteDefinition : null;
|
|
14817
14885
|
|
|
14818
14886
|
if (params.ResolutionNameSet) {
|
|
@@ -19455,6 +19523,58 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
19455
19523
|
}
|
|
19456
19524
|
}
|
|
19457
19525
|
|
|
19526
|
+
/**
|
|
19527
|
+
* DescribeClientUploadAccelerationUsageData request structure.
|
|
19528
|
+
* @class
|
|
19529
|
+
*/
|
|
19530
|
+
class DescribeClientUploadAccelerationUsageDataRequest extends AbstractModel {
|
|
19531
|
+
constructor(){
|
|
19532
|
+
super();
|
|
19533
|
+
|
|
19534
|
+
/**
|
|
19535
|
+
* The start date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format).
|
|
19536
|
+
* @type {string || null}
|
|
19537
|
+
*/
|
|
19538
|
+
this.StartTime = null;
|
|
19539
|
+
|
|
19540
|
+
/**
|
|
19541
|
+
* The end date for the query in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format). The end date must be later than the start date.
|
|
19542
|
+
* @type {string || null}
|
|
19543
|
+
*/
|
|
19544
|
+
this.EndTime = null;
|
|
19545
|
+
|
|
19546
|
+
/**
|
|
19547
|
+
* <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b>
|
|
19548
|
+
* @type {number || null}
|
|
19549
|
+
*/
|
|
19550
|
+
this.SubAppId = null;
|
|
19551
|
+
|
|
19552
|
+
/**
|
|
19553
|
+
* The client upload acceleration type. Valid values:
|
|
19554
|
+
<li> AccelerationWithHTTP: Acceleration of HTTP transmission</li>
|
|
19555
|
+
<li> AccelerationWithQUIC: Acceleration of QUIC transmission</li>
|
|
19556
|
+
If you do not specify this parameter, the usage of both types will be queried.
|
|
19557
|
+
* @type {string || null}
|
|
19558
|
+
*/
|
|
19559
|
+
this.Type = null;
|
|
19560
|
+
|
|
19561
|
+
}
|
|
19562
|
+
|
|
19563
|
+
/**
|
|
19564
|
+
* @private
|
|
19565
|
+
*/
|
|
19566
|
+
deserialize(params) {
|
|
19567
|
+
if (!params) {
|
|
19568
|
+
return;
|
|
19569
|
+
}
|
|
19570
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
19571
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
19572
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
19573
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
19574
|
+
|
|
19575
|
+
}
|
|
19576
|
+
}
|
|
19577
|
+
|
|
19458
19578
|
/**
|
|
19459
19579
|
* ModifyAIRecognitionTemplate request structure.
|
|
19460
19580
|
* @class
|
|
@@ -20272,21 +20392,21 @@ class EventContent extends AbstractModel {
|
|
|
20272
20392
|
|
|
20273
20393
|
/**
|
|
20274
20394
|
* <b>Supported event types:</b>
|
|
20275
|
-
<li>NewFileUpload:
|
|
20276
|
-
<li>ProcedureStateChanged:
|
|
20277
|
-
<li>FileDeleted:
|
|
20278
|
-
<li>PullComplete:
|
|
20279
|
-
<li>EditMediaComplete:
|
|
20280
|
-
<li>SplitMediaComplete:
|
|
20281
|
-
<li>WechatPublishComplete:
|
|
20282
|
-
<li>ComposeMediaComplete:
|
|
20283
|
-
<li>
|
|
20284
|
-
<b>
|
|
20285
|
-
<li>TranscodeComplete:
|
|
20286
|
-
<li>ConcatComplete:
|
|
20287
|
-
<li>ClipComplete:
|
|
20288
|
-
<li>CreateImageSpriteComplete:
|
|
20289
|
-
<li>CreateSnapshotByTimeOffsetComplete:
|
|
20395
|
+
<li>NewFileUpload: Video uploaded.</li>
|
|
20396
|
+
<li>ProcedureStateChanged: Task flow status changed.</li>
|
|
20397
|
+
<li>FileDeleted: Video deleted.</li>
|
|
20398
|
+
<li>PullComplete: Finished video pulling.</li>
|
|
20399
|
+
<li>EditMediaComplete: Finished video editing.</li>
|
|
20400
|
+
<li>SplitMediaComplete: Finished video splitting.</li>
|
|
20401
|
+
<li>WechatPublishComplete: Published to WeChat.</li>
|
|
20402
|
+
<li>ComposeMediaComplete: Finished composition.</li>
|
|
20403
|
+
<li>FastClipMediaComplete: Finished quick clipping.</li>
|
|
20404
|
+
<b>v2017 task types:</b>
|
|
20405
|
+
<li>TranscodeComplete: Finished video transcoding.</li>
|
|
20406
|
+
<li>ConcatComplete: Finished video splicing.</li>
|
|
20407
|
+
<li>ClipComplete: Finished video clipping.</li>
|
|
20408
|
+
<li>CreateImageSpriteComplete: Finished image sprite generation.</li>
|
|
20409
|
+
<li>CreateSnapshotByTimeOffsetComplete: Finished time point screencapturing.</li>
|
|
20290
20410
|
* @type {string || null}
|
|
20291
20411
|
*/
|
|
20292
20412
|
this.EventType = null;
|
|
@@ -22571,17 +22691,17 @@ If the value is 0, the bitrate of the video will be the same as that of the sour
|
|
|
22571
22691
|
this.ResolutionAdaptive = null;
|
|
22572
22692
|
|
|
22573
22693
|
/**
|
|
22574
|
-
*
|
|
22575
|
-
<li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video
|
|
22576
|
-
<li>If `Width` is 0
|
|
22577
|
-
<li>If `Width` is not 0
|
|
22578
|
-
<li>If
|
|
22694
|
+
* The maximum video width (or long side) in pixels. Value range: 0 and [128, 8192].
|
|
22695
|
+
<li>If both `Width` and `Height` are 0, the output resolution will be the same as that of the source video.</li>
|
|
22696
|
+
<li>If `Width` is 0 and `Height` is not, the video width will be proportionally scaled.</li>
|
|
22697
|
+
<li>If `Width` is not 0 and `Height` is, the video height will be proportionally scaled.</li>
|
|
22698
|
+
<li>If neither `Width` nor `Height` is 0, the specified width and height will be used.</li>
|
|
22579
22699
|
* @type {number || null}
|
|
22580
22700
|
*/
|
|
22581
22701
|
this.Width = null;
|
|
22582
22702
|
|
|
22583
22703
|
/**
|
|
22584
|
-
*
|
|
22704
|
+
* The maximum video height (or short side) in pixels. Value range: 0 and [128, 8192].
|
|
22585
22705
|
* @type {number || null}
|
|
22586
22706
|
*/
|
|
22587
22707
|
this.Height = null;
|
|
@@ -22614,6 +22734,14 @@ When this parameter is set to 0 or left empty, `Gop` will be automatically set.
|
|
|
22614
22734
|
*/
|
|
22615
22735
|
this.Gop = null;
|
|
22616
22736
|
|
|
22737
|
+
/**
|
|
22738
|
+
* Whether to output an HDR (high dynamic range) video if the source video is HDR. Valid values:
|
|
22739
|
+
<li>ON: If the source video is HDR, output an HDR video; if not, output an SDR (standard dynamic range) video.</li>
|
|
22740
|
+
<li>OFF: Output an SDR video regardless of whether the source video is HDR.</li>
|
|
22741
|
+
* @type {string || null}
|
|
22742
|
+
*/
|
|
22743
|
+
this.PreserveHDRSwitch = null;
|
|
22744
|
+
|
|
22617
22745
|
}
|
|
22618
22746
|
|
|
22619
22747
|
/**
|
|
@@ -22632,6 +22760,7 @@ When this parameter is set to 0 or left empty, `Gop` will be automatically set.
|
|
|
22632
22760
|
this.FillType = 'FillType' in params ? params.FillType : null;
|
|
22633
22761
|
this.Vcrf = 'Vcrf' in params ? params.Vcrf : null;
|
|
22634
22762
|
this.Gop = 'Gop' in params ? params.Gop : null;
|
|
22763
|
+
this.PreserveHDRSwitch = 'PreserveHDRSwitch' in params ? params.PreserveHDRSwitch : null;
|
|
22635
22764
|
|
|
22636
22765
|
}
|
|
22637
22766
|
}
|
|
@@ -23629,6 +23758,12 @@ class DescribeSuperPlayerConfigsRequest extends AbstractModel {
|
|
|
23629
23758
|
constructor(){
|
|
23630
23759
|
super();
|
|
23631
23760
|
|
|
23761
|
+
/**
|
|
23762
|
+
* <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b>
|
|
23763
|
+
* @type {number || null}
|
|
23764
|
+
*/
|
|
23765
|
+
this.SubAppId = null;
|
|
23766
|
+
|
|
23632
23767
|
/**
|
|
23633
23768
|
* Player configuration name filter. Array length limit: 100.
|
|
23634
23769
|
* @type {Array.<string> || null}
|
|
@@ -23655,12 +23790,6 @@ class DescribeSuperPlayerConfigsRequest extends AbstractModel {
|
|
|
23655
23790
|
*/
|
|
23656
23791
|
this.Type = null;
|
|
23657
23792
|
|
|
23658
|
-
/**
|
|
23659
|
-
* [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
|
|
23660
|
-
* @type {number || null}
|
|
23661
|
-
*/
|
|
23662
|
-
this.SubAppId = null;
|
|
23663
|
-
|
|
23664
23793
|
}
|
|
23665
23794
|
|
|
23666
23795
|
/**
|
|
@@ -23670,11 +23799,11 @@ class DescribeSuperPlayerConfigsRequest extends AbstractModel {
|
|
|
23670
23799
|
if (!params) {
|
|
23671
23800
|
return;
|
|
23672
23801
|
}
|
|
23802
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
23673
23803
|
this.Names = 'Names' in params ? params.Names : null;
|
|
23674
23804
|
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
23675
23805
|
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
23676
23806
|
this.Type = 'Type' in params ? params.Type : null;
|
|
23677
|
-
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
23678
23807
|
|
|
23679
23808
|
}
|
|
23680
23809
|
}
|
|
@@ -24481,6 +24610,12 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
24481
24610
|
*/
|
|
24482
24611
|
this.Name = null;
|
|
24483
24612
|
|
|
24613
|
+
/**
|
|
24614
|
+
* <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b>
|
|
24615
|
+
* @type {number || null}
|
|
24616
|
+
*/
|
|
24617
|
+
this.SubAppId = null;
|
|
24618
|
+
|
|
24484
24619
|
/**
|
|
24485
24620
|
* Type of audio/video played. Valid values:
|
|
24486
24621
|
<li>AdaptiveDynamicStreaming</li>
|
|
@@ -24549,12 +24684,6 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
24549
24684
|
*/
|
|
24550
24685
|
this.Comment = null;
|
|
24551
24686
|
|
|
24552
|
-
/**
|
|
24553
|
-
* [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
|
|
24554
|
-
* @type {number || null}
|
|
24555
|
-
*/
|
|
24556
|
-
this.SubAppId = null;
|
|
24557
|
-
|
|
24558
24687
|
}
|
|
24559
24688
|
|
|
24560
24689
|
/**
|
|
@@ -24565,6 +24694,7 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
24565
24694
|
return;
|
|
24566
24695
|
}
|
|
24567
24696
|
this.Name = 'Name' in params ? params.Name : null;
|
|
24697
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
24568
24698
|
this.AudioVideoType = 'AudioVideoType' in params ? params.AudioVideoType : null;
|
|
24569
24699
|
this.DrmSwitch = 'DrmSwitch' in params ? params.DrmSwitch : null;
|
|
24570
24700
|
this.AdaptiveDynamicStreamingDefinition = 'AdaptiveDynamicStreamingDefinition' in params ? params.AdaptiveDynamicStreamingDefinition : null;
|
|
@@ -24588,7 +24718,6 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
24588
24718
|
this.Domain = 'Domain' in params ? params.Domain : null;
|
|
24589
24719
|
this.Scheme = 'Scheme' in params ? params.Scheme : null;
|
|
24590
24720
|
this.Comment = 'Comment' in params ? params.Comment : null;
|
|
24591
|
-
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
24592
24721
|
|
|
24593
24722
|
}
|
|
24594
24723
|
}
|
|
@@ -25488,10 +25617,10 @@ class SubAppIdInfo extends AbstractModel {
|
|
|
25488
25617
|
this.SubAppId = null;
|
|
25489
25618
|
|
|
25490
25619
|
/**
|
|
25491
|
-
*
|
|
25620
|
+
* The subapplication name.
|
|
25492
25621
|
* @type {string || null}
|
|
25493
25622
|
*/
|
|
25494
|
-
this.
|
|
25623
|
+
this.SubAppIdName = null;
|
|
25495
25624
|
|
|
25496
25625
|
/**
|
|
25497
25626
|
* Subapplication overview.
|
|
@@ -25515,6 +25644,12 @@ class SubAppIdInfo extends AbstractModel {
|
|
|
25515
25644
|
*/
|
|
25516
25645
|
this.Status = null;
|
|
25517
25646
|
|
|
25647
|
+
/**
|
|
25648
|
+
* The subapplication name. This parameter is not recommended. Please use `SubAppIdName` instead.
|
|
25649
|
+
* @type {string || null}
|
|
25650
|
+
*/
|
|
25651
|
+
this.Name = null;
|
|
25652
|
+
|
|
25518
25653
|
}
|
|
25519
25654
|
|
|
25520
25655
|
/**
|
|
@@ -25525,10 +25660,11 @@ class SubAppIdInfo extends AbstractModel {
|
|
|
25525
25660
|
return;
|
|
25526
25661
|
}
|
|
25527
25662
|
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
25528
|
-
this.
|
|
25663
|
+
this.SubAppIdName = 'SubAppIdName' in params ? params.SubAppIdName : null;
|
|
25529
25664
|
this.Description = 'Description' in params ? params.Description : null;
|
|
25530
25665
|
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
25531
25666
|
this.Status = 'Status' in params ? params.Status : null;
|
|
25667
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
25532
25668
|
|
|
25533
25669
|
}
|
|
25534
25670
|
}
|
|
@@ -29355,7 +29491,7 @@ class MediaClassInfo extends AbstractModel {
|
|
|
29355
29491
|
super();
|
|
29356
29492
|
|
|
29357
29493
|
/**
|
|
29358
|
-
*
|
|
29494
|
+
* The category ID.
|
|
29359
29495
|
* @type {number || null}
|
|
29360
29496
|
*/
|
|
29361
29497
|
this.ClassId = null;
|
|
@@ -29367,10 +29503,10 @@ class MediaClassInfo extends AbstractModel {
|
|
|
29367
29503
|
this.ParentId = null;
|
|
29368
29504
|
|
|
29369
29505
|
/**
|
|
29370
|
-
*
|
|
29506
|
+
* The category name.
|
|
29371
29507
|
* @type {string || null}
|
|
29372
29508
|
*/
|
|
29373
|
-
this.
|
|
29509
|
+
this.Name = null;
|
|
29374
29510
|
|
|
29375
29511
|
/**
|
|
29376
29512
|
* Category level. 0 for first-level category, up to 3, i.e., up to 4 levels of categories are allowed.
|
|
@@ -29379,11 +29515,17 @@ class MediaClassInfo extends AbstractModel {
|
|
|
29379
29515
|
this.Level = null;
|
|
29380
29516
|
|
|
29381
29517
|
/**
|
|
29382
|
-
*
|
|
29518
|
+
* The IDs of the immediate subcategories of the current category.
|
|
29383
29519
|
* @type {Array.<number> || null}
|
|
29384
29520
|
*/
|
|
29385
29521
|
this.SubClassIdSet = null;
|
|
29386
29522
|
|
|
29523
|
+
/**
|
|
29524
|
+
* The category name. This parameter is not recommended. Please use `Name` instead.
|
|
29525
|
+
* @type {string || null}
|
|
29526
|
+
*/
|
|
29527
|
+
this.ClassName = null;
|
|
29528
|
+
|
|
29387
29529
|
}
|
|
29388
29530
|
|
|
29389
29531
|
/**
|
|
@@ -29395,9 +29537,10 @@ class MediaClassInfo extends AbstractModel {
|
|
|
29395
29537
|
}
|
|
29396
29538
|
this.ClassId = 'ClassId' in params ? params.ClassId : null;
|
|
29397
29539
|
this.ParentId = 'ParentId' in params ? params.ParentId : null;
|
|
29398
|
-
this.
|
|
29540
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
29399
29541
|
this.Level = 'Level' in params ? params.Level : null;
|
|
29400
29542
|
this.SubClassIdSet = 'SubClassIdSet' in params ? params.SubClassIdSet : null;
|
|
29543
|
+
this.ClassName = 'ClassName' in params ? params.ClassName : null;
|
|
29401
29544
|
|
|
29402
29545
|
}
|
|
29403
29546
|
}
|
|
@@ -31152,6 +31295,7 @@ module.exports = {
|
|
|
31152
31295
|
AudioTemplateInfo: AudioTemplateInfo,
|
|
31153
31296
|
ExecuteFunctionResponse: ExecuteFunctionResponse,
|
|
31154
31297
|
CoverConfigureInfo: CoverConfigureInfo,
|
|
31298
|
+
DescribeClientUploadAccelerationUsageDataResponse: DescribeClientUploadAccelerationUsageDataResponse,
|
|
31155
31299
|
ComposeMediaRequest: ComposeMediaRequest,
|
|
31156
31300
|
AIRecognitionTemplateItem: AIRecognitionTemplateItem,
|
|
31157
31301
|
AiReviewPornAsrTaskInput: AiReviewPornAsrTaskInput,
|
|
@@ -31442,6 +31586,7 @@ module.exports = {
|
|
|
31442
31586
|
DescribeVodDomainsResponse: DescribeVodDomainsResponse,
|
|
31443
31587
|
AdaptiveStreamTemplate: AdaptiveStreamTemplate,
|
|
31444
31588
|
TranscodeTaskInput: TranscodeTaskInput,
|
|
31589
|
+
DescribeClientUploadAccelerationUsageDataRequest: DescribeClientUploadAccelerationUsageDataRequest,
|
|
31445
31590
|
ModifyAIRecognitionTemplateRequest: ModifyAIRecognitionTemplateRequest,
|
|
31446
31591
|
DescribeStorageRegionsRequest: DescribeStorageRegionsRequest,
|
|
31447
31592
|
WechatPublishTask: WechatPublishTask,
|
|
@@ -72,6 +72,7 @@ const AiRecognitionTaskInput = models.AiRecognitionTaskInput;
|
|
|
72
72
|
const AudioTemplateInfo = models.AudioTemplateInfo;
|
|
73
73
|
const ExecuteFunctionResponse = models.ExecuteFunctionResponse;
|
|
74
74
|
const CoverConfigureInfo = models.CoverConfigureInfo;
|
|
75
|
+
const DescribeClientUploadAccelerationUsageDataResponse = models.DescribeClientUploadAccelerationUsageDataResponse;
|
|
75
76
|
const ComposeMediaRequest = models.ComposeMediaRequest;
|
|
76
77
|
const AIRecognitionTemplateItem = models.AIRecognitionTemplateItem;
|
|
77
78
|
const AiReviewPornAsrTaskInput = models.AiReviewPornAsrTaskInput;
|
|
@@ -362,6 +363,7 @@ const UserDefineOcrTextReviewTemplateInfo = models.UserDefineOcrTextReviewTempla
|
|
|
362
363
|
const DescribeVodDomainsResponse = models.DescribeVodDomainsResponse;
|
|
363
364
|
const AdaptiveStreamTemplate = models.AdaptiveStreamTemplate;
|
|
364
365
|
const TranscodeTaskInput = models.TranscodeTaskInput;
|
|
366
|
+
const DescribeClientUploadAccelerationUsageDataRequest = models.DescribeClientUploadAccelerationUsageDataRequest;
|
|
365
367
|
const ModifyAIRecognitionTemplateRequest = models.ModifyAIRecognitionTemplateRequest;
|
|
366
368
|
const DescribeStorageRegionsRequest = models.DescribeStorageRegionsRequest;
|
|
367
369
|
const WechatPublishTask = models.WechatPublishTask;
|
|
@@ -955,14 +957,15 @@ Note: templates with an ID below 10000 are preset and cannot be modified.
|
|
|
955
957
|
}
|
|
956
958
|
|
|
957
959
|
/**
|
|
958
|
-
* This API is used to
|
|
959
|
-
|
|
960
|
-
* @param {
|
|
960
|
+
* This API is used to delete an acceleration domain name from VOD.
|
|
961
|
+
1. Before deleting a domain name, disable its acceleration in all regions.
|
|
962
|
+
* @param {DeleteVodDomainRequest} req
|
|
963
|
+
* @param {function(string, DeleteVodDomainResponse):void} cb
|
|
961
964
|
* @public
|
|
962
965
|
*/
|
|
963
|
-
|
|
964
|
-
let resp = new
|
|
965
|
-
this.request("
|
|
966
|
+
DeleteVodDomain(req, cb) {
|
|
967
|
+
let resp = new DeleteVodDomainResponse();
|
|
968
|
+
this.request("DeleteVodDomain", req, resp, cb);
|
|
966
969
|
}
|
|
967
970
|
|
|
968
971
|
/**
|
|
@@ -978,6 +981,17 @@ Note: templates with an ID below 10000 are preset and cannot be modified.
|
|
|
978
981
|
this.request("DescribeMediaProcessUsageData", req, resp, cb);
|
|
979
982
|
}
|
|
980
983
|
|
|
984
|
+
/**
|
|
985
|
+
* This API is used to get the list of transcoding templates based on unique template ID. The return result includes all eligible custom and [preset transcoding templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).
|
|
986
|
+
* @param {DescribeTranscodeTemplatesRequest} req
|
|
987
|
+
* @param {function(string, DescribeTranscodeTemplatesResponse):void} cb
|
|
988
|
+
* @public
|
|
989
|
+
*/
|
|
990
|
+
DescribeTranscodeTemplates(req, cb) {
|
|
991
|
+
let resp = new DescribeTranscodeTemplatesResponse();
|
|
992
|
+
this.request("DescribeTranscodeTemplates", req, resp, cb);
|
|
993
|
+
}
|
|
994
|
+
|
|
981
995
|
/**
|
|
982
996
|
* This API is used to query the list of time point screencapturing templates and supports paged queries by filters.
|
|
983
997
|
* @param {DescribeSnapshotByTimeOffsetTemplatesRequest} req
|
|
@@ -990,11 +1004,18 @@ Note: templates with an ID below 10000 are preset and cannot be modified.
|
|
|
990
1004
|
}
|
|
991
1005
|
|
|
992
1006
|
/**
|
|
993
|
-
* This API is used to compose a media file
|
|
1007
|
+
* This API is used to compose a media file. You can use it to do the following:
|
|
994
1008
|
|
|
995
|
-
1.
|
|
996
|
-
2.
|
|
997
|
-
3.
|
|
1009
|
+
1. **Rotation/Flipping**: Rotate a video or image by a specific angle or flip a video or image.
|
|
1010
|
+
2. **Audio control**: Increase/Lower the volume of an audio/video file or mute an audio/video file.
|
|
1011
|
+
3. **Overlaying**: Overlay videos/images in a specified sequence to achieve the picture-in-picture effect.
|
|
1012
|
+
4. **Audio mixing**: Mix the audios of audio/video files.
|
|
1013
|
+
5 **Audio extraction**: Extract audio from a video.
|
|
1014
|
+
6. **Clipping**: Clip segments from audio/video files according to a specified start and end time.
|
|
1015
|
+
7. **Splicing**: Splice videos/audios/images in a specified sequence.
|
|
1016
|
+
8. **Transition**: Add transition effects between video segments or images that are spliced together.
|
|
1017
|
+
|
|
1018
|
+
The output file is in MP4 or MP3 format. In the callback for media composition, the event type is [ComposeMediaComplete](https://intl.cloud.tencent.com/document/product/266/43000?from_cn_redirect=1).
|
|
998
1019
|
* @param {ComposeMediaRequest} req
|
|
999
1020
|
* @param {function(string, ComposeMediaResponse):void} cb
|
|
1000
1021
|
* @public
|
|
@@ -1152,8 +1173,8 @@ If the current storage class is DEEP ARCHIVE, it can be changed to the following
|
|
|
1152
1173
|
}
|
|
1153
1174
|
|
|
1154
1175
|
/**
|
|
1155
|
-
* This API is used to delete a
|
|
1156
|
-
*Note:
|
|
1176
|
+
* This API is used to delete a player configuration.
|
|
1177
|
+
*Note: Preset player configurations cannot be deleted.*
|
|
1157
1178
|
* @param {DeleteSuperPlayerConfigRequest} req
|
|
1158
1179
|
* @param {function(string, DeleteSuperPlayerConfigResponse):void} cb
|
|
1159
1180
|
* @public
|
|
@@ -1175,15 +1196,18 @@ If the current storage class is DEEP ARCHIVE, it can be changed to the following
|
|
|
1175
1196
|
}
|
|
1176
1197
|
|
|
1177
1198
|
/**
|
|
1178
|
-
* This API is used to
|
|
1179
|
-
1.
|
|
1180
|
-
|
|
1181
|
-
|
|
1199
|
+
* This API is used to query the usage of the client upload acceleration service in a specific time period.
|
|
1200
|
+
1. You can query the usage of client upload acceleration in the last 365 days.
|
|
1201
|
+
2. The maximum time period allowed for query is 90 days.
|
|
1202
|
+
3. If the period specified is longer than one day, the statistics returned will be on a daily basis; otherwise, they will be on a 5-minute basis.
|
|
1203
|
+
|
|
1204
|
+
* @param {DescribeClientUploadAccelerationUsageDataRequest} req
|
|
1205
|
+
* @param {function(string, DescribeClientUploadAccelerationUsageDataResponse):void} cb
|
|
1182
1206
|
* @public
|
|
1183
1207
|
*/
|
|
1184
|
-
|
|
1185
|
-
let resp = new
|
|
1186
|
-
this.request("
|
|
1208
|
+
DescribeClientUploadAccelerationUsageData(req, cb) {
|
|
1209
|
+
let resp = new DescribeClientUploadAccelerationUsageDataResponse();
|
|
1210
|
+
this.request("DescribeClientUploadAccelerationUsageData", req, resp, cb);
|
|
1187
1211
|
}
|
|
1188
1212
|
|
|
1189
1213
|
/**
|
|
@@ -1312,7 +1336,7 @@ If the current storage class is DEEP ARCHIVE, it can be changed to the following
|
|
|
1312
1336
|
}
|
|
1313
1337
|
|
|
1314
1338
|
/**
|
|
1315
|
-
* This API is used to create a
|
|
1339
|
+
* This API is used to create a player configuration. Up to 100 configurations can be created.
|
|
1316
1340
|
* @param {CreateSuperPlayerConfigRequest} req
|
|
1317
1341
|
* @param {function(string, CreateSuperPlayerConfigResponse):void} cb
|
|
1318
1342
|
* @public
|
|
@@ -1518,7 +1542,7 @@ If the current storage class is DEEP ARCHIVE, it can be changed to the following
|
|
|
1518
1542
|
}
|
|
1519
1543
|
|
|
1520
1544
|
/**
|
|
1521
|
-
* This API is used to modify a
|
|
1545
|
+
* This API is used to modify a player configuration.
|
|
1522
1546
|
* @param {ModifySuperPlayerConfigRequest} req
|
|
1523
1547
|
* @param {function(string, ModifySuperPlayerConfigResponse):void} cb
|
|
1524
1548
|
* @public
|
|
@@ -1920,7 +1944,7 @@ A digital watermark has the following restrictions:
|
|
|
1920
1944
|
}
|
|
1921
1945
|
|
|
1922
1946
|
/**
|
|
1923
|
-
* This API is used to query
|
|
1947
|
+
* This API is used to query player configurations. It supports pagination.
|
|
1924
1948
|
* @param {DescribeSuperPlayerConfigsRequest} req
|
|
1925
1949
|
* @param {function(string, DescribeSuperPlayerConfigsResponse):void} cb
|
|
1926
1950
|
* @public
|