@alicloud/live20161101 2.3.3 → 2.4.0

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/dist/client.d.ts CHANGED
@@ -5468,6 +5468,21 @@ export default class Client extends OpenApi {
5468
5468
  * @returns DescribeLiveRecordVodConfigsResponse
5469
5469
  */
5470
5470
  describeLiveRecordVodConfigs(request: $_model.DescribeLiveRecordVodConfigsRequest): Promise<$_model.DescribeLiveRecordVodConfigsResponse>;
5471
+ /**
5472
+ * 云端录制用量
5473
+ *
5474
+ * @param request - DescribeLiveRtcRecordUsageDataRequest
5475
+ * @param runtime - runtime options for this request RuntimeOptions
5476
+ * @returns DescribeLiveRtcRecordUsageDataResponse
5477
+ */
5478
+ describeLiveRtcRecordUsageDataWithOptions(request: $_model.DescribeLiveRtcRecordUsageDataRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeLiveRtcRecordUsageDataResponse>;
5479
+ /**
5480
+ * 云端录制用量
5481
+ *
5482
+ * @param request - DescribeLiveRtcRecordUsageDataRequest
5483
+ * @returns DescribeLiveRtcRecordUsageDataResponse
5484
+ */
5485
+ describeLiveRtcRecordUsageData(request: $_model.DescribeLiveRtcRecordUsageDataRequest): Promise<$_model.DescribeLiveRtcRecordUsageDataResponse>;
5471
5486
  /**
5472
5487
  * Queries the time shifting configurations under a domain name.
5473
5488
  *
package/dist/client.js CHANGED
@@ -13672,6 +13672,57 @@ class Client extends openapi_core_1.default {
13672
13672
  let runtime = new $dara.RuntimeOptions({});
13673
13673
  return await this.describeLiveRecordVodConfigsWithOptions(request, runtime);
13674
13674
  }
13675
+ /**
13676
+ * 云端录制用量
13677
+ *
13678
+ * @param request - DescribeLiveRtcRecordUsageDataRequest
13679
+ * @param runtime - runtime options for this request RuntimeOptions
13680
+ * @returns DescribeLiveRtcRecordUsageDataResponse
13681
+ */
13682
+ async describeLiveRtcRecordUsageDataWithOptions(request, runtime) {
13683
+ request.validate();
13684
+ let query = {};
13685
+ if (!$dara.isNull(request.appId)) {
13686
+ query["AppId"] = request.appId;
13687
+ }
13688
+ if (!$dara.isNull(request.endTime)) {
13689
+ query["EndTime"] = request.endTime;
13690
+ }
13691
+ if (!$dara.isNull(request.interval)) {
13692
+ query["Interval"] = request.interval;
13693
+ }
13694
+ if (!$dara.isNull(request.recordMode)) {
13695
+ query["RecordMode"] = request.recordMode;
13696
+ }
13697
+ if (!$dara.isNull(request.startTime)) {
13698
+ query["StartTime"] = request.startTime;
13699
+ }
13700
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
13701
+ query: openapi_core_2.OpenApiUtil.query(query),
13702
+ });
13703
+ let params = new openapi_core_2.$OpenApiUtil.Params({
13704
+ action: "DescribeLiveRtcRecordUsageData",
13705
+ version: "2016-11-01",
13706
+ protocol: "HTTPS",
13707
+ pathname: "/",
13708
+ method: "POST",
13709
+ authType: "AK",
13710
+ style: "RPC",
13711
+ reqBodyType: "formData",
13712
+ bodyType: "json",
13713
+ });
13714
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeLiveRtcRecordUsageDataResponse({}));
13715
+ }
13716
+ /**
13717
+ * 云端录制用量
13718
+ *
13719
+ * @param request - DescribeLiveRtcRecordUsageDataRequest
13720
+ * @returns DescribeLiveRtcRecordUsageDataResponse
13721
+ */
13722
+ async describeLiveRtcRecordUsageData(request) {
13723
+ let runtime = new $dara.RuntimeOptions({});
13724
+ return await this.describeLiveRtcRecordUsageDataWithOptions(request, runtime);
13725
+ }
13675
13726
  /**
13676
13727
  * Queries the time shifting configurations under a domain name.
13677
13728
  *