tencentcloud-sdk-nodejs 4.0.533 → 4.0.534

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 (68) hide show
  1. package/CHANGELOG.md +301 -0
  2. package/SERVICE_CHANGELOG.md +420 -155
  3. package/package.json +1 -1
  4. package/products.md +20 -19
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdb/v20170320/cdb_models.ts +60 -60
  7. package/src/services/cdwch/v20200915/cdwch_client.ts +19 -7
  8. package/src/services/cdwch/v20200915/cdwch_models.ts +100 -59
  9. package/src/services/clb/v20180317/clb_models.ts +6 -0
  10. package/src/services/cvm/v20170312/cvm_models.ts +1 -1
  11. package/src/services/dlc/v20210125/dlc_client.ts +14 -0
  12. package/src/services/dlc/v20210125/dlc_models.ts +115 -0
  13. package/src/services/ess/v20201111/ess_client.ts +36 -12
  14. package/src/services/ess/v20201111/ess_models.ts +180 -85
  15. package/src/services/essbasic/v20210526/essbasic_client.ts +36 -12
  16. package/src/services/essbasic/v20210526/essbasic_models.ts +108 -23
  17. package/src/services/index.ts +1 -0
  18. package/src/services/keewidb/index.ts +5 -0
  19. package/src/services/keewidb/v20220308/index.ts +6 -0
  20. package/src/services/keewidb/v20220308/keewidb_client.ts +489 -0
  21. package/src/services/keewidb/v20220308/keewidb_models.ts +2778 -0
  22. package/src/services/redis/v20180412/redis_models.ts +5 -5
  23. package/src/services/scf/v20180416/scf_models.ts +44 -44
  24. package/src/services/tcb/v20180608/tcb_models.ts +16 -6
  25. package/src/services/tdmq/v20200217/tdmq_models.ts +64 -2
  26. package/src/services/teo/v20220901/teo_models.ts +21 -10
  27. package/src/services/thpc/v20220401/thpc_models.ts +9 -7
  28. package/src/services/vpc/v20170312/vpc_client.ts +1 -0
  29. package/src/services/vpc/v20170312/vpc_models.ts +23 -0
  30. package/tencentcloud/common/sdk_version.d.ts +1 -1
  31. package/tencentcloud/common/sdk_version.js +1 -1
  32. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +60 -60
  33. package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +7 -3
  34. package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +9 -3
  35. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +84 -49
  36. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -0
  37. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
  38. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
  39. package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
  40. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +96 -0
  41. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +12 -4
  42. package/tencentcloud/services/ess/v20201111/ess_client.js +16 -4
  43. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +155 -75
  44. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +13 -5
  45. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +17 -5
  46. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +93 -21
  47. package/tencentcloud/services/index.d.ts +1 -0
  48. package/tencentcloud/services/index.js +2 -0
  49. package/tencentcloud/services/keewidb/index.d.ts +6 -0
  50. package/tencentcloud/services/keewidb/index.js +7 -0
  51. package/tencentcloud/services/keewidb/v20220308/index.d.ts +6 -0
  52. package/tencentcloud/services/keewidb/v20220308/index.js +9 -0
  53. package/tencentcloud/services/keewidb/v20220308/keewidb_client.d.ts +154 -0
  54. package/tencentcloud/services/keewidb/v20220308/keewidb_client.js +247 -0
  55. package/tencentcloud/services/keewidb/v20220308/keewidb_models.d.ts +2319 -0
  56. package/tencentcloud/services/keewidb/v20220308/keewidb_models.js +18 -0
  57. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +5 -5
  58. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +44 -44
  59. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +15 -6
  60. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +54 -2
  61. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +19 -10
  62. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +7 -5
  63. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +20 -0
  64. package/test/cdwch.v20200915.test.js +12 -2
  65. package/test/dlc.v20210125.test.js +10 -0
  66. package/test/ess.v20201111.test.js +22 -2
  67. package/test/essbasic.v20210526.test.js +22 -2
  68. package/test/keewidb.v20220308.test.js +381 -0
