tencentcloud-sdk-nodejs-intl-en 3.0.1211 → 3.0.1213

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1211",
3
+ "version": "3.0.1213",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1211";
1
+ const sdkVersion = "3.0.1213";
2
2
  module.exports = sdkVersion
@@ -58,7 +58,7 @@ const DeleteLiveSnapshotTemplateResponse = models.DeleteLiveSnapshotTemplateResp
58
58
  const DescribeLiveStreamStateRequest = models.DescribeLiveStreamStateRequest;
59
59
  const DescribeLivePlayAuthKeyResponse = models.DescribeLivePlayAuthKeyResponse;
60
60
  const DescribeLiveCallbackTemplatesRequest = models.DescribeLiveCallbackTemplatesRequest;
61
- const DomainInfo = models.DomainInfo;
61
+ const CreateLivePadRuleRequest = models.CreateLivePadRuleRequest;
62
62
  const DescribeLiveTranscodeRulesRequest = models.DescribeLiveTranscodeRulesRequest;
63
63
  const DeleteLiveSnapshotRuleRequest = models.DeleteLiveSnapshotRuleRequest;
64
64
  const DescribePlayErrorCodeDetailInfoListRequest = models.DescribePlayErrorCodeDetailInfoListRequest;
@@ -79,7 +79,7 @@ const DescribeLiveDomainCertResponse = models.DescribeLiveDomainCertResponse;
79
79
  const DescribeLiveRecordTemplateRequest = models.DescribeLiveRecordTemplateRequest;
80
80
  const MonitorStreamPlayInfo = models.MonitorStreamPlayInfo;
81
81
  const CreateLiveWatermarkRuleResponse = models.CreateLiveWatermarkRuleResponse;
82
- const ForbidLiveStreamRequest = models.ForbidLiveStreamRequest;
82
+ const DescribeLiveWatermarkRulesResponse = models.DescribeLiveWatermarkRulesResponse;
83
83
  const DescribeTimeShiftStreamListRequest = models.DescribeTimeShiftStreamListRequest;
84
84
  const DescribeDeliverBandwidthListRequest = models.DescribeDeliverBandwidthListRequest;
85
85
  const PlayCodeTotalInfo = models.PlayCodeTotalInfo;
@@ -97,6 +97,7 @@ const DescribePlayErrorCodeSumInfoListResponse = models.DescribePlayErrorCodeSum
97
97
  const DescribeLiveTimeShiftTemplatesRequest = models.DescribeLiveTimeShiftTemplatesRequest;
98
98
  const DeleteLiveRecordResponse = models.DeleteLiveRecordResponse;
99
99
  const DescribeScreenShotSheetNumListRequest = models.DescribeScreenShotSheetNumListRequest;
100
+ const ForbidLiveStreamRequest = models.ForbidLiveStreamRequest;
100
101
  const DescribeLiveDomainsResponse = models.DescribeLiveDomainsResponse;
101
102
  const TimeValue = models.TimeValue;
102
103
  const ModifyLiveTimeShiftTemplateRequest = models.ModifyLiveTimeShiftTemplateRequest;
@@ -122,7 +123,7 @@ const RecordTask = models.RecordTask;
122
123
  const DescribeLiveCertsResponse = models.DescribeLiveCertsResponse;
123
124
  const CommonMixInputParam = models.CommonMixInputParam;
124
125
  const WatermarkInfo = models.WatermarkInfo;
125
- const DescribeLiveWatermarkRulesResponse = models.DescribeLiveWatermarkRulesResponse;
126
+ const CreateLivePadTemplateResponse = models.CreateLivePadTemplateResponse;
126
127
  const DescribeLiveRecordTemplatesResponse = models.DescribeLiveRecordTemplatesResponse;
127
128
  const PlayDataInfoByStream = models.PlayDataInfoByStream;
128
129
  const DescribeLiveCertRequest = models.DescribeLiveCertRequest;
@@ -161,6 +162,7 @@ const DescribeLiveDomainRefererResponse = models.DescribeLiveDomainRefererRespon
161
162
  const StopLivePadStreamRequest = models.StopLivePadStreamRequest;
162
163
  const AddLiveDomainRequest = models.AddLiveDomainRequest;
163
164
  const StreamName = models.StreamName;
165
+ const DescribeStreamPushInfoListRequest = models.DescribeStreamPushInfoListRequest;
164
166
  const DescribeLiveCertsRequest = models.DescribeLiveCertsRequest;
165
167
  const DeleteLiveTimeShiftTemplateRequest = models.DeleteLiveTimeShiftTemplateRequest;
166
168
  const ModifyLivePlayDomainResponse = models.ModifyLivePlayDomainResponse;
@@ -174,7 +176,7 @@ const DescribeLivePlayAuthKeyRequest = models.DescribeLivePlayAuthKeyRequest;
174
176
  const DeleteLivePullStreamTaskResponse = models.DeleteLivePullStreamTaskResponse;
175
177
  const AuthenticateDomainOwnerRequest = models.AuthenticateDomainOwnerRequest;
176
178
  const DescribeLiveForbidStreamListResponse = models.DescribeLiveForbidStreamListResponse;
