tencentcloud-sdk-nodejs 4.0.532 → 4.0.533

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.
Files changed (54) hide show
  1. package/CHANGELOG.md +284 -0
  2. package/SERVICE_CHANGELOG.md +448 -40
  3. package/package.json +1 -1
  4. package/products.md +18 -18
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdwch/v20200915/cdwch_client.ts +92 -3
  7. package/src/services/cdwch/v20200915/cdwch_models.ts +532 -33
  8. package/src/services/clb/v20180317/clb_models.ts +2 -2
  9. package/src/services/cynosdb/v20190107/cynosdb_client.ts +13 -1
  10. package/src/services/cynosdb/v20190107/cynosdb_models.ts +39 -14
  11. package/src/services/dasb/v20191018/dasb_client.ts +1 -0
  12. package/src/services/dasb/v20191018/dasb_models.ts +29 -0
  13. package/src/services/dlc/v20210125/dlc_client.ts +12 -0
  14. package/src/services/dlc/v20210125/dlc_models.ts +68 -5
  15. package/src/services/iotvideo/v20211125/iotvideo_models.ts +5 -0
  16. package/src/services/live/v20180801/live_client.ts +106 -20
  17. package/src/services/live/v20180801/live_models.ts +540 -220
  18. package/src/services/redis/v20180412/redis_models.ts +1 -1
  19. package/src/services/tem/v20210701/tem_models.ts +29 -9
  20. package/src/services/teo/v20220901/teo_models.ts +11 -10
  21. package/src/services/tiia/v20190529/tiia_models.ts +3 -3
  22. package/src/services/vm/v20201229/vm_models.ts +6 -0
  23. package/src/services/vod/v20180717/vod_client.ts +106 -53
  24. package/src/services/vod/v20180717/vod_models.ts +320 -100
  25. package/tencentcloud/common/sdk_version.d.ts +1 -1
  26. package/tencentcloud/common/sdk_version.js +1 -1
  27. package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +29 -1
  28. package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +42 -0
  29. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +455 -33
  30. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2 -2
  31. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  32. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  33. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +34 -12
  34. package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +25 -0
  35. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
  36. package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
  37. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +57 -5
  38. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +4 -0
  39. package/tencentcloud/services/live/v20180801/live_client.d.ts +34 -5
  40. package/tencentcloud/services/live/v20180801/live_client.js +49 -6
  41. package/tencentcloud/services/live/v20180801/live_models.d.ts +453 -176
  42. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
  43. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +25 -9
  44. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +11 -10
  45. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +3 -3
  46. package/tencentcloud/services/vm/v20201229/vm_models.d.ts +5 -0
  47. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +37 -18
  48. package/tencentcloud/services/vod/v20180717/vod_client.js +51 -24
  49. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +271 -84
  50. package/test/cdwch.v20200915.test.js +70 -0
  51. package/test/cynosdb.v20190107.test.js +10 -0
  52. package/test/dlc.v20210125.test.js +10 -0
  53. package/test/live.v20180801.test.js +74 -4
  54. package/test/vod.v20180717.test.js +54 -14
