tencentcloud-sdk-nodejs-intl-en 3.0.1419 → 3.0.1420

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.1419",
3
+ "version": "3.0.1420",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1419";
1
+ const sdkVersion = "3.0.1420";
2
2
  module.exports = sdkVersion
@@ -26,7 +26,7 @@ const ModifyStreamLinkInputResponse = models.ModifyStreamLinkInputResponse;
26
26
  const CreateOutputSrtSettingsDestinations = models.CreateOutputSrtSettingsDestinations;
27
27
  const DescribeStreamLinkFlowStatisticsRequest = models.DescribeStreamLinkFlowStatisticsRequest;
28
28
  const StopStreamLinkFlowResponse = models.StopStreamLinkFlowResponse;
29
- const ModifyStreamLinkOutputInfoResponse = models.ModifyStreamLinkOutputInfoResponse;
29
+ const DescribeInputRTMPSettings = models.DescribeInputRTMPSettings;
30
30
  const FlowSRTInfo = models.FlowSRTInfo;
31
31
  const SRTSourceAddressResp = models.SRTSourceAddressResp;
32
32
  const DescribeInput = models.DescribeInput;
@@ -43,6 +43,7 @@ const RTPAddressDestination = models.RTPAddressDestination;
43
43
  const DescribeStreamLinkFlowLogsResponse = models.DescribeStreamLinkFlowLogsResponse;
44
44
  const DescribeOutput = models.DescribeOutput;
45
45
  const CreateInputHLSPullSettings = models.CreateInputHLSPullSettings;
46
+ const FailOverOption = models.FailOverOption;
46
47
  const CreateOutputSrtSettings = models.CreateOutputSrtSettings;
47
48
  const ModifyStreamLinkFlowResponse = models.ModifyStreamLinkFlowResponse;
48
49
  const StartStreamLinkFlowRequest = models.StartStreamLinkFlowRequest;
@@ -56,7 +57,7 @@ const FlowMediaAudio = models.FlowMediaAudio;
56
57
  const DescribeOutputRTPSettings = models.DescribeOutputRTPSettings;
57
58
  const ModifyInput = models.ModifyInput;
58
59
  const DescribeStreamLinkFlowLogsRequest = models.DescribeStreamLinkFlowLogsRequest;
59
- const DescribeInputRTMPSettings = models.DescribeInputRTMPSettings;
60
+ const ModifyStreamLinkOutputInfoResponse = models.ModifyStreamLinkOutputInfoResponse;
60
61
  const DescribeOutputRTMPSettings = models.DescribeOutputRTMPSettings;
61
62
  const OutputSRTSourceAddressResp = models.OutputSRTSourceAddressResp;
62
63
  const CreateInputRTMPPullSettings = models.CreateInputRTMPPullSettings;
@@ -80,6 +81,7 @@ const DescribeStreamLinkFlowRequest = models.DescribeStreamLinkFlowRequest;
80
81
  const DescribeOutputHLSPullSettings = models.DescribeOutputHLSPullSettings;
81
82
  const FlowStatisticsArray = models.FlowStatisticsArray;
82
83
  const DescribeStreamLinkRegionsResponse = models.DescribeStreamLinkRegionsResponse;
84
+ const StreamUrlDetail = models.StreamUrlDetail;
83
85
  const DescribeInputSRTSettings = models.DescribeInputSRTSettings;
84
86
  const DescribeStreamLinkFlowStatisticsResponse = models.DescribeStreamLinkFlowStatisticsResponse;
85
87
  const CreateStreamLinkFlowResponse = models.CreateStreamLinkFlowResponse;
@@ -95,6 +97,7 @@ const FlowStatistics = models.FlowStatistics;
95
97
  const DeleteStreamLinkOutputRequest = models.DeleteStreamLinkOutputRequest;
96
98
  const RTSPPullSourceAddress = models.RTSPPullSourceAddress;
97
99
  const DescribeHLSPullSourceAddress = models.DescribeHLSPullSourceAddress;
100
+ const DescribeInputRISTSettings = models.DescribeInputRISTSettings;
98
101
  const FlowRealtimeStatusCommon = models.FlowRealtimeStatusCommon;
99
102
  const DescribeStreamLinkFlowMediaStatisticsRequest = models.DescribeStreamLinkFlowMediaStatisticsRequest;
100
103
  const RegionInfo = models.RegionInfo;
@@ -367,24 +367,26 @@ class StopStreamLinkFlowResponse extends AbstractModel {
367
367
  }
368
368
 
369
369
  /**
370
- * ModifyStreamLinkOutputInfo response structure.
370
+ * RTMP configuration information of the queried input
371
371
  * @class
372
372
  */