177
- const DescribeStreamPushInfoListRequest = models.DescribeStreamPushInfoListRequest;
179
+ const CreateLivePadRuleResponse = models.CreateLivePadRuleResponse;
178
180
  const DeleteLiveTimeShiftTemplateResponse = models.DeleteLiveTimeShiftTemplateResponse;
179
181
  const ModifyLivePushAuthKeyResponse = models.ModifyLivePushAuthKeyResponse;
180
182
  const DescribeLiveWatermarkResponse = models.DescribeLiveWatermarkResponse;
@@ -251,6 +253,7 @@ const DeleteLiveCallbackRuleRequest = models.DeleteLiveCallbackRuleRequest;
251
253
  const PlayAuthKeyInfo = models.PlayAuthKeyInfo;
252
254
  const BatchDomainOperateErrors = models.BatchDomainOperateErrors;
253
255
  const ModifyLiveTranscodeTemplateRequest = models.ModifyLiveTranscodeTemplateRequest;
256
+ const CreateLivePadTemplateRequest = models.CreateLivePadTemplateRequest;
254
257
  const EnableLiveDomainRequest = models.EnableLiveDomainRequest;
255
258
  const DescribeAllStreamPlayInfoListResponse = models.DescribeAllStreamPlayInfoListResponse;
256
259
  const DescribeLiveTranscodeTotalInfoResponse = models.DescribeLiveTranscodeTotalInfoResponse;
@@ -276,6 +279,7 @@ const DescribeLiveSnapshotTemplateRequest = models.DescribeLiveSnapshotTemplateR
276
279
  const LiveDomainCertBindings = models.LiveDomainCertBindings;
277
280
  const CreateCommonMixStreamResponse = models.CreateCommonMixStreamResponse;
278
281
  const ModifyLiveDomainRefererRequest = models.ModifyLiveDomainRefererRequest;
282
+ const DomainInfo = models.DomainInfo;
279
283
  const CreateLiveCallbackTemplateResponse = models.CreateLiveCallbackTemplateResponse;
280
284
  const DescribeLivePushAuthKeyRequest = models.DescribeLivePushAuthKeyRequest;
281
285
  const PlayStatInfo = models.PlayStatInfo;
@@ -538,6 +542,17 @@ Note: data can be queried one hour after it is generated. For example, data betw
538
542
  this.request("DeleteLiveTranscodeTemplate", req, resp, cb);
539
543
  }
540
544
 
545
+ /**
546
+ * create a live pad template
547
+ * @param {CreateLivePadTemplateRequest} req
548
+ * @param {function(string, CreateLivePadTemplateResponse):void} cb
549
+ * @public
550
+ */
551
+ CreateLivePadTemplate(req, cb) {
552
+ let resp = new CreateLivePadTemplateResponse();
553
+ this.request("CreateLivePadTemplate", req, resp, cb);
554
+ }
555
+
541
556
  /**
542
557
  * This API is used to query referer allowlist/blocklist configuration of a live streaming domain name.
543
558
  Referer information is included in HTTP requests. After you enable referer configuration, live streams using RTMP or WebRTC for playback will not authenticate the referer and can be played back normally. To make the referer configuration effective, the HTTP-FLV or HLS protocol is recommended for playback.
@@ -1116,6 +1131,17 @@ Note: to query by `AppName`, you need to submit a ticket first. After your appli
1116
1131
  this.request("DescribeLiveSnapshotTemplates", req, resp, cb);
1117
1132
  }
1118
1133
 
1134
+ /**
1135
+ * create a live pad rule.
1136
+ * @param {CreateLivePadRuleRequest} req
1137
+ * @param {function(string, CreateLivePadRuleResponse):void} cb
1138
+ * @public
1139
+ */
1140
+ CreateLivePadRule(req, cb) {
1141
+ let resp = new CreateLivePadRuleResponse();
1142
+ this.request("CreateLivePadRule", req, resp, cb);
1143
+ }
1144
+
1119
1145
  /**
1120
1146
  * Note: Recording files are stored on the VOD platform. To use the recording feature, you need to activate a VOD account and ensure that it is available. After the recording files are stored, applicable fees (including storage fees and downstream playback traffic fees) will be charged according to the VOD billing method. For more information, please see the corresponding document.
1121
1147
  * @param {StopLiveRecordRequest} req
@@ -2131,99 +2131,36 @@ class DescribeLiveCallbackTemplatesRequest extends AbstractModel {
2131
2131
  }
2132
2132
 
2133
2133
  /**
2134
- * LVB domain name information
2134
+ * CreateLivePadRule request structure.
2135
2135
  * @class
2136
2136
  */
