tencentcloud-sdk-nodejs-tdmq 4.0.242 → 4.0.248

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.
@@ -28,178 +28,232 @@ class Client extends TencentCloudCommon.AbstractClient {
28
28
  super("tdmq.tencentcloudapi.com", "2020-02-17", clientConfig);
29
29
  }
30
30
  /**
31
- * 删除cmq主题
31
+ * 批量删除租户下的命名空间
32
32
  */
33
- async DeleteCmqTopic(req, cb) {
34
- return this.request("DeleteCmqTopic", req, cb);
33
+ async DeleteEnvironments(req, cb) {
34
+ return this.request("DeleteEnvironments", req, cb);
35
35
  }
36
36
  /**
37
- * 获取RocketMQ集群列表
37
+ * 创建用户的集群
38
38
  */
39
- async DescribeRocketMQClusters(req, cb) {
40
- return this.request("DescribeRocketMQClusters", req, cb);
39
+ async CreateCluster(req, cb) {
40
+ return this.request("CreateCluster", req, cb);
41
41
  }
42
42
  /**
43
- * 批量删除租户下的命名空间
43
+ * 获取RocketMQ命名空间列表
44
44
  */
45
- async DeleteEnvironments(req, cb) {
46
- return this.request("DeleteEnvironments", req, cb);
45
+ async DescribeRocketMQNamespaces(req, cb) {
46
+ return this.request("DescribeRocketMQNamespaces", req, cb);
47
47
  }
48
48
  /**
49
- * 获取租户VPC绑定关系
49
+ * 更新Amqp集群信息
50
50
  */
51
- async DescribeBindVpcs(req, cb) {
52
- return this.request("DescribeBindVpcs", req, cb);
51
+ async ModifyAMQPCluster(req, cb) {
52
+ return this.request("ModifyAMQPCluster", req, cb);
53
53
  }
54
54
  /**
55
- * 创建用户的集群
55
+ * 删除Amqp交换机
56
56
  */
57
- async CreateCluster(req, cb) {
58
- return this.request("CreateCluster", req, cb);
57
+ async DeleteAMQPExchange(req, cb) {
58
+ return this.request("DeleteAMQPExchange", req, cb);
59
59
  }
60
60
  /**
61
- * 修改主题备注和分区数
61
+ * 创建cmq主题
62
62
  */
63
- async ModifyTopic(req, cb) {
64
- return this.request("ModifyTopic", req, cb);
63
+ async CreateCmqTopic(req, cb) {
64
+ return this.request("CreateCmqTopic", req, cb);
65
65
  }
66
66
  /**
67
- * 清空cmq消息队列中的消息
67
+ * 删除cmq队列
68
68
  */
69
- async ClearCmqQueue(req, cb) {
70
- return this.request("ClearCmqQueue", req, cb);
69
+ async DeleteCmqQueue(req, cb) {
70
+ return this.request("DeleteCmqQueue", req, cb);
71
71
  }
72
72
  /**
73
- * 删除RocketMQ主题
73
+ * 枚举cmq全量主题
74
74
  */
75
- async DeleteRocketMQTopic(req, cb) {
76
- return this.request("DeleteRocketMQTopic", req, cb);
75
+ async DescribeCmqTopics(req, cb) {
76
+ return this.request("DescribeCmqTopics", req, cb);
77
77
  }
78
78
  /**
79
- * 运营端获节点健康状态
79
+ * 创建Amqp Vhost
80
80
  */
81
- async DescribeNodeHealthOpt(req, cb) {
82
- return this.request("DescribeNodeHealthOpt", req, cb);
81
+ async CreateAMQPVHost(req, cb) {
82
+ return this.request("CreateAMQPVHost", req, cb);
83
83
  }
84
84
  /**
85
- * 创建角色
85
+ * 批量删除topics
86
86
  */
87
- async CreateRole(req, cb) {
88
- return this.request("CreateRole", req, cb);
87
+ async DeleteTopics(req, cb) {
88
+ return this.request("DeleteTopics", req, cb);
89
89
  }
90
90
  /**
91
- * 创建cmq队列接口
91
+ * 删除RocketMQ消费组
92
92
  */
93
- async CreateCmqQueue(req, cb) {
94
- return this.request("CreateCmqQueue", req, cb);
93
+ async DeleteRocketMQGroup(req, cb) {
94
+ return this.request("DeleteRocketMQGroup", req, cb);
95
95
  }
96
96
  /**
97
- * 更新RocketMQ消费组信息
97
+ * 回溯cmq队列
98
98
  */
99
- async ModifyRocketMQGroup(req, cb) {
100
- return this.request("ModifyRocketMQGroup", req, cb);
99
+ async RewindCmqQueue(req, cb) {
100
+ return this.request("RewindCmqQueue", req, cb);
101
101
  }
102
102
  /**
103
- * 修改cmq主题属性
103
+ * 发送cmq主题消息
104
104
  */
105
- async ModifyCmqTopicAttribute(req, cb) {
106
- return this.request("ModifyCmqTopicAttribute", req, cb);
105
+ async PublishCmqMsg(req, cb) {
106
+ return this.request("PublishCmqMsg", req, cb);
107
107
  }
108
108
  /**
109
- * 修改cmq队列属性
109
+ * 新增指定分区、类型的消息主题
110
110
  */
111
- async ModifyCmqQueueAttribute(req, cb) {
112
- return this.request("ModifyCmqQueueAttribute", req, cb);
111
+ async CreateTopic(req, cb) {
112
+ return this.request("CreateTopic", req, cb);
113
113
  }
114
114
  /**
115
- * 删除订阅关系
115
+ * 获取单个Amqp集群信息
116
116
  */
117
- async DeleteSubscriptions(req, cb) {
118
- return this.request("DeleteSubscriptions", req, cb);
117
+ async DescribeAMQPCluster(req, cb) {
118
+ return this.request("DescribeAMQPCluster", req, cb);
119
119
  }
120
120
  /**
121
- * 创建cmq主题
121
+ * 查询cmq全量队列
122
122
  */
123
- async CreateCmqTopic(req, cb) {
124
- return this.request("CreateCmqTopic", req, cb);
123
+ async DescribeCmqQueues(req, cb) {
124
+ return this.request("DescribeCmqQueues", req, cb);
125
125
  }
126
126
  /**
127
- * 查询cmq订阅详情
127
+ * 获取租户下命名空间列表
128
128
  */
129
- async DescribeCmqSubscriptionDetail(req, cb) {
130
- return this.request("DescribeCmqSubscriptionDetail", req, cb);
129
+ async DescribeEnvironments(req, cb) {
130
+ return this.request("DescribeEnvironments", req, cb);
131
131
  }
132
132
  /**
133
- * 枚举cmq死信队列源队列
133
+ * 获取集群的详细信息
134
134
  */
135
- async DescribeCmqDeadLetterSourceQueues(req, cb) {
136
- return this.request("DescribeCmqDeadLetterSourceQueues", req, cb);
135
+ async DescribeClusterDetail(req, cb) {
136
+ return this.request("DescribeClusterDetail", req, cb);
137
137
  }
138
138
  /**
139
- * 获取RocketMQ命名空间列表
139
+ * 修改环境角色授权。
140
140
  */
141
- async DescribeRocketMQNamespaces(req, cb) {
142
- return this.request("DescribeRocketMQNamespaces", req, cb);
141
+ async ModifyEnvironmentRole(req, cb) {
142
+ return this.request("ModifyEnvironmentRole", req, cb);
143
143
  }
144
144
  /**
145
- * 删除cmq队列
145
+ * 根据提供的 MessageID 确认指定 topic 中的消息
146
146
  */
147
- async DeleteCmqQueue(req, cb) {
148
- return this.request("DeleteCmqQueue", req, cb);
147
+ async AcknowledgeMessage(req, cb) {
148
+ return this.request("AcknowledgeMessage", req, cb);
149
149
  }
150
150
  /**
151
- * 此接口用于创建一个RocketMQ集群
151
+ * 用于在用户账户下创建消息队列 Tdmq 命名空间
152
152
  */
153
- async CreateRocketMQCluster(req, cb) {
154
- return this.request("CreateRocketMQCluster", req, cb);
153
+ async CreateEnvironment(req, cb) {
154
+ return this.request("CreateEnvironment", req, cb);
155
155
  }
156
156
  /**
157
- * 删除环境角色授权。
157
+ * 获取环境下主题列表
158
158
  */
159
- async DeleteEnvironmentRoles(req, cb) {
160
- return this.request("DeleteEnvironmentRoles", req, cb);
159
+ async DescribeTopics(req, cb) {
160
+ return this.request("DescribeTopics", req, cb);
161
161
  }
162
162
  /**
163
- * 删除RocketMQ消费组
163
+ * 发送单条消息
164
164
  */
165
- async DeleteRocketMQGroup(req, cb) {
166
- return this.request("DeleteRocketMQGroup", req, cb);
165
+ async SendMessages(req, cb) {
166
+ return this.request("SendMessages", req, cb);
167
167
  }
168
168
  /**
169
- * 获取命名空间角色列表
169
+ * 更新RocketMQ主题信息
170
170
  */
171
- async DescribeEnvironmentRoles(req, cb) {
172
- return this.request("DescribeEnvironmentRoles", req, cb);
171
+ async ModifyRocketMQTopic(req, cb) {
172
+ return this.request("ModifyRocketMQTopic", req, cb);
173
173
  }
174
174
  /**
175
- * 发送cmq主题消息
175
+ * 获取指定命名空间的属性
176
176
  */
177
- async PublishCmqMsg(req, cb) {
178
- return this.request("PublishCmqMsg", req, cb);
177
+ async DescribeEnvironmentAttributes(req, cb) {
178
+ return this.request("DescribeEnvironmentAttributes", req, cb);
179
179
  }
180
180
  /**
181
- * 更新RocketMQ命名空间
181
+ * 创建cmq订阅接口
182
182
  */
183
- async ModifyRocketMQNamespace(req, cb) {
184
- return this.request("ModifyRocketMQNamespace", req, cb);
183
+ async CreateCmqSubscribe(req, cb) {
184
+ return this.request("CreateCmqSubscribe", req, cb);
185
185
  }
186
186
  /**
187
- * 获取用户绑定的专享集群列表
187
+ * 删除RocketMQ命名空间
188
188
  */
189
- async DescribeBindClusters(req, cb) {
190
- return this.request("DescribeBindClusters", req, cb);
189
+ async DeleteRocketMQNamespace(req, cb) {
190
+ return this.request("DeleteRocketMQNamespace", req, cb);
191
191
  }
192
192
  /**
193
- * 查询cmq队列详情
193
+ * 删除集群
194
194
  */
195
- async DescribeCmqQueueDetail(req, cb) {
196
- return this.request("DescribeCmqQueueDetail", req, cb);
195
+ async DeleteCluster(req, cb) {
196
+ return this.request("DeleteCluster", req, cb);
197
197
  }
198
198
  /**
199
- * 回溯cmq队列
199
+ * 删除cmq主题
200
200
  */
201
- async RewindCmqQueue(req, cb) {
202
- return this.request("RewindCmqQueue", req, cb);
201
+ async DeleteCmqTopic(req, cb) {
202
+ return this.request("DeleteCmqTopic", req, cb);
203
+ }
204
+ /**
205
+ * 修改cmq队列属性
206
+ */
207
+ async ModifyCmqQueueAttribute(req, cb) {
208
+ return this.request("ModifyCmqQueueAttribute", req, cb);
209
+ }
210
+ /**
211
+ * 创建cmq队列接口
212
+ */
213
+ async CreateCmqQueue(req, cb) {
214
+ return this.request("CreateCmqQueue", req, cb);
215
+ }
216
+ /**
217
+ * 更新RocketMQ消费组信息
218
+ */
219
+ async ModifyRocketMQGroup(req, cb) {
220
+ return this.request("ModifyRocketMQGroup", req, cb);
221
+ }
222
+ /**
223
+ * 修改cmq主题属性
224
+ */
225
+ async ModifyCmqTopicAttribute(req, cb) {
226
+ return this.request("ModifyCmqTopicAttribute", req, cb);
227
+ }
228
+ /**
229
+ * 查询cmq订阅详情
230
+ */
231
+ async DescribeCmqSubscriptionDetail(req, cb) {
232
+ return this.request("DescribeCmqSubscriptionDetail", req, cb);
233
+ }
234
+ /**
235
+ * 创建AMQP集群
236
+ */
237
+ async CreateAMQPCluster(req, cb) {
238
+ return this.request("CreateAMQPCluster", req, cb);
239
+ }
240
+ /**
241
+ * 枚举cmq死信队列源队列
242
+ */
243
+ async DescribeCmqDeadLetterSourceQueues(req, cb) {
244
+ return this.request("DescribeCmqDeadLetterSourceQueues", req, cb);
245
+ }
246
+ /**
247
+ * 获取Amqp Vhost 列表
248
+ */
249
+ async DescribeAMQPVHosts(req, cb) {
250
+ return this.request("DescribeAMQPVHosts", req, cb);
251
+ }
252
+ /**
253
+ * 更新Amqp队列
254
+ */
255
+ async ModifyAMQPQueue(req, cb) {
256
+ return this.request("ModifyAMQPQueue", req, cb);
203
257
  }
204
258
  /**
205
259
  * 获取集群列表
@@ -208,64 +262,70 @@ class Client extends TencentCloudCommon.AbstractClient {
208
262
  return this.request("DescribeClusters", req, cb);
209
263
  }
210
264
  /**
211
- * 此接口仅用于测试发生消息,不能作为现网正式生产使用
265
+ * 查询指定环境和主题下的订阅者列表
212
266
  */
213
- async SendMsg(req, cb) {
214
- return this.request("SendMsg", req, cb);
267
+ async DescribeSubscriptions(req, cb) {
268
+ return this.request("DescribeSubscriptions", req, cb);
215
269
  }
216
270
  /**
217
- * 新增指定分区、类型的消息主题
271
+ * 查询cmq主题详情
218
272
  */
219
- async CreateTopic(req, cb) {
220
- return this.request("CreateTopic", req, cb);
273
+ async DescribeCmqTopicDetail(req, cb) {
274
+ return this.request("DescribeCmqTopicDetail", req, cb);
221
275
  }
222
276
  /**
223
- * 获取RocketMQ消费组列表
277
+ * 获取生产者列表,仅显示在线的生产者
224
278
  */
225
- async DescribeRocketMQGroups(req, cb) {
226
- return this.request("DescribeRocketMQGroups", req, cb);
279
+ async DescribeProducers(req, cb) {
280
+ return this.request("DescribeProducers", req, cb);
227
281
  }
228
282
  /**
229
- * 查询cmq全量队列
283
+ * 删除Amqp队列
230
284
  */
231
- async DescribeCmqQueues(req, cb) {
232
- return this.request("DescribeCmqQueues", req, cb);
285
+ async DeleteAMQPQueue(req, cb) {
286
+ return this.request("DeleteAMQPQueue", req, cb);
233
287
  }
234
288
  /**
235
- * 创建RocketMQ主题
289
+ * 更新RocketMQ集群信息
236
290
  */
237
- async CreateRocketMQTopic(req, cb) {
238
- return this.request("CreateRocketMQTopic", req, cb);
291
+ async ModifyRocketMQCluster(req, cb) {
292
+ return this.request("ModifyRocketMQCluster", req, cb);
239
293
  }
240
294
  /**
241
- * 获取租户下命名空间列表
295
+ * 更新集群信息
242
296
  */
243
- async DescribeEnvironments(req, cb) {
244
- return this.request("DescribeEnvironments", req, cb);
297
+ async ModifyCluster(req, cb) {
298
+ return this.request("ModifyCluster", req, cb);
245
299
  }
246
300
  /**
247
- * 获取RocketMQ主题列表
301
+ * 修改cmq订阅属性
248
302
  */
249
- async DescribeRocketMQTopics(req, cb) {
250
- return this.request("DescribeRocketMQTopics", req, cb);
303
+ async ModifyCmqSubscriptionAttribute(req, cb) {
304
+ return this.request("ModifyCmqSubscriptionAttribute", req, cb);
251
305
  }
252
306
  /**
253
- * 获取集群的详细信息
307
+ * 创建一个主题的订阅关系
254
308
  */
255
- async DescribeClusterDetail(req, cb) {
256
- return this.request("DescribeClusterDetail", req, cb);
309
+ async CreateSubscription(req, cb) {
310
+ return this.request("CreateSubscription", req, cb);
257
311
  }
258
312
  /**
259
- * 删除RocketMQ集群
313
+ * 删除AMQP集群
260
314
  */
261
- async DeleteRocketMQCluster(req, cb) {
262
- return this.request("DeleteRocketMQCluster", req, cb);
315
+ async DeleteAMQPCluster(req, cb) {
316
+ return this.request("DeleteAMQPCluster", req, cb);
263
317
  }
264
318
  /**
265
- * 创建RocketMQ消费组
319
+ * 获取单个RocketMQ集群信息
266
320
  */
267
- async CreateRocketMQGroup(req, cb) {
268
- return this.request("CreateRocketMQGroup", req, cb);
321
+ async DescribeRocketMQCluster(req, cb) {
322
+ return this.request("DescribeRocketMQCluster", req, cb);
323
+ }
324
+ /**
325
+ * 删除环境角色授权。
326
+ */
327
+ async DeleteEnvironmentRoles(req, cb) {
328
+ return this.request("DeleteEnvironmentRoles", req, cb);
269
329
  }
270
330
  /**
271
331
  * 根据时间戳进行消息回溯,精确到毫秒
@@ -274,118 +334,118 @@ class Client extends TencentCloudCommon.AbstractClient {
274
334
  return this.request("ResetMsgSubOffsetByTimestamp", req, cb);
275
335
  }
276
336
  /**
277
- * 根据提供的 MessageID 确认指定 topic 中的消息
337
+ * 获取租户VPC绑定关系
278
338
  */
279
- async AcknowledgeMessage(req, cb) {
280
- return this.request("AcknowledgeMessage", req, cb);
339
+ async DescribeBindVpcs(req, cb) {
340
+ return this.request("DescribeBindVpcs", req, cb);
281
341
  }
282
342
  /**
283
- * 查询cmq主题详情
343
+ * 获取用户的配额,如Queue容量,Exchange容量,Vhost容量,单Vhost Tps数,剩余可创建集群数
284
344
  */
285
- async DescribeCmqTopicDetail(req, cb) {
286
- return this.request("DescribeCmqTopicDetail", req, cb);
345
+ async DescribeAMQPCreateQuota(req, cb) {
346
+ return this.request("DescribeAMQPCreateQuota", req, cb);
287
347
  }
288
348
  /**
289
- * 查询指定环境和主题下的订阅者列表
349
+ * 删除RocketMQ主题
290
350
  */
291
- async DescribeSubscriptions(req, cb) {
292
- return this.request("DescribeSubscriptions", req, cb);
351
+ async DeleteRocketMQTopic(req, cb) {
352
+ return this.request("DeleteRocketMQTopic", req, cb);
293
353
  }
294
354
  /**
295
- * 用于在用户账户下创建消息队列 Tdmq 命名空间
355
+ * 创建AMQP Exchange
296
356
  */
297
- async CreateEnvironment(req, cb) {
298
- return this.request("CreateEnvironment", req, cb);
357
+ async CreateAMQPExchange(req, cb) {
358
+ return this.request("CreateAMQPExchange", req, cb);
299
359
  }
300
360
  /**
301
- * 删除角色,支持批量。
361
+ * 创建AMQP路由关系
302
362
  */
303
- async DeleteRoles(req, cb) {
304
- return this.request("DeleteRoles", req, cb);
363
+ async CreateAMQPRouteRelation(req, cb) {
364
+ return this.request("CreateAMQPRouteRelation", req, cb);
305
365
  }
306
366
  /**
307
- * 获取生产者列表,仅显示在线的生产者
367
+ * 获取Amqp路由关系列表
308
368
  */
309
- async DescribeProducers(req, cb) {
310
- return this.request("DescribeProducers", req, cb);
369
+ async DescribeAMQPRouteRelations(req, cb) {
370
+ return this.request("DescribeAMQPRouteRelations", req, cb);
311
371
  }
312
372
  /**
313
- * 接收发送到指定 topic 中的消息
373
+ * 获取amqp集群列表
314
374
  */
315
- async ReceiveMessage(req, cb) {
316
- return this.request("ReceiveMessage", req, cb);
375
+ async DescribeAMQPClusters(req, cb) {
376
+ return this.request("DescribeAMQPClusters", req, cb);
317
377
  }
318
378
  /**
319
- * 获取环境下主题列表
379
+ * 创建AMQP队列
320
380
  */
321
- async DescribeTopics(req, cb) {
322
- return this.request("DescribeTopics", req, cb);
381
+ async CreateAMQPQueue(req, cb) {
382
+ return this.request("CreateAMQPQueue", req, cb);
323
383
  }
324
384
  /**
325
- * 枚举cmq全量主题
385
+ * 更新Vhost
326
386
  */
327
- async DescribeCmqTopics(req, cb) {
328
- return this.request("DescribeCmqTopics", req, cb);
387
+ async ModifyAMQPVHost(req, cb) {
388
+ return this.request("ModifyAMQPVHost", req, cb);
329
389
  }
330
390
  /**
331
- * 清空订阅者消息标签
391
+ * 获取RocketMQ消费组列表
332
392
  */
333
- async ClearCmqSubscriptionFilterTags(req, cb) {
334
- return this.request("ClearCmqSubscriptionFilterTags", req, cb);
393
+ async DescribeRocketMQGroups(req, cb) {
394
+ return this.request("DescribeRocketMQGroups", req, cb);
335
395
  }
336
396
  /**
337
- * 删除cmq订阅
397
+ * 获取Amqp队列列表
338
398
  */
339
- async DeleteCmqSubscribe(req, cb) {
340
- return this.request("DeleteCmqSubscribe", req, cb);
399
+ async DescribeAMQPQueues(req, cb) {
400
+ return this.request("DescribeAMQPQueues", req, cb);
341
401
  }
342
402
  /**
343
- * 发送单条消息
403
+ * 删除RocketMQ集群
344
404
  */
345
- async SendMessages(req, cb) {
346
- return this.request("SendMessages", req, cb);
405
+ async DeleteRocketMQCluster(req, cb) {
406
+ return this.request("DeleteRocketMQCluster", req, cb);
347
407
  }
348
408
  /**
349
- * 更新RocketMQ集群信息
409
+ * 删除Vhost
350
410
  */
351
- async ModifyRocketMQCluster(req, cb) {
352
- return this.request("ModifyRocketMQCluster", req, cb);
411
+ async DeleteAMQPVHost(req, cb) {
412
+ return this.request("DeleteAMQPVHost", req, cb);
353
413
  }
354
414
  /**
355
- * 发送cmq消息
415
+ * 删除角色,支持批量。
356
416
  */
357
- async SendCmqMsg(req, cb) {
358
- return this.request("SendCmqMsg", req, cb);
417
+ async DeleteRoles(req, cb) {
418
+ return this.request("DeleteRoles", req, cb);
359
419
  }
360
420
  /**
361
- * 更新集群信息
421
+ * 获取AMQP Exchange列表
362
422
  */
363
- async ModifyCluster(req, cb) {
364
- return this.request("ModifyCluster", req, cb);
423
+ async DescribeAMQPExchanges(req, cb) {
424
+ return this.request("DescribeAMQPExchanges", req, cb);
365
425
  }
366
426
  /**
367
- * 更新RocketMQ主题信息
427
+ * 接收发送到指定 topic 中的消息
368
428
  */
369
- async ModifyRocketMQTopic(req, cb) {
370
- return this.request("ModifyRocketMQTopic", req, cb);
429
+ async ReceiveMessage(req, cb) {
430
+ return this.request("ReceiveMessage", req, cb);
371
431
  }
372
432
  /**
373
- * 角色修改
433
+ * 更新Amqp交换机
374
434
  */
375
- async ModifyRole(req, cb) {
376
- return this.request("ModifyRole", req, cb);
435
+ async ModifyAMQPExchange(req, cb) {
436
+ return this.request("ModifyAMQPExchange", req, cb);
377
437
  }
378
438
  /**
379
- * 修改指定命名空间的属性值
439
+ * 发送cmq消息
380
440
  */
381
- async ModifyEnvironmentAttributes(req, cb) {
382
- return this.request("ModifyEnvironmentAttributes", req, cb);
441
+ async SendCmqMsg(req, cb) {
442
+ return this.request("SendCmqMsg", req, cb);
383
443
  }
384
444
  /**
385
- * 修改cmq订阅属性
445
+ * 修改指定命名空间的属性值
386
446
  */
387
- async ModifyCmqSubscriptionAttribute(req, cb) {
388
- return this.request("ModifyCmqSubscriptionAttribute", req, cb);
447
+ async ModifyEnvironmentAttributes(req, cb) {
448
+ return this.request("ModifyEnvironmentAttributes", req, cb);
389
449
  }
390
450
  /**
391
451
  * 获取角色列表
@@ -399,12 +459,6 @@ class Client extends TencentCloudCommon.AbstractClient {
399
459
  async UnbindCmqDeadLetter(req, cb) {
400
460
  return this.request("UnbindCmqDeadLetter", req, cb);
401
461
  }
402
- /**
403
- * 创建一个主题的订阅关系
404
- */
405
- async CreateSubscription(req, cb) {
406
- return this.request("CreateSubscription", req, cb);
407
- }
408
462
  /**
409
463
  * 创建RocketMQ命名空间
410
464
  */
@@ -412,10 +466,52 @@ class Client extends TencentCloudCommon.AbstractClient {
412
466
  return this.request("CreateRocketMQNamespace", req, cb);
413
467
  }
414
468
  /**
415
- * 获取单个RocketMQ集群信息
469
+ * 创建环境角色授权
416
470
  */
417
- async DescribeRocketMQCluster(req, cb) {
418
- return this.request("DescribeRocketMQCluster", req, cb);
471
+ async CreateEnvironmentRole(req, cb) {
472
+ return this.request("CreateEnvironmentRole", req, cb);
473
+ }
474
+ /**
475
+ * 获取RocketMQ主题列表
476
+ */
477
+ async DescribeRocketMQTopics(req, cb) {
478
+ return this.request("DescribeRocketMQTopics", req, cb);
479
+ }
480
+ /**
481
+ * 获取RocketMQ集群列表
482
+ */
483
+ async DescribeRocketMQClusters(req, cb) {
484
+ return this.request("DescribeRocketMQClusters", req, cb);
485
+ }
486
+ /**
487
+ * 修改主题备注和分区数
488
+ */
489
+ async ModifyTopic(req, cb) {
490
+ return this.request("ModifyTopic", req, cb);
491
+ }
492
+ /**
493
+ * 删除Amqp路由关系
494
+ */
495
+ async DeleteAMQPRouteRelation(req, cb) {
496
+ return this.request("DeleteAMQPRouteRelation", req, cb);
497
+ }
498
+ /**
499
+ * 运营端获节点健康状态
500
+ */
501
+ async DescribeNodeHealthOpt(req, cb) {
502
+ return this.request("DescribeNodeHealthOpt", req, cb);
503
+ }
504
+ /**
505
+ * 创建角色
506
+ */
507
+ async CreateRole(req, cb) {
508
+ return this.request("CreateRole", req, cb);
509
+ }
510
+ /**
511
+ * 更新RocketMQ命名空间
512
+ */
513
+ async ModifyRocketMQNamespace(req, cb) {
514
+ return this.request("ModifyRocketMQNamespace", req, cb);
419
515
  }
420
516
  /**
421
517
  * 批量发送消息
@@ -426,40 +522,70 @@ class Client extends TencentCloudCommon.AbstractClient {
426
522
  return this.request("SendBatchMessages", req, cb);
427
523
  }
428
524
  /**
429
- * 获取指定命名空间的属性
525
+ * 清空cmq消息队列中的消息
430
526
  */
431
- async DescribeEnvironmentAttributes(req, cb) {
432
- return this.request("DescribeEnvironmentAttributes", req, cb);
527
+ async ClearCmqQueue(req, cb) {
528
+ return this.request("ClearCmqQueue", req, cb);
433
529
  }
434
530
  /**
435
- * 创建cmq订阅接口
531
+ * 获取命名空间角色列表
436
532
  */
437
- async CreateCmqSubscribe(req, cb) {
438
- return this.request("CreateCmqSubscribe", req, cb);
533
+ async DescribeEnvironmentRoles(req, cb) {
534
+ return this.request("DescribeEnvironmentRoles", req, cb);
439
535
  }
440
536
  /**
441
- * 创建环境角色授权
537
+ * 此接口用于创建一个RocketMQ集群
442
538
  */
443
- async CreateEnvironmentRole(req, cb) {
444
- return this.request("CreateEnvironmentRole", req, cb);
539
+ async CreateRocketMQCluster(req, cb) {
540
+ return this.request("CreateRocketMQCluster", req, cb);
445
541
  }
446
542
  /**
447
- * 批量删除topics
543
+ * 创建RocketMQ主题
448
544
  */
449
- async DeleteTopics(req, cb) {
450
- return this.request("DeleteTopics", req, cb);
545
+ async CreateRocketMQTopic(req, cb) {
546
+ return this.request("CreateRocketMQTopic", req, cb);
451
547
  }
452
548
  /**
453
- * 修改环境角色授权。
549
+ * 获取用户绑定的专享集群列表
454
550
  */
455
- async ModifyEnvironmentRole(req, cb) {
456
- return this.request("ModifyEnvironmentRole", req, cb);
551
+ async DescribeBindClusters(req, cb) {
552
+ return this.request("DescribeBindClusters", req, cb);
457
553
  }
458
554
  /**
459
- * 删除RocketMQ命名空间
555
+ * 查询cmq队列详情
460
556
  */
461
- async DeleteRocketMQNamespace(req, cb) {
462
- return this.request("DeleteRocketMQNamespace", req, cb);
557
+ async DescribeCmqQueueDetail(req, cb) {
558
+ return this.request("DescribeCmqQueueDetail", req, cb);
559
+ }
560
+ /**
561
+ * 此接口仅用于测试发生消息,不能作为现网正式生产使用
562
+ */
563
+ async SendMsg(req, cb) {
564
+ return this.request("SendMsg", req, cb);
565
+ }
566
+ /**
567
+ * 清空订阅者消息标签
568
+ */
569
+ async ClearCmqSubscriptionFilterTags(req, cb) {
570
+ return this.request("ClearCmqSubscriptionFilterTags", req, cb);
571
+ }
572
+ /**
573
+ * 创建RocketMQ消费组
574
+ */
575
+ async CreateRocketMQGroup(req, cb) {
576
+ return this.request("CreateRocketMQGroup", req, cb);
577
+ }
578
+ /**
579
+ * 角色修改
580
+ */
581
+ async ModifyRole(req, cb) {
582
+ return this.request("ModifyRole", req, cb);
583
+ }
584
+ /**
585
+ * 删除cmq订阅
586
+ */
587
+ async DeleteCmqSubscribe(req, cb) {
588
+ return this.request("DeleteCmqSubscribe", req, cb);
463
589
  }
464
590
  /**
465
591
  * 运营端获取命名空间bundle列表
@@ -468,10 +594,10 @@ class Client extends TencentCloudCommon.AbstractClient {
468
594
  return this.request("DescribeNamespaceBundlesOpt", req, cb);
469
595
  }
470
596
  /**
471
- * 删除集群
597
+ * 删除订阅关系
472
598
  */
473
- async DeleteCluster(req, cb) {
474
- return this.request("DeleteCluster", req, cb);
599
+ async DeleteSubscriptions(req, cb) {
600
+ return this.request("DeleteSubscriptions", req, cb);
475
601
  }
476
602
  }
477
603
  exports.Client = Client;