373
- class ModifyStreamLinkOutputInfoResponse extends AbstractModel {
373
+ class DescribeInputRTMPSettings extends AbstractModel {
374
374
  constructor(){
375
375
  super();
376
376
 
377
377
  /**
378
- * The output configuration after modification.
379
- * @type {DescribeOutput || null}
378
+ * Path for RTMP stream pushing
379
+ Note: this field may return `null`, indicating that no valid value was found.
380
+ * @type {string || null}
380
381
  */
381
- this.Info = null;
382
+ this.AppName = null;
382
383
 
383
384
  /**
384
- * 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.
385
+ * StreamKey for RTMP stream pushing
386
+ Format of an RTMP stream pushing URL: rtmp://IP address:1935/AppName/StreamKey
385
387
  * @type {string || null}
386
388
  */
387
- this.RequestId = null;
389
+ this.StreamKey = null;
388
390
 
389
391
  }
390
392
 
@@ -395,13 +397,8 @@ class ModifyStreamLinkOutputInfoResponse extends AbstractModel {
395
397
  if (!params) {
396
398
  return;
397
399
  }
398
-
399
- if (params.Info) {
400
- let obj = new DescribeOutput();
401
- obj.deserialize(params.Info)
402
- this.Info = obj;
403
- }
404
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
400
+ this.AppName = 'AppName' in params ? params.AppName : null;
401
+ this.StreamKey = 'StreamKey' in params ? params.StreamKey : null;
405
402
 
406
403
  }
407
404
  }
@@ -709,25 +706,31 @@ Note: this field may return `null`, indicating that no valid value was found.
709
706
  this.FailOver = null;
710
707
 
711
708
  /**
712
- *
709
+ * Available Zone Configuration: Under disaster recovery conditions, up to two are supported, corresponding to pipeline 0 and 1 in order. Otherwise, only one available zone is allowed.
710
+ * @type {Array.<string> || null}
711
+ */
712
+ this.Zones = null;
713
+
714
+ /**
715
+ * The input RTMP_PULL configuration information.
713
716
  * @type {DescribeInputRTMPPullSettings || null}
714
717
  */
715
718
  this.RTMPPullSettings = null;
716
719
 
717
720
  /**
718
- *
721
+ * The RTSP_PULL configuration information entered.
719
722
  * @type {DescribeInputRTSPPullSettings || null}
720
723
  */
721
724
  this.RTSPPullSettings = null;
722
725
 
723
726
  /**
724
- *
727
+ * The input HLS-PULL configuration information.
725
728
  * @type {DescribeInputHLSPullSettings || null}
726
729
  */
727
730
  this.HLSPullSettings = null;
728
731
 
729
732
  /**
730
- *
733
+ * Extended smooth streaming configuration information.
731
734
  * @type {ResilientStreamConf || null}
732
735
  */
733
736
  this.ResilientStream = null;
@@ -738,6 +741,24 @@ Note: this field may return `null`, indicating that no valid value was found.
738
741
  */
739
742
  this.SecurityGroupIds = null;
740
743
 
744
+ /**
745
+ * The input RIST configuration information.
746
+ * @type {DescribeInputRISTSettings || null}
747
+ */
748
+ this.RISTSettings = null;
749
+
750
+ /**
751
+ * Enter URL information related to module configuration, including the provided streaming address or the configured third-party source address
752
+ * @type {Array.<StreamUrlDetail> || null}
753
+ */
754
+ this.StreamUrls = null;
755
+
756
+ /**
757
+ * Disaster recovery configuration items
758
+ * @type {FailOverOption || null}
759
+ */
760
+ this.FailOverOption = null;
761
+
741
762
  }
742
763
 