2137
- class DomainInfo extends AbstractModel {
2137
+ class CreateLivePadRuleRequest extends AbstractModel {
2138
2138
  constructor(){
2139
2139
  super();
2140
2140
 
2141
2141
  /**
2142
- * LVB domain name.
2143
- * @type {string || null}
2144
- */
2145
- this.Name = null;
2146
-
2147
- /**
2148
- * Domain name type:
2149
- 0: push.
2150
- 1: playback.
2151
- * @type {number || null}
2152
- */
2153
- this.Type = null;
2154
-
2155
- /**
2156
- * Domain name status:
2157
- 0: deactivated.
2158
- 1: activated.
2159
- * @type {number || null}
2160
- */
2161
- this.Status = null;
2162
-
2163
- /**
2164
- * The time when the domain was added.
2165
- Note: Beijing time (UTC+8) is used.
2142
+ * Domain name for streaming.
2166
2143
  * @type {string || null}
2167
2144
  */
2168
- this.CreateTime = null;
2169
-
2170
- /**
2171
- * Whether there is a CNAME record pointing to a fixed rule domain name:
2172
- 0: no.
2173
- 1: yes.
2174
- * @type {number || null}
2175
- */
2176
- this.BCName = null;
2177
-
2178
- /**
2179
- * Domain name corresponding to CNAME record.
2180
- * @type {string || null}
2181
- */
2182
- this.TargetDomain = null;
2183
-
2184
- /**
2185
- * Playback region. This parameter is valid only if `Type` is 1.
2186
- 1: in Mainland China.
2187
- 2: global.
2188
- 3: outside Mainland China.
2189
- * @type {number || null}
2190
- */
2191
- this.PlayType = null;
2145
+ this.DomainName = null;
2192
2146
 
2193
2147
  /**
2194
- * Whether it is LCB:
2195
- 0: LVB.
2196
- 1: LCB.
2148
+ * The template ID.
2197
2149
  * @type {number || null}
2198
2150
  */
2199
- this.IsDelayLive = null;
2151
+ this.TemplateId = null;
2200
2152
 
2201
2153
  /**
2202
- * Information of currently used CNAME record.
2154
+ * The streaming path is consistent with the AppName in the streaming and playback address. The default value is live.
2203
2155
  * @type {string || null}
2204
2156
  */
2205
- this.CurrentCName = null;
2206
-
2207
- /**
2208
- * Disused parameter, which can be ignored.
2209
- * @type {number || null}
2210
- */
2211
- this.RentTag = null;
2157
+ this.AppName = null;
2212
2158
 
2213
2159
  /**
2214
- * A disused parameter.
2215
- Note: Beijing time (UTC+8) is used.
2160
+ * Stream name. Note: If this parameter is set to a non-empty string, the rule will only work on this push stream.
2216
2161
  * @type {string || null}
2217
2162
  */
2218
- this.RentExpireTime = null;
2219
-
2220
- /**
2221
- * 0: LVB.
2222
- 1: LVB on Mini Program.
2223
- Note: this field may return null, indicating that no valid values can be obtained.
2224
- * @type {number || null}
2225
- */
2226
- this.IsMiniProgramLive = null;
2163
+ this.StreamName = null;
2227
2164
 
2228
2165
  }
2229
2166
 
@@ -2234,18 +2171,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
2234
2171
  if (!params) {
2235
2172
  return;
2236
2173
  }
2237
- this.Name = 'Name' in params ? params.Name : null;
2238
- this.Type = 'Type' in params ? params.Type : null;
2239
- this.Status = 'Status' in params ? params.Status : null;
2240
- this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
2241
- this.BCName = 'BCName' in params ? params.BCName : null;
2242
- this.TargetDomain = 'TargetDomain' in params ? params.TargetDomain : null;
2243
- this.PlayType = 'PlayType' in params ? params.PlayType : null;
2244
- this.IsDelayLive = 'IsDelayLive' in params ? params.IsDelayLive : null;
2245
- this.CurrentCName = 'CurrentCName' in params ? params.CurrentCName : null;
2246
- this.RentTag = 'RentTag' in params ? params.RentTag : null;
2247
- this.RentExpireTime = 'RentExpireTime' in params ? params.RentExpireTime : null;
2248
- this.IsMiniProgramLive = 'IsMiniProgramLive' in params ? params.IsMiniProgramLive : null;
2174
+ this.DomainName = 'DomainName' in params ? params.DomainName : null;
2175
+ this.TemplateId = 'TemplateId' in params ? params.TemplateId : null;
2176
+ this.AppName = 'AppName' in params ? params.AppName : null;
2177
+ this.StreamName = 'StreamName' in params ? params.StreamName : null;
2249
2178
 
2250
2179
  }
2251
2180
  }
@@ -3219,47 +3148,24 @@ class CreateLiveWatermarkRuleResponse extends AbstractModel {
3219
3148
  }
3220
3149
 
3221
3150
  /**
3222
- * ForbidLiveStream request structure.
3151
+ * DescribeLiveWatermarkRules response structure.
3223
3152
  * @class
3224
3153
  */
