tencentcloud-sdk-nodejs 4.1.227 → 4.1.229
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/es/common/sdk_version.js +1 -1
- package/es/services/cfw/v20190904/cfw_client.js +5 -2
- package/es/services/cls/v20201016/cls_client.js +34 -10
- package/es/services/ioa/v20220601/ioa_client.js +3 -0
- package/es/services/live/v20180801/live_client.js +17 -11
- package/es/services/mps/v20190612/mps_client.js +3 -0
- package/es/services/mqtt/v20240516/mqtt_client.js +6 -0
- package/es/services/ocr/v20181119/ocr_client.js +154 -181
- package/es/services/tdmq/v20200217/tdmq_client.js +3 -0
- package/es/services/trtc/v20190722/trtc_client.js +13 -4
- package/es/services/vod/v20180717/vod_client.js +16 -7
- package/es/services/waf/v20180125/waf_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +136 -116
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +7 -3
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +9 -3
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +99 -28
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +43 -11
- package/tencentcloud/services/cls/v20201016/cls_client.js +63 -15
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +650 -192
- package/tencentcloud/services/cme/v20191029/cme_client.d.ts +13 -13
- package/tencentcloud/services/cme/v20191029/cme_client.js +13 -13
- package/tencentcloud/services/ctsdb/v20230202/ctsdb_client.d.ts +1 -1
- package/tencentcloud/services/ctsdb/v20230202/ctsdb_models.d.ts +6 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +151 -182
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +8 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +245 -203
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -50
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +2 -2
- package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +5 -1
- package/tencentcloud/services/ioa/v20220601/ioa_client.js +6 -0
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +94 -72
- package/tencentcloud/services/live/v20180801/live_client.d.ts +21 -13
- package/tencentcloud/services/live/v20180801/live_client.js +30 -18
- package/tencentcloud/services/live/v20180801/live_models.d.ts +217 -16
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +56 -30
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +7 -3
- package/tencentcloud/services/mps/v20190612/mps_client.js +8 -2
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +93 -95
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +9 -1
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +12 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +115 -26
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +599 -662
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +738 -819
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6405 -6898
- package/tencentcloud/services/smh/v20210712/smh_models.d.ts +1 -1
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +18 -6
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +9 -10
- package/tencentcloud/services/tdai/v20250717/tdai_client.d.ts +1 -1
- package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +120 -74
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +443 -0
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +40 -0
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +27 -6
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +34 -7
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +259 -108
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +59 -47
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +21 -4
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +33 -22
- package/tencentcloud/services/vod/v20180717/vod_client.js +42 -25
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1294 -514
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +107 -22
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +3 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +3 -1
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +14 -10
|
@@ -1213,28 +1213,17 @@ export interface AdBreakInfo {
|
|
|
1213
1213
|
SourceLocationName?: string;
|
|
1214
1214
|
}
|
|
1215
1215
|
/**
|
|
1216
|
-
*
|
|
1216
|
+
* 自动探测硬字幕区域中,表示字幕区域坐标的数据结构。同时包含置信度。
|
|
1217
1217
|
*/
|
|
1218
|
-
export interface
|
|
1219
|
-
/**
|
|
1220
|
-
* 用户自定文本审核任务开关,可选值:
|
|
1221
|
-
<li>ON:开启自定义文本审核任务;</li>
|
|
1222
|
-
<li>OFF:关闭自定义文本审核任务。</li>
|
|
1223
|
-
*/
|
|
1224
|
-
Switch?: string;
|
|
1218
|
+
export interface SubtitleArea {
|
|
1225
1219
|
/**
|
|
1226
|
-
*
|
|
1227
|
-
标签个数最多 10 个,每个标签长度最多 16 个字符。
|
|
1220
|
+
* <p>检测到的字幕区域</p>
|
|
1228
1221
|
*/
|
|
1229
|
-
|
|
1222
|
+
Area?: EraseArea;
|
|
1230
1223
|
/**
|
|
1231
|
-
*
|
|
1224
|
+
* <p>检测区域的置信度</p><p>取值范围:[0, 100]</p>
|
|
1232
1225
|
*/
|
|
1233
|
-
|
|
1234
|
-
/**
|
|
1235
|
-
* 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
|
|
1236
|
-
*/
|
|
1237
|
-
ReviewConfidence?: number;
|
|
1226
|
+
Confidence?: number;
|
|
1238
1227
|
}
|
|
1239
1228
|
/**
|
|
1240
1229
|
* 编排视频分析任务结果类型
|
|
@@ -2777,50 +2766,27 @@ export interface ModifyWordSampleResponse {
|
|
|
2777
2766
|
*/
|
|
2778
2767
|
export interface AudioTemplateInfoForUpdate {
|
|
2779
2768
|
/**
|
|
2780
|
-
*
|
|
2781
|
-
当不需要对音频进行转码时,可选值为:
|
|
2782
|
-
<li>copy。</li>
|
|
2783
|
-
当外层参数 Container 为 mp3 时,可选值为:
|
|
2784
|
-
<li>mp3。</li>
|
|
2785
|
-
当外层参数 Container 为 ogg 或 flac 时,可选值为:
|
|
2786
|
-
<li>flac。</li>
|
|
2787
|
-
当外层参数 Container 为 m4a 时,可选值为:
|
|
2788
|
-
<li>aac;</li>
|
|
2789
|
-
<li>ac3。</li>
|
|
2790
|
-
当外层参数 Container 为 mp4 或 flv 时,可选值为:
|
|
2791
|
-
<li>aac:更适合 mp4;</li>
|
|
2792
|
-
<li>mp3:更适合 flv;</li>
|
|
2793
|
-
<li>mp2。</li>
|
|
2794
|
-
当外层参数 Container 为 hls 时,可选值为:
|
|
2795
|
-
<li>aac;</li>
|
|
2796
|
-
<li>mp3。</li>
|
|
2769
|
+
* <p>音频流的编码格式。<br>当不需要对音频进行转码时,可选值为:</p><li>copy。</li>当外层参数 Container 为 mp3 时,可选值为:<li>mp3。</li>当外层参数 Container 为 ogg 或 flac 时,可选值为:<li>flac。</li>当外层参数 Container 为 m4a 时,可选值为:<li>aac;</li><li>ac3。</li>当外层参数 Container 为 mp4 或 flv 时,可选值为:<li>aac:更适合 mp4;</li><li>mp3:更适合 flv;</li><li>mp2。</li>当外层参数 Container 为 hls 时,可选值为:<li>aac;</li><li>mp3。</li>当外层参数 Container 为 wav时,可选值为:<li>pcm16, pcm24;</li>
|
|
2797
2770
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2798
2771
|
*/
|
|
2799
2772
|
Codec?: string;
|
|
2800
2773
|
/**
|
|
2801
|
-
*
|
|
2774
|
+
* <p>音频流的码率,取值范围:0 和 [26, 256],单位:kbps。 当取值为 0,表示音频码率和原始音频保持一致。</p>
|
|
2802
2775
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2803
2776
|
*/
|
|
2804
2777
|
Bitrate?: number;
|
|
2805
2778
|
/**
|
|
2806
|
-
*
|
|
2807
|
-
详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
|
|
2808
|
-
单位:Hz
|
|
2809
|
-
注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
|
|
2779
|
+
* <p>音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。<br>详细参考<a href="https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53">音频采样率支持范围文档</a><br>单位:Hz<br>注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!</p>
|
|
2810
2780
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2811
2781
|
*/
|
|
2812
2782
|
SampleRate?: number;
|
|
2813
2783
|
/**
|
|
2814
|
-
*
|
|
2815
|
-
<li>1:单通道</li>
|
|
2816
|
-
<li>2:双通道</li>
|
|
2817
|
-
<li>6:5.1声道</li>
|
|
2818
|
-
当媒体的封装格式是音频格式时(flac,ogg,mp3,m4a)时,声道数不允许设为5.1声道。
|
|
2784
|
+
* <p>音频通道方式,可选值:</p><li>0:声道数随源</li><li>1:单通道</li><li>2:双通道</li><li>6:5.1声道</li>当媒体的封装格式是音频格式(mp3)时,声道数不允许设为5.1声道。<p>默认值:2。<br>注意:设置音频声道随源时,如果转码音频编码格式不支持当前声道,转码任务可能会失败。</p>
|
|
2819
2785
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2820
2786
|
*/
|
|
2821
2787
|
AudioChannel?: number;
|
|
2822
2788
|
/**
|
|
2823
|
-
*
|
|
2789
|
+
* <p>指定输出要保留的音频轨道。默认是全部保留源的。</p>
|
|
2824
2790
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2825
2791
|
*/
|
|
2826
2792
|
StreamSelects?: Array<number | bigint>;
|
|
@@ -3235,57 +3201,23 @@ export interface HLSConfigureInfo {
|
|
|
3235
3201
|
*/
|
|
3236
3202
|
export interface AudioTemplateInfo {
|
|
3237
3203
|
/**
|
|
3238
|
-
*
|
|
3239
|
-
当不需要对音频进行转码时,可选值为:
|
|
3240
|
-
<li>copy。</li>
|
|
3241
|
-
当外层参数 Container 为 mp3 时,可选值为:
|
|
3242
|
-
<li>mp3。</li>
|
|
3243
|
-
当外层参数 Container 为 ogg 或 flac 时,可选值为:
|
|
3244
|
-
<li>flac。</li>
|
|
3245
|
-
当外层参数 Container 为 m4a 时,可选值为:
|
|
3246
|
-
<li>aac;</li>
|
|
3247
|
-
<li>ac3。</li>
|
|
3248
|
-
当外层参数 Container 为 mp4 或 flv 时,可选值为:
|
|
3249
|
-
<li>aac:更适合 mp4;</li>
|
|
3250
|
-
<li>mp3:更适合 flv;</li>
|
|
3251
|
-
<li>mp2。</li>
|
|
3252
|
-
当外层参数 Container 为 hls 时,可选值为:
|
|
3253
|
-
<li>aac;</li>
|
|
3254
|
-
<li>mp3;</li>
|
|
3255
|
-
<li>eac3:自适应转码音轨合并时使用。</li>
|
|
3204
|
+
* <p>音频流的编码格式。<br>当不需要对音频进行转码时,可选值为:</p><li>copy。</li>当外层参数 Container 为 mp3 时,可选值为:<li>mp3。</li>当外层参数 Container 为 ogg 或 flac 时,可选值为:<li>flac。</li>当外层参数 Container 为 m4a 时,可选值为:<li>aac;</li><li>ac3。</li>当外层参数 Container 为 mp4 或 flv 时,可选值为:<li>aac:更适合 mp4;</li><li>mp3:更适合 flv;</li><li>mp2。</li>当外层参数 Container 为 hls 时,可选值为:<li>aac;</li><li>mp3;</li><li>eac3:自适应转码音轨合并时使用。</li>当外层参数 Container 为 wav时,可选值为:<li>pcm16, pcm24;</li>
|
|
3256
3205
|
*/
|
|
3257
3206
|
Codec: string;
|
|
3258
3207
|
/**
|
|
3259
|
-
*
|
|
3260
|
-
当取值为 0,表示音频码率和原始音频保持一致。
|
|
3261
|
-
注意:如果使用自适应转码音轨合并TrackChannelInfo参数,取值范围:
|
|
3262
|
-
1)、不能填0;
|
|
3263
|
-
2)、Codec为:aac时,取值范围:[26, 256];
|
|
3264
|
-
3)、Codec为:ac3时,取值范围:[26, 640];
|
|
3265
|
-
4)、Codec为:eac3时,取值范围:[26, 6144],备注:当SampleRate为44100HZ,最大值为:5644,当SampleRate为48000HZ,最大值为:6144,
|
|
3266
|
-
|
|
3267
|
-
|
|
3208
|
+
* <p>音频流的码率,取值范围:0 和 [26, 256],单位:kbps。<br>当取值为 0,表示音频码率和原始音频保持一致。<br>注意:如果使用自适应转码音轨合并TrackChannelInfo参数,取值范围:<br>1)、不能填0;<br>2)、Codec为:aac时,取值范围:[26, 256];<br>3)、Codec为:ac3时,取值范围:[26, 640];<br>4)、Codec为:eac3时,取值范围:[26, 6144],备注:当SampleRate为44100HZ,最大值为:5644,当SampleRate为48000HZ,最大值为:6144,</p>
|
|
3268
3209
|
*/
|
|
3269
3210
|
Bitrate: number;
|
|
3270
3211
|
/**
|
|
3271
|
-
*
|
|
3272
|
-
详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
|
|
3273
|
-
单位:Hz
|
|
3274
|
-
注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
|
|
3212
|
+
* <p>音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。<br>详细参考<a href="https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53">音频采样率支持范围文档</a><br>单位:Hz<br>注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!</p>
|
|
3275
3213
|
*/
|
|
3276
3214
|
SampleRate: number;
|
|
3277
3215
|
/**
|
|
3278
|
-
*
|
|
3279
|
-
<li>1:单通道</li>
|
|
3280
|
-
<li>2:双通道</li>
|
|
3281
|
-
<li>6:5.1声道</li>
|
|
3282
|
-
当媒体的封装格式是音频格式时(flac,ogg,mp3,m4a)时,声道数不允许设为5.1声道。
|
|
3283
|
-
默认值:2。
|
|
3216
|
+
* <p>音频通道方式,可选值:</p><li>0:声道数随源</li><li>1:单通道</li><li>2:双通道</li><li>6:5.1声道</li>当媒体的封装格式是音频格式(mp3)时,声道数不允许设为5.1声道。<p>默认值:2。<br>注意:设置音频声道随源时,如果转码音频编码格式不支持当前声道,转码任务可能会失败。</p>
|
|
3284
3217
|
*/
|
|
3285
3218
|
AudioChannel?: number;
|
|
3286
3219
|
/**
|
|
3287
|
-
*
|
|
3288
|
-
注意:此字段只是自适应转码生效,
|
|
3220
|
+
* <p>合并音轨信息。<br>注意:此字段只是自适应转码生效,</p>
|
|
3289
3221
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3290
3222
|
*/
|
|
3291
3223
|
TrackChannelInfo?: AudioTrackChannelInfo;
|
|
@@ -4470,6 +4402,10 @@ export interface AigcImageExtraParam {
|
|
|
4470
4402
|
* <p>是否添加图标水印。默认不加。1-添加,0-不添加。</p><p>取值范围:[0, 1]</p><p>默认值:0</p>
|
|
4471
4403
|
*/
|
|
4472
4404
|
LogoAdd?: number;
|
|
4405
|
+
/**
|
|
4406
|
+
* <p>指定图片的输出格式,支持jpeg, png。</p>
|
|
4407
|
+
*/
|
|
4408
|
+
OutputFormat?: string;
|
|
4473
4409
|
}
|
|
4474
4410
|
/**
|
|
4475
4411
|
* 智能分类结果信息
|
|
@@ -10838,7 +10774,7 @@ export interface SyncDubbingRequest {
|
|
|
10838
10774
|
*/
|
|
10839
10775
|
VoiceProfile?: VoiceProfile;
|
|
10840
10776
|
/**
|
|
10841
|
-
* <p>输出相关参数</p><p
|
|
10777
|
+
* <p>输出相关参数</p><p>可以指定输出形式等。默认输出音频base64。</p>
|
|
10842
10778
|
*/
|
|
10843
10779
|
Output?: SyncDubbingOutputOption;
|
|
10844
10780
|
/**
|
|
@@ -11924,17 +11860,21 @@ export interface BlindWatermarkTemplate {
|
|
|
11924
11860
|
Strength?: string;
|
|
11925
11861
|
}
|
|
11926
11862
|
/**
|
|
11927
|
-
*
|
|
11863
|
+
* DetectVideoSubtitleArea请求参数结构体
|
|
11928
11864
|
*/
|
|
11929
|
-
export interface
|
|
11865
|
+
export interface DetectVideoSubtitleAreaRequest {
|
|
11930
11866
|
/**
|
|
11931
|
-
*
|
|
11867
|
+
* <p>输入信息,当前仅支持 URL、COS</p>
|
|
11932
11868
|
*/
|
|
11933
|
-
|
|
11869
|
+
InputInfo: MediaInputInfo;
|
|
11934
11870
|
/**
|
|
11935
|
-
*
|
|
11871
|
+
* <p>视频的语言,如果明确知道视频的语言可以填写,提高识别准确率。</p><p>枚举值:</p><ul><li>zh_en: 中英</li><li>en: 英语</li><li>ja: 日语</li><li>ko: 韩语</li></ul>
|
|
11936
11872
|
*/
|
|
11937
|
-
|
|
11873
|
+
VideoLanguage?: string;
|
|
11874
|
+
/**
|
|
11875
|
+
* <p>扩展参数,默认不填</p>
|
|
11876
|
+
*/
|
|
11877
|
+
UserExtPara?: string;
|
|
11938
11878
|
}
|
|
11939
11879
|
/**
|
|
11940
11880
|
* DescribePersonSamples请求参数结构体
|
|
@@ -15418,6 +15358,27 @@ export interface ExtractBlindWatermarkTaskConfig {
|
|
|
15418
15358
|
*/
|
|
15419
15359
|
SegmentDuration: number;
|
|
15420
15360
|
}
|
|
15361
|
+
/**
|
|
15362
|
+
* DetectVideoSubtitleArea返回参数结构体
|
|
15363
|
+
*/
|
|
15364
|
+
export interface DetectVideoSubtitleAreaResponse {
|
|
15365
|
+
/**
|
|
15366
|
+
* <p>视频宽度</p><p>单位:px</p>
|
|
15367
|
+
*/
|
|
15368
|
+
Width?: number;
|
|
15369
|
+
/**
|
|
15370
|
+
* <p>视频高度</p><p>单位:px</p>
|
|
15371
|
+
*/
|
|
15372
|
+
Height?: number;
|
|
15373
|
+
/**
|
|
15374
|
+
* <p>识别到的字幕框,识别不到结果为空</p>
|
|
15375
|
+
*/
|
|
15376
|
+
Result?: Array<SubtitleArea>;
|
|
15377
|
+
/**
|
|
15378
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15379
|
+
*/
|
|
15380
|
+
RequestId?: string;
|
|
15381
|
+
}
|
|
15421
15382
|
/**
|
|
15422
15383
|
* 智能擦除,指定擦除区域配置。
|
|
15423
15384
|
对指定时间段内的指定区域直接进行擦除。
|
|
@@ -20290,7 +20251,7 @@ export interface LiveStreamAiReviewImageTerrorismResult {
|
|
|
20290
20251
|
*/
|
|
20291
20252
|
export interface ProcessLiveStreamRequest {
|
|
20292
20253
|
/**
|
|
20293
|
-
* <p>直播流 URL(必须是直播流地址,支持 rtmp,hls 和 flv, trtc,webrtc,srt等)。<br>trtc地址如下:<br> trtc://trtc.rtc.qq.com/mps/<code><roomid></code>?sdkappid=<code><sdkappid></code>&userid=<code><userid></code>&usersig=<code><usersig></code><br><code><roomid></code> 为trtc的房间号id
|
|
20254
|
+
* <p>直播流 URL(必须是直播流地址,支持 rtmp,hls 和 flv, trtc,webrtc,srt等)。<br>trtc地址如下:<br> trtc://trtc.rtc.qq.com/mps/<code><roomid></code>?sdkappid=<code><sdkappid></code>&userid=<code><userid></code>&usersig=<code><usersig></code><br><code><roomid></code> 为trtc的房间号id<br><code><sdkappid></code> 为trtc的sdk app id<br><code><userid></code> 为服务进入房间的用户id,可以区分谁是机器人<br><code><usersig></code> 为trtc 用户的签名</p><p>webrtc 支持<a href="https://cloud.tencent.com/product/leb">LEB</a>的直播流,地址获取请<a href="https://cloud.tencent.com/document/product/267/32720">参考</a></p><p>srt支持地址请<a href="https://ffmpeg.org/ffmpeg-protocols.html#srt">参考</a></p>
|
|
20294
20255
|
*/
|
|
20295
20256
|
Url: string;
|
|
20296
20257
|
/**
|
|
@@ -20338,7 +20299,7 @@ export interface ProcessLiveStreamRequest {
|
|
|
20338
20299
|
*/
|
|
20339
20300
|
ScheduleId?: number;
|
|
20340
20301
|
/**
|
|
20341
|
-
* <p>资源ID
|
|
20302
|
+
* <p>资源ID,需要保证对应资源是开启状态。默认为账号主资源ID。</p>
|
|
20342
20303
|
*/
|
|
20343
20304
|
ResourceId?: string;
|
|
20344
20305
|
}
|
|
@@ -20600,7 +20561,7 @@ export interface CreateSmartSubtitleTemplateRequest {
|
|
|
20600
20561
|
*/
|
|
20601
20562
|
Name: string;
|
|
20602
20563
|
/**
|
|
20603
|
-
* <p
|
|
20564
|
+
* <p>智能字幕视频源语言</p><p>ASR识别和纯字幕翻译取值参考文档:<a href="https://cloud.tencent.com/document/product/862/116243#ASRlanguages">ASR 识别支持语种</a></p><p>下面列举部分常用取值</p><p><code>auto</code>:自动识别,<code>zh</code>:简体中文,<code>en</code>:英语,<code>ja</code>:日语,<code>ko</code>:韩语,<code>zh-PY</code>:中英粤,<code>zh_medical</code>:中文医疗,<code>vi</code>:越南语,<code>ms</code>:马来语,<code>id</code>:印度尼西亚语,<code>fil</code>:菲律宾语,<code>th</code>:泰语,<code>pt</code>:葡萄牙语,<code>tr</code>:土耳其语,<code>ar</code>:阿拉伯语,<code>es</code>:西班牙语,<code>hi</code>:印地语,<code>fr</code>:法语,<code>de</code>:德语,<code>it</code>:意大利语,<code>zh_dialect</code>:中文方言,<code>zh_en</code>:中英,<code>yue</code>:粤语,<code>ru</code>:俄语,<code>prime_zh</code>:中英方言</p><p>OCR 识别仅支持以下取值:</p><p><code>zh_en</code>:中英<br><code>multi</code>:其他</p><p>不同取值支持的语种参考文档:<a href="https://cloud.tencent.com/document/product/862/116243#OCRlanguages">OCR 识别支持语种</a></p>
|
|
20604
20565
|
*/
|
|
20605
20566
|
VideoSrcLanguage: string;
|
|
20606
20567
|
/**
|
|
@@ -20624,7 +20585,7 @@ export interface CreateSmartSubtitleTemplateRequest {
|
|
|
20624
20585
|
*/
|
|
20625
20586
|
TranslateSwitch?: string;
|
|
20626
20587
|
/**
|
|
20627
|
-
* <p
|
|
20588
|
+
* <p>字幕翻译目标语言当TranslateSwitch为ON的时候生效,翻译语言列表:</p><p>ASR 提取翻译参考语种列表:<a href="https://cloud.tencent.com/document/product/862/116243#ASRlanguages">ASR 翻译支持语种</a><br>OCR 提取翻译参考语种列表:<a href="https://cloud.tencent.com/document/product/862/116243#OCRlanguages">OCR 翻译支持语种</a></p><p><strong>注意</strong>:多语言方式,则使用 <code>/</code> 分割,如:<code>en/ja</code>,表示英语和日语。</p><p>部分常用语种示例:</p><p><code>ar</code>:阿拉伯语<br><code>en</code>:英语<br><code>fr</code>:法语<br><code>it</code>:意大利语<br><code>ja</code>:日语<br><code>ko</code>:韩语<br><code>ru</code>:俄语<br><code>th</code>:泰语<br><code>tr</code>:土耳其语<br><code>vi</code>:越南语<br><code>yue</code>:粤语<br><code>zh</code>:简体中文<br><code>zh-TW</code>:繁体中文</p>
|
|
20628
20589
|
*/
|
|
20629
20590
|
TranslateDstLanguage?: string;
|
|
20630
20591
|
/**
|
|
@@ -22718,6 +22679,30 @@ export interface ModifyStreamPackageLinearAssemblyChannelResponse {
|
|
|
22718
22679
|
*/
|
|
22719
22680
|
RequestId?: string;
|
|
22720
22681
|
}
|
|
22682
|
+
/**
|
|
22683
|
+
* 用户自定义文本审核任务控制参数。
|
|
22684
|
+
*/
|
|
22685
|
+
export interface UserDefineOcrTextReviewTemplateInfoForUpdate {
|
|
22686
|
+
/**
|
|
22687
|
+
* 用户自定文本审核任务开关,可选值:
|
|
22688
|
+
<li>ON:开启自定义文本审核任务;</li>
|
|
22689
|
+
<li>OFF:关闭自定义文本审核任务。</li>
|
|
22690
|
+
*/
|
|
22691
|
+
Switch?: string;
|
|
22692
|
+
/**
|
|
22693
|
+
* 用户自定义文本过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回。如果要使用标签过滤功能,添加自定义文本关键词素材时需要添加对应标签。
|
|
22694
|
+
标签个数最多 10 个,每个标签长度最多 16 个字符。
|
|
22695
|
+
*/
|
|
22696
|
+
LabelSet?: Array<string>;
|
|
22697
|
+
/**
|
|
22698
|
+
* 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
|
|
22699
|
+
*/
|
|
22700
|
+
BlockConfidence?: number;
|
|
22701
|
+
/**
|
|
22702
|
+
* 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核。取值范围:0~100。
|
|
22703
|
+
*/
|
|
22704
|
+
ReviewConfidence?: number;
|
|
22705
|
+
}
|
|
22721
22706
|
/**
|
|
22722
22707
|
* ModifyBlindWatermarkTemplate请求参数结构体
|
|
22723
22708
|
*/
|
|
@@ -23275,6 +23260,19 @@ export interface FlowAudio {
|
|
|
23275
23260
|
*/
|
|
23276
23261
|
Pid: number;
|
|
23277
23262
|
}
|
|
23263
|
+
/**
|
|
23264
|
+
* 涉敏任务控制参数。
|
|
23265
|
+
*/
|
|
23266
|
+
export interface TerrorismConfigureInfoForUpdate {
|
|
23267
|
+
/**
|
|
23268
|
+
* 画面涉敏任务控制参数。
|
|
23269
|
+
*/
|
|
23270
|
+
ImgReviewInfo?: TerrorismImgReviewTemplateInfoForUpdate;
|
|
23271
|
+
/**
|
|
23272
|
+
* 文本涉敏任务控制参数。
|
|
23273
|
+
*/
|
|
23274
|
+
OcrReviewInfo?: TerrorismOcrReviewTemplateInfoForUpdate;
|
|
23275
|
+
}
|
|
23278
23276
|
/**
|
|
23279
23277
|
* 美颜滤镜配置项
|
|
23280
23278
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { UpdateAuthorizationPolicyPriorityResponse, ModifyDeviceIdentityResponse, DeleteUserRequest, ModifyJWTAuthenticatorResponse, ModifyAuthorizationPolicyResponse, ActivateDeviceCertificateRequest, CreateInstanceResponse, ApplyRegistrationCodeRequest, DescribeMessageListRequest, DeleteDeviceIdentityRequest, ModifyJWTAuthenticatorRequest, DescribeInsPublicEndpointsResponse, DescribeSharedSubscriptionLagResponse, DeleteTopicRequest, ModifyUserResponse, DescribeCaCertificateResponse, DescribeDeviceCertificatesRequest, DescribeSharedSubscriptionGroupsRequest, DeleteAuthenticatorRequest, DeleteMessageEnrichmentRuleRequest, DeleteAuthorizationPolicyResponse, ModifyJWKSAuthenticatorRequest, DescribeDeviceIdentitiesRequest, CreateMessageEnrichmentRuleResponse, RegisterCaCertificateResponse, KickOutClientResponse, DescribeMessageDetailsRequest, DeleteInstanceRequest, ModifyInstanceRequest, CreateDeviceIdentityRequest, RegisterDeviceCertificateResponse, DescribeClientListResponse, DescribeMessageListResponse, DescribeInstanceListResponse, ApplyRegistrationCodeResponse, ModifyMessageEnrichmentRuleRequest, ModifyInstanceResponse, AddClientSubscriptionRequest, CreateHttpAuthenticatorResponse, UpdateMessageEnrichmentRulePriorityResponse, ModifyJWKSAuthenticatorResponse, DeleteDeviceIdentityResponse, CreateInsPublicEndpointResponse, CreateUserResponse, CreateAuthorizationPolicyRequest, PublishMessageResponse, DescribeMessageEnrichmentRulesResponse, DescribeAuthenticatorResponse, DeactivateCaCertificateResponse, DeleteCaCertificateRequest, DeleteDeviceCertificateRequest, DescribeMessageByTopicRequest, DescribeUserListRequest, DeleteUserResponse, ActivateCaCertificateResponse, DeleteDeviceCertificateResponse, DescribeMessageByTopicResponse, DeleteInstanceResponse, DescribeProductSKUListResponse, CreateJWKSAuthenticatorRequest, DescribeTopicResponse, CreateJWKSAuthenticatorResponse, ModifyHttpAuthenticatorResponse, DescribeAuthorizationPoliciesResponse, CreateTopicRequest, DeleteCaCertificateResponse, DeleteClientSubscriptionRequest, DescribeMessageDetailsResponse, DescribeUserListResponse, DeleteMessageEnrichmentRuleResponse, DeactivateDeviceCertificateResponse, ActivateCaCertificateRequest, ActivateDeviceCertificateResponse, DescribeTopicRequest, PublishMessageRequest, DescribeClientListRequest, DeleteInsPublicEndpointResponse, DescribeInsVPCEndpointsRequest, DescribeTopicListRequest, AddClientSubscriptionResponse, CreateTopicResponse, RevokedDeviceCertificateRequest, ModifyInsPublicEndpointResponse, CreateInstanceRequest, DescribeAuthenticatorRequest, RegisterCaCertificateRequest, CreateAuthorizationPolicyResponse, CreateInsPublicEndpointRequest, RegisterDeviceCertificateRequest, DeactivateDeviceCertificateRequest, DescribeDeviceCertificatesResponse, ModifyTopicRequest, CreateUserRequest, DescribeInstanceResponse, ModifyInstanceCertBindingResponse, UpdateMessageEnrichmentRulePriorityRequest, DescribeInsVPCEndpointsResponse, DescribeDeviceCertificateRequest, ModifyInsPublicEndpointRequest, DeleteInsPublicEndpointRequest, DescribeInsPublicEndpointsRequest, CreateDeviceIdentityResponse, KickOutClientRequest, DescribeDeviceIdentityResponse, ModifyTopicResponse, DeleteClientSubscriptionResponse, DescribeCaCertificateRequest, DescribeMessageEnrichmentRulesRequest, UpdateAuthorizationPolicyPriorityRequest, CreateMessageEnrichmentRuleRequest, DescribeSharedSubscriptionGroupsResponse, CreateJWTAuthenticatorResponse, DeleteAuthorizationPolicyRequest, DescribeDeviceIdentityRequest, ModifyDeviceIdentityRequest, DescribeAuthorizationPoliciesRequest, RevokedDeviceCertificateResponse, CreateHttpAuthenticatorRequest, DescribeProductSKUListRequest, DescribeSharedSubscriptionLagRequest, DescribeDeviceCertificateResponse, DescribeInstanceListRequest, DeactivateCaCertificateRequest, CreateJWTAuthenticatorRequest, DescribeCaCertificatesRequest, ModifyMessageEnrichmentRuleResponse, ModifyAuthorizationPolicyRequest, DescribeTopicListResponse, DeleteTopicResponse, ModifyInstanceCertBindingRequest, ModifyHttpAuthenticatorRequest, DescribeInstanceRequest, DescribeCaCertificatesResponse, ModifyUserRequest, DeleteAuthenticatorResponse, DescribeDeviceIdentitiesResponse } from "./mqtt_models";
|
|
3
|
+
import { UpdateAuthorizationPolicyPriorityResponse, ModifyDeviceIdentityResponse, DeleteUserRequest, ModifyJWTAuthenticatorResponse, ModifyAuthorizationPolicyResponse, ActivateDeviceCertificateRequest, CreateInstanceResponse, ApplyRegistrationCodeRequest, DescribeMessageListRequest, DescribeSharedSubscriptionsRequest, DeleteDeviceIdentityRequest, ModifyJWTAuthenticatorRequest, DescribeInsPublicEndpointsResponse, DescribeSharedSubscriptionLagResponse, DeleteTopicRequest, ModifyUserResponse, DescribeCaCertificateResponse, DescribeDeviceCertificatesRequest, DescribeSharedSubscriptionGroupsRequest, DeleteAuthenticatorRequest, DeleteMessageEnrichmentRuleRequest, DeleteAuthorizationPolicyResponse, ModifyJWKSAuthenticatorRequest, DescribeDeviceIdentitiesRequest, CreateMessageEnrichmentRuleResponse, RegisterCaCertificateResponse, KickOutClientResponse, DescribeMessageDetailsRequest, DeleteInstanceRequest, ModifyInstanceRequest, CreateDeviceIdentityRequest, RegisterDeviceCertificateResponse, DescribeClientListResponse, DescribeMessageListResponse, DescribeInstanceListResponse, ApplyRegistrationCodeResponse, ModifyMessageEnrichmentRuleRequest, ModifyInstanceResponse, AddClientSubscriptionRequest, CreateHttpAuthenticatorResponse, DescribeSharedSubscriptionClientRequest, UpdateMessageEnrichmentRulePriorityResponse, ModifyJWKSAuthenticatorResponse, DeleteDeviceIdentityResponse, CreateInsPublicEndpointResponse, CreateUserResponse, CreateAuthorizationPolicyRequest, PublishMessageResponse, DescribeMessageEnrichmentRulesResponse, DescribeAuthenticatorResponse, DeactivateCaCertificateResponse, DeleteCaCertificateRequest, DeleteDeviceCertificateRequest, DescribeMessageByTopicRequest, DescribeUserListRequest, DeleteUserResponse, ActivateCaCertificateResponse, DeleteDeviceCertificateResponse, DescribeMessageByTopicResponse, DeleteInstanceResponse, DescribeProductSKUListResponse, CreateJWKSAuthenticatorRequest, DescribeTopicResponse, CreateJWKSAuthenticatorResponse, ModifyHttpAuthenticatorResponse, DescribeAuthorizationPoliciesResponse, CreateTopicRequest, DeleteCaCertificateResponse, DescribeSharedSubscriptionClientResponse, DeleteClientSubscriptionRequest, DescribeMessageDetailsResponse, DescribeUserListResponse, DeleteMessageEnrichmentRuleResponse, DeactivateDeviceCertificateResponse, ActivateCaCertificateRequest, ActivateDeviceCertificateResponse, DescribeTopicRequest, PublishMessageRequest, DescribeClientListRequest, DeleteInsPublicEndpointResponse, DescribeInsVPCEndpointsRequest, DescribeTopicListRequest, AddClientSubscriptionResponse, CreateTopicResponse, RevokedDeviceCertificateRequest, ModifyInsPublicEndpointResponse, CreateInstanceRequest, DescribeAuthenticatorRequest, RegisterCaCertificateRequest, CreateAuthorizationPolicyResponse, DescribeSharedSubscriptionsResponse, CreateInsPublicEndpointRequest, RegisterDeviceCertificateRequest, DeactivateDeviceCertificateRequest, DescribeDeviceCertificatesResponse, ModifyTopicRequest, CreateUserRequest, DescribeInstanceResponse, ModifyInstanceCertBindingResponse, UpdateMessageEnrichmentRulePriorityRequest, DescribeInsVPCEndpointsResponse, DescribeDeviceCertificateRequest, ModifyInsPublicEndpointRequest, DeleteInsPublicEndpointRequest, DescribeInsPublicEndpointsRequest, CreateDeviceIdentityResponse, KickOutClientRequest, DescribeDeviceIdentityResponse, ModifyTopicResponse, DeleteClientSubscriptionResponse, DescribeCaCertificateRequest, DescribeMessageEnrichmentRulesRequest, UpdateAuthorizationPolicyPriorityRequest, CreateMessageEnrichmentRuleRequest, DescribeSharedSubscriptionGroupsResponse, CreateJWTAuthenticatorResponse, DeleteAuthorizationPolicyRequest, DescribeDeviceIdentityRequest, ModifyDeviceIdentityRequest, DescribeAuthorizationPoliciesRequest, RevokedDeviceCertificateResponse, CreateHttpAuthenticatorRequest, DescribeProductSKUListRequest, DescribeSharedSubscriptionLagRequest, DescribeDeviceCertificateResponse, DescribeInstanceListRequest, DeactivateCaCertificateRequest, CreateJWTAuthenticatorRequest, DescribeCaCertificatesRequest, ModifyMessageEnrichmentRuleResponse, ModifyAuthorizationPolicyRequest, DescribeTopicListResponse, DeleteTopicResponse, ModifyInstanceCertBindingRequest, ModifyHttpAuthenticatorRequest, DescribeInstanceRequest, DescribeCaCertificatesResponse, ModifyUserRequest, DeleteAuthenticatorResponse, DescribeDeviceIdentitiesResponse } from "./mqtt_models";
|
|
4
4
|
/**
|
|
5
5
|
* mqtt client
|
|
6
6
|
* @class
|
|
@@ -186,6 +186,10 @@ export declare class Client extends AbstractClient {
|
|
|
186
186
|
* 删除MQTT主题
|
|
187
187
|
*/
|
|
188
188
|
DeleteTopic(req: DeleteTopicRequest, cb?: (error: string, rep: DeleteTopicResponse) => void): Promise<DeleteTopicResponse>;
|
|
189
|
+
/**
|
|
190
|
+
* 查询共享订阅组订阅列表
|
|
191
|
+
*/
|
|
192
|
+
DescribeSharedSubscriptions(req: DescribeSharedSubscriptionsRequest, cb?: (error: string, rep: DescribeSharedSubscriptionsResponse) => void): Promise<DescribeSharedSubscriptionsResponse>;
|
|
189
193
|
/**
|
|
190
194
|
* 为MQTT客户端增加一条订阅
|
|
191
195
|
*/
|
|
@@ -235,6 +239,10 @@ export declare class Client extends AbstractClient {
|
|
|
235
239
|
* 根据认证器类型删除一个MQTT认证器
|
|
236
240
|
*/
|
|
237
241
|
DeleteAuthenticator(req: DeleteAuthenticatorRequest, cb?: (error: string, rep: DeleteAuthenticatorResponse) => void): Promise<DeleteAuthenticatorResponse>;
|
|
242
|
+
/**
|
|
243
|
+
* 查询共享订阅组详情信息
|
|
244
|
+
*/
|
|
245
|
+
DescribeSharedSubscriptionClient(req: DescribeSharedSubscriptionClientRequest, cb?: (error: string, rep: DescribeSharedSubscriptionClientResponse) => void): Promise<DescribeSharedSubscriptionClientResponse>;
|
|
238
246
|
/**
|
|
239
247
|
* 注册CA证书(仅一机一证场景支持),可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817)
|
|
240
248
|
*/
|
|
@@ -290,6 +290,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
290
290
|
async DeleteTopic(req, cb) {
|
|
291
291
|
return this.request("DeleteTopic", req, cb);
|
|
292
292
|
}
|
|
293
|
+
/**
|
|
294
|
+
* 查询共享订阅组订阅列表
|
|
295
|
+
*/
|
|
296
|
+
async DescribeSharedSubscriptions(req, cb) {
|
|
297
|
+
return this.request("DescribeSharedSubscriptions", req, cb);
|
|
298
|
+
}
|
|
293
299
|
/**
|
|
294
300
|
* 为MQTT客户端增加一条订阅
|
|
295
301
|
*/
|
|
@@ -363,6 +369,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
363
369
|
async DeleteAuthenticator(req, cb) {
|
|
364
370
|
return this.request("DeleteAuthenticator", req, cb);
|
|
365
371
|
}
|
|
372
|
+
/**
|
|
373
|
+
* 查询共享订阅组详情信息
|
|
374
|
+
*/
|
|
375
|
+
async DescribeSharedSubscriptionClient(req, cb) {
|
|
376
|
+
return this.request("DescribeSharedSubscriptionClient", req, cb);
|
|
377
|
+
}
|
|
366
378
|
/**
|
|
367
379
|
* 注册CA证书(仅一机一证场景支持),可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817)
|
|
368
380
|
*/
|
|
@@ -267,6 +267,19 @@ export interface DescribeMessageListRequest {
|
|
|
267
267
|
*/
|
|
268
268
|
Limit?: number;
|
|
269
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* DescribeSharedSubscriptions请求参数结构体
|
|
272
|
+
*/
|
|
273
|
+
export interface DescribeSharedSubscriptionsRequest {
|
|
274
|
+
/**
|
|
275
|
+
* 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
|
276
|
+
*/
|
|
277
|
+
InstanceId: string;
|
|
278
|
+
/**
|
|
279
|
+
* 共享订阅组名
|
|
280
|
+
*/
|
|
281
|
+
SharedName: string;
|
|
282
|
+
}
|
|
270
283
|
/**
|
|
271
284
|
* DeleteDeviceIdentity请求参数结构体
|
|
272
285
|
*/
|
|
@@ -1284,6 +1297,23 @@ export interface MQTTMessageItem {
|
|
|
1284
1297
|
*/
|
|
1285
1298
|
Qos?: string;
|
|
1286
1299
|
}
|
|
1300
|
+
/**
|
|
1301
|
+
* DescribeSharedSubscriptionClient请求参数结构体
|
|
1302
|
+
*/
|
|
1303
|
+
export interface DescribeSharedSubscriptionClientRequest {
|
|
1304
|
+
/**
|
|
1305
|
+
* 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
|
1306
|
+
*/
|
|
1307
|
+
InstanceId: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* 共享订阅组名
|
|
1310
|
+
*/
|
|
1311
|
+
SharedName: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* 订阅表达式
|
|
1314
|
+
*/
|
|
1315
|
+
TopicFilter: string;
|
|
1316
|
+
}
|
|
1287
1317
|
/**
|
|
1288
1318
|
* UpdateMessageEnrichmentRulePriority返回参数结构体
|
|
1289
1319
|
*/
|
|
@@ -1699,39 +1729,21 @@ export interface DeleteCaCertificateResponse {
|
|
|
1699
1729
|
RequestId?: string;
|
|
1700
1730
|
}
|
|
1701
1731
|
/**
|
|
1702
|
-
*
|
|
1732
|
+
* DescribeSharedSubscriptionClient返回参数结构体
|
|
1703
1733
|
*/
|
|
1704
|
-
export interface
|
|
1734
|
+
export interface DescribeSharedSubscriptionClientResponse {
|
|
1705
1735
|
/**
|
|
1706
|
-
*
|
|
1736
|
+
* 共享订阅组下Client信息
|
|
1707
1737
|
*/
|
|
1708
|
-
|
|
1738
|
+
Data?: Array<SharedSubscriptionClient>;
|
|
1709
1739
|
/**
|
|
1710
|
-
*
|
|
1711
|
-
*/
|
|
1712
|
-
SharedName?: string;
|
|
1713
|
-
/**
|
|
1714
|
-
* 共享组消费负载均衡策略 1.RANDOM 2.HASH_PARTITION
|
|
1715
|
-
*/
|
|
1716
|
-
LbStrategy?: number;
|
|
1717
|
-
/**
|
|
1718
|
-
* HASH_PARTITION 策略下生效,表示Client掉线或新Client上线加入共享订阅组消费的延迟时间。
|
|
1719
|
-
范围:0~600秒
|
|
1720
|
-
*/
|
|
1721
|
-
ExpiryInterval?: number;
|
|
1722
|
-
/**
|
|
1723
|
-
* 备注,长度不超过128个字符。
|
|
1724
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1725
|
-
*/
|
|
1726
|
-
Remark?: string;
|
|
1727
|
-
/**
|
|
1728
|
-
* 创建时间,毫秒级时间戳 。
|
|
1740
|
+
* 查询总数
|
|
1729
1741
|
*/
|
|
1730
|
-
|
|
1742
|
+
TotalCount?: number;
|
|
1731
1743
|
/**
|
|
1732
|
-
*
|
|
1744
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1733
1745
|
*/
|
|
1734
|
-
|
|
1746
|
+
RequestId?: string;
|
|
1735
1747
|
}
|
|
1736
1748
|
/**
|
|
1737
1749
|
* DeleteClientSubscription请求参数结构体
|
|
@@ -2089,6 +2101,41 @@ export interface DescribeClientListRequest {
|
|
|
2089
2101
|
*/
|
|
2090
2102
|
Number?: string;
|
|
2091
2103
|
}
|
|
2104
|
+
/**
|
|
2105
|
+
* 共享订阅组
|
|
2106
|
+
*/
|
|
2107
|
+
export interface SharedGroup {
|
|
2108
|
+
/**
|
|
2109
|
+
* 腾讯云MQTT实例ID
|
|
2110
|
+
*/
|
|
2111
|
+
InstanceId?: string;
|
|
2112
|
+
/**
|
|
2113
|
+
* 共享订阅组名
|
|
2114
|
+
*/
|
|
2115
|
+
SharedName?: string;
|
|
2116
|
+
/**
|
|
2117
|
+
* 共享组消费负载均衡策略 1.RANDOM 2.HASH_PARTITION
|
|
2118
|
+
*/
|
|
2119
|
+
LbStrategy?: number;
|
|
2120
|
+
/**
|
|
2121
|
+
* HASH_PARTITION 策略下生效,表示Client掉线或新Client上线加入共享订阅组消费的延迟时间。
|
|
2122
|
+
范围:0~600秒
|
|
2123
|
+
*/
|
|
2124
|
+
ExpiryInterval?: number;
|
|
2125
|
+
/**
|
|
2126
|
+
* 备注,长度不超过128个字符。
|
|
2127
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2128
|
+
*/
|
|
2129
|
+
Remark?: string;
|
|
2130
|
+
/**
|
|
2131
|
+
* 创建时间,毫秒级时间戳 。
|
|
2132
|
+
*/
|
|
2133
|
+
CreateTime?: number;
|
|
2134
|
+
/**
|
|
2135
|
+
* 上次更新时间,毫秒级时间戳 。
|
|
2136
|
+
*/
|
|
2137
|
+
UpdateTime?: number;
|
|
2138
|
+
}
|
|
2092
2139
|
/**
|
|
2093
2140
|
* DeleteInsPublicEndpoint返回参数结构体
|
|
2094
2141
|
*/
|
|
@@ -2360,6 +2407,27 @@ export interface CreateAuthorizationPolicyResponse {
|
|
|
2360
2407
|
*/
|
|
2361
2408
|
RequestId?: string;
|
|
2362
2409
|
}
|
|
2410
|
+
/**
|
|
2411
|
+
* DescribeSharedSubscriptions返回参数结构体
|
|
2412
|
+
*/
|
|
2413
|
+
export interface DescribeSharedSubscriptionsResponse {
|
|
2414
|
+
/**
|
|
2415
|
+
* 集群id
|
|
2416
|
+
*/
|
|
2417
|
+
InstanceId?: string;
|
|
2418
|
+
/**
|
|
2419
|
+
* 共享组名
|
|
2420
|
+
*/
|
|
2421
|
+
SharedName?: string;
|
|
2422
|
+
/**
|
|
2423
|
+
* 共享组下的订阅表达式列表
|
|
2424
|
+
*/
|
|
2425
|
+
TopicFilter?: Array<string>;
|
|
2426
|
+
/**
|
|
2427
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2428
|
+
*/
|
|
2429
|
+
RequestId?: string;
|
|
2430
|
+
}
|
|
2363
2431
|
/**
|
|
2364
2432
|
* CreateInsPublicEndpoint请求参数结构体
|
|
2365
2433
|
*/
|
|
@@ -2708,6 +2776,27 @@ export interface ModifyInsPublicEndpointRequest {
|
|
|
2708
2776
|
*/
|
|
2709
2777
|
Rules: Array<PublicAccessRule>;
|
|
2710
2778
|
}
|
|
2779
|
+
/**
|
|
2780
|
+
* 共享订阅组下客户端
|
|
2781
|
+
*/
|
|
2782
|
+
export interface SharedSubscriptionClient {
|
|
2783
|
+
/**
|
|
2784
|
+
* 客户端ID
|
|
2785
|
+
*/
|
|
2786
|
+
ClientId?: string;
|
|
2787
|
+
/**
|
|
2788
|
+
* 共享订阅组名
|
|
2789
|
+
*/
|
|
2790
|
+
SharedName?: string;
|
|
2791
|
+
/**
|
|
2792
|
+
* 共享组下的订阅表达式列表
|
|
2793
|
+
*/
|
|
2794
|
+
TopicFilter?: string;
|
|
2795
|
+
/**
|
|
2796
|
+
* 在线状态
|
|
2797
|
+
*/
|
|
2798
|
+
Online?: boolean;
|
|
2799
|
+
}
|
|
2711
2800
|
/**
|
|
2712
2801
|
* DeleteInsPublicEndpoint请求参数结构体
|
|
2713
2802
|
*/
|