@@ -732,6 +732,23 @@ export interface ModifyLivePlayAuthKeyRequest {
732
732
  * DescribeLiveDelayInfoList请求参数结构体
733
733
  */
734
734
  export declare type DescribeLiveDelayInfoListRequest = null;
735
+ /**
736
+ * HTTP返回码数据信息
737
+ */
738
+ export interface HttpCodeValue {
739
+ /**
740
+ * 时间,格式:yyyy-mm-dd HH:MM:SS。
741
+ */
742
+ Time: string;
743
+ /**
744
+ * 次数。
745
+ */
746
+ Numbers: number;
747
+ /**
748
+ * 占比。
749
+ */
750
+ Percentage: number;
751
+ }
735
752
  /**
736
753
  * 域名证书信息
737
754
  */
@@ -789,60 +806,13 @@ export interface DomainCertInfo {
789
806
  CloudCertId?: string;
790
807
  }
791
808
  /**
792
- * 录制模板信息
809
+ * CreateLiveTimeShiftRule返回参数结构体
793
810
  */
794
- export interface RecordTemplateInfo {
811
+ export interface CreateLiveTimeShiftRuleResponse {
795
812
  /**
796
- * 模板 ID。
797
- */
798
- TemplateId: number;
799
- /**
800
- * 模板名称。
801
- */
802
- TemplateName: string;
803
- /**
804
- * 描述信息。
805
- */
806
- Description: string;
807
- /**
808
- * FLV 录制参数。
809
- */
810
- FlvParam: RecordParam;
811
- /**
812
- * HLS 录制参数。
813
- */
814
- HlsParam: RecordParam;
815
- /**
816
- * MP4 录制参数。
817
- */
818
- Mp4Param: RecordParam;
819
- /**
820
- * AAC 录制参数。
821
- */
822
- AacParam: RecordParam;
823
- /**
824
- * 0:普通直播,
825
- 1:慢直播。
826
- */
827
- IsDelayLive: number;
828
- /**
829
- * HLS 录制定制参数。
830
- */
831
- HlsSpecialParam: HlsSpecialParam;
832
- /**
833
- * MP3 录制参数。
834
- */
835
- Mp3Param: RecordParam;
836
- /**
837
- * 是否去除水印。
838
- 注意:此字段可能返回 null,表示取不到有效值。
839
- */
840
- RemoveWatermark: boolean;
841
- /**
842
- * FLV 录制定制参数。
843
- 注意:此字段可能返回 null,表示取不到有效值。
813
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
844
814
  */
845
- FlvSpecialParam: FlvSpecialParam;
815
+ RequestId?: string;
846
816
  }
847
817
  /**
848
818
  * DeleteLiveTranscodeRule返回参数结构体
@@ -1138,6 +1108,28 @@ export interface DeleteLivePullStreamTaskRequest {
1138
1108
  */
1139
1109
  Operator: string;
1140
1110
  }
1111
+ /**
1112
+ * CreateLiveTimeShiftRule请求参数结构体
1113
+ */
1114
+ export interface CreateLiveTimeShiftRuleRequest {
1115
+ /**
1116
+ * 推流域名。
1117
+ */
1118
+ DomainName: string;
1119
+ /**
1120
+ * 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
1121
+ */
1122
+ AppName: string;
1123
+ /**
1124
+ * 流名称。
1125
+ 注:如果本参数设置为非空字符串,规则将只对此推流起作用。
1126
+ */
1127
+ StreamName: string;
1128
+ /**
1129
+ * 模板 ID。
1130
+ */
1131
+ TemplateId: number;
1132
+ }
1141
1133
  /**
1142
1134
  * 通用混流输出参数。
1143
1135
  */
@@ -2042,22 +2034,9 @@ export interface DescribePlayErrorCodeSumInfoListResponse {
2042
2034
  RequestId?: string;
2043
2035
  }
2044
2036
  /**
2045
- * UnBindLiveDomainCert请求参数结构体
2037
+ * DescribeLiveTimeShiftTemplates请求参数结构体
2046
2038
  */
2047
- export interface UnBindLiveDomainCertRequest {
2048
- /**
2049
- * 播放域名。
2050
- */
2051
- DomainName: string;
2052
- /**
2053
- * 枚举值:
2054
- gray: 解绑灰度规则
2055
- formal(默认): 解绑正式规则
2056
-
2057
- 不传则为formal
2058
- */
2059
- Type?: string;
2060
- }
2039
+ export declare type DescribeLiveTimeShiftTemplatesRequest = null;
2061
2040
  /**
2062
2041
  * DeleteLiveRecord返回参数结构体
2063
2042
  */
@@ -2162,6 +2141,56 @@ export interface TimeValue {
2162
2141
  */
2163
2142
  Num: number;
2164
2143
  }
2144
+ /**
2145
+ * ModifyLiveTimeShiftTemplate请求参数结构体
2146
+ */
2147
+ export interface ModifyLiveTimeShiftTemplateRequest {
2148
+ /**
2149
+ * 时移模板id。
2150
+ */
2151
+ TemplateId: number;
2152
+ /**
2153
+ * 模板名称。
2154
+ 仅支持中文、英文、数字、_、-。
2155
+ */
2156
+ TemplateName?: string;
2157
+ /**
2158
+ * 描述信息。
2159
+ 长度上限:1024字节。
2160
+ 仅支持中文、英文、数字、_、-。
2161
+ */
2162
+ Description?: string;
2163
+ /**
2164
+ * 时移时长。
2165
+ 单位:s。
2166
+ */
2167
+ Duration?: number;
2168
+ /**
2169
+ * 分片时长。
2170
+ 可取3-10。
2171
+ 单位:s。
2172
+ 默认值:5。
2173
+ */
2174
+ ItemDuration?: number;
2175
+ /**
2176
+ * 是否去除水印。
2177
+ 传true则将录制原始流。
2178
+ 默认值:false。
2179
+ */
2180
+ RemoveWatermark?: boolean;
2181
+ /**
2182
+ * 转码流id列表。
2183
+ 此参数仅在 RemoveWatermark为false时生效。
2184
+ */
2185
+ TranscodeTemplateIds?: Array<number>;
2186
+ /**
2187
+ * 地域。
2188
+ Mainland:中国大陆。
2189
+ Overseas:海外及港澳台地区。
2190
+ 默认值:Mainland。
2191
+ */
2192
+ Area?: string;
2193
+ }
2165
2194
  /**
2166
2195
  * ModifyLiveDomainCertBindings返回参数结构体
2167
2196
  */
@@ -2421,6 +2450,53 @@ export interface BillAreaInfo {
2421
2450
  */
2422
2451
  Countrys: Array<BillCountryInfo>;
2423
2452
  }
2453
+ /**
2454
+ * 直播时移模板配置
2455
+ */
2456
+ export interface TimeShiftTemplate {
2457
+ /**
2458
+ * 模板名称。
2459
+ */
2460
+ TemplateName: string;
2461
+ /**
2462
+ * 时移时长。
2463
+ 单位:秒。
2464
+ */
2465
+ Duration: number;
2466
+ /**
2467
+ * 分片时长。
2468
+ 可取3-10。
2469
+ 单位:s。
2470
+ 默认值:5。
2471
+ */
2472
+ ItemDuration: number;
2473
+ /**
2474
+ * 模板id。
2475
+ */
2476
+ TemplateId?: number;
2477
+ /**
2478
+ * 模板描述。
2479
+ */
2480
+ Description?: string;
2481
+ /**
2482
+ * 地域:
2483
+ Mainland:中国大陆;
2484
+ Overseas:海外及港澳台地区;
2485
+ 默认值:Mainland。
2486
+ */
2487
+ Area?: string;
2488
+ /**
2489
+ * 是否去除水印。
2490
+ 为true则将录制原始流。
2491
+ 默认值:false。
2492
+ */
2493
+ RemoveWatermark?: boolean;
2494
+ /**
2495
+ * 转码流id列表。
2496
+ 此参数仅在 RemoveWatermark为false时生效。
2497
+ */
2498
+ TranscodeTemplateIds?: Array<number>;
2499
+ }
2424
2500
  /**
2425
2501
  * 用作批量绑定域名和证书。
2426
2502
  */
@@ -2437,6 +2513,10 @@ export interface LiveCertDomainInfo {
2437
2513
  */
2438
2514
  Status: number;
2439
2515
  }
2516
+ /**
2517
+ * DescribeLiveTimeShiftRules请求参数结构体
2518
+ */
2519
+ export declare type DescribeLiveTimeShiftRulesRequest = null;
2440
2520
  /**
2441
2521
  * DescribeVisitTopSumInfoList请求参数结构体
2442
2522
  */
@@ -2509,13 +2589,24 @@ export interface ModifyPullStreamStatusResponse {
2509
2589
  RequestId?: string;
2510
2590
  }
2511
2591
  /**
2512
- * ModifyLivePlayDomain返回参数结构体
2592
+ * DeleteLiveTimeShiftRule请求参数结构体
2513
2593
  */
2514
- export interface ModifyLivePlayDomainResponse {
2594
+ export interface DeleteLiveTimeShiftRuleRequest {
2515
2595
  /**
2516
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2596
+ * 推流域名。
2597
+ 域名+AppName+StreamName唯一标识单个时移规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。
2517
2598
  */
2518
- RequestId?: string;
2599
+ DomainName: string;
2600
+ /**
2601
+ * 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
2602
+ 域名+AppName+StreamName唯一标识单个时移规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。
2603
+ */
2604
+ AppName: string;
2605
+ /**
2606
+ * 流名称。
2607
+ 域名+AppName+StreamName唯一标识单个时移规则,如需删除需要强匹配,例如AppName为空也需要传空字符串进行强匹配。
2608
+ */
2609
+ StreamName: string;
2519
2610
  }
2520
2611
  /**
2521
2612
  * CancelCommonMixStream返回参数结构体
@@ -3128,41 +3219,13 @@ export interface DropLiveStreamRequest {
3128
3219
  AppName: string;
3129
3220
  }
3130
3221
  /**
3131
- * UpdateLiveWatermark请求参数结构体
3222
+ * DeleteLiveTimeShiftRule返回参数结构体
3132
3223
  */
3133
- export interface UpdateLiveWatermarkRequest {
3134
- /**
3135
- * 水印 ID。
3136
- 在添加水印接口 [AddLiveWatermark](/document/product/267/30154) 调用返回值中获取水印 ID。
3137
- */
3138
- WatermarkId: number;
3139
- /**
3140
- * 水印图片 URL。
3141
- URL中禁止包含的字符:
3142
- ;(){}$>`#"\'|
3143
- */
3144
- PictureUrl: string;
3145
- /**
3146
- * 显示位置,X轴偏移,单位是百分比,默认 0。
3147
- */
3148
- XPosition: number;
3149
- /**
3150
- * 显示位置,Y轴偏移,单位是百分比,默认 0。
3151
- */
3152
- YPosition: number;
3153
- /**
3154
- * 水印名称。
3155
- 最长16字节。
3156
- */
3157
- WatermarkName?: string;
3158
- /**
3159
- * 水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。
3160
- */
3161
- Width?: number;
3224
+ export interface DeleteLiveTimeShiftRuleResponse {
3162
3225
  /**
3163
- * 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
3226
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3164
3227
  */
3165
- Height?: number;
3228
+ RequestId?: string;
3166
3229
  }
3167
3230
  /**
3168
3231
  * 云转推水印信息。
@@ -3199,6 +3262,23 @@ URL中禁止包含的字符:
3199
3262
  */
3200
3263
  Location: number;
3201
3264
  }
3265
+ /**
3266
+ * UnBindLiveDomainCert请求参数结构体
3267
+ */
3268
+ export interface UnBindLiveDomainCertRequest {
3269
+ /**
3270
+ * 播放域名。
3271
+ */
3272
+ DomainName: string;
3273
+ /**
3274
+ * 枚举值:
3275
+ gray: 解绑灰度规则
3276
+ formal(默认): 解绑正式规则
3277
+
3278
+ 不传则为formal
3279
+ */
3280
+ Type?: string;
3281
+ }
3202
3282
  /**
3203
3283
  * DescribeProvinceIspPlayInfoList返回参数结构体
3204
3284
  */
@@ -3564,48 +3644,50 @@ export interface DescribeLiveTranscodeRulesResponse {
3564
3644
  RequestId?: string;
3565
3645
  }
3566
3646
  /**
3567
- * 时移流。
3647
+ * CreateLiveTimeShiftTemplate请求参数结构体
3568
3648
  */
3569
- export interface TimeShiftStreamInfo {
3570
- /**
3571
- * 推流域名所属组。
3572
- 注意:此字段可能返回 null,表示取不到有效值。
3573
- */
3574
- DomainGroup?: string;
3649
+ export interface CreateLiveTimeShiftTemplateRequest {
3575
3650
  /**
3576
- * 推流域名。
3577
- */
3578
- Domain?: string;
3579
- /**
3580
- * 推流路径。
3651
+ * 模板名称。
3652
+ 长度上限:255字节。
3653
+ 仅支持中文、英文、数字、_、-。
3581
3654
  */
3582
- AppName?: string;
3655
+ TemplateName: string;
3583
3656
  /**
3584
- * 流名称。
3657
+ * 时移时长。
3658
+ 单位:s。
3585
3659
  */
3586
- StreamName?: string;
3660
+ Duration: number;
3587
3661
  /**
3588
- * 流起始时间,Unix 时间戳。
3662
+ * 描述信息。
3663
+ 仅支持中文、英文、数字、_、-。
3589
3664
  */
3590
- StartTime?: number;
3665
+ Description?: string;
3591
3666
  /**
3592
- * 截止查询时流结束时间,Unix 时间戳。
3667
+ * 地域。
3668
+ Mainland:中国大陆。
3669
+ Overseas:海外及港澳台地区。
3670
+ 默认值:Mainland。
3593
3671
  */
3594
- EndTime?: number;
3672
+ Area?: string;
3595
3673
  /**
3596
- * 转码模板ID。
3597
- 注意:此字段可能返回 null,表示取不到有效值。
3674
+ * 分片时长。
3675
+ 可取3-10。
3676
+ 单位:s。
3677
+ 默认值:5。
3598
3678
  */
3599
- TransCodeId?: number;
3679
+ ItemDuration?: number;
3600
3680
  /**
3601
- * 流类型,取值0为原始流,1为水印流,2为转码流。
3681
+ * 是否去除水印。
3682
+ 传true则将录制原始流。
3683
+ 默认值:false。
3602
3684
  */
3603
- StreamType?: number;
3685
+ RemoveWatermark?: boolean;
3604
3686
  /**
3605
- * 时移数据存储时长,单位秒。
3606
- 注意:此字段可能返回 null,表示取不到有效值。
3687
+ * 转码流id列表。
3688
+ 此参数仅在 RemoveWatermark为false时生效。
3607
3689
  */
3608
- Duration?: number;
3690
+ TranscodeTemplateIds?: Array<number>;
3609
3691
  }
3610
3692
  /**
3611
3693
  * DescribeLiveDomainReferer返回参数结构体
@@ -3799,24 +3881,22 @@ export interface CreatePullStreamConfigRequest {
3799
3881
  */
3800
3882
  export declare type DescribeLiveCertsRequest = null;
3801
3883
  /**
3802
- * DescribeLivePullStreamTasks请求参数结构体
3884
+ * DeleteLiveTimeShiftTemplate请求参数结构体
3803
3885
  */
3804
- export interface DescribeLivePullStreamTasksRequest {
3886
+ export interface DeleteLiveTimeShiftTemplateRequest {
3805
3887
  /**
3806
- * 任务 ID。
3807
- 来源:调用 CreateLivePullStreamTask 接口时返回。
3808
- 不填默认查询所有任务,按更新时间倒序排序。
3809
- */
3810
- TaskId?: string;
3811
- /**
3812
- * 取得第几页,默认值:1。
3888
+ * 模板 ID。
3813
3889
  */
3814
- PageNum?: number;
3890
+ TemplateId: number;
3891
+ }
3892
+ /**
3893
+ * ModifyLivePlayDomain返回参数结构体
3894
+ */
3895
+ export interface ModifyLivePlayDomainResponse {
3815
3896
  /**
3816
- * 分页大小,默认值:10
3817
- 取值范围:1~20 之前的任意整数。
3897
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
3818
3898
  */
3819
- PageSize?: number;
3899
+ RequestId?: string;
3820
3900
  }
3821
3901
  /**
3822
3902
  * 下行播放统计指标
@@ -4101,33 +4181,9 @@ export interface DescribeStreamPushInfoListRequest {
4101
4181
  AppName?: string;
4102
4182
  }
4103
4183
  /**
4104
- * DescribeLivePullStreamTasks返回参数结构体
4184
+ * DeleteLiveTimeShiftTemplate返回参数结构体
4105
4185
  */
4106
- export interface DescribeLivePullStreamTasksResponse {
4107
- /**
4108
- * 直播拉流任务信息列表。
4109
- */
4110
- TaskInfos: Array<PullStreamTaskInfo>;
4111
- /**
4112
- * 分页的页码。
4113
- */
4114
- PageNum: number;
4115
- /**
4116
- * 每页大小。
4117
- */
4118
- PageSize: number;
4119
- /**
4120
- * 符合条件的总个数。
4121
- */
4122
- TotalNum: number;
4123
- /**
4124
- * 总页数。
4125
- */
4126
- TotalPage: number;
4127
- /**
4128
- * 限制可创建的最大任务数。
4129
- */
4130
- LimitTaskNum: number;
4186
+ export interface DeleteLiveTimeShiftTemplateResponse {
4131
4187
  /**
4132
4188
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4133
4189
  */
@@ -4285,6 +4341,15 @@ AreaId为4的时候,IspId只能为其他。如有改动,需同时传入AreaI
4285
4341
  */
4286
4342
  EndTime?: string;
4287
4343
  }
4344
+ /**
4345
+ * ModifyLiveTimeShiftTemplate返回参数结构体
4346
+ */
4347
+ export interface ModifyLiveTimeShiftTemplateResponse {
4348
+ /**
4349
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4350
+ */
4351
+ RequestId?: string;
4352
+ }
4288
4353
  /**
4289
4354
  * DescribeStreamPushInfoList返回参数结构体
4290
4355
  */
@@ -5255,6 +5320,62 @@ NormalLive:普通直播。
5255
5320
  */
5256
5321
  PushDomains?: Array<string>;
5257
5322
  }
5323
+ /**
5324
+ * 录制模板信息
5325
+ */
5326
+ export interface RecordTemplateInfo {
5327
+ /**
5328
+ * 模板 ID。
5329
+ */
5330
+ TemplateId: number;
5331
+ /**
5332
+ * 模板名称。
5333
+ */
5334
+ TemplateName: string;
5335
+ /**
5336
+ * 描述信息。
5337
+ */
5338
+ Description: string;
5339
+ /**
5340
+ * FLV 录制参数。
5341
+ */
5342
+ FlvParam: RecordParam;
5343
+ /**
5344
+ * HLS 录制参数。
5345
+ */
5346
+ HlsParam: RecordParam;
5347
+ /**
5348
+ * MP4 录制参数。
5349
+ */
5350
+ Mp4Param: RecordParam;
5351
+ /**
5352
+ * AAC 录制参数。
5353
+ */
5354
+ AacParam: RecordParam;
5355
+ /**
5356
+ * 0:普通直播,
5357
+ 1:慢直播。
5358
+ */
5359
+ IsDelayLive: number;
5360
+ /**
5361
+ * HLS 录制定制参数。
5362
+ */
5363
+ HlsSpecialParam: HlsSpecialParam;
5364
+ /**
5365
+ * MP3 录制参数。
5366
+ */
5367
+ Mp3Param: RecordParam;
5368
+ /**
5369
+ * 是否去除水印。
5370
+ 注意:此字段可能返回 null,表示取不到有效值。
5371
+ */
5372
+ RemoveWatermark: boolean;
5373
+ /**
5374
+ * FLV 录制定制参数。
5375
+ 注意:此字段可能返回 null,表示取不到有效值。
5376
+ */
5377
+ FlvSpecialParam: FlvSpecialParam;
5378
+ }
5258
5379
  /**
5259
5380
  * DeleteScreenshotTask返回参数结构体
5260
5381
  */
@@ -5398,6 +5519,50 @@ export interface DescribePlayErrorCodeDetailInfoListResponse {
5398
5519
  */
5399
5520
  RequestId?: string;
5400
5521
  }
5522
+ /**
5523
+ * 时移流。
5524
+ */
5525
+ export interface TimeShiftStreamInfo {
5526
+ /**
5527
+ * 推流域名所属组。
5528
+ 注意:此字段可能返回 null,表示取不到有效值。
5529
+ */
5530
+ DomainGroup?: string;
5531
+ /**
5532
+ * 推流域名。
5533
+ */
5534
+ Domain?: string;
5535
+ /**
5536
+ * 推流路径。
5537
+ */
5538
+ AppName?: string;
5539
+ /**
5540
+ * 流名称。
5541
+ */
5542
+ StreamName?: string;
5543
+ /**
5544
+ * 流起始时间,Unix 时间戳。
5545
+ */
5546
+ StartTime?: number;
5547
+ /**
5548
+ * 截止查询时流结束时间,Unix 时间戳。
5549
+ */
5550
+ EndTime?: number;
5551
+ /**
5552
+ * 转码模板ID。
5553
+ 注意:此字段可能返回 null,表示取不到有效值。
5554
+ */
5555
+ TransCodeId?: number;
5556
+ /**
5557
+ * 流类型,取值0为原始流,1为水印流,2为转码流。
5558
+ */
5559
+ StreamType?: number;
5560
+ /**
5561
+ * 时移数据存储时长,单位秒。
5562
+ 注意:此字段可能返回 null,表示取不到有效值。
5563
+ */
5564
+ Duration?: number;
5565
+ }
5401
5566
  /**
5402
5567
  * CreateLiveRecordTemplate返回参数结构体
5403
5568
  */
@@ -5800,6 +5965,19 @@ export interface DescribeLiveStreamPublishedListResponse {
5800
5965
  */
5801
5966
  RequestId?: string;
5802
5967
  }
5968
+ /**
5969
+ * DescribeLiveTimeShiftRules返回参数结构体
5970
+ */
5971
+ export interface DescribeLiveTimeShiftRulesResponse {
5972
+ /**
5973
+ * 规则信息列表。
5974
+ */
5975
+ Rules: Array<RuleInfo>;
5976
+ /**
5977
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5978
+ */
5979
+ RequestId?: string;
5980
+ }
5803
5981
  /**
5804
5982
  * DeleteLiveDomain请求参数结构体
5805
5983
  */
@@ -5822,6 +6000,19 @@ export interface ForbidLiveDomainResponse {
5822
6000
  */
5823
6001
  RequestId?: string;
5824
6002
  }
6003
+ /**
6004
+ * DescribeLiveTimeShiftTemplates返回参数结构体
6005
+ */
6006
+ export interface DescribeLiveTimeShiftTemplatesResponse {
6007
+ /**
6008
+ * 直播时移模板信息。
6009
+ */
6010
+ Templates: Array<TimeShiftTemplate>;
6011
+ /**
6012
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6013
+ */
6014
+ RequestId?: string;
6015
+ }
5825
6016
  /**
5826
6017
  * AddDelayLiveStream返回参数结构体
5827
6018
  */
@@ -6105,6 +6296,39 @@ export interface CreateRecordTaskRequest {
6105
6296
  */
6106
6297
  Extension?: string;
6107
6298
  }
6299
+ /**
6300
+ * DescribeLivePullStreamTasks返回参数结构体
6301
+ */
6302
+ export interface DescribeLivePullStreamTasksResponse {
6303
+ /**
6304
+ * 直播拉流任务信息列表。
6305
+ */
6306
+ TaskInfos: Array<PullStreamTaskInfo>;
6307
+ /**
6308
+ * 分页的页码。
6309
+ */
6310
+ PageNum: number;
6311
+ /**
6312
+ * 每页大小。
6313
+ */
6314
+ PageSize: number;
6315
+ /**
6316
+ * 符合条件的总个数。
6317
+ */
6318
+ TotalNum: number;
6319
+ /**
6320
+ * 总页数。
6321
+ */
6322
+ TotalPage: number;
6323
+ /**
6324
+ * 限制可创建的最大任务数。
6325
+ */
6326
+ LimitTaskNum: number;
6327
+ /**
6328
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6329
+ */
6330
+ RequestId?: string;
6331
+ }
6108
6332
  /**
6109
6333
  * CreateLiveTranscodeRule返回参数结构体
6110
6334
  */
@@ -6376,21 +6600,24 @@ export interface DescribeLiveDomainPlayInfoListResponse {
6376
6600
  RequestId?: string;
6377
6601
  }
6378
6602
  /**
6379
- * HTTP返回码数据信息
6603
+ * DescribeLivePullStreamTasks请求参数结构体
6380
6604
  */
6381
- export interface HttpCodeValue {
6605
+ export interface DescribeLivePullStreamTasksRequest {
6382
6606
  /**
6383
- * 时间,格式:yyyy-mm-dd HH:MM:SS
6607
+ * 任务 ID
6608
+ 来源:调用 CreateLivePullStreamTask 接口时返回。
6609
+ 不填默认查询所有任务,按更新时间倒序排序。
6384
6610
  */
6385
- Time: string;
6611
+ TaskId?: string;
6386
6612
  /**
6387
- * 次数。
6613
+ * 取得第几页,默认值:1。
6388
6614
  */
6389
- Numbers: number;
6615
+ PageNum?: number;
6390
6616
  /**
6391
- * 占比。
6617
+ * 分页大小,默认值:10。
6618
+ 取值范围:1~20 之前的任意整数。
6392
6619
  */
6393
- Percentage: number;
6620
+ PageSize?: number;
6394
6621
  }
6395
6622
  /**
6396
6623
  * DescribeLiveStreamOnlineList请求参数结构体
@@ -6945,6 +7172,56 @@ PullVodPushLive -点播。
6945
7172
  */
6946
7173
  VodLocalMode: number;
6947
7174
  }
7175
+ /**
7176
+ * UpdateLiveWatermark请求参数结构体
7177
+ */
7178
+ export interface UpdateLiveWatermarkRequest {
7179
+ /**
7180
+ * 水印 ID。
7181
+ 在添加水印接口 [AddLiveWatermark](/document/product/267/30154) 调用返回值中获取水印 ID。
7182
+ */
7183
+ WatermarkId: number;
7184
+ /**
7185
+ * 水印图片 URL。
7186
+ URL中禁止包含的字符:
7187
+ ;(){}$>`#"\'|
7188
+ */
7189
+ PictureUrl: string;
7190
+ /**
7191
+ * 显示位置,X轴偏移,单位是百分比,默认 0。
7192
+ */
7193
+ XPosition: number;
7194
+ /**
7195
+ * 显示位置,Y轴偏移,单位是百分比,默认 0。
7196
+ */
7197
+ YPosition: number;
7198
+ /**
7199
+ * 水印名称。
7200
+ 最长16字节。
7201
+ */
7202
+ WatermarkName?: string;
7203
+ /**
7204
+ * 水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。
7205
+ */
7206
+ Width?: number;
7207
+ /**
7208
+ * 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
7209
+ */
7210
+ Height?: number;
7211
+ }
7212
+ /**
7213
+ * CreateLiveTimeShiftTemplate返回参数结构体
7214
+ */
7215
+ export interface CreateLiveTimeShiftTemplateResponse {
7216
+ /**
7217
+ * 模板Id。
7218
+ */
7219
+ TemplateId: number;
7220
+ /**
7221
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7222
+ */
7223
+ RequestId?: string;
7224
+ }
6948
7225
  /**
6949
7226
  * DescribeStreamDayPlayInfoList返回参数结构体
6950
7227
  */