tencentcloud-sdk-nodejs 4.0.298 → 4.0.301

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 (119) hide show
  1. package/CHANGELOG.md +609 -0
  2. package/SERVICE_CHANGELOG.md +629 -170
  3. package/package.json +1 -1
  4. package/products.md +29 -28
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_client.ts +1 -1
  7. package/src/services/antiddos/v20200309/antiddos_client.ts +127 -53
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +355 -30
  9. package/src/services/api/v20201106/api_client.ts +13 -0
  10. package/src/services/api/v20201106/api_models.ts +45 -0
  11. package/src/services/apigateway/v20180808/apigateway_models.ts +5 -0
  12. package/src/services/billing/v20180709/billing_models.ts +12 -0
  13. package/src/services/ccc/v20200210/ccc_models.ts +12 -0
  14. package/src/services/cdb/v20170320/cdb_models.ts +6 -0
  15. package/src/services/ckafka/v20190819/ckafka_client.ts +44 -8
  16. package/src/services/ckafka/v20190819/ckafka_models.ts +123 -20
  17. package/src/services/clb/v20180317/clb_client.ts +20 -11
  18. package/src/services/clb/v20180317/clb_models.ts +25 -0
  19. package/src/services/cls/v20201016/cls_client.ts +1 -1
  20. package/src/services/cls/v20201016/cls_models.ts +5 -5
  21. package/src/services/cmq/v20190304/cmq_models.ts +94 -82
  22. package/src/services/cpdp/v20190820/cpdp_client.ts +66 -12
  23. package/src/services/cpdp/v20190820/cpdp_models.ts +957 -407
  24. package/src/services/dbbrain/v20210527/dbbrain_models.ts +5 -0
  25. package/src/services/emr/v20190103/emr_client.ts +1 -0
  26. package/src/services/emr/v20190103/emr_models.ts +46 -0
  27. package/src/services/gme/v20180711/gme_models.ts +10 -10
  28. package/src/services/index.ts +1 -0
  29. package/src/services/ivld/v20210903/ivld_client.ts +78 -4
  30. package/src/services/ivld/v20210903/ivld_models.ts +156 -38
  31. package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -0
  32. package/src/services/mariadb/v20170312/mariadb_models.ts +6 -7
  33. package/src/services/mongodb/v20190725/mongodb_client.ts +72 -60
  34. package/src/services/mongodb/v20190725/mongodb_models.ts +1022 -997
  35. package/src/services/monitor/v20180724/monitor_client.ts +1 -1
  36. package/src/services/monitor/v20180724/monitor_models.ts +8 -1
  37. package/src/services/oceanus/v20190422/oceanus_models.ts +84 -2
  38. package/src/services/postgres/v20170312/postgres_client.ts +85 -37
  39. package/src/services/postgres/v20170312/postgres_models.ts +258 -84
  40. package/src/services/sslpod/v20190605/sslpod_models.ts +7 -1
  41. package/src/services/tcss/v20201101/tcss_models.ts +26 -0
  42. package/src/services/tdcpg/index.ts +5 -0
  43. package/src/services/tdcpg/v20211118/index.ts +6 -0
  44. package/src/services/tdcpg/v20211118/tdcpg_client.ts +345 -0
  45. package/src/services/tdcpg/v20211118/tdcpg_models.ts +1320 -0
  46. package/src/services/tdid/v20210519/tdid_client.ts +64 -14
  47. package/src/services/tdid/v20210519/tdid_models.ts +205 -17
  48. package/src/services/tdmq/v20200217/tdmq_models.ts +41 -1
  49. package/tencentcloud/common/sdk_version.d.ts +1 -1
  50. package/tencentcloud/common/sdk_version.js +1 -1
  51. package/tencentcloud/services/ame/v20190916/ame_client.d.ts +1 -1
  52. package/tencentcloud/services/ame/v20190916/ame_client.js +1 -1
  53. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +41 -17
  54. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +60 -24
  55. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +302 -28
  56. package/tencentcloud/services/api/v20201106/api_client.d.ts +5 -1
  57. package/tencentcloud/services/api/v20201106/api_client.js +6 -0
  58. package/tencentcloud/services/api/v20201106/api_models.d.ts +39 -0
  59. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +4 -0
  60. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +10 -0
  61. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +10 -0
  62. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -0
  63. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +15 -3
  64. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +21 -3
  65. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +108 -19
  66. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +8 -7
  67. package/tencentcloud/services/clb/v20180317/clb_client.js +10 -7
  68. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +22 -0
  69. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  70. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  71. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +5 -5
  72. package/tencentcloud/services/cmq/v20190304/cmq_models.d.ts +89 -79
  73. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +20 -4
  74. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +28 -4
  75. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +868 -393
  76. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +4 -0
  77. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +39 -0
  78. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +10 -10
  79. package/tencentcloud/services/index.d.ts +1 -0
  80. package/tencentcloud/services/index.js +2 -0
  81. package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +52 -2
  82. package/tencentcloud/services/ivld/v20210903/ivld_client.js +57 -1
  83. package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +134 -34
  84. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +5 -0
  85. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +5 -6
  86. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
  87. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
  88. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +965 -943
  89. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  90. package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
  91. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +7 -1
  92. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +68 -2
  93. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -13
  94. package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -18
  95. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +219 -71
  96. package/tencentcloud/services/sslpod/v20190605/sslpod_models.d.ts +6 -1
  97. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +21 -0
  98. package/tencentcloud/services/tdcpg/index.d.ts +6 -0
  99. package/tencentcloud/services/tdcpg/index.js +7 -0
  100. package/tencentcloud/services/tdcpg/v20211118/index.d.ts +6 -0
  101. package/tencentcloud/services/tdcpg/v20211118/index.js +9 -0
  102. package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.d.ts +116 -0
  103. package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.js +187 -0
  104. package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.d.ts +1111 -0
  105. package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.js +18 -0
  106. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +22 -5
  107. package/tencentcloud/services/tdid/v20210519/tdid_client.js +31 -6
  108. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +175 -15
  109. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +34 -1
  110. package/test/antiddos.v20200309.test.js +76 -16
  111. package/test/api.v20201106.test.js +10 -0
  112. package/test/ckafka.v20190819.test.js +32 -2
  113. package/test/clb.v20180317.test.js +12 -2
  114. package/test/cpdp.v20190820.test.js +42 -2
  115. package/test/ivld.v20210903.test.js +30 -0
  116. package/test/mongodb.v20190725.test.js +10 -0
  117. package/test/postgres.v20170312.test.js +58 -18
  118. package/test/tdcpg.v20211118.test.js +271 -0
  119. package/test/tdid.v20210519.test.js +44 -4
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +1,29 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { CreateCredentialRequest, CreateTDidRequest, CreateSelectiveCredentialRequest, CreateTDidResponse, CreateSelectiveCredentialResponse, VerifyCredentialResponse, CreateCredentialResponse, VerifyCredentialRequest } from "./tdid_models";
3
+ import { CreateCredentialRequest, CreateTDidRequest, GetAuthorityIssuerResponse, CreateSelectiveCredentialRequest, GetDidDocumentRequest, CreateTDidResponse, CreateSelectiveCredentialResponse, SetCredentialStatusRequest, CreateTDidByPublicKeyRequest, CreateTDidByPublicKeyResponse, CreateCredentialResponse, GetAuthorityIssuerRequest, GetDidDocumentResponse, VerifyCredentialResponse, SetCredentialStatusResponse, VerifyCredentialRequest } from "./tdid_models";
4
4
  /**
5
5
  * tdid client
6
6
  * @class
7
7
  */
