tencentcloud-sdk-nodejs-intl-en 3.0.1339 → 3.0.1341

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.1339",
3
+ "version": "3.0.1341",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1339";
1
+ const sdkVersion = "3.0.1341";
2
2
  module.exports = sdkVersion
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20210527: require("./v20210527"), v20191016: require("./v20191016"),
2
+ v20191016: require("./v20191016"), v20210527: require("./v20210527"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20180330: require("./v20180330"), v20211206: require("./v20211206"),
2
+ v20211206: require("./v20211206"), v20180330: require("./v20180330"),
3
3
  };
@@ -65,12 +65,14 @@ const DescribePlayErrorCodeDetailInfoListRequest = models.DescribePlayErrorCodeD
65
65
  const DeleteLivePullStreamTaskRequest = models.DeleteLivePullStreamTaskRequest;
66
66
  const CreateLiveTimeShiftRuleRequest = models.CreateLiveTimeShiftRuleRequest;
67
67
  const CommonMixOutputParams = models.CommonMixOutputParams;
68
+ const DescribePushBandwidthAndFluxListResponse = models.DescribePushBandwidthAndFluxListResponse;
68
69
  const DescribeUploadStreamNumsRequest = models.DescribeUploadStreamNumsRequest;
69
70
  const DescribeLiveSnapshotRulesResponse = models.DescribeLiveSnapshotRulesResponse;
70
71
  const DescribeLiveTranscodeDetailInfoResponse = models.DescribeLiveTranscodeDetailInfoResponse;
71
72
  const DescribeLiveDomainRequest = models.DescribeLiveDomainRequest;
72
73
  const AuthenticateDomainOwnerResponse = models.AuthenticateDomainOwnerResponse;
73
74
  const DeleteLiveTranscodeRuleRequest = models.DeleteLiveTranscodeRuleRequest;
75
+ const DescribePushBandwidthAndFluxListRequest = models.DescribePushBandwidthAndFluxListRequest;
74
76
  const CreateLiveRecordRuleRequest = models.CreateLiveRecordRuleRequest;
75
77
  const DescribeLiveSnapshotTemplatesRequest = models.DescribeLiveSnapshotTemplatesRequest;
76
78
  const AddLiveWatermarkResponse = models.AddLiveWatermarkResponse;
@@ -1342,6 +1344,17 @@ Note: Up to 10,000 entries can be queried per page. More data can be obtained by
1342
1344
  this.request("DescribeLiveStreamPublishedList", req, resp, cb);
1343
1345
  }
1344
1346
 
