tencentcloud-sdk-nodejs-intl-en 3.0.894 → 3.0.896
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
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.896";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -27,11 +27,12 @@ const DescribeStreamPackageChannelsResponse = models.DescribeStreamPackageChanne
|
|
|
27
27
|
const DescribeStreamPackageChannelsRequest = models.DescribeStreamPackageChannelsRequest;
|
|
28
28
|
const ModifyStreamPackageChannelEndpointResponse = models.ModifyStreamPackageChannelEndpointResponse;
|
|
29
29
|
const ModifyStreamPackageChannelInputAuthInfoResponse = models.ModifyStreamPackageChannelInputAuthInfoResponse;
|
|
30
|
-
const
|
|
30
|
+
const AliasValueConf = models.AliasValueConf;
|
|
31
31
|
const DescribeStreamPackageHarvestJobsRequest = models.DescribeStreamPackageHarvestJobsRequest;
|
|
32
32
|
const DeleteStreamPackageHarvestJobResponse = models.DeleteStreamPackageHarvestJobResponse;
|
|
33
33
|
const DeleteStreamPackageHarvestJobsRequest = models.DeleteStreamPackageHarvestJobsRequest;
|
|
34
34
|
const CreateStreamPackageChannelResponse = models.CreateStreamPackageChannelResponse;
|
|
35
|
+
const EndpointAuthInfo = models.EndpointAuthInfo;
|
|
35
36
|
const CreateStreamPackageChannelEndpointResponse = models.CreateStreamPackageChannelEndpointResponse;
|
|
36
37
|
const DeleteStreamPackageChannelEndpointsRequest = models.DeleteStreamPackageChannelEndpointsRequest;
|
|
37
38
|
const CreateStreamPackageHarvestJobResponse = models.CreateStreamPackageHarvestJobResponse;
|
|
@@ -41,6 +42,7 @@ const DeleteStreamPackageChannelEndpointsResponse = models.DeleteStreamPackageCh
|
|
|
41
42
|
const InputInfo = models.InputInfo;
|
|
42
43
|
const InputAuthInfo = models.InputAuthInfo;
|
|
43
44
|
const UnbindCdnDomainWithChannelRequest = models.UnbindCdnDomainWithChannelRequest;
|
|
45
|
+
const SSAIConf = models.SSAIConf;
|
|
44
46
|
const HarvestJobResp = models.HarvestJobResp;
|
|
45
47
|
const EndpointInfo = models.EndpointInfo;
|
|
46
48
|
const DescribeStreamPackageChannelRequest = models.DescribeStreamPackageChannelRequest;
|
|
@@ -57,6 +59,7 @@ const BindNewLVBDomainWithChannelRequest = models.BindNewLVBDomainWithChannelReq
|
|
|
57
59
|
const DescribeStreamPackageChannelResponse = models.DescribeStreamPackageChannelResponse;
|
|
58
60
|
const ModifyStreamPackageChannelResponse = models.ModifyStreamPackageChannelResponse;
|
|
59
61
|
const DeleteStreamPackageHarvestJobsResponse = models.DeleteStreamPackageHarvestJobsResponse;
|
|
62
|
+
const ConfigAliasesInfo = models.ConfigAliasesInfo;
|
|
60
63
|
|
|
61
64
|
|
|
62
65
|
/**
|
|
@@ -222,7 +222,7 @@ class DeleteStreamPackageChannelsResponse extends AbstractModel {
|
|
|
222
222
|
this.FailInfos = null;
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
|
-
* The unique request ID,
|
|
225
|
+
* 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.
|
|
226
226
|
* @type {string || null}
|
|
227
227
|
*/
|
|
228
228
|
this.RequestId = null;
|
|
@@ -274,7 +274,7 @@ class BindNewLVBDomainWithChannelResponse extends AbstractModel {
|
|
|
274
274
|
this.LVBDomain = null;
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
|
-
* The unique request ID,
|
|
277
|
+
* 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.
|
|
278
278
|
* @type {string || null}
|
|
279
279
|
*/
|
|
280
280
|
this.RequestId = null;
|
|
@@ -309,7 +309,7 @@ class DescribeStreamPackageHarvestJobResponse extends AbstractModel {
|
|
|
309
309
|
this.Info = null;
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
|
-
* The unique request ID,
|
|
312
|
+
* 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.
|
|
313
313
|
* @type {string || null}
|
|
314
314
|
*/
|
|
315
315
|
this.RequestId = null;
|
|
@@ -374,7 +374,7 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
374
374
|
this.TotalPage = null;
|
|
375
375
|
|
|
376
376
|
/**
|
|
377
|
-
* The unique request ID,
|
|
377
|
+
* 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.
|
|
378
378
|
* @type {string || null}
|
|
379
379
|
*/
|
|
380
380
|
this.RequestId = null;
|
|
@@ -450,7 +450,7 @@ class ModifyStreamPackageChannelEndpointResponse extends AbstractModel {
|
|
|
450
450
|
super();
|
|
451
451
|
|
|
452
452
|
/**
|
|
453
|
-
* The unique request ID,
|
|
453
|
+
* 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.
|
|
454
454
|
* @type {string || null}
|
|
455
455
|
*/
|
|
456
456
|
this.RequestId = null;
|
|
@@ -484,7 +484,7 @@ class ModifyStreamPackageChannelInputAuthInfoResponse extends AbstractModel {
|
|
|
484
484
|
this.AuthInfo = null;
|
|
485
485
|
|
|
486
486
|
/**
|
|
487
|
-
* The unique request ID,
|
|
487
|
+
* 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.
|
|
488
488
|
* @type {string || null}
|
|
489
489
|
*/
|
|
490
490
|
this.RequestId = null;
|
|
@@ -510,33 +510,24 @@ class ModifyStreamPackageChannelInputAuthInfoResponse extends AbstractModel {
|
|
|
510
510
|
}
|
|
511
511
|
|
|
512
512
|
/**
|
|
513
|
-
*
|
|
513
|
+
* Alias-value configuration information.
|
|
514
514
|
* @class
|
|
515
515
|
*/
|
|
516
|
-
class
|
|
516
|
+
class AliasValueConf extends AbstractModel {
|
|
517
517
|
constructor(){
|
|
518
518
|
super();
|
|
519
519
|
|
|
520
520
|
/**
|
|
521
|
-
*
|
|
522
|
-
|
|
523
|
-
* @type {Array.<string> || null}
|
|
524
|
-
*/
|
|
525
|
-
this.WhiteIpList = null;
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* The security group blocklist in CIDR format.
|
|
529
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
530
|
-
* @type {Array.<string> || null}
|
|
521
|
+
* Alias.
|
|
522
|
+
* @type {string || null}
|
|
531
523
|
*/
|
|
532
|
-
this.
|
|
524
|
+
this.Alias = null;
|
|
533
525
|
|
|
534
526
|
/**
|
|
535
|
-
*
|
|
536
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
527
|
+
* Value.
|
|
537
528
|
* @type {string || null}
|
|
538
529
|
*/
|
|
539
|
-
this.
|
|
530
|
+
this.Value = null;
|
|
540
531
|
|
|
541
532
|
}
|
|
542
533
|
|
|
@@ -547,9 +538,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
547
538
|
if (!params) {
|
|
548
539
|
return;
|
|
549
540
|
}
|
|
550
|
-
this.
|
|
551
|
-
this.
|
|
552
|
-
this.AuthKey = 'AuthKey' in params ? params.AuthKey : null;
|
|
541
|
+
this.Alias = 'Alias' in params ? params.Alias : null;
|
|
542
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
553
543
|
|
|
554
544
|
}
|
|
555
545
|
}
|
|
@@ -605,7 +595,7 @@ class DeleteStreamPackageHarvestJobResponse extends AbstractModel {
|
|
|
605
595
|
super();
|
|
606
596
|
|
|
607
597
|
/**
|
|
608
|
-
* The unique request ID,
|
|
598
|
+
* 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.
|
|
609
599
|
* @type {string || null}
|
|
610
600
|
*/
|
|
611
601
|
this.RequestId = null;
|
|
@@ -667,7 +657,7 @@ class CreateStreamPackageChannelResponse extends AbstractModel {
|
|
|
667
657
|
this.Info = null;
|
|
668
658
|
|
|
669
659
|
/**
|
|
670
|
-
* The unique request ID,
|
|
660
|
+
* 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.
|
|
671
661
|
* @type {string || null}
|
|
672
662
|
*/
|
|
673
663
|
this.RequestId = null;
|
|
@@ -692,6 +682,51 @@ class CreateStreamPackageChannelResponse extends AbstractModel {
|
|
|
692
682
|
}
|
|
693
683
|
}
|
|
694
684
|
|
|
685
|
+
/**
|
|
686
|
+
* The authentication information of channel endpoints.
|
|
687
|
+
* @class
|
|
688
|
+
*/
|
|
689
|
+
class EndpointAuthInfo extends AbstractModel {
|
|
690
|
+
constructor(){
|
|
691
|
+
super();
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* The security group allowlist in CIDR format.
|
|
695
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
696
|
+
* @type {Array.<string> || null}
|
|
697
|
+
*/
|
|
698
|
+
this.WhiteIpList = null;
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* The security group blocklist in CIDR format.
|
|
702
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
703
|
+
* @type {Array.<string> || null}
|
|
704
|
+
*/
|
|
705
|
+
this.BlackIpList = null;
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* The authentication key. Its value is same as `X-TENCENT-PACKAGE` set in the HTTP request header.
|
|
709
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
710
|
+
* @type {string || null}
|
|
711
|
+
*/
|
|
712
|
+
this.AuthKey = null;
|
|
713
|
+
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* @private
|
|
718
|
+
*/
|
|
719
|
+
deserialize(params) {
|
|
720
|
+
if (!params) {
|
|
721
|
+
return;
|
|
722
|
+
}
|
|
723
|
+
this.WhiteIpList = 'WhiteIpList' in params ? params.WhiteIpList : null;
|
|
724
|
+
this.BlackIpList = 'BlackIpList' in params ? params.BlackIpList : null;
|
|
725
|
+
this.AuthKey = 'AuthKey' in params ? params.AuthKey : null;
|
|
726
|
+
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
|
|
695
730
|
/**
|
|
696
731
|
* CreateStreamPackageChannelEndpoint response structure.
|
|
697
732
|
* @class
|
|
@@ -707,7 +742,7 @@ class CreateStreamPackageChannelEndpointResponse extends AbstractModel {
|
|
|
707
742
|
this.Info = null;
|
|
708
743
|
|
|
709
744
|
/**
|
|
710
|
-
* The unique request ID,
|
|
745
|
+
* 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.
|
|
711
746
|
* @type {string || null}
|
|
712
747
|
*/
|
|
713
748
|
this.RequestId = null;
|
|
@@ -782,7 +817,7 @@ class CreateStreamPackageHarvestJobResponse extends AbstractModel {
|
|
|
782
817
|
this.Info = null;
|
|
783
818
|
|
|
784
819
|
/**
|
|
785
|
-
* The unique request ID,
|
|
820
|
+
* 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.
|
|
786
821
|
* @type {string || null}
|
|
787
822
|
*/
|
|
788
823
|
this.RequestId = null;
|
|
@@ -920,7 +955,7 @@ class DeleteStreamPackageChannelEndpointsResponse extends AbstractModel {
|
|
|
920
955
|
super();
|
|
921
956
|
|
|
922
957
|
/**
|
|
923
|
-
* The unique request ID,
|
|
958
|
+
* 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.
|
|
924
959
|
* @type {string || null}
|
|
925
960
|
*/
|
|
926
961
|
this.RequestId = null;
|
|
@@ -1052,6 +1087,112 @@ class UnbindCdnDomainWithChannelRequest extends AbstractModel {
|
|
|
1052
1087
|
}
|
|
1053
1088
|
}
|
|
1054
1089
|
|
|
1090
|
+
/**
|
|
1091
|
+
* SSAI ad insertion configuration.
|
|
1092
|
+
* @class
|
|
1093
|
+
*/
|
|
1094
|
+
class SSAIConf extends AbstractModel {
|
|
1095
|
+
constructor(){
|
|
1096
|
+
super();
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* Advertising Decision Server URL (ADS).
|
|
1100
|
+
* @type {string || null}
|
|
1101
|
+
*/
|
|
1102
|
+
this.AdsUrl = null;
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* Parameter configuration.
|
|
1106
|
+
* @type {Array.<ConfigAliasesInfo> || null}
|
|
1107
|
+
*/
|
|
1108
|
+
this.ConfigAliases = null;
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* Default advertising url.
|
|
1112
|
+
* @type {string || null}
|
|
1113
|
+
*/
|
|
1114
|
+
this.SlateAd = null;
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* Maximum unfilled duration, unit: seconds.
|
|
1118
|
+
* @type {number || null}
|
|
1119
|
+
*/
|
|
1120
|
+
this.Threshold = null;
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* Whether to enable mpd location, true corresponds to enable, false corresponds to disable.
|
|
1124
|
+
* @type {boolean || null}
|
|
1125
|
+
*/
|
|
1126
|
+
this.DashMPDLocation = null;
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Whether to enable transparent transmission of advertising tags.
|
|
1130
|
+
* @type {boolean || null}
|
|
1131
|
+
*/
|
|
1132
|
+
this.AdMarkerPassthrough = null;
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* How to process tags in advertisements, optional values: [1,2]
|
|
1136
|
+
1: Process all SCTE-35 type tags - all (default)
|
|
1137
|
+
2: SCTE-35enhanced, parse some types.
|
|
1138
|
+
* @type {number || null}
|
|
1139
|
+
*/
|
|
1140
|
+
this.SCTE35AdType = null;
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* The type of tag that is regarded as an advertisement, optional values: [1,8]
|
|
1144
|
+
1. Splice insert
|
|
1145
|
+
2. Provider advertisement
|
|
1146
|
+
3. Distributor advertisement
|
|
1147
|
+
4. Provider placement opportunity
|
|
1148
|
+
5. Distributor placement opportunity
|
|
1149
|
+
6. Break
|
|
1150
|
+
7. Provider overlay placement opportunity
|
|
1151
|
+
8. Distributor overlay placement opportunity.
|
|
1152
|
+
* @type {Array.<number> || null}
|
|
1153
|
+
*/
|
|
1154
|
+
this.AdTriggers = null;
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* The type of distribution restriction that is considered an advertisement, optional values: [1,4]
|
|
1158
|
+
1:None
|
|
1159
|
+
2:Restricted (default)
|
|
1160
|
+
3:Unrestricted
|
|
1161
|
+
4.Both.
|
|
1162
|
+
* @type {number || null}
|
|
1163
|
+
*/
|
|
1164
|
+
this.DeliveryRestrictions = null;
|
|
1165
|
+
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* @private
|
|
1170
|
+
*/
|
|
1171
|
+
deserialize(params) {
|
|
1172
|
+
if (!params) {
|
|
1173
|
+
return;
|
|
1174
|
+
}
|
|
1175
|
+
this.AdsUrl = 'AdsUrl' in params ? params.AdsUrl : null;
|
|
1176
|
+
|
|
1177
|
+
if (params.ConfigAliases) {
|
|
1178
|
+
this.ConfigAliases = new Array();
|
|
1179
|
+
for (let z in params.ConfigAliases) {
|
|
1180
|
+
let obj = new ConfigAliasesInfo();
|
|
1181
|
+
obj.deserialize(params.ConfigAliases[z]);
|
|
1182
|
+
this.ConfigAliases.push(obj);
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
this.SlateAd = 'SlateAd' in params ? params.SlateAd : null;
|
|
1186
|
+
this.Threshold = 'Threshold' in params ? params.Threshold : null;
|
|
1187
|
+
this.DashMPDLocation = 'DashMPDLocation' in params ? params.DashMPDLocation : null;
|
|
1188
|
+
this.AdMarkerPassthrough = 'AdMarkerPassthrough' in params ? params.AdMarkerPassthrough : null;
|
|
1189
|
+
this.SCTE35AdType = 'SCTE35AdType' in params ? params.SCTE35AdType : null;
|
|
1190
|
+
this.AdTriggers = 'AdTriggers' in params ? params.AdTriggers : null;
|
|
1191
|
+
this.DeliveryRestrictions = 'DeliveryRestrictions' in params ? params.DeliveryRestrictions : null;
|
|
1192
|
+
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1055
1196
|
/**
|
|
1056
1197
|
* HarvestJob response info.
|
|
1057
1198
|
* @class
|
|
@@ -1190,6 +1331,55 @@ class EndpointInfo extends AbstractModel {
|
|
|
1190
1331
|
*/
|
|
1191
1332
|
this.AuthInfo = null;
|
|
1192
1333
|
|
|
1334
|
+
/**
|
|
1335
|
+
* Endpoint protocol.
|
|
1336
|
+
* @type {string || null}
|
|
1337
|
+
*/
|
|
1338
|
+
this.Protocol = null;
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* Manifest name, default is main.
|
|
1342
|
+
* @type {string || null}
|
|
1343
|
+
*/
|
|
1344
|
+
this.Manifest = null;
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* Whether to turn on the time shift function, true: on, false: off, the default is off.
|
|
1348
|
+
* @type {boolean || null}
|
|
1349
|
+
*/
|
|
1350
|
+
this.TimeShiftEnable = null;
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* The number of days in the time shift window, up to 30 days. Valid when TimeShiftEnable is turned on.
|
|
1354
|
+
* @type {number || null}
|
|
1355
|
+
*/
|
|
1356
|
+
this.TimeShiftDuration = null;
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* Advertising insertion function switch.
|
|
1360
|
+
* @type {boolean || null}
|
|
1361
|
+
*/
|
|
1362
|
+
this.SSAIEnable = null;
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* Ad insertion function configuration information.
|
|
1366
|
+
* @type {SSAIConf || null}
|
|
1367
|
+
*/
|
|
1368
|
+
this.SSAIInfo = null;
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* The customer-defined url parameter is inserted into the subscript at the specified position of the Endpoint url. The optional range of the subscript is: [0,3].
|
|
1372
|
+
* @type {number || null}
|
|
1373
|
+
*/
|
|
1374
|
+
this.CustomUrlParamIndex = null;
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* Customer-defined url parameters are inserted into the specified position of the Endpoint url based on the CustomUrlParamIndex.
|
|
1378
|
+
The parameters can only contain digits, letters, underscores (_), and hyphens (-), with a length of 1 to 64 chars.
|
|
1379
|
+
* @type {string || null}
|
|
1380
|
+
*/
|
|
1381
|
+
this.CustomUrlParam = null;
|
|
1382
|
+
|
|
1193
1383
|
}
|
|
1194
1384
|
|
|
1195
1385
|
/**
|
|
@@ -1207,6 +1397,19 @@ class EndpointInfo extends AbstractModel {
|
|
|
1207
1397
|
obj.deserialize(params.AuthInfo)
|
|
1208
1398
|
this.AuthInfo = obj;
|
|
1209
1399
|
}
|
|
1400
|
+
this.Protocol = 'Protocol' in params ? params.Protocol : null;
|
|
1401
|
+
this.Manifest = 'Manifest' in params ? params.Manifest : null;
|
|
1402
|
+
this.TimeShiftEnable = 'TimeShiftEnable' in params ? params.TimeShiftEnable : null;
|
|
1403
|
+
this.TimeShiftDuration = 'TimeShiftDuration' in params ? params.TimeShiftDuration : null;
|
|
1404
|
+
this.SSAIEnable = 'SSAIEnable' in params ? params.SSAIEnable : null;
|
|
1405
|
+
|
|
1406
|
+
if (params.SSAIInfo) {
|
|
1407
|
+
let obj = new SSAIConf();
|
|
1408
|
+
obj.deserialize(params.SSAIInfo)
|
|
1409
|
+
this.SSAIInfo = obj;
|
|
1410
|
+
}
|
|
1411
|
+
this.CustomUrlParamIndex = 'CustomUrlParamIndex' in params ? params.CustomUrlParamIndex : null;
|
|
1412
|
+
this.CustomUrlParam = 'CustomUrlParam' in params ? params.CustomUrlParam : null;
|
|
1210
1413
|
|
|
1211
1414
|
}
|
|
1212
1415
|
}
|
|
@@ -1272,7 +1475,7 @@ class DescribeStreamPackageHarvestJobsResponse extends AbstractModel {
|
|
|
1272
1475
|
this.TotalNum = null;
|
|
1273
1476
|
|
|
1274
1477
|
/**
|
|
1275
|
-
* The unique request ID,
|
|
1478
|
+
* 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.
|
|
1276
1479
|
* @type {string || null}
|
|
1277
1480
|
*/
|
|
1278
1481
|
this.RequestId = null;
|
|
@@ -1389,6 +1592,50 @@ class ModifyStreamPackageChannelEndpointRequest extends AbstractModel {
|
|
|
1389
1592
|
*/
|
|
1390
1593
|
this.AuthInfo = null;
|
|
1391
1594
|
|
|
1595
|
+
/**
|
|
1596
|
+
* Endpoint protocol.
|
|
1597
|
+
* @type {string || null}
|
|
1598
|
+
*/
|
|
1599
|
+
this.Protocol = null;
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* Whether to turn on the time shift function, true: on, false: off, the default is off.
|
|
1603
|
+
* @type {boolean || null}
|
|
1604
|
+
*/
|
|
1605
|
+
this.TimeShiftEnable = null;
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* The number of days in the time shift window, up to 30 days. Valid when TimeShiftEnable is turned on.
|
|
1609
|
+
* @type {number || null}
|
|
1610
|
+
*/
|
|
1611
|
+
this.TimeShiftDuration = null;
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* Advertising insertion function switch.
|
|
1615
|
+
* @type {boolean || null}
|
|
1616
|
+
*/
|
|
1617
|
+
this.SSAIEnable = null;
|
|
1618
|
+
|
|
1619
|
+
/**
|
|
1620
|
+
* Ad insertion function configuration information. Valid when SSAIEnable is turned on.
|
|
1621
|
+
* @type {SSAIConf || null}
|
|
1622
|
+
*/
|
|
1623
|
+
this.SSAIInfo = null;
|
|
1624
|
+
|
|
1625
|
+
/**
|
|
1626
|
+
* The customer-defined url parameter is inserted into the subscript at the specified position of the Endpoint url.
|
|
1627
|
+
Calculation starts from the first '/' in the url path, and the subscript starts from 0, the optional range of the subscript is: [0,3].
|
|
1628
|
+
* @type {number || null}
|
|
1629
|
+
*/
|
|
1630
|
+
this.CustomUrlParamIndex = null;
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* Customer-defined url parameters are inserted into the specified position of the Endpoint url based on the CustomUrlParamIndex.
|
|
1634
|
+
The parameters can only contain digits, letters, underscores (_), and hyphens (-), with a length of 1 to 64 chars.
|
|
1635
|
+
* @type {string || null}
|
|
1636
|
+
*/
|
|
1637
|
+
this.CustomUrlParam = null;
|
|
1638
|
+
|
|
1392
1639
|
}
|
|
1393
1640
|
|
|
1394
1641
|
/**
|
|
@@ -1407,6 +1654,18 @@ class ModifyStreamPackageChannelEndpointRequest extends AbstractModel {
|
|
|
1407
1654
|
obj.deserialize(params.AuthInfo)
|
|
1408
1655
|
this.AuthInfo = obj;
|
|
1409
1656
|
}
|
|
1657
|
+
this.Protocol = 'Protocol' in params ? params.Protocol : null;
|
|
1658
|
+
this.TimeShiftEnable = 'TimeShiftEnable' in params ? params.TimeShiftEnable : null;
|
|
1659
|
+
this.TimeShiftDuration = 'TimeShiftDuration' in params ? params.TimeShiftDuration : null;
|
|
1660
|
+
this.SSAIEnable = 'SSAIEnable' in params ? params.SSAIEnable : null;
|
|
1661
|
+
|
|
1662
|
+
if (params.SSAIInfo) {
|
|
1663
|
+
let obj = new SSAIConf();
|
|
1664
|
+
obj.deserialize(params.SSAIInfo)
|
|
1665
|
+
this.SSAIInfo = obj;
|
|
1666
|
+
}
|
|
1667
|
+
this.CustomUrlParamIndex = 'CustomUrlParamIndex' in params ? params.CustomUrlParamIndex : null;
|
|
1668
|
+
this.CustomUrlParam = 'CustomUrlParam' in params ? params.CustomUrlParam : null;
|
|
1410
1669
|
|
|
1411
1670
|
}
|
|
1412
1671
|
}
|
|
@@ -1505,7 +1764,7 @@ class UnbindCdnDomainWithChannelResponse extends AbstractModel {
|
|
|
1505
1764
|
super();
|
|
1506
1765
|
|
|
1507
1766
|
/**
|
|
1508
|
-
* The unique request ID,
|
|
1767
|
+
* 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.
|
|
1509
1768
|
* @type {string || null}
|
|
1510
1769
|
*/
|
|
1511
1770
|
this.RequestId = null;
|
|
@@ -1693,7 +1952,7 @@ class DescribeStreamPackageChannelResponse extends AbstractModel {
|
|
|
1693
1952
|
this.Info = null;
|
|
1694
1953
|
|
|
1695
1954
|
/**
|
|
1696
|
-
* The unique request ID,
|
|
1955
|
+
* 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.
|
|
1697
1956
|
* @type {string || null}
|
|
1698
1957
|
*/
|
|
1699
1958
|
this.RequestId = null;
|
|
@@ -1727,7 +1986,7 @@ class ModifyStreamPackageChannelResponse extends AbstractModel {
|
|
|
1727
1986
|
super();
|
|
1728
1987
|
|
|
1729
1988
|
/**
|
|
1730
|
-
* The unique request ID,
|
|
1989
|
+
* 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.
|
|
1731
1990
|
* @type {string || null}
|
|
1732
1991
|
*/
|
|
1733
1992
|
this.RequestId = null;
|
|
@@ -1755,7 +2014,7 @@ class DeleteStreamPackageHarvestJobsResponse extends AbstractModel {
|
|
|
1755
2014
|
super();
|
|
1756
2015
|
|
|
1757
2016
|
/**
|
|
1758
|
-
* The unique request ID,
|
|
2017
|
+
* 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.
|
|
1759
2018
|
* @type {string || null}
|
|
1760
2019
|
*/
|
|
1761
2020
|
this.RequestId = null;
|
|
@@ -1774,6 +2033,49 @@ class DeleteStreamPackageHarvestJobsResponse extends AbstractModel {
|
|
|
1774
2033
|
}
|
|
1775
2034
|
}
|
|
1776
2035
|
|
|
2036
|
+
/**
|
|
2037
|
+
* Parameter configuration.
|
|
2038
|
+
* @class
|
|
2039
|
+
*/
|
|
2040
|
+
class ConfigAliasesInfo extends AbstractModel {
|
|
2041
|
+
constructor(){
|
|
2042
|
+
super();
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* parameter name.
|
|
2046
|
+
* @type {string || null}
|
|
2047
|
+
*/
|
|
2048
|
+
this.ParamName = null;
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* Alias-value configuration.
|
|
2052
|
+
* @type {Array.<AliasValueConf> || null}
|
|
2053
|
+
*/
|
|
2054
|
+
this.AliasValueList = null;
|
|
2055
|
+
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* @private
|
|
2060
|
+
*/
|
|
2061
|
+
deserialize(params) {
|
|
2062
|
+
if (!params) {
|
|
2063
|
+
return;
|
|
2064
|
+
}
|
|
2065
|
+
this.ParamName = 'ParamName' in params ? params.ParamName : null;
|
|
2066
|
+
|
|
2067
|
+
if (params.AliasValueList) {
|
|
2068
|
+
this.AliasValueList = new Array();
|
|
2069
|
+
for (let z in params.AliasValueList) {
|
|
2070
|
+
let obj = new AliasValueConf();
|
|
2071
|
+
obj.deserialize(params.AliasValueList[z]);
|
|
2072
|
+
this.AliasValueList.push(obj);
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
|
|
1777
2079
|
module.exports = {
|
|
1778
2080
|
DeleteStreamPackageChannelsRequest: DeleteStreamPackageChannelsRequest,
|
|
1779
2081
|
CreateStreamPackageHarvestJobRequest: CreateStreamPackageHarvestJobRequest,
|
|
@@ -1786,11 +2088,12 @@ module.exports = {
|
|
|
1786
2088
|
DescribeStreamPackageChannelsRequest: DescribeStreamPackageChannelsRequest,
|
|
1787
2089
|
ModifyStreamPackageChannelEndpointResponse: ModifyStreamPackageChannelEndpointResponse,
|
|
1788
2090
|
ModifyStreamPackageChannelInputAuthInfoResponse: ModifyStreamPackageChannelInputAuthInfoResponse,
|
|
1789
|
-
|
|
2091
|
+
AliasValueConf: AliasValueConf,
|
|
1790
2092
|
DescribeStreamPackageHarvestJobsRequest: DescribeStreamPackageHarvestJobsRequest,
|
|
1791
2093
|
DeleteStreamPackageHarvestJobResponse: DeleteStreamPackageHarvestJobResponse,
|
|
1792
2094
|
DeleteStreamPackageHarvestJobsRequest: DeleteStreamPackageHarvestJobsRequest,
|
|
1793
2095
|
CreateStreamPackageChannelResponse: CreateStreamPackageChannelResponse,
|
|
2096
|
+
EndpointAuthInfo: EndpointAuthInfo,
|
|
1794
2097
|
CreateStreamPackageChannelEndpointResponse: CreateStreamPackageChannelEndpointResponse,
|
|
1795
2098
|
DeleteStreamPackageChannelEndpointsRequest: DeleteStreamPackageChannelEndpointsRequest,
|
|
1796
2099
|
CreateStreamPackageHarvestJobResponse: CreateStreamPackageHarvestJobResponse,
|
|
@@ -1800,6 +2103,7 @@ module.exports = {
|
|
|
1800
2103
|
InputInfo: InputInfo,
|
|
1801
2104
|
InputAuthInfo: InputAuthInfo,
|
|
1802
2105
|
UnbindCdnDomainWithChannelRequest: UnbindCdnDomainWithChannelRequest,
|
|
2106
|
+
SSAIConf: SSAIConf,
|
|
1803
2107
|
HarvestJobResp: HarvestJobResp,
|
|
1804
2108
|
EndpointInfo: EndpointInfo,
|
|
1805
2109
|
DescribeStreamPackageChannelRequest: DescribeStreamPackageChannelRequest,
|
|
@@ -1816,5 +2120,6 @@ module.exports = {
|
|
|
1816
2120
|
DescribeStreamPackageChannelResponse: DescribeStreamPackageChannelResponse,
|
|
1817
2121
|
ModifyStreamPackageChannelResponse: ModifyStreamPackageChannelResponse,
|
|
1818
2122
|
DeleteStreamPackageHarvestJobsResponse: DeleteStreamPackageHarvestJobsResponse,
|
|
2123
|
+
ConfigAliasesInfo: ConfigAliasesInfo,
|
|
1819
2124
|
|
|
1820
2125
|
}
|
|
@@ -8923,7 +8923,7 @@ class InstanceSet extends AbstractModel {
|
|
|
8923
8923
|
this.Size = null;
|
|
8924
8924
|
|
|
8925
8925
|
/**
|
|
8926
|
-
* This field has been disused. You can use the TCOP
|
|
8926
|
+
* This field has been disused. You can use the TCOP [GetMonitorData](https://www.tencentcloud.com/zh/document/product/248/33881) API to query the capacity used by the instance.
|
|
8927
8927
|
* @type {number || null}
|
|
8928
8928
|
*/
|
|
8929
8929
|
this.SizeUsed = null;
|