tencentcloud-sdk-nodejs-intl-en 3.0.366 → 3.0.370
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/apigateway/v20180808/apigateway_client.js +3 -2
- package/tencentcloud/apigateway/v20180808/models.js +105 -41
- package/tencentcloud/billing/v20180709/models.js +12 -11
- package/tencentcloud/cam/v20190116/cam_client.js +16 -1
- package/tencentcloud/cam/v20190116/models.js +264 -17
- package/tencentcloud/cbs/v20170312/models.js +15 -1
- package/tencentcloud/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/cdb/v20170320/models.js +21 -0
- package/tencentcloud/cdn/v20180606/models.js +54 -3
- package/tencentcloud/ckafka/v20190819/models.js +41 -3
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +30 -4
- package/tencentcloud/dbbrain/v20210527/models.js +309 -116
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +14 -0
- package/tencentcloud/dcdb/v20180411/models.js +144 -7
- package/tencentcloud/emr/v20190103/emr_client.js +2 -0
- package/tencentcloud/emr/v20190103/models.js +109 -0
- package/tencentcloud/gaap/v20180529/gaap_client.js +1 -1
- package/tencentcloud/gaap/v20180529/models.js +50 -6
- package/tencentcloud/live/v20180801/live_client.js +29 -11
- package/tencentcloud/live/v20180801/models.js +200 -24
- package/tencentcloud/redis/v20180412/models.js +7 -0
- package/tencentcloud/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/ses/v20201002/models.js +610 -29
- package/tencentcloud/ses/v20201002/ses_client.js +157 -103
- package/tencentcloud/tke/v20180525/models.js +61 -0
|
@@ -190,6 +190,7 @@ const DescribeConcurrentRecordStreamNumRequest = models.DescribeConcurrentRecord
|
|
|
190
190
|
const DescribePlayErrorCodeSumInfoListRequest = models.DescribePlayErrorCodeSumInfoListRequest;
|
|
191
191
|
const ModifyLiveCertRequest = models.ModifyLiveCertRequest;
|
|
192
192
|
const CommonMixControlParams = models.CommonMixControlParams;
|
|
193
|
+
const TranscodeTotalInfo = models.TranscodeTotalInfo;
|
|
193
194
|
const DescribeAreaBillBandwidthAndFluxListResponse = models.DescribeAreaBillBandwidthAndFluxListResponse;
|
|
194
195
|
const ForbidLiveDomainRequest = models.ForbidLiveDomainRequest;
|
|
195
196
|
const DescribeLiveRecordRulesRequest = models.DescribeLiveRecordRulesRequest;
|
|
@@ -216,7 +217,7 @@ const ModifyLiveTranscodeTemplateRequest = models.ModifyLiveTranscodeTemplateReq
|
|
|
216
217
|
const ModifyLiveDomainCertResponse = models.ModifyLiveDomainCertResponse;
|
|
217
218
|
const EnableLiveDomainRequest = models.EnableLiveDomainRequest;
|
|
218
219
|
const DescribeAllStreamPlayInfoListResponse = models.DescribeAllStreamPlayInfoListResponse;
|
|
219
|
-
const
|
|
220
|
+
const DescribeLiveTranscodeTotalInfoResponse = models.DescribeLiveTranscodeTotalInfoResponse;
|
|
220
221
|
const DescribeLiveSnapshotRulesRequest = models.DescribeLiveSnapshotRulesRequest;
|
|
221
222
|
const CreateRecordTaskRequest = models.CreateRecordTaskRequest;
|
|
222
223
|
const CreateLiveTranscodeRuleResponse = models.CreateLiveTranscodeRuleResponse;
|
|
@@ -260,7 +261,9 @@ const DescribeVisitTopSumInfoListResponse = models.DescribeVisitTopSumInfoListRe
|
|
|
260
261
|
const CreateLiveSnapshotRuleResponse = models.CreateLiveSnapshotRuleResponse;
|
|
261
262
|
const DelayInfo = models.DelayInfo;
|
|
262
263
|
const DescribeLiveStreamEventListResponse = models.DescribeLiveStreamEventListResponse;
|
|
264
|
+
const ForbidLiveDomainResponse = models.ForbidLiveDomainResponse;
|
|
263
265
|
const DescribeLiveCallbackRulesResponse = models.DescribeLiveCallbackRulesResponse;
|
|
266
|
+
const DescribeLiveTranscodeTotalInfoRequest = models.DescribeLiveTranscodeTotalInfoRequest;
|
|
264
267
|
const CreateRecordTaskResponse = models.CreateRecordTaskResponse;
|
|
265
268
|
const ForbidStreamInfo = models.ForbidStreamInfo;
|
|
266
269
|
const ResumeDelayLiveStreamResponse = models.ResumeDelayLiveStreamResponse;
|
|
@@ -746,6 +749,20 @@ Note: if you are to set the delay before stream push, set it at least 5 minutes
|
|
|
746
749
|
this.request("DeleteLiveTranscodeRule", req, resp, cb);
|
|
747
750
|
}
|
|
748
751
|
|
|
752
|
+
/**
|
|
753
|
+
* This API is used to query your total usage of the transcoding service in the last 30 days.
|
|
754
|
+
Notes:
|
|
755
|
+
If the start time and end time are on the same day, the data returned will be on a 5-minute basis.
|
|
756
|
+
If not or if the data of specified domains is queried, the data returned will be on an hourly basis.
|
|
757
|
+
* @param {DescribeLiveTranscodeTotalInfoRequest} req
|
|
758
|
+
* @param {function(string, DescribeLiveTranscodeTotalInfoResponse):void} cb
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
DescribeLiveTranscodeTotalInfo(req, cb) {
|
|
762
|
+
let resp = new DescribeLiveTranscodeTotalInfoResponse();
|
|
763
|
+
this.request("DescribeLiveTranscodeTotalInfo", req, resp, cb);
|
|
764
|
+
}
|
|
765
|
+
|
|
749
766
|
/**
|
|
750
767
|
* This API is used to delete a screencapturing rule.
|
|
751
768
|
* @param {DeleteLiveSnapshotRuleRequest} req
|
|
@@ -939,7 +956,7 @@ Note: to query by `AppName`, you need to submit a ticket first. After your appli
|
|
|
939
956
|
}
|
|
940
957
|
|
|
941
958
|
/**
|
|
942
|
-
* This API is used to
|
|
959
|
+
* This API is used to terminate an ongoing recording task and generate a recording file.
|
|
943
960
|
* @param {StopRecordTaskRequest} req
|
|
944
961
|
* @param {function(string, StopRecordTaskResponse):void} cb
|
|
945
962
|
* @public
|
|
@@ -1220,8 +1237,8 @@ Note: Up to 10,000 entries can be queried per page. More data can be obtained by
|
|
|
1220
1237
|
}
|
|
1221
1238
|
|
|
1222
1239
|
/**
|
|
1223
|
-
*
|
|
1224
|
-
<br>
|
|
1240
|
+
* This API is used to create a recording template. You can create up to 50 templates. To use a template, you need to call the [CreateLiveRecordRule](https://intl.cloud.tencent.com/document/product/267/32615?from_cn_redirect=1) API to bind the template ID returned by this API to a stream.
|
|
1241
|
+
<br>More on recording: [Live Recording](https://intl.cloud.tencent.com/document/product/267/32739?from_cn_redirect=1)
|
|
1225
1242
|
* @param {CreateLiveRecordTemplateRequest} req
|
|
1226
1243
|
* @param {function(string, CreateLiveRecordTemplateResponse):void} cb
|
|
1227
1244
|
* @public
|
|
@@ -1334,15 +1351,16 @@ Note: only one screencapturing template can be associated with one domain name.
|
|
|
1334
1351
|
}
|
|
1335
1352
|
|
|
1336
1353
|
/**
|
|
1337
|
-
* This API is used to get the stream status,
|
|
1338
|
-
Note: this API is used to query the stream status, and should not be relied too much upon in important business scenarios.
|
|
1354
|
+
* This API is used to get the stream status, which may be active, inactive, or disabled.
|
|
1339
1355
|
|
|
1340
1356
|
Notes:
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1357
|
+
This API allows you to query the status of a stream in real time. Given external factors such as network jitter, note the following when you determine whether a host is online:
|
|
1358
|
+
1. If possible, use your own logic of stream starting/stopping in a room, such as streaming signaling on the client and the online heartbeat of a host, to determine whether the host is online.
|
|
1359
|
+
2. If your application does not provide the room management feature, use the following methods to determine whether a host is online:
|
|
1360
|
+
2.1 Use the [live stream callback](https://intl.cloud.tencent.com/document/product/267/20388?from_cn_redirect=1).
|
|
1361
|
+
2.2 Call [DescribeLiveStreamOnlineList](https://intl.cloud.tencent.com/document/api/267/20472?from_cn_redirect=1) on a regular basis (interval > 1 min).
|
|
1362
|
+
2.3 Call this API.
|
|
1363
|
+
2.4 A host is considered to be online if the result returned by any of the above methods indicates so. If an API call times out or a parsing error occurs, to minimize the impact on your business, CSS will also consider the host online.
|
|
1346
1364
|
* @param {DescribeLiveStreamStateRequest} req
|
|
1347
1365
|
* @param {function(string, DescribeLiveStreamStateResponse):void} cb
|
|
1348
1366
|
* @public
|
|
@@ -2295,6 +2295,21 @@ Default value: 5.
|
|
|
2295
2295
|
*/
|
|
2296
2296
|
this.ServiceName = null;
|
|
2297
2297
|
|
|
2298
|
+
/**
|
|
2299
|
+
* Region. Valid values:
|
|
2300
|
+
China Mainland
|
|
2301
|
+
Asia Pacific I
|
|
2302
|
+
Asia Pacific II
|
|
2303
|
+
Asia Pacific III
|
|
2304
|
+
Europe
|
|
2305
|
+
North America
|
|
2306
|
+
South America
|
|
2307
|
+
Middle East
|
|
2308
|
+
Africa
|
|
2309
|
+
* @type {Array.<string> || null}
|
|
2310
|
+
*/
|
|
2311
|
+
this.RegionNames = null;
|
|
2312
|
+
|
|
2298
2313
|
}
|
|
2299
2314
|
|
|
2300
2315
|
/**
|
|
@@ -2310,6 +2325,7 @@ Default value: 5.
|
|
|
2310
2325
|
this.MainlandOrOversea = 'MainlandOrOversea' in params ? params.MainlandOrOversea : null;
|
|
2311
2326
|
this.Granularity = 'Granularity' in params ? params.Granularity : null;
|
|
2312
2327
|
this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
|
|
2328
|
+
this.RegionNames = 'RegionNames' in params ? params.RegionNames : null;
|
|
2313
2329
|
|
|
2314
2330
|
}
|
|
2315
2331
|
}
|
|
@@ -3531,9 +3547,10 @@ class CommonMixLayoutParams extends AbstractModel {
|
|
|
3531
3547
|
super();
|
|
3532
3548
|
|
|
3533
3549
|
/**
|
|
3534
|
-
* Input layer. Value range: [1,16]
|
|
3535
|
-
1) For
|
|
3536
|
-
2)
|
|
3550
|
+
* Input layer. Value range: [1,16]
|
|
3551
|
+
(1) For the background stream, i.e., the room owner’s image or the canvas, set this parameter to `1`.
|
|
3552
|
+
(2) This parameter is required for audio-only stream mixing as well.
|
|
3553
|
+
Note that two inputs cannot have the same `ImageLayer` value.
|
|
3537
3554
|
* @type {number || null}
|
|
3538
3555
|
*/
|
|
3539
3556
|
this.ImageLayer = null;
|
|
@@ -3551,24 +3568,24 @@ If this parameter is left empty, 0 will be used by default.
|
|
|
3551
3568
|
this.InputType = null;
|
|
3552
3569
|
|
|
3553
3570
|
/**
|
|
3554
|
-
* Output
|
|
3571
|
+
* Output height of input video image. Value range:
|
|
3555
3572
|
Pixel: [0,2000]
|
|
3556
3573
|
Percentage: [0.01,0.99]
|
|
3557
|
-
If this parameter is left empty, the input stream
|
|
3558
|
-
If percentage is used, the expected output is (percentage * background
|
|
3574
|
+
If this parameter is left empty, the input stream height will be used by default.
|
|
3575
|
+
If percentage is used, the expected output is (percentage * background height).
|
|
3559
3576
|
* @type {number || null}
|
|
3560
3577
|
*/
|
|
3561
|
-
this.
|
|
3578
|
+
this.ImageHeight = null;
|
|
3562
3579
|
|
|
3563
3580
|
/**
|
|
3564
|
-
* Output
|
|
3581
|
+
* Output width of input video image. Value range:
|
|
3565
3582
|
Pixel: [0,2000]
|
|
3566
3583
|
Percentage: [0.01,0.99]
|
|
3567
|
-
If this parameter is left empty, the input stream
|
|
3568
|
-
If percentage is used, the expected output is (percentage * background
|
|
3584
|
+
If this parameter is left empty, the input stream width will be used by default.
|
|
3585
|
+
If percentage is used, the expected output is (percentage * background width).
|
|
3569
3586
|
* @type {number || null}
|
|
3570
3587
|
*/
|
|
3571
|
-
this.
|
|
3588
|
+
this.ImageWidth = null;
|
|
3572
3589
|
|
|
3573
3590
|
/**
|
|
3574
3591
|
* X-axis offset of input in output video image. Value range:
|
|
@@ -3623,8 +3640,8 @@ Gray: 0x999999
|
|
|
3623
3640
|
}
|
|
3624
3641
|
this.ImageLayer = 'ImageLayer' in params ? params.ImageLayer : null;
|
|
3625
3642
|
this.InputType = 'InputType' in params ? params.InputType : null;
|
|
3626
|
-
this.ImageWidth = 'ImageWidth' in params ? params.ImageWidth : null;
|
|
3627
3643
|
this.ImageHeight = 'ImageHeight' in params ? params.ImageHeight : null;
|
|
3644
|
+
this.ImageWidth = 'ImageWidth' in params ? params.ImageWidth : null;
|
|
3628
3645
|
this.LocationX = 'LocationX' in params ? params.LocationX : null;
|
|
3629
3646
|
this.LocationY = 'LocationY' in params ? params.LocationY : null;
|
|
3630
3647
|
this.Color = 'Color' in params ? params.Color : null;
|
|
@@ -5845,7 +5862,7 @@ class PushDataInfo extends AbstractModel {
|
|
|
5845
5862
|
this.VideoFps = null;
|
|
5846
5863
|
|
|
5847
5864
|
/**
|
|
5848
|
-
*
|
|
5865
|
+
* Video bitrate (Kbps) for publishing
|
|
5849
5866
|
* @type {number || null}
|
|
5850
5867
|
*/
|
|
5851
5868
|
this.VideoSpeed = null;
|
|
@@ -5857,7 +5874,7 @@ class PushDataInfo extends AbstractModel {
|
|
|
5857
5874
|
this.AudioFps = null;
|
|
5858
5875
|
|
|
5859
5876
|
/**
|
|
5860
|
-
*
|
|
5877
|
+
* Audio bitrate (Kbps) for publishing
|
|
5861
5878
|
* @type {number || null}
|
|
5862
5879
|
*/
|
|
5863
5880
|
this.AudioSpeed = null;
|
|
@@ -9091,6 +9108,62 @@ If you set this parameter to 1, SEI (Supplemental Enhanced Information) of the i
|
|
|
9091
9108
|
}
|
|
9092
9109
|
}
|
|
9093
9110
|
|
|
9111
|
+
/**
|
|
9112
|
+
* Total usage of the transcoding service
|
|
9113
|
+
* @class
|
|
9114
|
+
*/
|
|
9115
|
+
class TranscodeTotalInfo extends AbstractModel {
|
|
9116
|
+
constructor(){
|
|
9117
|
+
super();
|
|
9118
|
+
|
|
9119
|
+
/**
|
|
9120
|
+
* Usage time (Beijing time)
|
|
9121
|
+
Example: 2019-03-01 00:00:00
|
|
9122
|
+
* @type {string || null}
|
|
9123
|
+
*/
|
|
9124
|
+
this.Time = null;
|
|
9125
|
+
|
|
9126
|
+
/**
|
|
9127
|
+
* Transcoding duration in minutes
|
|
9128
|
+
* @type {number || null}
|
|
9129
|
+
*/
|
|
9130
|
+
this.Duration = null;
|
|
9131
|
+
|
|
9132
|
+
/**
|
|
9133
|
+
* Codec, with modules
|
|
9134
|
+
Examples:
|
|
9135
|
+
`liveprocessor_H264`: live transcoding-H264
|
|
9136
|
+
`liveprocessor_H265`: live transcoding-H265
|
|
9137
|
+
`topspeed_H264`: top speed codec-H264
|
|
9138
|
+
`topspeed_H265`: top speed codec-H265
|
|
9139
|
+
* @type {string || null}
|
|
9140
|
+
*/
|
|
9141
|
+
this.ModuleCodec = null;
|
|
9142
|
+
|
|
9143
|
+
/**
|
|
9144
|
+
* Resolution
|
|
9145
|
+
Example: 540*480
|
|
9146
|
+
* @type {string || null}
|
|
9147
|
+
*/
|
|
9148
|
+
this.Resolution = null;
|
|
9149
|
+
|
|
9150
|
+
}
|
|
9151
|
+
|
|
9152
|
+
/**
|
|
9153
|
+
* @private
|
|
9154
|
+
*/
|
|
9155
|
+
deserialize(params) {
|
|
9156
|
+
if (!params) {
|
|
9157
|
+
return;
|
|
9158
|
+
}
|
|
9159
|
+
this.Time = 'Time' in params ? params.Time : null;
|
|
9160
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
9161
|
+
this.ModuleCodec = 'ModuleCodec' in params ? params.ModuleCodec : null;
|
|
9162
|
+
this.Resolution = 'Resolution' in params ? params.Resolution : null;
|
|
9163
|
+
|
|
9164
|
+
}
|
|
9165
|
+
}
|
|
9166
|
+
|
|
9094
9167
|
/**
|
|
9095
9168
|
* DescribeAreaBillBandwidthAndFluxList response structure.
|
|
9096
9169
|
* @class
|
|
@@ -9703,8 +9776,8 @@ class DescribeStreamPlayInfoListRequest extends AbstractModel {
|
|
|
9703
9776
|
this.StartTime = null;
|
|
9704
9777
|
|
|
9705
9778
|
/**
|
|
9706
|
-
* End time (Beijing time) in the format of yyyy-mm-dd HH:MM:SS
|
|
9707
|
-
The
|
|
9779
|
+
* End time (Beijing time) in the format of yyyy-mm-dd HH:MM:SS
|
|
9780
|
+
The start time and end time cannot be more than 24 hours apart and must be within the last 15 days.
|
|
9708
9781
|
* @type {string || null}
|
|
9709
9782
|
*/
|
|
9710
9783
|
this.EndTime = null;
|
|
@@ -9829,9 +9902,10 @@ It must be a multiple of 2. The original width is 0.
|
|
|
9829
9902
|
this.NeedAudio = null;
|
|
9830
9903
|
|
|
9831
9904
|
/**
|
|
9832
|
-
* Height. Default value: 0
|
|
9833
|
-
Value range:
|
|
9834
|
-
The value must be a multiple of 2
|
|
9905
|
+
* Height. Default value: 0
|
|
9906
|
+
Value range: 0-3000
|
|
9907
|
+
The value must be a multiple of 2. The original height is `0`.
|
|
9908
|
+
This parameter is required for a top speed codec template (when `AiTransCode` is `1`).
|
|
9835
9909
|
* @type {number || null}
|
|
9836
9910
|
*/
|
|
9837
9911
|
this.Height = null;
|
|
@@ -10493,13 +10567,20 @@ class DescribeAllStreamPlayInfoListResponse extends AbstractModel {
|
|
|
10493
10567
|
}
|
|
10494
10568
|
|
|
10495
10569
|
/**
|
|
10496
|
-
*
|
|
10570
|
+
* DescribeLiveTranscodeTotalInfo response structure.
|
|
10497
10571
|
* @class
|
|
10498
10572
|
*/
|
|
10499
|
-
class
|
|
10573
|
+
class DescribeLiveTranscodeTotalInfoResponse extends AbstractModel {
|
|
10500
10574
|
constructor(){
|
|
10501
10575
|
super();
|
|
10502
10576
|
|
|
10577
|
+
/**
|
|
10578
|
+
* List of transcoding data
|
|
10579
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
10580
|
+
* @type {Array.<TranscodeTotalInfo> || null}
|
|
10581
|
+
*/
|
|
10582
|
+
this.DataInfoList = null;
|
|
10583
|
+
|
|
10503
10584
|
/**
|
|
10504
10585
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
10505
10586
|
* @type {string || null}
|
|
@@ -10515,6 +10596,15 @@ class ForbidLiveDomainResponse extends AbstractModel {
|
|
|
10515
10596
|
if (!params) {
|
|
10516
10597
|
return;
|
|
10517
10598
|
}
|
|
10599
|
+
|
|
10600
|
+
if (params.DataInfoList) {
|
|
10601
|
+
this.DataInfoList = new Array();
|
|
10602
|
+
for (let z in params.DataInfoList) {
|
|
10603
|
+
let obj = new TranscodeTotalInfo();
|
|
10604
|
+
obj.deserialize(params.DataInfoList[z]);
|
|
10605
|
+
this.DataInfoList.push(obj);
|
|
10606
|
+
}
|
|
10607
|
+
}
|
|
10518
10608
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10519
10609
|
|
|
10520
10610
|
}
|
|
@@ -11030,8 +11120,8 @@ Only letters, digits, underscores, and hyphens can be contained.
|
|
|
11030
11120
|
this.Description = null;
|
|
11031
11121
|
|
|
11032
11122
|
/**
|
|
11033
|
-
* Screencapturing interval
|
|
11034
|
-
Value range:
|
|
11123
|
+
* Screencapturing interval (s). Default value: 10
|
|
11124
|
+
Value range: 2-300
|
|
11035
11125
|
* @type {number || null}
|
|
11036
11126
|
*/
|
|
11037
11127
|
this.SnapshotInterval = null;
|
|
@@ -12424,6 +12514,34 @@ class DescribeLiveStreamEventListResponse extends AbstractModel {
|
|
|
12424
12514
|
}
|
|
12425
12515
|
}
|
|
12426
12516
|
|
|
12517
|
+
/**
|
|
12518
|
+
* ForbidLiveDomain response structure.
|
|
12519
|
+
* @class
|
|
12520
|
+
*/
|
|
12521
|
+
class ForbidLiveDomainResponse extends AbstractModel {
|
|
12522
|
+
constructor(){
|
|
12523
|
+
super();
|
|
12524
|
+
|
|
12525
|
+
/**
|
|
12526
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
12527
|
+
* @type {string || null}
|
|
12528
|
+
*/
|
|
12529
|
+
this.RequestId = null;
|
|
12530
|
+
|
|
12531
|
+
}
|
|
12532
|
+
|
|
12533
|
+
/**
|
|
12534
|
+
* @private
|
|
12535
|
+
*/
|
|
12536
|
+
deserialize(params) {
|
|
12537
|
+
if (!params) {
|
|
12538
|
+
return;
|
|
12539
|
+
}
|
|
12540
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12541
|
+
|
|
12542
|
+
}
|
|
12543
|
+
}
|
|
12544
|
+
|
|
12427
12545
|
/**
|
|
12428
12546
|
* DescribeLiveCallbackRules response structure.
|
|
12429
12547
|
* @class
|
|
@@ -12467,6 +12585,61 @@ class DescribeLiveCallbackRulesResponse extends AbstractModel {
|
|
|
12467
12585
|
}
|
|
12468
12586
|
}
|
|
12469
12587
|
|
|
12588
|
+
/**
|
|
12589
|
+
* DescribeLiveTranscodeTotalInfo request structure.
|
|
12590
|
+
* @class
|
|
12591
|
+
*/
|
|
12592
|
+
class DescribeLiveTranscodeTotalInfoRequest extends AbstractModel {
|
|
12593
|
+
constructor(){
|
|
12594
|
+
super();
|
|
12595
|
+
|
|
12596
|
+
/**
|
|
12597
|
+
* Start time (Beijing time)
|
|
12598
|
+
Format: yyyy-mm-dd HH:MM:SS
|
|
12599
|
+
* @type {string || null}
|
|
12600
|
+
*/
|
|
12601
|
+
this.StartTime = null;
|
|
12602
|
+
|
|
12603
|
+
/**
|
|
12604
|
+
* End time (Beijing time)
|
|
12605
|
+
Format: yyyy-mm-dd HH:MM:SS
|
|
12606
|
+
* @type {string || null}
|
|
12607
|
+
*/
|
|
12608
|
+
this.EndTime = null;
|
|
12609
|
+
|
|
12610
|
+
/**
|
|
12611
|
+
* List of push domains to query. If this parameter is left empty, the data of all domains is queried.
|
|
12612
|
+
If this parameter is specified, the data returned will be on an hourly basis.
|
|
12613
|
+
* @type {Array.<string> || null}
|
|
12614
|
+
*/
|
|
12615
|
+
this.PushDomains = null;
|
|
12616
|
+
|
|
12617
|
+
/**
|
|
12618
|
+
* Valid values:
|
|
12619
|
+
`Mainland`: queries transcoding data in the Chinese mainland
|
|
12620
|
+
`Oversea`: queries transcoding data outside the Chinese mainland
|
|
12621
|
+
By default, the data both in and outside the Chinese mainland is queried.
|
|
12622
|
+
* @type {string || null}
|
|
12623
|
+
*/
|
|
12624
|
+
this.MainlandOrOversea = null;
|
|
12625
|
+
|
|
12626
|
+
}
|
|
12627
|
+
|
|
12628
|
+
/**
|
|
12629
|
+
* @private
|
|
12630
|
+
*/
|
|
12631
|
+
deserialize(params) {
|
|
12632
|
+
if (!params) {
|
|
12633
|
+
return;
|
|
12634
|
+
}
|
|
12635
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
12636
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
12637
|
+
this.PushDomains = 'PushDomains' in params ? params.PushDomains : null;
|
|
12638
|
+
this.MainlandOrOversea = 'MainlandOrOversea' in params ? params.MainlandOrOversea : null;
|
|
12639
|
+
|
|
12640
|
+
}
|
|
12641
|
+
}
|
|
12642
|
+
|
|
12470
12643
|
/**
|
|
12471
12644
|
* CreateRecordTask response structure.
|
|
12472
12645
|
* @class
|
|
@@ -13188,6 +13361,7 @@ module.exports = {
|
|
|
13188
13361
|
DescribePlayErrorCodeSumInfoListRequest: DescribePlayErrorCodeSumInfoListRequest,
|
|
13189
13362
|
ModifyLiveCertRequest: ModifyLiveCertRequest,
|
|
13190
13363
|
CommonMixControlParams: CommonMixControlParams,
|
|
13364
|
+
TranscodeTotalInfo: TranscodeTotalInfo,
|
|
13191
13365
|
DescribeAreaBillBandwidthAndFluxListResponse: DescribeAreaBillBandwidthAndFluxListResponse,
|
|
13192
13366
|
ForbidLiveDomainRequest: ForbidLiveDomainRequest,
|
|
13193
13367
|
DescribeLiveRecordRulesRequest: DescribeLiveRecordRulesRequest,
|
|
@@ -13214,7 +13388,7 @@ module.exports = {
|
|
|
13214
13388
|
ModifyLiveDomainCertResponse: ModifyLiveDomainCertResponse,
|
|
13215
13389
|
EnableLiveDomainRequest: EnableLiveDomainRequest,
|
|
13216
13390
|
DescribeAllStreamPlayInfoListResponse: DescribeAllStreamPlayInfoListResponse,
|
|
13217
|
-
|
|
13391
|
+
DescribeLiveTranscodeTotalInfoResponse: DescribeLiveTranscodeTotalInfoResponse,
|
|
13218
13392
|
DescribeLiveSnapshotRulesRequest: DescribeLiveSnapshotRulesRequest,
|
|
13219
13393
|
CreateRecordTaskRequest: CreateRecordTaskRequest,
|
|
13220
13394
|
CreateLiveTranscodeRuleResponse: CreateLiveTranscodeRuleResponse,
|
|
@@ -13258,7 +13432,9 @@ module.exports = {
|
|
|
13258
13432
|
CreateLiveSnapshotRuleResponse: CreateLiveSnapshotRuleResponse,
|
|
13259
13433
|
DelayInfo: DelayInfo,
|
|
13260
13434
|
DescribeLiveStreamEventListResponse: DescribeLiveStreamEventListResponse,
|
|
13435
|
+
ForbidLiveDomainResponse: ForbidLiveDomainResponse,
|
|
13261
13436
|
DescribeLiveCallbackRulesResponse: DescribeLiveCallbackRulesResponse,
|
|
13437
|
+
DescribeLiveTranscodeTotalInfoRequest: DescribeLiveTranscodeTotalInfoRequest,
|
|
13262
13438
|
CreateRecordTaskResponse: CreateRecordTaskResponse,
|
|
13263
13439
|
ForbidStreamInfo: ForbidStreamInfo,
|
|
13264
13440
|
ResumeDelayLiveStreamResponse: ResumeDelayLiveStreamResponse,
|
|
@@ -4123,6 +4123,12 @@ class KillMasterGroupRequest extends AbstractModel {
|
|
|
4123
4123
|
*/
|
|
4124
4124
|
this.Password = null;
|
|
4125
4125
|
|
|
4126
|
+
/**
|
|
4127
|
+
* Node information of a single-AZ deployed instance
|
|
4128
|
+
* @type {Array.<number> || null}
|
|
4129
|
+
*/
|
|
4130
|
+
this.ShardIds = null;
|
|
4131
|
+
|
|
4126
4132
|
}
|
|
4127
4133
|
|
|
4128
4134
|
/**
|
|
@@ -4134,6 +4140,7 @@ class KillMasterGroupRequest extends AbstractModel {
|
|
|
4134
4140
|
}
|
|
4135
4141
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4136
4142
|
this.Password = 'Password' in params ? params.Password : null;
|
|
4143
|
+
this.ShardIds = 'ShardIds' in params ? params.ShardIds : null;
|
|
4137
4144
|
|
|
4138
4145
|
}
|
|
4139
4146
|
}
|
|
@@ -369,7 +369,7 @@ class RedisClient extends AbstractClient {
|
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
/**
|
|
372
|
-
* This API is used to promote a replica node group of a multi-AZ deployed instance to master node group.
|
|
372
|
+
* This API is used to promote a replica node group of a multi-AZ deployed instance to master node group or a replica node of a single-AZ deployed instance to master node.
|
|
373
373
|
* @param {ChangeReplicaToMasterRequest} req
|
|
374
374
|
* @param {function(string, ChangeReplicaToMasterResponse):void} cb
|
|
375
375
|
* @public
|