1347
+ /**
1348
+ * Live Streaming Push Bandwidth and Traffic Data Query. The push billing will first compare the global push usage with the global playback usage. If the billing conditions are met, billing will be issued based on the usage in each region. For details, refer to the Billing Documentation.(https://cloud.tencent.com/document/product/267/34175)
1349
+ * @param {DescribePushBandwidthAndFluxListRequest} req
1350
+ * @param {function(string, DescribePushBandwidthAndFluxListResponse):void} cb
1351
+ * @public
1352
+ */
1353
+ DescribePushBandwidthAndFluxList(req, cb) {
1354
+ let resp = new DescribePushBandwidthAndFluxListResponse();
1355
+ this.request("DescribePushBandwidthAndFluxList", req, resp, cb);
1356
+ }
1357
+
1345
1358
  /**
1346
1359
  * This API is used to disable a stream. You can set a time to resume the stream.
1347
1360
  Note:
@@ -2503,6 +2503,84 @@ If this parameter is left empty, the system will automatically determine.
2503
2503
  }
2504
2504
  }
2505
2505
 
2506
+ /**
2507
+ * DescribePushBandwidthAndFluxList response structure.
2508
+ * @class
2509
+ */
2510
+ class DescribePushBandwidthAndFluxListResponse extends AbstractModel {
2511
+ constructor(){
2512
+ super();
2513
+
2514
+ /**
2515
+ * Peak bandwidth timestamp, using UTC time format, e.g., 2019-01-08T10:00:00Z. Note: Beijing time value equals UTC time value + 8 hours, expressed in ISO 8601 standard format. For details, refer to ISO Date Format Description.(https://cloud.tencent.com/document/product/266/11732#I)
2516
+ * @type {string || null}
2517
+ */
2518
+ this.PeakBandwidthTime = null;
2519
+
2520
+ /**
2521
+ * Peak bandwidth, measured in Mbps.
2522
+ * @type {number || null}
2523
+ */
2524
+ this.PeakBandwidth = null;
2525
+
2526
+ /**
2527
+ * 95th percentile peak bandwidth timestamp, using UTC time format, e.g., 2019-01-08T10:00:00Z. Note: Beijing time value equals UTC time value + 8 hours, expressed in ISO 8601 standard format. For details, refer to ISO Date Format Description.(https://cloud.tencent.com/document/product/266/11732#I).
2528
+ * @type {string || null}
2529
+ */
2530
+ this.P95PeakBandwidthTime = null;
2531
+
2532
+ /**
2533
+ * 95th percentile peak bandwidth, measured in Mbps.
2534
+ * @type {number || null}
2535
+ */
2536
+ this.P95PeakBandwidth = null;
2537
+
2538
+ /**
2539
+ * Total traffic, measured in MB.
2540
+ * @type {number || null}
2541
+ */
2542
+ this.SumFlux = null;
2543
+
2544
+ /**
2545
+ * Detailed data information.
2546
+ * @type {Array.<BillDataInfo> || null}
2547
+ */
2548
+ this.DataInfoList = null;
2549
+
2550
+ /**
2551
+ * 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.
2552
+ * @type {string || null}
2553
+ */
2554
+ this.RequestId = null;
2555
+
2556
+ }
2557
+
2558
+ /**
2559
+ * @private
2560
+ */
2561
+ deserialize(params) {
2562
+ if (!params) {
2563
+ return;
2564
+ }
2565
+ this.PeakBandwidthTime = 'PeakBandwidthTime' in params ? params.PeakBandwidthTime : null;
2566
+ this.PeakBandwidth = 'PeakBandwidth' in params ? params.PeakBandwidth : null;
2567
+ this.P95PeakBandwidthTime = 'P95PeakBandwidthTime' in params ? params.P95PeakBandwidthTime : null;
2568
+ this.P95PeakBandwidth = 'P95PeakBandwidth' in params ? params.P95PeakBandwidth : null;
2569
+ this.SumFlux = 'SumFlux' in params ? params.SumFlux : null;
2570
+
2571
+ if (params.DataInfoList) {
2572
+ this.DataInfoList = new Array();
2573
+ for (let z in params.DataInfoList) {
2574
+ let obj = new BillDataInfo();
2575
+ obj.deserialize(params.DataInfoList[z]);
2576
+ this.DataInfoList.push(obj);
2577
+ }
2578
+ }
2579
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2580
+
2581
+ }
2582
+ }
2583
+
2506
2584
  /**
2507
2585
  * DescribeUploadStreamNums request structure.
2508
2586
  * @class
@@ -2804,6 +2882,88 @@ class DeleteLiveTranscodeRuleRequest extends AbstractModel {
2804
2882
  }
2805
2883
  }
2806
2884
 
2885
+ /**
2886
+ * DescribePushBandwidthAndFluxList request structure.
2887
+ * @class
2888
+ */
2889
+ class DescribePushBandwidthAndFluxListRequest extends AbstractModel {
2890
+ constructor(){
2891
+ super();
2892
+
2893
+ /**
2894
+ * Query start time point, accurate to minute granularity. The interface query supports two time formats:
2895
+
2896
+ YYYY-MM-DDThh:mm:ssZ: UTC time format, refer to ISO date format descriptionfor details.
2897
+
2898
+ YYYY-MM-DD hh:mm:ss: When using this format, it represents Beijing time by default.
2899
+
2900
+ Queries for the most recent two months are supported. The span between query start and end time cannot exceed 31 days.
2901
+ * @type {string || null}
2902
+ */
2903
+ this.StartTime = null;
2904
+
2905
+ /**
2906
+ * Query end time point, accurate to minute granularity. The interface query supports two time formats:
2907
+
2908
+ YYYY-MM-DDThh:mm:ssZ: UTC time format, refer to ISO date format descriptionfor details.
2909
+
2910
+ YYYY-MM-DD hh:mm:ss: When using this format, it represents Beijing time by default.
2911
+
2912
+ Queries for the most recent two months are supported. The span between query start and end time cannot exceed 31 days.
2913
+ * @type {string || null}
2914
+ */
2915
+ this.EndTime = null;
2916
+
2917
+ /**
2918
+ * Domain name, you can fill in multiple. If left blank, it represents the overall data.
2919
+ * @type {Array.<string> || null}
2920
+ */
2921
+ this.PushDomains = null;
2922
+
2923
+ /**
2924
+ * Optional values: Mainland: Query data for Mainland China (domestic). Oversea: Query data for international/regions such as Hong Kong, Macao, Taiwan (overseas). If left blank, it defaults to querying global data (domestic + overseas).
2925
+ * @type {string || null}
2926
+ */
2927
+ this.MainlandOrOversea = null;
2928
+
2929
+ /**
2930
+ * Data granularity, supports the following granularities: 5: 5-minute granularity (span cannot exceed 1 day), 60: 1-hour granularity (span cannot exceed 1 month), 1440: daily granularity (span cannot exceed 1 month). Default value: 5.
2931
+ * @type {number || null}
2932
+ */
2933
+ this.Granularity = null;
2934
+
2935
+ /**
2936
+ * Region, mapping table as follows: China Mainland: Mainland China, Asia Pacific I: Asia Pacific Region 1, Asia Pacific II: Asia Pacific Region 2, Asia Pacific III: Asia Pacific Region 3, Europe: Europe, North America: North America, South America: South America, Middle East: Middle East, Africa: Africa.
2937
+ * @type {Array.<string> || null}
2938
+ */
2939
+ this.RegionNames = null;
2940
+
2941
+ /**
2942
+ * Country, the mapping table is referenced as follows in the document: https://cloud.tencent.com/document/product/267/34019.
2943
+ * @type {Array.<string> || null}
2944
+ */
2945
+ this.CountryNames = null;
2946
+
2947
+ }
2948
+
2949
+ /**
2950
+ * @private
2951
+ */
2952
+ deserialize(params) {
2953
+ if (!params) {
2954
+ return;
2955
+ }
2956
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
2957
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
2958
+ this.PushDomains = 'PushDomains' in params ? params.PushDomains : null;
2959
+ this.MainlandOrOversea = 'MainlandOrOversea' in params ? params.MainlandOrOversea : null;
2960
+ this.Granularity = 'Granularity' in params ? params.Granularity : null;
2961
+ this.RegionNames = 'RegionNames' in params ? params.RegionNames : null;
2962
+ this.CountryNames = 'CountryNames' in params ? params.CountryNames : null;
2963
+
2964
+ }
2965
+ }
2966
+
2807
2967
  /**
2808
2968
  * CreateLiveRecordRule request structure.
2809
2969
  * @class
@@ -16116,12 +16276,14 @@ module.exports = {
16116
16276
  DeleteLivePullStreamTaskRequest: DeleteLivePullStreamTaskRequest,
16117
16277
  CreateLiveTimeShiftRuleRequest: CreateLiveTimeShiftRuleRequest,
16118
16278
  CommonMixOutputParams: CommonMixOutputParams,
16279
+ DescribePushBandwidthAndFluxListResponse: DescribePushBandwidthAndFluxListResponse,
16119
16280
  DescribeUploadStreamNumsRequest: DescribeUploadStreamNumsRequest,
16120
16281
  DescribeLiveSnapshotRulesResponse: DescribeLiveSnapshotRulesResponse,
16121
16282
  DescribeLiveTranscodeDetailInfoResponse: DescribeLiveTranscodeDetailInfoResponse,
16122
16283
  DescribeLiveDomainRequest: DescribeLiveDomainRequest,
16123
16284
  AuthenticateDomainOwnerResponse: AuthenticateDomainOwnerResponse,
16124
16285
  DeleteLiveTranscodeRuleRequest: DeleteLiveTranscodeRuleRequest,
16286
+ DescribePushBandwidthAndFluxListRequest: DescribePushBandwidthAndFluxListRequest,
16125
16287
  CreateLiveRecordRuleRequest: CreateLiveRecordRuleRequest,
16126
16288
  DescribeLiveSnapshotTemplatesRequest: DescribeLiveSnapshotTemplatesRequest,
16127
16289
  AddLiveWatermarkResponse: AddLiveWatermarkResponse,
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20210331: require("./v20210331"), v20181225: require("./v20181225"),
2
+ v20181225: require("./v20181225"), v20210331: require("./v20210331"),
3
3
  };