743
764
  /**
@@ -781,6 +802,7 @@ Note: this field may return `null`, indicating that no valid value was found.
781
802
  this.RTMPSettings = obj;
782
803
  }
783
804
  this.FailOver = 'FailOver' in params ? params.FailOver : null;
805
+ this.Zones = 'Zones' in params ? params.Zones : null;
784
806
 
785
807
  if (params.RTMPPullSettings) {
786
808
  let obj = new DescribeInputRTMPPullSettings();
@@ -807,6 +829,27 @@ Note: this field may return `null`, indicating that no valid value was found.
807
829
  }
808
830
  this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
809
831
 
832
+ if (params.RISTSettings) {
833
+ let obj = new DescribeInputRISTSettings();
834
+ obj.deserialize(params.RISTSettings)
835
+ this.RISTSettings = obj;
836
+ }
837
+
838
+ if (params.StreamUrls) {
839
+ this.StreamUrls = new Array();
840
+ for (let z in params.StreamUrls) {
841
+ let obj = new StreamUrlDetail();
842
+ obj.deserialize(params.StreamUrls[z]);
843
+ this.StreamUrls.push(obj);
844
+ }
845
+ }
846
+
847
+ if (params.FailOverOption) {
848
+ let obj = new FailOverOption();
849
+ obj.deserialize(params.FailOverOption)
850
+ this.FailOverOption = obj;
851
+ }
852
+
810
853
  }
811
854
  }
812
855
 
@@ -1715,6 +1758,34 @@ class CreateInputHLSPullSettings extends AbstractModel {
1715
1758
  }
1716
1759
  }
1717
1760
 
1761
+ /**
1762
+ *
1763
+ * @class
1764
+ */
1765
+ class FailOverOption extends AbstractModel {
1766
+ constructor(){
1767
+ super();
1768
+
1769
+ /**
1770
+ *
1771
+ * @type {string || null}
1772
+ */
1773
+ this.FailOverType = null;
1774
+
1775
+ }
1776
+
1777
+ /**
1778
+ * @private
1779
+ */
1780
+ deserialize(params) {
1781
+ if (!params) {
1782
+ return;
1783
+ }
1784
+ this.FailOverType = 'FailOverType' in params ? params.FailOverType : null;
1785
+
1786
+ }
1787
+ }
1788
+
1718
1789
  /**
1719
1790
  * The SRT configuration of the output to create.
1720
1791
  * @class
@@ -2530,26 +2601,24 @@ It must be in UTC format, such as `2020-01-01T12:00:00Z`.
2530
2601
  }
2531
2602
 
2532
2603
  /**
2533
- * RTMP configuration information of the queried input
2604
+ * ModifyStreamLinkOutputInfo response structure.
2534
2605
  * @class
2535
2606
  */
2536
- class DescribeInputRTMPSettings extends AbstractModel {
2607
+ class ModifyStreamLinkOutputInfoResponse extends AbstractModel {
2537
2608
  constructor(){
2538
2609
  super();
2539
2610
 
2540
2611
  /**
2541
- * Path for RTMP stream pushing
2542
- Note: this field may return `null`, indicating that no valid value was found.
2543
- * @type {string || null}
2612
+ * The output configuration after modification.
2613
+ * @type {DescribeOutput || null}
2544
2614
  */
2545
- this.AppName = null;
2615
+ this.Info = null;
2546
2616
 
2547
2617
  /**
2548
- * StreamKey for RTMP stream pushing
2549
- Format of an RTMP stream pushing URL: rtmp://IP address:1935/AppName/StreamKey
2618
+ * 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.
2550
2619
  * @type {string || null}
2551
2620
  */
2552
- this.StreamKey = null;
2621
+ this.RequestId = null;
2553
2622
 
2554
2623
  }
2555
2624
 
@@ -2560,8 +2629,13 @@ Format of an RTMP stream pushing URL: rtmp://IP address:1935/AppName/StreamKey
2560
2629
  if (!params) {
2561
2630
  return;
2562
2631
  }
2563
- this.AppName = 'AppName' in params ? params.AppName : null;
2564
- this.StreamKey = 'StreamKey' in params ? params.StreamKey : null;
2632
+
2633
+ if (params.Info) {
2634
+ let obj = new DescribeOutput();
2635
+ obj.deserialize(params.Info)
2636
+ this.Info = obj;
2637
+ }
2638
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2565
2639
 
2566
2640
  }
2567
2641
  }
@@ -3548,6 +3622,48 @@ class DescribeStreamLinkRegionsResponse extends AbstractModel {
3548
3622
  }
3549
3623
  }
3550
3624
 