3225
- class ForbidLiveStreamRequest extends AbstractModel {
3154
+ class DescribeLiveWatermarkRulesResponse extends AbstractModel {
3226
3155
  constructor(){
3227
3156
  super();
3228
3157
 
3229
3158
  /**
3230
- * Push path, which is the same as the AppName in push and playback addresses and is "live" by default.
3231
- * @type {string || null}
3232
- */
3233
- this.AppName = null;
3234
-
3235
- /**
3236
- * Your push domain name.
3237
- * @type {string || null}
3238
- */
3239
- this.DomainName = null;
3240
-
3241
- /**
3242
- * Stream name.
3243
- * @type {string || null}
3244
- */
3245
- this.StreamName = null;
3246
-
3247
- /**
3248
- * The time (in UTC format) to resume the stream, such as 2018-11-29T19:00:00Z.
3249
- Notes:
3250
- 1. The default stream disabling period is seven days. A stream can be disabled for up to 90 days.
3251
- 2. Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used.
3252
- * @type {string || null}
3159
+ * Watermarking rule list.
3160
+ * @type {Array.<RuleInfo> || null}
3253
3161
  */
3254
- this.ResumeTime = null;
3162
+ this.Rules = null;
3255
3163
 
3256
3164
  /**
3257
- * Reason for forbidding.
3258
- Note: Be sure to enter the reason for forbidding to avoid any faulty operations.
3259
- Length limit: 2,048 bytes.
3165
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3260
3166
  * @type {string || null}
3261
3167
  */
3262
- this.Reason = null;
3168
+ this.RequestId = null;
3263
3169
 
3264
3170
  }
3265
3171
 
@@ -3270,11 +3176,16 @@ Length limit: 2,048 bytes.
3270
3176
  if (!params) {
3271
3177
  return;
3272
3178
  }
3273
- this.AppName = 'AppName' in params ? params.AppName : null;
3274
- this.DomainName = 'DomainName' in params ? params.DomainName : null;
3275
- this.StreamName = 'StreamName' in params ? params.StreamName : null;
3276
- this.ResumeTime = 'ResumeTime' in params ? params.ResumeTime : null;
3277
- this.Reason = 'Reason' in params ? params.Reason : null;
3179
+
3180
+ if (params.Rules) {
3181
+ this.Rules = new Array();
3182
+ for (let z in params.Rules) {
3183
+ let obj = new RuleInfo();
3184
+ obj.deserialize(params.Rules[z]);
3185
+ this.Rules.push(obj);
3186
+ }
3187
+ }
3188
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3278
3189
 
3279
3190
  }
3280
3191
  }
@@ -4223,6 +4134,67 @@ class DescribeScreenShotSheetNumListRequest extends AbstractModel {
4223
4134
  }
4224
4135
  }
4225
4136
 
4137
+ /**
4138
+ * ForbidLiveStream request structure.
4139
+ * @class
4140
+ */
4141
+ class ForbidLiveStreamRequest extends AbstractModel {
4142
+ constructor(){
4143
+ super();
4144
+
4145
+ /**
4146
+ * Push path, which is the same as the AppName in push and playback addresses and is "live" by default.
4147
+ * @type {string || null}
4148
+ */
4149
+ this.AppName = null;
4150
+
4151
+ /**
4152
+ * Your push domain name.
4153
+ * @type {string || null}
4154
+ */
4155
+ this.DomainName = null;
4156
+
4157
+ /**
4158
+ * Stream name.
4159
+ * @type {string || null}
4160
+ */
4161
+ this.StreamName = null;
4162
+
4163
+ /**
4164
+ * The time (in UTC format) to resume the stream, such as 2018-11-29T19:00:00Z.
4165
+ Notes:
4166
+ 1. The default stream disabling period is seven days. A stream can be disabled for up to 90 days.
4167
+ 2. Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format) is used.
4168
+ * @type {string || null}
4169
+ */
4170
+ this.ResumeTime = null;
4171
+
4172
+ /**
4173
+ * Reason for forbidding.
4174
+ Note: Be sure to enter the reason for forbidding to avoid any faulty operations.
4175
+ Length limit: 2,048 bytes.
4176
+ * @type {string || null}
4177
+ */
4178
+ this.Reason = null;
4179
+
4180
+ }
4181
+
4182
+ /**
4183
+ * @private
4184
+ */
4185
+ deserialize(params) {
4186
+ if (!params) {
4187
+ return;
4188
+ }
4189
+ this.AppName = 'AppName' in params ? params.AppName : null;
4190
+ this.DomainName = 'DomainName' in params ? params.DomainName : null;
4191
+ this.StreamName = 'StreamName' in params ? params.StreamName : null;
4192
+ this.ResumeTime = 'ResumeTime' in params ? params.ResumeTime : null;
4193
+ this.Reason = 'Reason' in params ? params.Reason : null;
4194
+
4195
+ }
4196
+ }
4197
+
4226
4198
  /**
4227
4199
  * DescribeLiveDomains response structure.
4228
4200
  * @class
@@ -5571,21 +5543,21 @@ Note: Beijing time (UTC+8) is used.
5571
5543
  }
5572
5544
 
5573
5545
  /**
5574
- * DescribeLiveWatermarkRules response structure.
5546
+ * CreateLivePadTemplate response structure.
5575
5547
  * @class
5576
5548
  */
