tencentcloud-sdk-nodejs 4.0.263 → 4.0.264

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.
@@ -1108,29 +1108,6 @@ export interface CreateEnvironmentResponse {
1108
1108
  */
1109
1109
  RequestId?: string;
1110
1110
  }
1111
- /**
1112
- * 生产者
1113
- */
1114
- export interface Producer {
1115
- /**
1116
- * 环境(命名空间)名称。
1117
- */
1118
- EnvironmentId: string;
1119
- /**
1120
- * 主题名称。
1121
- */
1122
- TopicName: string;
1123
- /**
1124
- * 连接数。
1125
- 注意:此字段可能返回 null,表示取不到有效值。
1126
- */
1127
- CountConnect: number;
1128
- /**
1129
- * 连接集合。
1130
- 注意:此字段可能返回 null,表示取不到有效值。
1131
- */
1132
- ConnectionSets: Array<Connection>;
1133
- }
1134
1111
  /**
1135
1112
  * CreateSubscription返回参数结构体
1136
1113
  */
@@ -4655,35 +4632,6 @@ export interface CreateRoleRequest {
4655
4632
  */
4656
4633
  ClusterId?: string;
4657
4634
  }
4658
- /**
4659
- * DescribeProducers请求参数结构体
4660
- */
4661
- export interface DescribeProducersRequest {
4662
- /**
4663
- * 环境(命名空间)名称。
4664
- */
4665
- EnvironmentId: string;
4666
- /**
4667
- * 主题名。
4668
- */
4669
- TopicName: string;
4670
- /**
4671
- * 起始下标,不填默认为0。
4672
- */
4673
- Offset?: number;
4674
- /**
4675
- * 返回数量,不填则默认为10,最大值为20。
4676
- */
4677
- Limit?: number;
4678
- /**
4679
- * 生产者名称,模糊匹配。
4680
- */
4681
- ProducerName?: string;
4682
- /**
4683
- * Pulsar 集群的ID
4684
- */
4685
- ClusterId?: string;
4686
- }
4687
4635
  /**
4688
4636
  * ModifyEnvironmentRole请求参数结构体
4689
4637
  */
@@ -4867,23 +4815,6 @@ export interface DescribeAMQPExchangesRequest {
4867
4815
  */
4868
4816
  FilterInternal?: boolean;
4869
4817
  }
4870
- /**
4871
- * DescribeProducers返回参数结构体
4872
- */
4873
- export interface DescribeProducersResponse {
4874
- /**
4875
- * 生产者集合数组。
4876
- */
4877
- ProducerSets: Array<Producer>;
4878
- /**
4879
- * 记录总数。
4880
- */
4881
- TotalCount: number;
4882
- /**
4883
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4884
- */
4885
- RequestId?: string;
4886
- }
4887
4818
  /**
4888
4819
  * CreateRocketMQNamespace返回参数结构体
4889
4820
  */
@@ -5212,46 +5143,6 @@ export interface ModifyRocketMQGroupResponse {
5212
5143
  */
5213
5144
  RequestId?: string;
5214
5145
  }
5215
- /**
5216
- * 生产者连接实例
5217
- */
5218
- export interface Connection {
5219
- /**
5220
- * 生产者地址。
5221
- 注意:此字段可能返回 null,表示取不到有效值。
5222
- */
5223
- Address: string;
5224
- /**
5225
- * 主题分区。
5226
- 注意:此字段可能返回 null,表示取不到有效值。
5227
- */
5228
- Partitions: number;
5229
- /**
5230
- * 生产者版本。
5231
- 注意:此字段可能返回 null,表示取不到有效值。
5232
- */
5233
- ClientVersion: string;
5234
- /**
5235
- * 生产者名称。
5236
- 注意:此字段可能返回 null,表示取不到有效值。
5237
- */
5238
- ProducerName: string;
5239
- /**
5240
- * 生产者ID。
5241
- 注意:此字段可能返回 null,表示取不到有效值。
5242
- */
5243
- ProducerId: string;
5244
- /**
5245
- * 消息平均大小(byte)。
5246
- 注意:此字段可能返回 null,表示取不到有效值。
5247
- */
5248
- AverageMsgSize: string;
5249
- /**
5250
- * 生成速率(byte/秒)。
5251
- 注意:此字段可能返回 null,表示取不到有效值。
5252
- */
5253
- MsgThroughputIn: string;
5254
- }
5255
5146
  /**
5256
5147
  * 租户AMQP集群详细信息
5257
5148
  */
@@ -28,6 +28,26 @@ it("rce.v20201103.DescribeRiskModel", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("rce.v20201103.DescribeRiskTrends", async function () {
32
+ try {
33
+ const data = await client.DescribeRiskTrends({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
41
+ it("rce.v20201103.DescribeRiskAssessment", async function () {
42
+ try {
43
+ const data = await client.DescribeRiskAssessment({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
31
51
  it("rce.v20201103.ManageMarketingRisk", async function () {
32
52
  try {
33
53
  const data = await client.ManageMarketingRisk({})
@@ -438,16 +438,6 @@ it("tdmq.v20200217.DescribeCmqTopicDetail", async function () {
438
438
  }
439
439
  })
440
440
 
441
- it("tdmq.v20200217.DescribeProducers", async function () {
442
- try {
443
- const data = await client.DescribeProducers({})
444
- expect(data).to.be.ok
445
- } catch(error) {
446
- expect(error.requestId).to.be.ok
447
- expect(error.code).to.be.ok
448
- }
449
- })
450
-
451
441
  it("tdmq.v20200217.DeleteAMQPQueue", async function () {
452
442
  try {
453
443
  const data = await client.DeleteAMQPQueue({})