3625
+ /**
3626
+ *
3627
+ * @class
3628
+ */
3629
+ class StreamUrlDetail extends AbstractModel {
3630
+ constructor(){
3631
+ super();
3632
+
3633
+ /**
3634
+ *
3635
+ * @type {string || null}
3636
+ */
3637
+ this.Label = null;
3638
+
3639
+ /**
3640
+ * URL
3641
+ * @type {string || null}
3642
+ */
3643
+ this.Url = null;
3644
+
3645
+ /**
3646
+ *
3647
+ * @type {string || null}
3648
+ */
3649
+ this.Type = null;
3650
+
3651
+ }
3652
+
3653
+ /**
3654
+ * @private
3655
+ */
3656
+ deserialize(params) {
3657
+ if (!params) {
3658
+ return;
3659
+ }
3660
+ this.Label = 'Label' in params ? params.Label : null;
3661
+ this.Url = 'Url' in params ? params.Url : null;
3662
+ this.Type = 'Type' in params ? params.Type : null;
3663
+
3664
+ }
3665
+ }
3666
+
3551
3667
  /**
3552
3668
  * SRT configuration information of the queried input.
3553
3669
  * @class
@@ -4326,6 +4442,48 @@ class DescribeHLSPullSourceAddress extends AbstractModel {
4326
4442
  }
4327
4443
  }
4328
4444
 
4445
+ /**
4446
+ *
4447
+ * @class
4448
+ */
4449
+ class DescribeInputRISTSettings extends AbstractModel {
4450
+ constructor(){
4451
+ super();
4452
+
4453
+ /**
4454
+ *
4455
+ * @type {string || null}
4456
+ */
4457
+ this.Mode = null;
4458
+
4459
+ /**
4460
+ *
4461
+ * @type {string || null}
4462
+ */
4463
+ this.Profile = null;
4464
+
4465
+ /**
4466
+ *
4467
+ * @type {number || null}
4468
+ */
4469
+ this.Buffer = null;
4470
+
4471
+ }
4472
+
4473
+ /**
4474
+ * @private
4475
+ */
4476
+ deserialize(params) {
4477
+ if (!params) {
4478
+ return;
4479
+ }
4480
+ this.Mode = 'Mode' in params ? params.Mode : null;
4481
+ this.Profile = 'Profile' in params ? params.Profile : null;
4482
+ this.Buffer = 'Buffer' in params ? params.Buffer : null;
4483
+
4484
+ }
4485
+ }
4486
+
4329
4487
  /**
4330
4488
  * The common real-time status information of a flow.
4331
4489
  * @class
@@ -5500,7 +5658,7 @@ module.exports = {
5500
5658
  CreateOutputSrtSettingsDestinations: CreateOutputSrtSettingsDestinations,
5501
5659
  DescribeStreamLinkFlowStatisticsRequest: DescribeStreamLinkFlowStatisticsRequest,
5502
5660
  StopStreamLinkFlowResponse: StopStreamLinkFlowResponse,
5503
- ModifyStreamLinkOutputInfoResponse: ModifyStreamLinkOutputInfoResponse,
5661
+ DescribeInputRTMPSettings: DescribeInputRTMPSettings,
5504
5662
  FlowSRTInfo: FlowSRTInfo,
5505
5663
  SRTSourceAddressResp: SRTSourceAddressResp,
5506
5664
  DescribeInput: DescribeInput,
@@ -5517,6 +5675,7 @@ module.exports = {
5517
5675
  DescribeStreamLinkFlowLogsResponse: DescribeStreamLinkFlowLogsResponse,
5518
5676
  DescribeOutput: DescribeOutput,
5519
5677
  CreateInputHLSPullSettings: CreateInputHLSPullSettings,
5678
+ FailOverOption: FailOverOption,
5520
5679
  CreateOutputSrtSettings: CreateOutputSrtSettings,
5521
5680
  ModifyStreamLinkFlowResponse: ModifyStreamLinkFlowResponse,
5522
5681
  StartStreamLinkFlowRequest: StartStreamLinkFlowRequest,
@@ -5530,7 +5689,7 @@ module.exports = {
5530
5689
  DescribeOutputRTPSettings: DescribeOutputRTPSettings,
5531
5690
  ModifyInput: ModifyInput,
5532
5691
  DescribeStreamLinkFlowLogsRequest: DescribeStreamLinkFlowLogsRequest,
5533
- DescribeInputRTMPSettings: DescribeInputRTMPSettings,
5692
+ ModifyStreamLinkOutputInfoResponse: ModifyStreamLinkOutputInfoResponse,
5534
5693
  DescribeOutputRTMPSettings: DescribeOutputRTMPSettings,
5535
5694
  OutputSRTSourceAddressResp: OutputSRTSourceAddressResp,
5536
5695
  CreateInputRTMPPullSettings: CreateInputRTMPPullSettings,
@@ -5554,6 +5713,7 @@ module.exports = {
5554
5713
  DescribeOutputHLSPullSettings: DescribeOutputHLSPullSettings,
5555
5714
  FlowStatisticsArray: FlowStatisticsArray,
5556
5715
  DescribeStreamLinkRegionsResponse: DescribeStreamLinkRegionsResponse,
5716
+ StreamUrlDetail: StreamUrlDetail,
5557
5717
  DescribeInputSRTSettings: DescribeInputSRTSettings,
5558
5718
  DescribeStreamLinkFlowStatisticsResponse: DescribeStreamLinkFlowStatisticsResponse,
5559
5719
  CreateStreamLinkFlowResponse: CreateStreamLinkFlowResponse,
@@ -5569,6 +5729,7 @@ module.exports = {
5569
5729
  DeleteStreamLinkOutputRequest: DeleteStreamLinkOutputRequest,
5570
5730
  RTSPPullSourceAddress: RTSPPullSourceAddress,
5571
5731
  DescribeHLSPullSourceAddress: DescribeHLSPullSourceAddress,
5732
+ DescribeInputRISTSettings: DescribeInputRISTSettings,
5572
5733
  FlowRealtimeStatusCommon: FlowRealtimeStatusCommon,
5573
5734
  DescribeStreamLinkFlowMediaStatisticsRequest: DescribeStreamLinkFlowMediaStatisticsRequest,
5574
5735
  RegionInfo: RegionInfo,