5577
- class DescribeLiveWatermarkRulesResponse extends AbstractModel {
5549
+ class CreateLivePadTemplateResponse extends AbstractModel {
5578
5550
  constructor(){
5579
5551
  super();
5580
5552
 
5581
5553
  /**
5582
- * Watermarking rule list.
5583
- * @type {Array.<RuleInfo> || null}
5554
+ * Template Id.
5555
+ * @type {number || null}
5584
5556
  */
5585
- this.Rules = null;
5557
+ this.TemplateId = null;
5586
5558
 
5587
5559
  /**
5588
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
5560
+ * 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.
5589
5561
  * @type {string || null}
5590
5562
  */
5591
5563
  this.RequestId = null;
@@ -5599,15 +5571,7 @@ class DescribeLiveWatermarkRulesResponse extends AbstractModel {
5599
5571
  if (!params) {
5600
5572
  return;
5601
5573
  }
5602
-
5603
- if (params.Rules) {
5604
- this.Rules = new Array();
5605
- for (let z in params.Rules) {
5606
- let obj = new RuleInfo();
5607
- obj.deserialize(params.Rules[z]);
5608
- this.Rules.push(obj);
5609
- }
5610
- }
5574
+ this.TemplateId = 'TemplateId' in params ? params.TemplateId : null;
5611
5575
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
5612
5576
 
5613
5577
  }
@@ -7723,6 +7687,66 @@ In UTC format, such as 2019-01-07T15:00:00Z.
7723
7687
  }
7724
7688
  }
7725
7689
 
7690
+ /**
7691
+ * DescribeStreamPushInfoList request structure.
7692
+ * @class
7693
+ */
7694
+ class DescribeStreamPushInfoListRequest extends AbstractModel {
7695
+ constructor(){
7696
+ super();
7697
+
7698
+ /**
7699
+ * The stream name.
7700
+ * @type {string || null}
7701
+ */
7702
+ this.StreamName = null;
7703
+
7704
+ /**
7705
+ * The start time of the request, supports data query for the last seven days, the gap between the start time and the end time cannot exceed three hours. Interface request supports two time formats:
7706
+ 1) YYYY-MM-DDThh:mm:ssZ: ISO time format, for details, see [ISO Date Format Description](https://cloud.tencent.com/document/product/267/38543#:~:text=I- ,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)
7707
+ 2) YYYY-MM-DD hh:mm:ss: When using this format, it represents Beijing time by default.
7708
+ * @type {string || null}
7709
+ */
7710
+ this.StartTime = null;
7711
+
7712
+ /**
7713
+ * The end time of the request, supports data query for the last seven days, the gap between the start time and the end time cannot exceed three hours. Interface request supports two time formats:
7714
+ 1) YYYY-MM-DDThh:mm:ssZ: ISO time format,for details,see [ISO Date Format Description](https://cloud.tencent.com/document/product/267/38543#:~:text=I- ,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)
7715
+ 2) YYYY-MM-DD hh:mm:ss: When using this format, it represents Beijing time by default.
7716
+ * @type {string || null}
7717
+ */
7718
+ this.EndTime = null;
7719
+
7720
+ /**
7721
+ * The push domain.
7722
+ * @type {string || null}
7723
+ */
7724
+ this.PushDomain = null;
7725
+
7726
+ /**
7727
+ * The push path, which should be the same as `AppName` in the push and playback URL. The default value is `live`.
7728
+ * @type {string || null}
7729
+ */
7730
+ this.AppName = null;
7731
+
7732
+ }
7733
+
7734
+ /**
7735
+ * @private
7736
+ */
7737
+ deserialize(params) {
7738
+ if (!params) {
7739
+ return;
7740
+ }
7741
+ this.StreamName = 'StreamName' in params ? params.StreamName : null;
7742
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
7743
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
7744
+ this.PushDomain = 'PushDomain' in params ? params.PushDomain : null;
7745
+ this.AppName = 'AppName' in params ? params.AppName : null;
7746
+
7747
+ }
7748
+ }
7749
+
7726
7750
  /**
7727
7751
  * DescribeLiveCerts request structure.
7728
7752
  * @class
@@ -8371,46 +8395,18 @@ class DescribeLiveForbidStreamListResponse extends AbstractModel {
8371
8395
  }
8372
8396
 
8373
8397
  /**
8374
- * DescribeStreamPushInfoList request structure.
8398
+ * CreateLivePadRule response structure.
8375
8399
  * @class
8376
8400
  */
8377
- class DescribeStreamPushInfoListRequest extends AbstractModel {
8401
+ class CreateLivePadRuleResponse extends AbstractModel {
8378
8402
  constructor(){
8379
8403
  super();
8380
8404
 
8381
8405
  /**
8382
- * The stream name.
8383
- * @type {string || null}
8384
- */
8385
- this.StreamName = null;
8386
-
8387
- /**
8388
- * The start time of the request, supports data query for the last seven days, the gap between the start time and the end time cannot exceed three hours. Interface request supports two time formats:
8389
- 1) YYYY-MM-DDThh:mm:ssZ: ISO time format, for details, see [ISO Date Format Description](https://cloud.tencent.com/document/product/267/38543#:~:text=I- ,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)
8390
- 2) YYYY-MM-DD hh:mm:ss: When using this format, it represents Beijing time by default.
8391
- * @type {string || null}
8392
- */
8393
- this.StartTime = null;
8394
-
8395
- /**
8396
- * The end time of the request, supports data query for the last seven days, the gap between the start time and the end time cannot exceed three hours. Interface request supports two time formats:
8397
- 1) YYYY-MM-DDThh:mm:ssZ: ISO time format,for details,see [ISO Date Format Description](https://cloud.tencent.com/document/product/267/38543#:~:text=I- ,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)
8398
- 2) YYYY-MM-DD hh:mm:ss: When using this format, it represents Beijing time by default.
8399
- * @type {string || null}
8400
- */
8401
- this.EndTime = null;
8402
-
8403
- /**
8404
- * The push domain.
8405
- * @type {string || null}
8406
- */
8407
- this.PushDomain = null;
8408
-
8409
- /**
8410
- * The push path, which should be the same as `AppName` in the push and playback URL. The default value is `live`.
8406
+ * 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.
8411
8407
  * @type {string || null}
8412
8408
  */
8413
- this.AppName = null;
8409
+ this.RequestId = null;
8414
8410
 
8415
8411
  }
8416
8412
 
@@ -8421,11 +8417,7 @@ class DescribeStreamPushInfoListRequest extends AbstractModel {
8421
8417
  if (!params) {
8422
8418
  return;
8423
8419
  }
8424
- this.StreamName = 'StreamName' in params ? params.StreamName : null;
8425
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
8426
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
8427
- this.PushDomain = 'PushDomain' in params ? params.PushDomain : null;
8428
- this.AppName = 'AppName' in params ? params.AppName : null;
8420
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8429
8421
 
8430
8422
  }
8431
8423
  }
@@ -12435,6 +12427,69 @@ If you do not pass this parameter or pass in an empty string, the existing confi
12435
12427
  }
12436
12428
  }