@@ -18,6 +18,16 @@ const client = new tencentcloud.essbasic.v20210526.Client({
18
18
  })
19
19
  describe("essbasic.v20210526.test.js", function () {
20
20
 
21
+ it("essbasic.v20210526.ChannelDeleteSealPolicies", async function () {
22
+ try {
23
+ const data = await client.ChannelDeleteSealPolicies({})
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("essbasic.v20210526.ChannelCreateFlowSignReview", async function () {
22
32
  try {
23
33
  const data = await client.ChannelCreateFlowSignReview({})
@@ -118,9 +128,9 @@ it("essbasic.v20210526.ChannelCancelFlow", async function () {
118
128
  }
119
129
  })
120
130
 
121
- it("essbasic.v20210526.CreateFlowsByTemplates", async function () {
131
+ it("essbasic.v20210526.ChannelCreateSealPolicy", async function () {
122
132
  try {
123
- const data = await client.CreateFlowsByTemplates({})
133
+ const data = await client.ChannelCreateSealPolicy({})
124
134
  expect(data).to.be.ok
125
135
  } catch(error) {
126
136
  expect(error.requestId).to.be.ok
@@ -268,6 +278,16 @@ it("essbasic.v20210526.PrepareFlows", async function () {
268
278
  }
269
279
  })
270
280
 
281
+ it("essbasic.v20210526.CreateFlowsByTemplates", async function () {
282
+ try {
283
+ const data = await client.CreateFlowsByTemplates({})
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("essbasic.v20210526.DescribeResourceUrlsByFlows", async function () {
272
292
  try {
273
293
  const data = await client.DescribeResourceUrlsByFlows({})
@@ -0,0 +1,381 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.keewidb.v20220308.Client({
5
+ credential: {
6
+ secretId: process.env.secretId,
7
+ secretKey: process.env.secretKey,
8
+ },
9
+ region: "ap-shanghai",
10
+ profile: {
11
+ signMethod: "TC3-HMAC-SHA256",
12
+ httpProfile: {
13
+ reqMethod: "POST",
14
+ reqTimeout: 30,
15
+ endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
+ },
17
+ },
18
+ })
19
+ describe("keewidb.v20220308.test.js", function () {
20
+
21
+ it("keewidb.v20220308.DescribeInstanceNodeInfo", async function () {
22
+ try {
23
+ const data = await client.DescribeInstanceNodeInfo({})
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
+
31
+ it("keewidb.v20220308.ModifyMaintenanceWindow", async function () {
32
+ try {
33
+ const data = await client.ModifyMaintenanceWindow({})
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("keewidb.v20220308.DescribeTaskList", async function () {
42
+ try {
43
+ const data = await client.DescribeTaskList({})
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
+
51
+ it("keewidb.v20220308.CleanUpInstance", async function () {
52
+ try {
53
+ const data = await client.CleanUpInstance({})
54
+ expect(data).to.be.ok
55
+ } catch(error) {
56
+ expect(error.requestId).to.be.ok
57
+ expect(error.code).to.be.ok
58
+ }
59
+ })
60
+
61
+ it("keewidb.v20220308.DescribeMaintenanceWindow", async function () {
62
+ try {
63
+ const data = await client.DescribeMaintenanceWindow({})
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("keewidb.v20220308.DescribeInstanceBackups", async function () {
72
+ try {
73
+ const data = await client.DescribeInstanceBackups({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ it("keewidb.v20220308.ModifyNetworkConfig", async function () {
82
+ try {
83
+ const data = await client.ModifyNetworkConfig({})
84
+ expect(data).to.be.ok
85
+ } catch(error) {
86
+ expect(error.requestId).to.be.ok
87
+ expect(error.code).to.be.ok
88
+ }
89
+ })
90
+
91
+ it("keewidb.v20220308.ModifyAutoBackupConfig", async function () {
92
+ try {
93
+ const data = await client.ModifyAutoBackupConfig({})
94
+ expect(data).to.be.ok
95
+ } catch(error) {
96
+ expect(error.requestId).to.be.ok
97
+ expect(error.code).to.be.ok
98
+ }
99
+ })
100
+
101
+ it("keewidb.v20220308.ResetPassword", async function () {
102
+ try {
103
+ const data = await client.ResetPassword({})
104
+ expect(data).to.be.ok
105
+ } catch(error) {
106
+ expect(error.requestId).to.be.ok
107
+ expect(error.code).to.be.ok
108
+ }
109
+ })
110
+
111
+ it("keewidb.v20220308.DescribeInstances", async function () {
112
+ try {
113
+ const data = await client.DescribeInstances({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
121
+ it("keewidb.v20220308.DescribeInstanceBinlogs", async function () {
122
+ try {
123
+ const data = await client.DescribeInstanceBinlogs({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
131
+ it("keewidb.v20220308.DescribeAutoBackupConfig", async function () {
132
+ try {
133
+ const data = await client.DescribeAutoBackupConfig({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
141
+ it("keewidb.v20220308.ChangeInstanceMaster", async function () {
142
+ try {
143
+ const data = await client.ChangeInstanceMaster({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
151
+ it("keewidb.v20220308.CreateInstances", async function () {
152
+ try {
153
+ const data = await client.CreateInstances({})
154
+ expect(data).to.be.ok
155
+ } catch(error) {
156
+ expect(error.requestId).to.be.ok
157
+ expect(error.code).to.be.ok
158
+ }
159
+ })
160
+
161
+ it("keewidb.v20220308.RenewInstance", async function () {
162
+ try {
163
+ const data = await client.RenewInstance({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
171
+ it("keewidb.v20220308.DescribeTaskInfo", async function () {
172
+ try {
173
+ const data = await client.DescribeTaskInfo({})
174
+ expect(data).to.be.ok
175
+ } catch(error) {
176
+ expect(error.requestId).to.be.ok
177
+ expect(error.code).to.be.ok
178
+ }
179
+ })
180
+
181
+ it("keewidb.v20220308.DescribeProxySlowLog", async function () {
182
+ try {
183
+ const data = await client.DescribeProxySlowLog({})
184
+ expect(data).to.be.ok
185
+ } catch(error) {
186
+ expect(error.requestId).to.be.ok
187
+ expect(error.code).to.be.ok
188
+ }
189
+ })
190
+
191
+ it("keewidb.v20220308.DescribeProjectSecurityGroups", async function () {
192
+ try {
193
+ const data = await client.DescribeProjectSecurityGroups({})
194
+ expect(data).to.be.ok
195
+ } catch(error) {
196
+ expect(error.requestId).to.be.ok
197
+ expect(error.code).to.be.ok
198
+ }
199
+ })
200
+
201
+ it("keewidb.v20220308.DescribeTendisSlowLog", async function () {
202
+ try {
203
+ const data = await client.DescribeTendisSlowLog({})
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
+
211
+ it("keewidb.v20220308.AssociateSecurityGroups", async function () {
212
+ try {
213
+ const data = await client.AssociateSecurityGroups({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
221
+ it("keewidb.v20220308.ModifyInstanceParams", async function () {
222
+ try {
223
+ const data = await client.ModifyInstanceParams({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
231
+ it("keewidb.v20220308.ModifyDBInstanceSecurityGroups", async function () {
232
+ try {
233
+ const data = await client.ModifyDBInstanceSecurityGroups({})
234
+ expect(data).to.be.ok
235
+ } catch(error) {
236
+ expect(error.requestId).to.be.ok
237
+ expect(error.code).to.be.ok
238
+ }
239
+ })
240
+
241
+ it("keewidb.v20220308.DescribeInstanceParams", async function () {
242
+ try {
243
+ const data = await client.DescribeInstanceParams({})
244
+ expect(data).to.be.ok
245
+ } catch(error) {
246
+ expect(error.requestId).to.be.ok
247
+ expect(error.code).to.be.ok
248
+ }
249
+ })
250
+
251
+ it("keewidb.v20220308.DescribeInstanceReplicas", async function () {
252
+ try {
253
+ const data = await client.DescribeInstanceReplicas({})
254
+ expect(data).to.be.ok
255
+ } catch(error) {
256
+ expect(error.requestId).to.be.ok
257
+ expect(error.code).to.be.ok
258
+ }
259
+ })
260
+
261
+ it("keewidb.v20220308.ModifyConnectionConfig", async function () {
262
+ try {
263
+ const data = await client.ModifyConnectionConfig({})
264
+ expect(data).to.be.ok
265
+ } catch(error) {
266
+ expect(error.requestId).to.be.ok
267
+ expect(error.code).to.be.ok
268
+ }
269
+ })
270
+
271
+ it("keewidb.v20220308.DescribeProductInfo", async function () {
272
+ try {
273
+ const data = await client.DescribeProductInfo({})
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("keewidb.v20220308.UpgradeInstance", async function () {
282
+ try {
283
+ const data = await client.UpgradeInstance({})
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
+
291
+ it("keewidb.v20220308.DescribeDBSecurityGroups", async function () {
292
+ try {
293
+ const data = await client.DescribeDBSecurityGroups({})
294
+ expect(data).to.be.ok
295
+ } catch(error) {
296
+ expect(error.requestId).to.be.ok
297
+ expect(error.code).to.be.ok
298
+ }
299
+ })
300
+
301
+ it("keewidb.v20220308.CreateBackupManually", async function () {
302
+ try {
303
+ const data = await client.CreateBackupManually({})
304
+ expect(data).to.be.ok
305
+ } catch(error) {
306
+ expect(error.requestId).to.be.ok
307
+ expect(error.code).to.be.ok
308
+ }
309
+ })
310
+
311
+ it("keewidb.v20220308.DestroyPrepaidInstance", async function () {
312
+ try {
313
+ const data = await client.DestroyPrepaidInstance({})
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
+
321
+ it("keewidb.v20220308.DescribeInstanceParamRecords", async function () {
322
+ try {
323
+ const data = await client.DescribeInstanceParamRecords({})
324
+ expect(data).to.be.ok
325
+ } catch(error) {
326
+ expect(error.requestId).to.be.ok
327
+ expect(error.code).to.be.ok
328
+ }
329
+ })
330
+
331
+ it("keewidb.v20220308.ClearInstance", async function () {
332
+ try {
333
+ const data = await client.ClearInstance({})
334
+ expect(data).to.be.ok
335
+ } catch(error) {
336
+ expect(error.requestId).to.be.ok
337
+ expect(error.code).to.be.ok
338
+ }
339
+ })
340
+
341
+ it("keewidb.v20220308.DestroyPostpaidInstance", async function () {
342
+ try {
343
+ const data = await client.DestroyPostpaidInstance({})
344
+ expect(data).to.be.ok
345
+ } catch(error) {
346
+ expect(error.requestId).to.be.ok
347
+ expect(error.code).to.be.ok
348
+ }
349
+ })
350
+
351
+ it("keewidb.v20220308.DisassociateSecurityGroups", async function () {
352
+ try {
353
+ const data = await client.DisassociateSecurityGroups({})
354
+ expect(data).to.be.ok
355
+ } catch(error) {
356
+ expect(error.requestId).to.be.ok
357
+ expect(error.code).to.be.ok
358
+ }
359
+ })
360
+
361
+ it("keewidb.v20220308.ModifyInstance", async function () {
362
+ try {
363
+ const data = await client.ModifyInstance({})
364
+ expect(data).to.be.ok
365
+ } catch(error) {
366
+ expect(error.requestId).to.be.ok
367
+ expect(error.code).to.be.ok
368
+ }
369
+ })
370
+
371
+ it("keewidb.v20220308.StartUpInstance", async function () {
372
+ try {
373
+ const data = await client.StartUpInstance({})
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
+
381
+ })