8
8
  export declare class Client extends AbstractClient {
9
9
  constructor(clientConfig: ClientConfig);
10
+ /**
11
+ * 查看DID文档
12
+
13
+ */
14
+ GetDidDocument(req: GetDidDocumentRequest, cb?: (error: string, rep: GetDidDocumentResponse) => void): Promise<GetDidDocumentResponse>;
15
+ /**
16
+ * 创建选择性批露凭证
17
+ */
18
+ CreateSelectiveCredential(req: CreateSelectiveCredentialRequest, cb?: (error: string, rep: CreateSelectiveCredentialResponse) => void): Promise<CreateSelectiveCredentialResponse>;
19
+ /**
20
+ * 创建凭证
21
+ */
22
+ CreateCredential(req: CreateCredentialRequest, cb?: (error: string, rep: CreateCredentialResponse) => void): Promise<CreateCredentialResponse>;
23
+ /**
24
+ * 新建DID根据公钥生成Tdid
25
+ */
26
+ CreateTDidByPublicKey(req: CreateTDidByPublicKeyRequest, cb?: (error: string, rep: CreateTDidByPublicKeyResponse) => void): Promise<CreateTDidByPublicKeyResponse>;
10
27
  /**
11
28
  * 验证凭证
12
29
  */
@@ -16,11 +33,11 @@ export declare class Client extends AbstractClient {
16
33
  */
17
34
  CreateTDid(req: CreateTDidRequest, cb?: (error: string, rep: CreateTDidResponse) => void): Promise<CreateTDidResponse>;
18
35
  /**
19
- * 创建选择性批露凭证
36
+ * 获取权威机构信息
20
37
  */
21
- CreateSelectiveCredential(req: CreateSelectiveCredentialRequest, cb?: (error: string, rep: CreateSelectiveCredentialResponse) => void): Promise<CreateSelectiveCredentialResponse>;
38
+ GetAuthorityIssuer(req: GetAuthorityIssuerRequest, cb?: (error: string, rep: GetAuthorityIssuerResponse) => void): Promise<GetAuthorityIssuerResponse>;
22
39
  /**
23
- * 创建凭证
40
+ * 设置凭证链上状态
24
41
  */
25
- CreateCredential(req: CreateCredentialRequest, cb?: (error: string, rep: CreateCredentialResponse) => void): Promise<CreateCredentialResponse>;
42
+ SetCredentialStatus(req: SetCredentialStatusRequest, cb?: (error: string, rep: SetCredentialStatusResponse) => void): Promise<SetCredentialStatusResponse>;
26
43
  }
@@ -27,6 +27,31 @@ class Client extends abstract_client_1.AbstractClient {
27
27
  constructor(clientConfig) {
28
28
  super("tdid.tencentcloudapi.com", "2021-05-19", clientConfig);
29
29
  }
30
+ /**
31
+ * 查看DID文档
32
+
33
+ */
34
+ async GetDidDocument(req, cb) {
35
+ return this.request("GetDidDocument", req, cb);
36
+ }
37
+ /**
38
+ * 创建选择性批露凭证
39
+ */
40
+ async CreateSelectiveCredential(req, cb) {
41
+ return this.request("CreateSelectiveCredential", req, cb);
42
+ }
43
+ /**
44
+ * 创建凭证
45
+ */
46
+ async CreateCredential(req, cb) {
47
+ return this.request("CreateCredential", req, cb);
48
+ }
49
+ /**
50
+ * 新建DID根据公钥生成Tdid
51
+ */
52
+ async CreateTDidByPublicKey(req, cb) {
53
+ return this.request("CreateTDidByPublicKey", req, cb);
54
+ }
30
55
  /**
31
56
  * 验证凭证
32
57
  */
@@ -40,16 +65,16 @@ class Client extends abstract_client_1.AbstractClient {
40
65
  return this.request("CreateTDid", req, cb);
41
66
  }
42
67
  /**
43
- * 创建选择性批露凭证
68
+ * 获取权威机构信息
44
69
  */
45
- async CreateSelectiveCredential(req, cb) {
46
- return this.request("CreateSelectiveCredential", req, cb);
70
+ async GetAuthorityIssuer(req, cb) {
71
+ return this.request("GetAuthorityIssuer", req, cb);
47
72
  }
48
73
  /**
49
- * 创建凭证
74
+ * 设置凭证链上状态
50
75
  */
51
- async CreateCredential(req, cb) {
52
- return this.request("CreateCredential", req, cb);
76
+ async SetCredentialStatus(req, cb) {
77
+ return this.request("SetCredentialStatus", req, cb);
53
78
  }
54
79
  }
55
80
  exports.Client = Client;
@@ -55,6 +55,10 @@ export interface CreateCredentialRequest {
55
55
  * 版本
56
56
  */
57
57
  VersionCredential: string;
58
+ /**
59
+ * 是否未签名
60
+ */
61
+ UnSigned?: boolean;
58
62
  }
59
63
  /**
60
64
  * 创建凭证第二个
@@ -83,25 +87,73 @@ export interface CreateTDidRequest {
83
87
  Relegation: number;
84
88
  }
85
89
  /**
86
- * 创建凭证入参的FunctionArg
90
+ * GetAuthorityIssuer返回参数结构体
87
91
  */
88
- export interface FunctionArg {
92
+ export interface GetAuthorityIssuerResponse {
89
93
  /**
90
- * CPT ID
94
+ * 名称
91
95
  */
92
- CptId: number;
96
+ Name: string;
93
97
  /**
94
- * 签发者 did
98
+ * 区块链网络id
99
+ */
100
+ ClusterId: string;
101
+ /**
102
+ * 区块链群组id
103
+ */
104
+ GroupId: number;
105
+ /**
106
+ * 权威机构did
107
+ */
108
+ Did: string;
109
+ /**
110
+ * 机构备注信息
111
+ */
112
+ Remark: string;
113
+ /**
114
+ * 注册时间
115
+ */
116
+ RegisterTime: string;
117
+ /**
118
+ * 认证时间
119
+ */
120
+ RecognizeTime: string;
121
+ /**
122
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
123
+ */
124
+ RequestId?: string;
125
+ }
126
+ /**
127
+ * 凭证链上状态信息
128
+ */
129
+ export interface CredentialStatus {
130
+ /**
131
+ * 凭证唯一id
132
+ */
133
+ CredentialId: string;
134
+ /**
135
+ * 凭证状态(0:吊销;1:有效)
136
+ */
137
+ Status: number;
138
+ /**
139
+ * 凭证颁发者Did
95
140
  */
96
141
  Issuer: string;
97
142
  /**
98
- * 过期时间
143
+ * 凭证摘要
144
+ 注意:此字段可能返回 null,表示取不到有效值。
99
145
  */
100
- ExpirationDate: string;
146
+ Digest: string;
101
147
  /**
102
- * 声明
148
+ * 凭证签名
149
+ 注意:此字段可能返回 null,表示取不到有效值。
103
150
  */
104
- ClaimJson: string;
151
+ Signature: string;
152
+ /**
153
+ * 更新时间戳
154
+ 注意:此字段可能返回 null,表示取不到有效值。
155
+ */
156
+ TimeStamp: number;
105
157
  }
106
158
  /**
107
159
  * CreateSelectiveCredential请求参数结构体
@@ -116,6 +168,36 @@ export interface CreateSelectiveCredentialRequest {
116
168
  */
117
169
  PolicyId: number;
118
170
  }
171
+ /**
172
+ * GetDidDocument请求参数结构体
173
+ */
174
+ export interface GetDidDocumentRequest {
175
+ /**
176
+ * tdid
177
+ */
178
+ Did: string;
179
+ }
180
+ /**
181
+ * 创建凭证入参的FunctionArg
182
+ */
183
+ export interface FunctionArg {
184
+ /**
185
+ * CPT ID
186
+ */
187
+ CptId: number;
188
+ /**
189
+ * 签发者 did
190
+ */
191
+ Issuer: string;
192
+ /**
193
+ * 过期时间
194
+ */
195
+ ExpirationDate: string;
196
+ /**
197
+ * 声明
198
+ */
199
+ ClaimJson: string;
200
+ }
119
201
  /**
120
202
  * CreateTDid返回参数结构体
121
203
  */
@@ -142,6 +224,88 @@ export interface CreateSelectiveCredentialResponse {
142
224
  */
143
225
  RequestId?: string;
144
226
  }
227
+ /**
228
+ * SetCredentialStatus请求参数结构体
229
+ */
230
+ export interface SetCredentialStatusRequest {
231
+ /**
232
+ * 凭证状态
233
+ */
234
+ CredentialStatus: CredentialStatus;
235
+ }
236
+ /**
237
+ * CreateTDidByPublicKey请求参数结构体
238
+ */
239
+ export interface CreateTDidByPublicKeyRequest {
240
+ /**
241
+ * 网络ID
242
+ */
243
+ ClusterId: string;
244
+ /**
245
+ * 群组ID
246
+ */
247
+ GroupId: number;
248
+ /**
249
+ * 身份公钥
250
+ */
251
+ PublicKey: string;
252
+ /**
253
+ * 加密公钥
254
+ */
255
+ EncryptPubKey?: string;
256
+ }
257
+ /**
258
+ * CreateTDidByPublicKey返回参数结构体
259
+ */
260
+ export interface CreateTDidByPublicKeyResponse {
261
+ /**
262
+ * did具体信息
263
+ */
264
+ Did: string;
265
+ /**
266
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
267
+ */
268
+ RequestId?: string;
269
+ }
270
+ /**
271
+ * CreateCredential返回参数结构体
272
+ */
273
+ export interface CreateCredentialResponse {
274
+ /**
275
+ * Credential的具体信息
276
+ */
277
+ CredentialData: string;
278
+ /**
279
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
280
+ */
281
+ RequestId?: string;
282
+ }
283
+ /**
284
+ * GetAuthorityIssuer请求参数结构体
285
+ */
286
+ export interface GetAuthorityIssuerRequest {
287
+ /**
288
+ * tdid
289
+ */
290
+ Did: string;
291
+ }
292
+ /**
293
+ * GetDidDocument返回参数结构体
294
+ */
295
+ export interface GetDidDocumentResponse {
296
+ /**
297
+ * 名称
298
+ */
299
+ Name: string;
300
+ /**
301
+ * DID文档
302
+ */
303
+ Document: string;
304
+ /**
305
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
306
+ */
307
+ RequestId?: string;
308
+ }
145
309
  /**
146
310
  * VerifyCredential返回参数结构体
147
311
  */
@@ -164,13 +328,9 @@ export interface VerifyCredentialResponse {
164
328
  RequestId?: string;
165
329
  }
166
330
  /**
167
- * CreateCredential返回参数结构体
331
+ * SetCredentialStatus返回参数结构体
168
332
  */
169
- export interface CreateCredentialResponse {
170
- /**
171
- * Credential的具体信息
172
- */
173
- CredentialData: string;
333
+ export interface SetCredentialStatusResponse {
174
334
  /**
175
335
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
176
336
  */
@@ -294,7 +294,7 @@ export interface CreateAMQPExchangeRequest {
294
294
  */
295
295
  VHosts: Array<string>;
296
296
  /**
297
- * 交换机类型,可选值为Direct, Fanout, Topic
297
+ * 交换机类型,可选值为Direct, Fanout, Topic, x-delayed-message
298
298
  */
299
299
  Type: string;
300
300
  /**
@@ -309,6 +309,10 @@ export interface CreateAMQPExchangeRequest {
309
309
  * 备用交换机名称
310
310
  */
311
311
  AlternateExchange?: string;
312
+ /**
313
+ * 延迟交换机类型,可选值为Direct, Fanout, Topic, 不允许为x-delayed-message
314
+ */
315
+ DelayedType?: string;
312
316
  }
313
317
  /**
314
318
  * DescribeRocketMQNamespaces返回参数结构体
@@ -1734,6 +1738,10 @@ export interface DescribeAMQPVHostsRequest {
1734
1738
  * 按名称搜索
1735
1739
  */
1736
1740
  NameKeyword?: string;
1741
+ /**
1742
+ * VHostId 列表过滤
1743
+ */
1744
+ VHostIdList?: Array<string>;
1737
1745
  }
1738
1746
  /**
1739
1747
  * ModifyCluster请求参数结构体
@@ -1843,6 +1851,11 @@ export interface AMQPVHost {
1843
1851
  * 密码
1844
1852
  */
1845
1853
  Password: string;
1854
+ /**
1855
+ * 集群状态,0:创建中,1:正常,2:销毁中,3:已删除,4: 隔离中,5:创建失败,6: 删除失败
1856
+ 注意:此字段可能返回 null,表示取不到有效值。
1857
+ */
1858
+ Status: number;
1846
1859
  }
1847
1860
  /**
1848
1861
  * ModifyAMQPExchange返回参数结构体
@@ -3619,6 +3632,21 @@ export interface AMQPExchange {
3619
3632
  * 是否为内部Exchange(以amq.前缀开头的)
3620
3633
  */
3621
3634
  Internal: boolean;
3635
+ /**
3636
+ * 备用Exchange名称
3637
+ 注意:此字段可能返回 null,表示取不到有效值。
3638
+ */
3639
+ AlternateExchange: string;
3640
+ /**
3641
+ * 备用Exchange是否删除标识: true(已删除)
3642
+ 注意:此字段可能返回 null,表示取不到有效值。
3643
+ */
3644
+ AlternateExchangeDeleteMark: boolean;
3645
+ /**
3646
+ * 延迟Exchange的类别,为枚举类型:Direct, Fanout, Topic
3647
+ 注意:此字段可能返回 null,表示取不到有效值。
3648
+ */
3649
+ DelayType: string;
3622
3650
  }
3623
3651
  /**
3624
3652
  * DeleteTopics请求参数结构体
@@ -5226,6 +5254,11 @@ export interface AMQPClusterDetail {
5226
5254
  注意:此字段可能返回 null,表示取不到有效值。
5227
5255
  */
5228
5256
  Tags: Array<Tag>;
5257
+ /**
5258
+ * 集群状态,0:创建中,1:正常,2:销毁中,3:已删除,4: 隔离中,5:创建失败,6: 删除失败
5259
+ 注意:此字段可能返回 null,表示取不到有效值。
5260
+ */
5261
+ Status: number;
5229
5262
  }
5230
5263
  /**
5231
5264
  * DescribeClusterDetail返回参数结构体
@@ -18,9 +18,9 @@ const client = new tencentcloud.antiddos.v20200309.Client({
18
18
  })
19
19
  describe("antiddos.v20200309.test.js", function () {
20
20
 
21
- it("antiddos.v20200309.ModifyCcBlackWhiteIpList", async function () {
21
+ it("antiddos.v20200309.ModifyCCLevelPolicy", async function () {
22
22
  try {
23
- const data = await client.ModifyCcBlackWhiteIpList({})
23
+ const data = await client.ModifyCCLevelPolicy({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -58,9 +58,19 @@ it("antiddos.v20200309.DescribeListWaterPrintConfig", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("antiddos.v20200309.DeleteDDoSBlackWhiteIpList", async function () {
61
+ it("antiddos.v20200309.ModifyNewDomainRules", async function () {
62
62
  try {
63
- const data = await client.DeleteDDoSBlackWhiteIpList({})
63
+ const data = await client.ModifyNewDomainRules({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
71
+ it("antiddos.v20200309.CreateCcBlackWhiteIpList", async function () {
72
+ try {
73
+ const data = await client.CreateCcBlackWhiteIpList({})
64
74
  expect(data).to.be.ok
65
75
  } catch(error) {
66
76
  expect(error.requestId).to.be.ok
@@ -188,6 +198,16 @@ it("antiddos.v20200309.DescribeDDoSTrend", async function () {
188
198
  }
189
199
  })
190
200
 
201
+ it("antiddos.v20200309.DeleteDDoSBlackWhiteIpList", async function () {
202
+ try {
203
+ const data = await client.DeleteDDoSBlackWhiteIpList({})
204
+ expect(data).to.be.ok
205
+ } catch(error) {
206
+ expect(error.requestId).to.be.ok
207
+ expect(error.code).to.be.ok
208
+ }
209
+ })
210
+
191
211
  it("antiddos.v20200309.DescribeDefaultAlarmThreshold", async function () {
192
212
  try {
193
213
  const data = await client.DescribeDefaultAlarmThreshold({})
@@ -208,9 +228,9 @@ it("antiddos.v20200309.DescribeListBlackWhiteIpList", async function () {
208
228
  }
209
229
  })
210
230
 
211
- it("antiddos.v20200309.ModifyNewDomainRules", async function () {
231
+ it("antiddos.v20200309.DeleteCCThresholdPolicy", async function () {
212
232
  try {
213
- const data = await client.ModifyNewDomainRules({})
233
+ const data = await client.DeleteCCThresholdPolicy({})
214
234
  expect(data).to.be.ok
215
235
  } catch(error) {
216
236
  expect(error.requestId).to.be.ok
@@ -248,9 +268,9 @@ it("antiddos.v20200309.DisassociateDDoSEipAddress", async function () {
248
268
  }
249
269
  })
250
270
 
251
- it("antiddos.v20200309.DescribeCcGeoIPBlockConfigList", async function () {
271
+ it("antiddos.v20200309.DescribeCCLevelPolicy", async function () {
252
272
  try {
253
- const data = await client.DescribeCcGeoIPBlockConfigList({})
273
+ const data = await client.DescribeCCLevelPolicy({})
254
274
  expect(data).to.be.ok
255
275
  } catch(error) {
256
276
  expect(error.requestId).to.be.ok
@@ -288,6 +308,16 @@ it("antiddos.v20200309.CreateBoundIP", async function () {
288
308
  }
289
309
  })
290
310
 
311
+ it("antiddos.v20200309.ModifyCcBlackWhiteIpList", async function () {
312
+ try {
313
+ const data = await client.ModifyCcBlackWhiteIpList({})
314
+ expect(data).to.be.ok
315
+ } catch(error) {
316
+ expect(error.requestId).to.be.ok
317
+ expect(error.code).to.be.ok
318
+ }
319
+ })
320
+
291
321
  it("antiddos.v20200309.DeleteCcGeoIPBlockConfig", async function () {
292
322
  try {
293
323
  const data = await client.DeleteCcGeoIPBlockConfig({})
@@ -338,6 +368,16 @@ it("antiddos.v20200309.DescribeBlackWhiteIpList", async function () {
338
368
  }
339
369
  })
340
370
 
371
+ it("antiddos.v20200309.DescribeCCLevelList", async function () {
372
+ try {
373
+ const data = await client.DescribeCCLevelList({})
374
+ expect(data).to.be.ok
375
+ } catch(error) {
376
+ expect(error.requestId).to.be.ok
377
+ expect(error.code).to.be.ok
378
+ }
379
+ })
380
+
341
381
  it("antiddos.v20200309.ModifyDDoSBlackWhiteIpList", async function () {
342
382
  try {
343
383
  const data = await client.ModifyDDoSBlackWhiteIpList({})
@@ -378,9 +418,9 @@ it("antiddos.v20200309.CreateDDoSBlackWhiteIpList", async function () {
378
418
  }
379
419
  })
380
420
 
381
- it("antiddos.v20200309.DescribeCCTrend", async function () {
421
+ it("antiddos.v20200309.DescribeCCThresholdList", async function () {
382
422
  try {
383
- const data = await client.DescribeCCTrend({})
423
+ const data = await client.DescribeCCThresholdList({})
384
424
  expect(data).to.be.ok
385
425
  } catch(error) {
386
426
  expect(error.requestId).to.be.ok
@@ -398,6 +438,16 @@ it("antiddos.v20200309.ModifyCCPrecisionPolicy", async function () {
398
438
  }
399
439
  })
400
440
 
441
+ it("antiddos.v20200309.ModifyL7RulesEdge", async function () {
442
+ try {
443
+ const data = await client.ModifyL7RulesEdge({})
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
+
401
451
  it("antiddos.v20200309.CreateIPAlarmThresholdConfig", async function () {
402
452
  try {
403
453
  const data = await client.CreateIPAlarmThresholdConfig({})
@@ -408,9 +458,9 @@ it("antiddos.v20200309.CreateIPAlarmThresholdConfig", async function () {
408
458
  }
409
459
  })
410
460
 
411
- it("antiddos.v20200309.ModifyCCLevelPolicy", async function () {
461
+ it("antiddos.v20200309.DeleteCCLevelPolicy", async function () {
412
462
  try {
413
- const data = await client.ModifyCCLevelPolicy({})
463
+ const data = await client.DeleteCCLevelPolicy({})
414
464
  expect(data).to.be.ok
415
465
  } catch(error) {
416
466
  expect(error.requestId).to.be.ok
@@ -608,9 +658,9 @@ it("antiddos.v20200309.DeleteWaterPrintConfig", async function () {
608
658
  }
609
659
  })
610
660
 
611
- it("antiddos.v20200309.DescribeDDoSConnectLimitList", async function () {
661
+ it("antiddos.v20200309.DescribeCcGeoIPBlockConfigList", async function () {
612
662
  try {
613
- const data = await client.DescribeDDoSConnectLimitList({})
663
+ const data = await client.DescribeCcGeoIPBlockConfigList({})
614
664
  expect(data).to.be.ok
615
665
  } catch(error) {
616
666
  expect(error.requestId).to.be.ok
@@ -688,9 +738,9 @@ it("antiddos.v20200309.DescribeDDoSBlackWhiteIpList", async function () {
688
738
  }
689
739
  })
690
740
 
691
- it("antiddos.v20200309.ModifyL7RulesEdge", async function () {
741
+ it("antiddos.v20200309.DescribeCCTrend", async function () {
692
742
  try {
693
- const data = await client.ModifyL7RulesEdge({})
743
+ const data = await client.DescribeCCTrend({})
694
744
  expect(data).to.be.ok
695
745
  } catch(error) {
696
746
  expect(error.requestId).to.be.ok
@@ -748,6 +798,16 @@ it("antiddos.v20200309.DescribeListPortAclList", async function () {
748
798
  }
749
799
  })
750
800
 
801
+ it("antiddos.v20200309.DescribeDDoSConnectLimitList", async function () {
802
+ try {
803
+ const data = await client.DescribeDDoSConnectLimitList({})
804
+ expect(data).to.be.ok
805
+ } catch(error) {
806
+ expect(error.requestId).to.be.ok
807
+ expect(error.code).to.be.ok
808
+ }
809
+ })
810
+
751
811
  it("antiddos.v20200309.CreateCcGeoIPBlockConfig", async function () {
752
812
  try {
753
813
  const data = await client.CreateCcGeoIPBlockConfig({})
@@ -18,6 +18,16 @@ const client = new tencentcloud.api.v20201106.Client({
18
18
  })
19
19
  describe("api.v20201106.test.js", function () {
20
20
 
21
+ it("api.v20201106.DescribeProducts", async function () {
22
+ try {
23
+ const data = await client.DescribeProducts({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
21
31
  it("api.v20201106.DescribeRegions", async function () {
22
32
  try {
23
33
  const data = await client.DescribeRegions({})
@@ -178,9 +178,9 @@ it("ckafka.v20190819.DescribeACL", async function () {
178
178
  }
179
179
  })
180
180
 
181
- it("ckafka.v20190819.DescribeTopicDetail", async function () {
181
+ it("ckafka.v20190819.CancelAuthorizationToken", async function () {
182
182
  try {
183
- const data = await client.DescribeTopicDetail({})
183
+ const data = await client.CancelAuthorizationToken({})
184
184
  expect(data).to.be.ok
185
185
  } catch(error) {
186
186
  expect(error.requestId).to.be.ok
@@ -268,6 +268,26 @@ it("ckafka.v20190819.DeleteUser", async function () {
268
268
  }
269
269
  })
270
270
 
271
+ it("ckafka.v20190819.CreateToken", async function () {
272
+ try {
273
+ const data = await client.CreateToken({})
274
+ expect(data).to.be.ok
275
+ } catch(error) {
276
+ expect(error.requestId).to.be.ok
277
+ expect(error.code).to.be.ok
278
+ }
279
+ })
280
+
281
+ it("ckafka.v20190819.DescribeTopicDetail", async function () {
282
+ try {
283
+ const data = await client.DescribeTopicDetail({})
284
+ expect(data).to.be.ok
285
+ } catch(error) {
286
+ expect(error.requestId).to.be.ok
287
+ expect(error.code).to.be.ok
288
+ }
289
+ })
290
+
271
291
  it("ckafka.v20190819.DeleteAcl", async function () {
272
292
  try {
273
293
  const data = await client.DeleteAcl({})
@@ -388,6 +408,16 @@ it("ckafka.v20190819.DescribeGroupOffsets", async function () {
388
408
  }
389
409
  })
390
410
 
411
+ it("ckafka.v20190819.AuthorizeToken", async function () {
412
+ try {
413
+ const data = await client.AuthorizeToken({})
414
+ expect(data).to.be.ok
415
+ } catch(error) {
416
+ expect(error.requestId).to.be.ok
417
+ expect(error.code).to.be.ok
418
+ }
419
+ })
420
+
391
421
  it("ckafka.v20190819.DescribeTopic", async function () {
392
422
  try {
393
423
  const data = await client.DescribeTopic({})