12437
12429
 
12430
+ /**
12431
+ * CreateLivePadTemplate request structure.
12432
+ * @class
12433
+ */
12434
+ class CreateLivePadTemplateRequest extends AbstractModel {
12435
+ constructor(){
12436
+ super();
12437
+
12438
+ /**
12439
+ * Template name. Maximum length: 255 bytes. Only Chinese, English, numbers, _, and - are supported.
12440
+ * @type {string || null}
12441
+ */
12442
+ this.TemplateName = null;
12443
+
12444
+ /**
12445
+ * Gasket content.
12446
+ * @type {string || null}
12447
+ */
12448
+ this.Url = null;
12449
+
12450
+ /**
12451
+ * Description information. Maximum length: 1024 bytes. Only Chinese, English, numbers, _, and - are supported.
12452
+ * @type {string || null}
12453
+ */
12454
+ this.Description = null;
12455
+
12456
+ /**
12457
+ * The waiting time for disconnection. Value range: 0-30000. Unit: ms.
12458
+ * @type {number || null}
12459
+ */
12460
+ this.WaitDuration = null;
12461
+
12462
+ /**
12463
+ * Maximum shim duration. Value range: 0 - positive infinity. Unit: ms.
12464
+ * @type {number || null}
12465
+ */
12466
+ this.MaxDuration = null;
12467
+
12468
+ /**
12469
+ * Shim content type: 1: image, 2: video. Default value: 1.
12470
+ * @type {number || null}
12471
+ */
12472
+ this.Type = null;
12473
+
12474
+ }
12475
+
12476
+ /**
12477
+ * @private
12478
+ */
12479
+ deserialize(params) {
12480
+ if (!params) {
12481
+ return;
12482
+ }
12483
+ this.TemplateName = 'TemplateName' in params ? params.TemplateName : null;
12484
+ this.Url = 'Url' in params ? params.Url : null;
12485
+ this.Description = 'Description' in params ? params.Description : null;
12486
+ this.WaitDuration = 'WaitDuration' in params ? params.WaitDuration : null;
12487
+ this.MaxDuration = 'MaxDuration' in params ? params.MaxDuration : null;
12488
+ this.Type = 'Type' in params ? params.Type : null;
12489
+
12490
+ }
12491
+ }
12492
+
12438
12493
  /**
12439
12494
  * EnableLiveDomain request structure.
12440
12495
  * @class
@@ -13862,6 +13917,126 @@ class ModifyLiveDomainRefererRequest extends AbstractModel {
13862
13917
  }
13863
13918
  }
13864
13919
 
13920
+ /**
13921
+ * LVB domain name information
13922
+ * @class
13923
+ */
13924
+ class DomainInfo extends AbstractModel {
13925
+ constructor(){
13926
+ super();
13927
+
13928
+ /**
13929
+ * LVB domain name.
13930
+ * @type {string || null}
13931
+ */
13932
+ this.Name = null;
13933
+
13934
+ /**
13935
+ * Domain name type:
13936
+ 0: push.
13937
+ 1: playback.
13938
+ * @type {number || null}
13939
+ */
13940
+ this.Type = null;
13941
+
13942
+ /**
13943
+ * Domain name status:
13944
+ 0: deactivated.
13945
+ 1: activated.
13946
+ * @type {number || null}
13947
+ */
13948
+ this.Status = null;
13949
+
13950
+ /**
13951
+ * The time when the domain was added.
13952
+ Note: Beijing time (UTC+8) is used.
13953
+ * @type {string || null}
13954
+ */
13955
+ this.CreateTime = null;
13956
+
13957
+ /**
13958
+ * Whether there is a CNAME record pointing to a fixed rule domain name:
13959
+ 0: no.
13960
+ 1: yes.
13961
+ * @type {number || null}
13962
+ */
13963
+ this.BCName = null;
13964
+
13965
+ /**
13966
+ * Domain name corresponding to CNAME record.
13967
+ * @type {string || null}
13968
+ */
13969
+ this.TargetDomain = null;
13970
+
13971
+ /**
13972
+ * Playback region. This parameter is valid only if `Type` is 1.
13973
+ 1: in Mainland China.
13974
+ 2: global.
13975
+ 3: outside Mainland China.
13976
+ * @type {number || null}
13977
+ */
13978
+ this.PlayType = null;
13979
+
13980
+ /**
13981
+ * Whether it is LCB:
13982
+ 0: LVB.
13983
+ 1: LCB.
13984
+ * @type {number || null}
13985
+ */
13986
+ this.IsDelayLive = null;
13987
+
13988
+ /**
13989
+ * Information of currently used CNAME record.
13990
+ * @type {string || null}
13991
+ */
13992
+ this.CurrentCName = null;
13993
+
13994
+ /**
13995
+ * Disused parameter, which can be ignored.
13996
+ * @type {number || null}
13997
+ */
13998
+ this.RentTag = null;
13999
+
14000
+ /**
14001
+ * A disused parameter.
14002
+ Note: Beijing time (UTC+8) is used.
14003
+ * @type {string || null}
14004
+ */
14005
+ this.RentExpireTime = null;
14006
+
14007
+ /**
14008
+ * 0: LVB.
14009
+ 1: LVB on Mini Program.
14010
+ Note: this field may return null, indicating that no valid values can be obtained.
14011
+ * @type {number || null}
14012
+ */
14013
+ this.IsMiniProgramLive = null;
14014
+
14015
+ }
14016
+
14017
+ /**
14018
+ * @private
14019
+ */
14020
+ deserialize(params) {
14021
+ if (!params) {
14022
+ return;
14023
+ }
14024
+ this.Name = 'Name' in params ? params.Name : null;
14025
+ this.Type = 'Type' in params ? params.Type : null;
14026
+ this.Status = 'Status' in params ? params.Status : null;
14027
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
14028
+ this.BCName = 'BCName' in params ? params.BCName : null;
14029
+ this.TargetDomain = 'TargetDomain' in params ? params.TargetDomain : null;
14030
+ this.PlayType = 'PlayType' in params ? params.PlayType : null;
14031
+ this.IsDelayLive = 'IsDelayLive' in params ? params.IsDelayLive : null;
14032
+ this.CurrentCName = 'CurrentCName' in params ? params.CurrentCName : null;
14033
+ this.RentTag = 'RentTag' in params ? params.RentTag : null;
14034
+ this.RentExpireTime = 'RentExpireTime' in params ? params.RentExpireTime : null;
14035
+ this.IsMiniProgramLive = 'IsMiniProgramLive' in params ? params.IsMiniProgramLive : null;
14036
+
14037
+ }
14038
+ }
14039
+
13865
14040
  /**
13866
14041
  * CreateLiveCallbackTemplate response structure.
13867
14042
  * @class
@@ -15934,7 +16109,7 @@ module.exports = {
15934
16109
  DescribeLiveStreamStateRequest: DescribeLiveStreamStateRequest,
15935
16110
  DescribeLivePlayAuthKeyResponse: DescribeLivePlayAuthKeyResponse,
15936
16111
  DescribeLiveCallbackTemplatesRequest: DescribeLiveCallbackTemplatesRequest,
15937
- DomainInfo: DomainInfo,
16112
+ CreateLivePadRuleRequest: CreateLivePadRuleRequest,
15938
16113
  DescribeLiveTranscodeRulesRequest: DescribeLiveTranscodeRulesRequest,
15939
16114
  DeleteLiveSnapshotRuleRequest: DeleteLiveSnapshotRuleRequest,
15940
16115
  DescribePlayErrorCodeDetailInfoListRequest: DescribePlayErrorCodeDetailInfoListRequest,
@@ -15955,7 +16130,7 @@ module.exports = {
15955
16130
  DescribeLiveRecordTemplateRequest: DescribeLiveRecordTemplateRequest,
15956
16131
  MonitorStreamPlayInfo: MonitorStreamPlayInfo,
15957
16132
  CreateLiveWatermarkRuleResponse: CreateLiveWatermarkRuleResponse,
15958
- ForbidLiveStreamRequest: ForbidLiveStreamRequest,
16133
+ DescribeLiveWatermarkRulesResponse: DescribeLiveWatermarkRulesResponse,
15959
16134
  DescribeTimeShiftStreamListRequest: DescribeTimeShiftStreamListRequest,
15960
16135
  DescribeDeliverBandwidthListRequest: DescribeDeliverBandwidthListRequest,
15961
16136
  PlayCodeTotalInfo: PlayCodeTotalInfo,
@@ -15973,6 +16148,7 @@ module.exports = {
15973
16148
  DescribeLiveTimeShiftTemplatesRequest: DescribeLiveTimeShiftTemplatesRequest,
15974
16149
  DeleteLiveRecordResponse: DeleteLiveRecordResponse,
15975
16150
  DescribeScreenShotSheetNumListRequest: DescribeScreenShotSheetNumListRequest,
16151
+ ForbidLiveStreamRequest: ForbidLiveStreamRequest,
15976
16152
  DescribeLiveDomainsResponse: DescribeLiveDomainsResponse,
15977
16153
  TimeValue: TimeValue,
15978
16154
  ModifyLiveTimeShiftTemplateRequest: ModifyLiveTimeShiftTemplateRequest,
@@ -15998,7 +16174,7 @@ module.exports = {
15998
16174
  DescribeLiveCertsResponse: DescribeLiveCertsResponse,
15999
16175
  CommonMixInputParam: CommonMixInputParam,
16000
16176
  WatermarkInfo: WatermarkInfo,
16001
- DescribeLiveWatermarkRulesResponse: DescribeLiveWatermarkRulesResponse,
16177
+ CreateLivePadTemplateResponse: CreateLivePadTemplateResponse,
16002
16178
  DescribeLiveRecordTemplatesResponse: DescribeLiveRecordTemplatesResponse,
16003
16179
  PlayDataInfoByStream: PlayDataInfoByStream,
16004
16180
  DescribeLiveCertRequest: DescribeLiveCertRequest,
@@ -16037,6 +16213,7 @@ module.exports = {
16037
16213
  StopLivePadStreamRequest: StopLivePadStreamRequest,
16038
16214
  AddLiveDomainRequest: AddLiveDomainRequest,
16039
16215
  StreamName: StreamName,
16216
+ DescribeStreamPushInfoListRequest: DescribeStreamPushInfoListRequest,
16040
16217
  DescribeLiveCertsRequest: DescribeLiveCertsRequest,
16041
16218
  DeleteLiveTimeShiftTemplateRequest: DeleteLiveTimeShiftTemplateRequest,
16042
16219
  ModifyLivePlayDomainResponse: ModifyLivePlayDomainResponse,
@@ -16050,7 +16227,7 @@ module.exports = {
16050
16227
  DeleteLivePullStreamTaskResponse: DeleteLivePullStreamTaskResponse,
16051
16228
  AuthenticateDomainOwnerRequest: AuthenticateDomainOwnerRequest,
16052
16229
  DescribeLiveForbidStreamListResponse: DescribeLiveForbidStreamListResponse,
16053
- DescribeStreamPushInfoListRequest: DescribeStreamPushInfoListRequest,
16230
+ CreateLivePadRuleResponse: CreateLivePadRuleResponse,
16054
16231
  DeleteLiveTimeShiftTemplateResponse: DeleteLiveTimeShiftTemplateResponse,
16055
16232
  ModifyLivePushAuthKeyResponse: ModifyLivePushAuthKeyResponse,
16056
16233
  DescribeLiveWatermarkResponse: DescribeLiveWatermarkResponse,
@@ -16127,6 +16304,7 @@ module.exports = {
16127
16304
  PlayAuthKeyInfo: PlayAuthKeyInfo,
16128
16305
  BatchDomainOperateErrors: BatchDomainOperateErrors,
16129
16306
  ModifyLiveTranscodeTemplateRequest: ModifyLiveTranscodeTemplateRequest,
16307
+ CreateLivePadTemplateRequest: CreateLivePadTemplateRequest,
16130
16308
  EnableLiveDomainRequest: EnableLiveDomainRequest,
16131
16309
  DescribeAllStreamPlayInfoListResponse: DescribeAllStreamPlayInfoListResponse,
16132
16310
  DescribeLiveTranscodeTotalInfoResponse: DescribeLiveTranscodeTotalInfoResponse,
@@ -16152,6 +16330,7 @@ module.exports = {
16152
16330
  LiveDomainCertBindings: LiveDomainCertBindings,
16153
16331
  CreateCommonMixStreamResponse: CreateCommonMixStreamResponse,
16154
16332
  ModifyLiveDomainRefererRequest: ModifyLiveDomainRefererRequest,
16333
+ DomainInfo: DomainInfo,
16155
16334
  CreateLiveCallbackTemplateResponse: CreateLiveCallbackTemplateResponse,
16156
16335
  DescribeLivePushAuthKeyRequest: DescribeLivePushAuthKeyRequest,
16157
16336
  PlayStatInfo: PlayStatInfo,
@@ -3121,6 +3121,12 @@ class ModifyAutoBackupConfigRequest extends AbstractModel {
3121
3121
  */
3122
3122
  this.AutoBackupType = null;
3123
3123
 
3124
+ /**
3125
+ * Specifies the retention days of full backup files. unit: day.
3126
+ * @type {number || null}
3127
+ */
3128
+ this.BackupStorageDays = null;
3129
+
3124
3130
  }
3125
3131
 
3126
3132
  /**
@@ -3134,6 +3140,7 @@ class ModifyAutoBackupConfigRequest extends AbstractModel {
3134
3140
  this.WeekDays = 'WeekDays' in params ? params.WeekDays : null;
3135
3141
  this.TimePeriod = 'TimePeriod' in params ? params.TimePeriod : null;
3136
3142
  this.AutoBackupType = 'AutoBackupType' in params ? params.AutoBackupType : null;
3143
+ this.BackupStorageDays = 'BackupStorageDays' in params ? params.BackupStorageDays : null;
3137
3144
 
3138
3145
  }
3139
3146
  }