tencentcloud-sdk-nodejs 4.1.154 → 4.1.156
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/vod/v20180717/vod_client.js +6 -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/asr/v20190614/asr_models.d.ts +3 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -0
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -4
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +22 -6
- package/tencentcloud/services/dataagent/v20250513/dataagent_client.d.ts +1 -1
- package/tencentcloud/services/dataagent/v20250513/dataagent_models.d.ts +166 -40
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -0
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +15 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +1 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +1 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +31 -10
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +74 -36
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +74 -36
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +20 -20
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +1 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -4
- package/tencentcloud/services/tms/v20201229/tms_client.d.ts +26 -16
- package/tencentcloud/services/tms/v20201229/tms_client.js +26 -16
- package/tencentcloud/services/tms/v20201229/tms_models.d.ts +65 -59
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +82 -28
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +82 -28
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +3 -3
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +9 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +12 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +779 -200
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +7 -1
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +382 -8
|
@@ -28,36 +28,46 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("tms.tencentcloudapi.com", "2020-12-29", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 本接口适用于“金融大模型审校”服务。在对接前,请参考快速入门文档并配置好业务基础信息。
|
|
32
|
+
- **快速入门**:[快速入门文档](https://cloud.tencent.com/document/product/1124/124604)
|
|
33
|
+
|
|
34
|
+
### 接口功能说明:
|
|
35
|
+
由于大模型审校服务耗时较长,通常达到分钟级,因此采用异步模式,整体流程分为两步:
|
|
36
|
+
1. 创建金融大模型审校任务(详见本文档)。
|
|
37
|
+
2. 查询审校结果(详见 [查询结果文档](https://cloud.tencent.com/document/product/1124/124463))。
|
|
38
|
+
|
|
39
|
+
### 接口调用说明:
|
|
40
|
+
- **请求域名**:tms.tencentcloudapi.com
|
|
41
|
+
- **并发限制**:每个账号最多可同时进行3个审校任务。
|
|
42
|
+
- **支持的文件格式**:纯文本、PDF、DOC、DOCX。
|
|
43
|
+
|
|
44
|
+
### 文件限制说明:
|
|
45
|
+
- **文档大小限制**:PDF/DOC/DOCX 格式文件不超过 200M(该大小为Base64编码后)。
|
|
46
|
+
- **文档下载时长**:不超过 15 秒(建议将文档存储在腾讯云 URL,以确保更高的下载稳定性)。
|
|
32
47
|
*/
|
|
33
48
|
async CreateFinancialLLMTask(req, cb) {
|
|
34
49
|
return this.request("CreateFinancialLLMTask", req, cb);
|
|
35
50
|
}
|
|
36
51
|
/**
|
|
37
|
-
*
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
- 前往“[内容安全控制台-文本内容安全](https://console.cloud.tencent.com/cms)”开启使用文本内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含**3000条**文本识别额度,有效期为15天。
|
|
41
|
-
- 该接口为收费接口,计费方式敬请参见 [腾讯云文本内容安全定价](https://cloud.tencent.com/product/tms/pricing)。
|
|
52
|
+
* 本接口提供“内容安全”和“AI生成识别”服务。在对接之前,请先参考快速入门,以配置业务基础信息。
|
|
53
|
+
- **内容安全**:[快速入门](https://cloud.tencent.com/document/product/1124/37119)
|
|
54
|
+
- **AI生成识别**:[快速入门](https://cloud.tencent.com/document/product/1124/118694)
|
|
42
55
|
|
|
43
56
|
### 接口功能说明:
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
- 支持根据不同的业务场景配置自定义的审核策略,可在控制台文本内容安全-策略管理中配置;
|
|
47
|
-
- 支持用户自定义配置词库黑白名单,打击自定义识别类型的违规文本(目前仅支持黑名单配置);
|
|
48
|
-
- 支持在审核文本内容时同时关联账号或设备信息,可识别违规风险账号或设备;
|
|
49
|
-
- 支持大模型、聊天室等场景下的流式上下文审核。
|
|
57
|
+
- **内容安全**:对输入的文本,识别其中是否存在色情、违法等风险,返回处置建议、风险标签及对应的模型阈值。
|
|
58
|
+
- **AI生成识别**:对输入的文本,判断其是否为AI工具生成,返回AI生成的概率分数。
|
|
50
59
|
|
|
51
60
|
### 接口调用说明:
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
61
|
+
- **请求域名**:tms.tencentcloudapi.com
|
|
62
|
+
- **文本长度限制**:最长10,000个字符(以Unicode编码计量)。
|
|
63
|
+
- **请求频率**:内容安全默认1000次/秒,AI生成识别默认50次/秒。
|
|
64
|
+
- **支持语言**:中文、英文。
|
|
55
65
|
*/
|
|
56
66
|
async TextModeration(req, cb) {
|
|
57
67
|
return this.request("TextModeration", req, cb);
|
|
58
68
|
}
|
|
59
69
|
/**
|
|
60
|
-
*
|
|
70
|
+
* 本接口适用于“金融大模型审校”服务的结果查询。
|
|
61
71
|
*/
|
|
62
72
|
async GetFinancialLLMTaskResult(req, cb) {
|
|
63
73
|
return this.request("GetFinancialLLMTaskResult", req, cb);
|
|
@@ -28,7 +28,7 @@ export interface SentimentAnalysis {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface GetFinancialLLMTaskResultRequest {
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 该值对应创建任务接口里返回的TaskId字段值,创建任务接口见[创建金融大模型审校任务](https://cloud.tencent.com/document/product/1124/124463)。
|
|
32
32
|
*/
|
|
33
33
|
TaskId: string;
|
|
34
34
|
}
|
|
@@ -50,33 +50,33 @@ export interface RiskDetails {
|
|
|
50
50
|
*/
|
|
51
51
|
export interface GetFinancialLLMTaskResultResponse {
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* TaskId对应的任务的状态:
|
|
54
|
+
- Success: 任务已完成
|
|
55
|
+
- Processing: 任务进行中,建议10秒后再查询
|
|
56
|
+
- Failed: 任务失败
|
|
54
57
|
|
|
55
|
-
- Success: 成功
|
|
56
|
-
- Processing: 处理中,请等待
|
|
57
|
-
- Failed: 失败
|
|
58
58
|
*/
|
|
59
59
|
Status?: string;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* 该字段标识服务检测到的违规点,具体内容参阅数据结构[FinancialLLMViolationDetail](https://cloud.tencent.com/document/api/1124/51861#FinancialLLMViolationDetail)
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
Details?: Array<FinancialLLMViolationDetail>;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* 本次检测的违规点列表
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
ReviewedLabels?: Array<string>;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* 审校任务的开始时间
|
|
70
70
|
*/
|
|
71
71
|
StartTime?: string;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* 若审校任务失败(Status="Failed"),该字段返回失败的具体原因。
|
|
74
74
|
*/
|
|
75
|
-
|
|
75
|
+
FailureReason?: string;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* 该字段为历史结构字段,不再推荐使用。
|
|
78
78
|
*/
|
|
79
|
-
|
|
79
|
+
ModerationResult?: string;
|
|
80
80
|
/**
|
|
81
81
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
82
82
|
*/
|
|
@@ -133,36 +133,44 @@ export interface DetailResults {
|
|
|
133
133
|
*/
|
|
134
134
|
export interface TextModerationRequest {
|
|
135
135
|
/**
|
|
136
|
-
*
|
|
136
|
+
* 待检测的文本内容,需为UTF-8编码并以Base64格式传入。
|
|
137
|
+
|
|
137
138
|
*/
|
|
138
139
|
Content: string;
|
|
139
140
|
/**
|
|
140
|
-
*
|
|
141
|
-
|
|
141
|
+
* 接口使用的识别策略编号,需在[控制台](https://console.cloud.tencent.com/cms/clouds/manage)获取。详细获取方式请参考以下链接:
|
|
142
|
+
- **内容安全**(详见步骤四:策略配置):[点击这里](https://cloud.tencent.com/document/product/1124/37119)
|
|
143
|
+
- **AI生成识别**(详见服务对接->方式二):[点击这里](https://cloud.tencent.com/document/product/1124/118694)
|
|
142
144
|
*/
|
|
143
145
|
BizType?: string;
|
|
144
146
|
/**
|
|
145
|
-
*
|
|
147
|
+
* 该字段表示您为待检测文本分配的数据ID,作用是方便您对数据进行标识和管理。
|
|
148
|
+
取值:可由英文字母、数字、四种特殊符号(_,-,@,#)组成,**长度不超过64个字符**。
|
|
146
149
|
*/
|
|
147
150
|
DataId?: string;
|
|
148
151
|
/**
|
|
149
|
-
*
|
|
152
|
+
* 该字段标识用户信息,传入后可增强甄别有违规风险的发布者账号。
|
|
150
153
|
*/
|
|
151
154
|
User?: User;
|
|
152
155
|
/**
|
|
153
|
-
*
|
|
156
|
+
* 该字段标识设备信息,传入后可增强甄别有违规风险的发布者设备。
|
|
154
157
|
*/
|
|
155
158
|
Device?: Device;
|
|
156
159
|
/**
|
|
157
|
-
*
|
|
160
|
+
* Content字段的原始语种,枚举值包括 zh 和 en:
|
|
161
|
+
- 推荐使用 zh
|
|
162
|
+
- en 适用于纯英文内容,耗时较高。若需使用 en,请先通过[反馈工单](https://console.cloud.tencent.com/workorder/category?level1_id=141&level2_id=1287&source=14&data_title=%E6%96%87%E6%9C%AC%E5%86%85%E5%AE%B9%E5%AE%89%E5%85%A8&step=1)确认
|
|
163
|
+
|
|
158
164
|
*/
|
|
159
165
|
SourceLanguage?: string;
|
|
160
166
|
/**
|
|
161
|
-
*
|
|
167
|
+
* 服务类型,枚举值包括 TEXT 和 TEXT_AIGC:
|
|
168
|
+
TEXT:内容安全
|
|
169
|
+
TEXT_AIGC:AI生成识别
|
|
162
170
|
*/
|
|
163
171
|
Type?: string;
|
|
164
172
|
/**
|
|
165
|
-
*
|
|
173
|
+
* 适用于上下文关联审核场景,若多条文本内容需要联合审核,通过该字段关联会话。
|
|
166
174
|
*/
|
|
167
175
|
SessionId?: string;
|
|
168
176
|
}
|
|
@@ -205,7 +213,7 @@ export interface FinancialLLMViolationReason {
|
|
|
205
213
|
*/
|
|
206
214
|
export interface CreateFinancialLLMTaskResponse {
|
|
207
215
|
/**
|
|
208
|
-
*
|
|
216
|
+
* 本次请求返回的任务ID将用于后续查询接口,以获取对应的审校结果。
|
|
209
217
|
*/
|
|
210
218
|
TaskId?: string;
|
|
211
219
|
/**
|
|
@@ -235,28 +243,24 @@ export interface Tag {
|
|
|
235
243
|
*/
|
|
236
244
|
export interface CreateFinancialLLMTaskRequest {
|
|
237
245
|
/**
|
|
238
|
-
*
|
|
246
|
+
* 接口使用的识别策略 ID,请参考 [快速指引](https://cloud.tencent.com/document/product/1124/124604) 获取该值。
|
|
239
247
|
*/
|
|
240
248
|
BizType: string;
|
|
241
249
|
/**
|
|
242
|
-
*
|
|
250
|
+
* 送审内容的格式,有两个可选值:
|
|
251
|
+
- 1:代表送审内容为**文档**,如DOC文档
|
|
252
|
+
- 2:代表送审内容为**纯文本**
|
|
243
253
|
*/
|
|
244
|
-
|
|
254
|
+
ContentType?: number;
|
|
245
255
|
/**
|
|
246
|
-
*
|
|
256
|
+
* 若送审内容为文档(ContentType=1),需要传入具体格式,当前支持:DOC、DOCX、PDF。
|
|
257
|
+
说明:若送审内容为纯文本(ContentType=2),则本字段传空(FileType="")。
|
|
247
258
|
*/
|
|
248
|
-
|
|
259
|
+
FileType?: string;
|
|
249
260
|
/**
|
|
250
|
-
*
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
- 文件下载时间不超过15秒(文件存储于腾讯云的Url可保障更高的下载速度和稳定性,建议文件存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。)
|
|
255
|
-
- 所下载文件经 Base64 编码后不超过支持的文件大小:PDF/DOC/DOCX - 200M
|
|
256
|
-
- 文档解析后的纯文本长度不超过 10000字
|
|
257
|
-
|
|
258
|
-
文本限制:Base64解码后的文本长度不超过10000字
|
|
259
|
-
|
|
261
|
+
* 送审内容的传入方式如下:
|
|
262
|
+
- 若为文档类,需传入文档的URL(原文档文字数不超过10,000字),例如:http://xxxxxxxxxxxx/financial_test.doc
|
|
263
|
+
- 若为纯文本类,请以UTF-8格式进行Base64编码后传入(编码后字符数不超过10,000字),例如:5piO5aSpNjAz5LiA5a6a5rao
|
|
260
264
|
*/
|
|
261
265
|
Content?: string;
|
|
262
266
|
}
|
|
@@ -330,63 +334,65 @@ export interface SentimentDetail {
|
|
|
330
334
|
*/
|
|
331
335
|
export interface TextModerationResponse {
|
|
332
336
|
/**
|
|
333
|
-
*
|
|
337
|
+
* 该字段用于回显检测对象请求参数中的 BizType,与输入的 BizType 值对应。
|
|
334
338
|
*/
|
|
335
339
|
BizType?: string;
|
|
340
|
+
/**
|
|
341
|
+
* 用于标识对本次请求的处置建议,共三种返回值。
|
|
342
|
+
返回值:**Block**: 建议直接做违规处置,**Review**: 建议人工二次确认,**Pass**: 未识别到风险。
|
|
343
|
+
*/
|
|
344
|
+
Suggestion?: string;
|
|
336
345
|
/**
|
|
337
346
|
* 该字段用于返回检测结果(DetailResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型
|
|
338
347
|
*/
|
|
339
348
|
Label?: string;
|
|
340
349
|
/**
|
|
341
|
-
*
|
|
350
|
+
* 对应 Label 字段下的二级子标签,表示该 Label 下更细分的违规点。
|
|
342
351
|
*/
|
|
343
|
-
|
|
352
|
+
SubLabel?: string;
|
|
344
353
|
/**
|
|
345
|
-
*
|
|
346
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
354
|
+
* 该字段标识 SubLabel 的置信度,取值范围为 0 - 100,值越高代表置信度越高。
|
|
347
355
|
*/
|
|
348
|
-
|
|
356
|
+
Score?: number;
|
|
349
357
|
/**
|
|
350
|
-
*
|
|
358
|
+
* 该字段标识被检测文本所命中的关键词,可能返回0个或多个关键词。
|
|
359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
351
360
|
*/
|
|
352
|
-
|
|
361
|
+
Keywords?: Array<string>;
|
|
353
362
|
/**
|
|
354
|
-
*
|
|
363
|
+
* 该字段返回的检测的详细信息,返回值信息可参阅对应数据结构 DetailResults 的详细描述。
|
|
355
364
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
356
365
|
*/
|
|
357
366
|
DetailResults?: Array<DetailResults>;
|
|
358
367
|
/**
|
|
359
|
-
*
|
|
368
|
+
* 该字段标识入参 User 的检测结果,具体内容参阅数据结构 RiskDetails。
|
|
360
369
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
361
370
|
*/
|
|
362
371
|
RiskDetails?: Array<RiskDetails>;
|
|
363
372
|
/**
|
|
364
|
-
*
|
|
373
|
+
* 该字段用于返回根据您的需求配置的附加信息(Extra),如未配置则默认返回值为空。
|
|
374
|
+
备注:不同客户或Biztype下返回信息不同,如需配置该字段请提交工单咨询或联系售后专员处理。
|
|
365
375
|
*/
|
|
366
376
|
Extra?: string;
|
|
367
377
|
/**
|
|
368
|
-
*
|
|
378
|
+
* 该字段用于回显检测对象请求参数中的 DataId,与输入的 DataId 值对应。
|
|
369
379
|
*/
|
|
370
380
|
DataId?: string;
|
|
371
381
|
/**
|
|
372
|
-
*
|
|
373
|
-
*/
|
|
374
|
-
SubLabel?: string;
|
|
375
|
-
/**
|
|
376
|
-
* 该字段用于返回上下文关联文本
|
|
382
|
+
* 历史上下文关联的字段,不再推荐使用。上下文关联审核可通过入参的 SessionId 来实现。
|
|
377
383
|
*/
|
|
378
384
|
ContextText?: string;
|
|
379
385
|
/**
|
|
380
|
-
*
|
|
386
|
+
* 该字段为历史结构字段,不再推荐使用。
|
|
381
387
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
382
388
|
*/
|
|
383
389
|
SentimentAnalysis?: SentimentAnalysis;
|
|
384
390
|
/**
|
|
385
|
-
*
|
|
391
|
+
* 该字段为历史结构字段,不再推荐使用。
|
|
386
392
|
*/
|
|
387
393
|
HitType?: string;
|
|
388
394
|
/**
|
|
389
|
-
*
|
|
395
|
+
* 该字段用于回显检测对象请求参数中的 SessionId,与输入的 SessionId 值对应。
|
|
390
396
|
*/
|
|
391
397
|
SessionId?: string;
|
|
392
398
|
/**
|
|
@@ -8,15 +8,20 @@ import { DescribeProductSKUsRequest, ResetConsumerGroupOffsetResponse, DescribeS
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 消息消费验证。
|
|
12
|
+
当前 API 适用集群:5.x 集群。4.x 集群的消息消费验证接口文档见 [VerifyRocketMQConsume](https://cloud.tencent.com/document/api/1179/101061)。
|
|
12
13
|
*/
|
|
13
14
|
VerifyMessageConsumption(req: VerifyMessageConsumptionRequest, cb?: (error: string, rep: VerifyMessageConsumptionResponse) => void): Promise<VerifyMessageConsumptionResponse>;
|
|
14
15
|
/**
|
|
15
|
-
*
|
|
16
|
+
* 下线trocket下mqtt接口
|
|
17
|
+
|
|
18
|
+
查询消息列表,如查询死信,请设置ConsumerGroup参数
|
|
16
19
|
*/
|
|
17
20
|
DescribeMQTTMessageList(req: DescribeMQTTMessageListRequest, cb?: (error: string, rep: DescribeMQTTMessageListResponse) => void): Promise<DescribeMQTTMessageListResponse>;
|
|
18
21
|
/**
|
|
19
|
-
*
|
|
22
|
+
* 下线trocket下mqtt接口
|
|
23
|
+
|
|
24
|
+
更新MQTT集群绑定证书
|
|
20
25
|
参数传空,则为删除证书
|
|
21
26
|
*/
|
|
22
27
|
ModifyMQTTInstanceCertBinding(req: ModifyMQTTInstanceCertBindingRequest, cb?: (error: string, rep: ModifyMQTTInstanceCertBindingResponse) => void): Promise<ModifyMQTTInstanceCertBindingResponse>;
|
|
@@ -57,7 +62,9 @@ Filters示例:
|
|
|
57
62
|
*/
|
|
58
63
|
DescribeTopicListByGroup(req: DescribeTopicListByGroupRequest, cb?: (error: string, rep: DescribeTopicListByGroupResponse) => void): Promise<DescribeTopicListByGroupResponse>;
|
|
59
64
|
/**
|
|
60
|
-
*
|
|
65
|
+
* 下线trocket下mqtt接口
|
|
66
|
+
|
|
67
|
+
修改主题属性
|
|
61
68
|
*/
|
|
62
69
|
ModifyMQTTTopic(req: ModifyMQTTTopicRequest, cb?: (error: string, rep: ModifyMQTTTopicResponse) => void): Promise<ModifyMQTTTopicResponse>;
|
|
63
70
|
/**
|
|
@@ -65,7 +72,9 @@ Filters示例:
|
|
|
65
72
|
*/
|
|
66
73
|
RemoveMigratingTopic(req: RemoveMigratingTopicRequest, cb?: (error: string, rep: RemoveMigratingTopicResponse) => void): Promise<RemoveMigratingTopicResponse>;
|
|
67
74
|
/**
|
|
68
|
-
*
|
|
75
|
+
* 下线trocket下mqtt接口
|
|
76
|
+
|
|
77
|
+
删除MQTT访问用户
|
|
69
78
|
*/
|
|
70
79
|
DeleteMQTTUser(req: DeleteMQTTUserRequest, cb?: (error: string, rep: DeleteMQTTUserResponse) => void): Promise<DeleteMQTTUserResponse>;
|
|
71
80
|
/**
|
|
@@ -93,7 +102,8 @@ Filters示例:
|
|
|
93
102
|
*/
|
|
94
103
|
DescribeSmoothMigrationTaskList(req: DescribeSmoothMigrationTaskListRequest, cb?: (error: string, rep: DescribeSmoothMigrationTaskListResponse) => void): Promise<DescribeSmoothMigrationTaskListResponse>;
|
|
95
104
|
/**
|
|
96
|
-
* 发送 RocketMQ 消息,该接口仅用于控制台发送少量测试消息,不保证SLA,且云 API 存在限流,在真实业务场景下,请使用 RocketMQ SDK 发送消息。
|
|
105
|
+
* 发送 RocketMQ 消息,该接口仅用于控制台发送少量测试消息,不保证 SLA,且云 API 存在限流,在真实业务场景下,请使用 RocketMQ SDK 发送消息。
|
|
106
|
+
当前 API 适用集群:5.x 集群。4.x 集群的发送消息接口文档见 [SendRocketMQMessage](https://cloud.tencent.com/document/api/1179/94179)。
|
|
97
107
|
*/
|
|
98
108
|
SendMessage(req: SendMessageRequest, cb?: (error: string, rep: SendMessageResponse) => void): Promise<SendMessageResponse>;
|
|
99
109
|
/**
|
|
@@ -105,7 +115,9 @@ Filters示例:
|
|
|
105
115
|
*/
|
|
106
116
|
CreateConsumerGroup(req: CreateConsumerGroupRequest, cb?: (error: string, rep: CreateConsumerGroupResponse) => void): Promise<CreateConsumerGroupResponse>;
|
|
107
117
|
/**
|
|
108
|
-
*
|
|
118
|
+
* 下线trocket下mqtt接口
|
|
119
|
+
|
|
120
|
+
获取产品售卖规格
|
|
109
121
|
*/
|
|
110
122
|
DescribeMQTTProductSKUList(req?: DescribeMQTTProductSKUListRequest, cb?: (error: string, rep: DescribeMQTTProductSKUListResponse) => void): Promise<DescribeMQTTProductSKUListResponse>;
|
|
111
123
|
/**
|
|
@@ -134,13 +146,17 @@ Filters示例:
|
|
|
134
146
|
*/
|
|
135
147
|
DescribeMessage(req: DescribeMessageRequest, cb?: (error: string, rep: DescribeMessageResponse) => void): Promise<DescribeMessageResponse>;
|
|
136
148
|
/**
|
|
137
|
-
*
|
|
149
|
+
* 下线trocket下mqtt接口
|
|
150
|
+
|
|
151
|
+
查询用户列表,Filter参数使用说明如下:
|
|
138
152
|
|
|
139
153
|
1. Username,用户名称模糊搜索
|
|
140
154
|
*/
|
|
141
155
|
DescribeMQTTUserList(req: DescribeMQTTUserListRequest, cb?: (error: string, rep: DescribeMQTTUserListResponse) => void): Promise<DescribeMQTTUserListResponse>;
|
|
142
156
|
/**
|
|
143
|
-
*
|
|
157
|
+
* 下线trocket下mqtt接口
|
|
158
|
+
|
|
159
|
+
删除MQTT实例的公网接入点
|
|
144
160
|
*/
|
|
145
161
|
DeleteMQTTInsPublicEndpoint(req: DeleteMQTTInsPublicEndpointRequest, cb?: (error: string, rep: DeleteMQTTInsPublicEndpointResponse) => void): Promise<DeleteMQTTInsPublicEndpointResponse>;
|
|
146
162
|
/**
|
|
@@ -154,7 +170,9 @@ Filters示例:
|
|
|
154
170
|
*/
|
|
155
171
|
DescribeRoleList(req: DescribeRoleListRequest, cb?: (error: string, rep: DescribeRoleListResponse) => void): Promise<DescribeRoleListResponse>;
|
|
156
172
|
/**
|
|
157
|
-
*
|
|
173
|
+
* 下线trocket下mqtt接口
|
|
174
|
+
|
|
175
|
+
修改MQTT角色
|
|
158
176
|
*/
|
|
159
177
|
ModifyMQTTUser(req: ModifyMQTTUserRequest, cb?: (error: string, rep: ModifyMQTTUserResponse) => void): Promise<ModifyMQTTUserResponse>;
|
|
160
178
|
/**
|
|
@@ -165,6 +183,7 @@ Filters示例:
|
|
|
165
183
|
* 查询主题关联的生产者列表信息,Filters支持以下筛选条件:
|
|
166
184
|
- ClientIP,客户端IP
|
|
167
185
|
- ClientID,客户端ID
|
|
186
|
+
当前 API 适用集群:5.x 集群。4.x 集群的查询生产者客户端列表接口文档见 [DescribeRocketMQProducers](https://cloud.tencent.com/document/api/1179/122749)。
|
|
168
187
|
*/
|
|
169
188
|
DescribeProducerList(req: DescribeProducerListRequest, cb?: (error: string, rep: DescribeProducerListResponse) => void): Promise<DescribeProducerListResponse>;
|
|
170
189
|
/**
|
|
@@ -172,7 +191,9 @@ Filters示例:
|
|
|
172
191
|
*/
|
|
173
192
|
ModifyConsumerGroup(req: ModifyConsumerGroupRequest, cb?: (error: string, rep: ModifyConsumerGroupResponse) => void): Promise<ModifyConsumerGroupResponse>;
|
|
174
193
|
/**
|
|
175
|
-
*
|
|
194
|
+
* 下线trocket下mqtt接口
|
|
195
|
+
|
|
196
|
+
查询MQTT实例公网接入点
|
|
176
197
|
*/
|
|
177
198
|
DescribeMQTTInsVPCEndpoints(req: DescribeMQTTInsVPCEndpointsRequest, cb?: (error: string, rep: DescribeMQTTInsVPCEndpointsResponse) => void): Promise<DescribeMQTTInsVPCEndpointsResponse>;
|
|
178
199
|
/**
|
|
@@ -188,15 +209,21 @@ Filters示例:
|
|
|
188
209
|
*/
|
|
189
210
|
DeleteRole(req: DeleteRoleRequest, cb?: (error: string, rep: DeleteRoleResponse) => void): Promise<DeleteRoleResponse>;
|
|
190
211
|
/**
|
|
191
|
-
*
|
|
212
|
+
* 下线trocket下mqtt接口
|
|
213
|
+
|
|
214
|
+
删除MQTT实例
|
|
192
215
|
*/
|
|
193
216
|
DeleteMQTTInstance(req: DeleteMQTTInstanceRequest, cb?: (error: string, rep: DeleteMQTTInstanceResponse) => void): Promise<DeleteMQTTInstanceResponse>;
|
|
194
217
|
/**
|
|
195
|
-
*
|
|
218
|
+
* 下线trocket下mqtt接口
|
|
219
|
+
|
|
220
|
+
查询MQTT消息详情
|
|
196
221
|
*/
|
|
197
222
|
DescribeMQTTMessage(req: DescribeMQTTMessageRequest, cb?: (error: string, rep: DescribeMQTTMessageResponse) => void): Promise<DescribeMQTTMessageResponse>;
|
|
198
223
|
/**
|
|
199
|
-
*
|
|
224
|
+
* 下线trocket下mqtt接口
|
|
225
|
+
|
|
226
|
+
更新MQTT实例公网接入点
|
|
200
227
|
*/
|
|
201
228
|
ModifyMQTTInsPublicEndpoint(req: ModifyMQTTInsPublicEndpointRequest, cb?: (error: string, rep: ModifyMQTTInsPublicEndpointResponse) => void): Promise<ModifyMQTTInsPublicEndpointResponse>;
|
|
202
229
|
/**
|
|
@@ -208,7 +235,9 @@ Filters示例:
|
|
|
208
235
|
*/
|
|
209
236
|
DescribeConsumerLag(req: DescribeConsumerLagRequest, cb?: (error: string, rep: DescribeConsumerLagResponse) => void): Promise<DescribeConsumerLagResponse>;
|
|
210
237
|
/**
|
|
211
|
-
*
|
|
238
|
+
* 下线trocket下mqtt接口
|
|
239
|
+
|
|
240
|
+
查询mqtt主题详情
|
|
212
241
|
*/
|
|
213
242
|
DescribeMQTTTopic(req: DescribeMQTTTopicRequest, cb?: (error: string, rep: DescribeMQTTTopicResponse) => void): Promise<DescribeMQTTTopicResponse>;
|
|
214
243
|
/**
|
|
@@ -236,18 +265,24 @@ Filters示例:
|
|
|
236
265
|
*/
|
|
237
266
|
ResetConsumerGroupOffset(req: ResetConsumerGroupOffsetRequest, cb?: (error: string, rep: ResetConsumerGroupOffsetResponse) => void): Promise<ResetConsumerGroupOffsetResponse>;
|
|
238
267
|
/**
|
|
239
|
-
*
|
|
268
|
+
* 下线trocket下mqtt接口
|
|
269
|
+
|
|
270
|
+
获取主题列表,Filter参数使用说明如下:
|
|
240
271
|
|
|
241
272
|
1. TopicName,主题名称模糊搜索
|
|
242
273
|
2. TopicType,主题类型查询,支持多选,可选值:Normal,Order,Transaction,DelayScheduled
|
|
243
274
|
*/
|
|
244
275
|
DescribeMQTTTopicList(req: DescribeMQTTTopicListRequest, cb?: (error: string, rep: DescribeMQTTTopicListResponse) => void): Promise<DescribeMQTTTopicListResponse>;
|
|
245
276
|
/**
|
|
246
|
-
*
|
|
277
|
+
* 下线trocket下mqtt接口
|
|
278
|
+
|
|
279
|
+
查询实例信息
|
|
247
280
|
*/
|
|
248
281
|
DescribeMQTTInstance(req: DescribeMQTTInstanceRequest, cb?: (error: string, rep: DescribeMQTTInstanceResponse) => void): Promise<DescribeMQTTInstanceResponse>;
|
|
249
282
|
/**
|
|
250
|
-
*
|
|
283
|
+
* 下线trocket下mqtt接口
|
|
284
|
+
|
|
285
|
+
创建主题
|
|
251
286
|
*/
|
|
252
287
|
CreateMQTTTopic(req: CreateMQTTTopicRequest, cb?: (error: string, rep: CreateMQTTTopicResponse) => void): Promise<CreateMQTTTopicResponse>;
|
|
253
288
|
/**
|
|
@@ -255,7 +290,9 @@ Filters示例:
|
|
|
255
290
|
*/
|
|
256
291
|
CreateInstance(req: CreateInstanceRequest, cb?: (error: string, rep: CreateInstanceResponse) => void): Promise<CreateInstanceResponse>;
|
|
257
292
|
/**
|
|
258
|
-
*
|
|
293
|
+
* 下线trocket下mqtt接口
|
|
294
|
+
|
|
295
|
+
删除MQTT主题
|
|
259
296
|
*/
|
|
260
297
|
DeleteMQTTTopic(req: DeleteMQTTTopicRequest, cb?: (error: string, rep: DeleteMQTTTopicResponse) => void): Promise<DeleteMQTTTopicResponse>;
|
|
261
298
|
/**
|
|
@@ -277,23 +314,32 @@ Filters示例:
|
|
|
277
314
|
*/
|
|
278
315
|
DescribeTopicList(req: DescribeTopicListRequest, cb?: (error: string, rep: DescribeTopicListResponse) => void): Promise<DescribeTopicListResponse>;
|
|
279
316
|
/**
|
|
280
|
-
*
|
|
317
|
+
* 重新发送死信消息。
|
|
318
|
+
当前 API 适用集群:5.x集群。4.x 集群的重发死信消息接口文档见 [RetryRocketMQDlqMessage](https://cloud.tencent.com/document/api/1179/114595)。
|
|
281
319
|
*/
|
|
282
320
|
ResendDeadLetterMessage(req: ResendDeadLetterMessageRequest, cb?: (error: string, rep: ResendDeadLetterMessageResponse) => void): Promise<ResendDeadLetterMessageResponse>;
|
|
283
321
|
/**
|
|
284
|
-
*
|
|
322
|
+
* 下线trocket下mqtt接口
|
|
323
|
+
|
|
324
|
+
查询MQTT实例公网接入点
|
|
285
325
|
*/
|
|
286
326
|
DescribeMQTTInsPublicEndpoints(req: DescribeMQTTInsPublicEndpointsRequest, cb?: (error: string, rep: DescribeMQTTInsPublicEndpointsResponse) => void): Promise<DescribeMQTTInsPublicEndpointsResponse>;
|
|
287
327
|
/**
|
|
288
|
-
*
|
|
328
|
+
* 下线trocket下mqtt接口
|
|
329
|
+
|
|
330
|
+
查询MQTT集群证书列表
|
|
289
331
|
*/
|
|
290
332
|
DescribeMQTTInstanceCert(req: DescribeMQTTInstanceCertRequest, cb?: (error: string, rep: DescribeMQTTInstanceCertResponse) => void): Promise<DescribeMQTTInstanceCertResponse>;
|
|
291
333
|
/**
|
|
292
|
-
*
|
|
334
|
+
* 下线trocket下mqtt接口
|
|
335
|
+
|
|
336
|
+
修改实例属性
|
|
293
337
|
*/
|
|
294
338
|
ModifyMQTTInstance(req: ModifyMQTTInstanceRequest, cb?: (error: string, rep: ModifyMQTTInstanceResponse) => void): Promise<ModifyMQTTInstanceResponse>;
|
|
295
339
|
/**
|
|
296
|
-
*
|
|
340
|
+
* 下线trocket下mqtt接口
|
|
341
|
+
|
|
342
|
+
获取实例列表,Filters参数使用说明如下:
|
|
297
343
|
1. InstanceName, 名称模糊查询
|
|
298
344
|
2. InstanceId,实例ID查询
|
|
299
345
|
3. InstanceType, 实例类型查询,支持多选
|
|
@@ -315,7 +361,9 @@ Filters示例:
|
|
|
315
361
|
*/
|
|
316
362
|
DescribeConsumerGroupList(req: DescribeConsumerGroupListRequest, cb?: (error: string, rep: DescribeConsumerGroupListResponse) => void): Promise<DescribeConsumerGroupListResponse>;
|
|
317
363
|
/**
|
|
318
|
-
*
|
|
364
|
+
* 下线trocket下mqtt接口
|
|
365
|
+
|
|
366
|
+
购买新的MQTT实例
|
|
319
367
|
*/
|
|
320
368
|
CreateMQTTInstance(req: CreateMQTTInstanceRequest, cb?: (error: string, rep: CreateMQTTInstanceResponse) => void): Promise<CreateMQTTInstanceResponse>;
|
|
321
369
|
/**
|
|
@@ -348,7 +396,9 @@ Filters示例:
|
|
|
348
396
|
*/
|
|
349
397
|
DescribeFusionInstanceList(req: DescribeFusionInstanceListRequest, cb?: (error: string, rep: DescribeFusionInstanceListResponse) => void): Promise<DescribeFusionInstanceListResponse>;
|
|
350
398
|
/**
|
|
351
|
-
*
|
|
399
|
+
* 下线trocket下mqtt接口
|
|
400
|
+
|
|
401
|
+
添加mqtt角色
|
|
352
402
|
*/
|
|
353
403
|
CreateMQTTUser(req: CreateMQTTUserRequest, cb?: (error: string, rep: CreateMQTTUserResponse) => void): Promise<CreateMQTTUserResponse>;
|
|
354
404
|
/**
|
|
@@ -356,7 +406,9 @@ Filters示例:
|
|
|
356
406
|
*/
|
|
357
407
|
ModifyRole(req: ModifyRoleRequest, cb?: (error: string, rep: ModifyRoleResponse) => void): Promise<ModifyRoleResponse>;
|
|
358
408
|
/**
|
|
359
|
-
*
|
|
409
|
+
* 下线trocket下mqtt接口
|
|
410
|
+
|
|
411
|
+
查询 MQTT 客户端详情
|
|
360
412
|
*/
|
|
361
413
|
DescribeMQTTClient(req: DescribeMQTTClientRequest, cb?: (error: string, rep: DescribeMQTTClientResponse) => void): Promise<DescribeMQTTClientResponse>;
|
|
362
414
|
/**
|
|
@@ -397,7 +449,9 @@ Type,根据任务类型精确查找
|
|
|
397
449
|
*/
|
|
398
450
|
RollbackMigratingTopicStage(req: RollbackMigratingTopicStageRequest, cb?: (error: string, rep: RollbackMigratingTopicStageResponse) => void): Promise<RollbackMigratingTopicStageResponse>;
|
|
399
451
|
/**
|
|
400
|
-
*
|
|
452
|
+
* 下线trocket下mqtt接口
|
|
453
|
+
|
|
454
|
+
为MQTT实例创建公网接入点
|
|
401
455
|
*/
|
|
402
456
|
CreateMQTTInsPublicEndpoint(req: CreateMQTTInsPublicEndpointRequest, cb?: (error: string, rep: CreateMQTTInsPublicEndpointResponse) => void): Promise<CreateMQTTInsPublicEndpointResponse>;
|
|
403
457
|
}
|