tencentcloud-sdk-nodejs 4.0.387 → 4.0.388

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 (42) hide show
  1. package/CHANGELOG.md +161 -0
  2. package/SERVICE_CHANGELOG.md +271 -174
  3. package/package.json +1 -1
  4. package/products.md +11 -11
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/as/v20180419/as_client.ts +1 -0
  7. package/src/services/as/v20180419/as_models.ts +65 -3
  8. package/src/services/cdn/v20180606/cdn_client.ts +1 -0
  9. package/src/services/ckafka/v20190819/ckafka_client.ts +200 -40
  10. package/src/services/ckafka/v20190819/ckafka_models.ts +1587 -312
  11. package/src/services/cynosdb/v20190107/cynosdb_client.ts +39 -14
  12. package/src/services/cynosdb/v20190107/cynosdb_models.ts +137 -32
  13. package/src/services/essbasic/v20210526/essbasic_client.ts +2 -3
  14. package/src/services/oceanus/v20190422/oceanus_client.ts +10 -9
  15. package/src/services/oceanus/v20190422/oceanus_models.ts +105 -52
  16. package/src/services/ocr/v20181119/ocr_client.ts +22 -8
  17. package/src/services/tke/v20180525/tke_client.ts +58 -10
  18. package/src/services/tke/v20180525/tke_models.ts +199 -82
  19. package/tencentcloud/common/sdk_version.d.ts +1 -1
  20. package/tencentcloud/common/sdk_version.js +1 -1
  21. package/tencentcloud/services/as/v20180419/as_models.d.ts +56 -3
  22. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -0
  23. package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -0
  24. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +57 -9
  25. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +84 -12
  26. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1327 -244
  27. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +13 -5
  28. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +18 -6
  29. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +116 -28
  30. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -2
  31. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -2
  32. package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +2 -3
  33. package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +0 -1
  34. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +92 -48
  35. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +14 -0
  36. package/tencentcloud/services/ocr/v20181119/ocr_client.js +14 -0
  37. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +19 -3
  38. package/tencentcloud/services/tke/v20180525/tke_client.js +27 -3
  39. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +170 -68
  40. package/test/ckafka.v20190819.test.js +128 -8
  41. package/test/cynosdb.v20190107.test.js +24 -4
  42. package/test/tke.v20180525.test.js +42 -2
@@ -58,6 +58,16 @@ it("ckafka.v20190819.DescribeConsumerGroup", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("ckafka.v20190819.DescribeConnectResource", async function () {
62
+ try {
63
+ const data = await client.DescribeConnectResource({})
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
+
61
71
  it("ckafka.v20190819.DescribeTopicSubscribeGroup", async function () {
62
72
  try {
63
73
  const data = await client.DescribeTopicSubscribeGroup({})
@@ -78,6 +88,16 @@ it("ckafka.v20190819.ModifyInstancePre", async function () {
78
88
  }
79
89
  })
80
90
 
91
+ it("ckafka.v20190819.DescribeTopicDetail", async function () {
92
+ try {
93
+ const data = await client.DescribeTopicDetail({})
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
+
81
101
  it("ckafka.v20190819.BatchModifyTopicAttributes", async function () {
82
102
  try {
83
103
  const data = await client.BatchModifyTopicAttributes({})
@@ -128,6 +148,16 @@ it("ckafka.v20190819.CreateTopicIpWhiteList", async function () {
128
148
  }
129
149
  })
130
150
 
151
+ it("ckafka.v20190819.DeleteDatahubTask", async function () {
152
+ try {
153
+ const data = await client.DeleteDatahubTask({})
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
+
131
161
  it("ckafka.v20190819.DescribeGroup", async function () {
132
162
  try {
133
163
  const data = await client.DescribeGroup({})
@@ -138,9 +168,19 @@ it("ckafka.v20190819.DescribeGroup", async function () {
138
168
  }
139
169
  })
140
170
 
141
- it("ckafka.v20190819.ModifyGroupOffsets", async function () {
171
+ it("ckafka.v20190819.ModifyDatahubTask", async function () {
142
172
  try {
143
- const data = await client.ModifyGroupOffsets({})
173
+ const data = await client.ModifyDatahubTask({})
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("ckafka.v20190819.DescribeDatahubTasks", async function () {
182
+ try {
183
+ const data = await client.DescribeDatahubTasks({})
144
184
  expect(data).to.be.ok
145
185
  } catch(error) {
146
186
  expect(error.requestId).to.be.ok
@@ -168,6 +208,16 @@ it("ckafka.v20190819.CreateRoute", async function () {
168
208
  }
169
209
  })
170
210
 
211
+ it("ckafka.v20190819.DeleteConnectResource", async function () {
212
+ try {
213
+ const data = await client.DeleteConnectResource({})
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
+
171
221
  it("ckafka.v20190819.DeleteGroup", async function () {
172
222
  try {
173
223
  const data = await client.DeleteGroup({})
@@ -228,6 +278,16 @@ it("ckafka.v20190819.FetchMessageByOffset", async function () {
228
278
  }
229
279
  })
230
280
 
281
+ it("ckafka.v20190819.DeleteDatahubTopic", async function () {
282
+ try {
283
+ const data = await client.DeleteDatahubTopic({})
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
+
231
291
  it("ckafka.v20190819.DeleteTopicIpWhiteList", async function () {
232
292
  try {
233
293
  const data = await client.DeleteTopicIpWhiteList({})
@@ -238,9 +298,19 @@ it("ckafka.v20190819.DeleteTopicIpWhiteList", async function () {
238
298
  }
239
299
  })
240
300
 
241
- it("ckafka.v20190819.ModifyPassword", async function () {
301
+ it("ckafka.v20190819.DescribeRegion", async function () {
242
302
  try {
243
- const data = await client.ModifyPassword({})
303
+ const data = await client.DescribeRegion({})
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("ckafka.v20190819.ModifyGroupOffsets", async function () {
312
+ try {
313
+ const data = await client.ModifyGroupOffsets({})
244
314
  expect(data).to.be.ok
245
315
  } catch(error) {
246
316
  expect(error.requestId).to.be.ok
@@ -278,6 +348,16 @@ it("ckafka.v20190819.CreateConnectResource", async function () {
278
348
  }
279
349
  })
280
350
 
351
+ it("ckafka.v20190819.DescribeDatahubTask", async function () {
352
+ try {
353
+ const data = await client.DescribeDatahubTask({})
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
+
281
361
  it("ckafka.v20190819.CheckCdcCluster", async function () {
282
362
  try {
283
363
  const data = await client.CheckCdcCluster({})
@@ -298,6 +378,16 @@ it("ckafka.v20190819.CreatePartition", async function () {
298
378
  }
299
379
  })
300
380
 
381
+ it("ckafka.v20190819.FetchLatestDatahubMessageList", async function () {
382
+ try {
383
+ const data = await client.FetchLatestDatahubMessageList({})
384
+ expect(data).to.be.ok
385
+ } catch(error) {
386
+ expect(error.requestId).to.be.ok
387
+ expect(error.code).to.be.ok
388
+ }
389
+ })
390
+
301
391
  it("ckafka.v20190819.DeleteUser", async function () {
302
392
  try {
303
393
  const data = await client.DeleteUser({})
@@ -308,6 +398,26 @@ it("ckafka.v20190819.DeleteUser", async function () {
308
398
  }
309
399
  })
310
400
 
401
+ it("ckafka.v20190819.ModifyConnectResource", async function () {
402
+ try {
403
+ const data = await client.ModifyConnectResource({})
404
+ expect(data).to.be.ok
405
+ } catch(error) {
406
+ expect(error.requestId).to.be.ok
407
+ expect(error.code).to.be.ok
408
+ }
409
+ })
410
+
411
+ it("ckafka.v20190819.FetchDatahubMessageByOffset", async function () {
412
+ try {
413
+ const data = await client.FetchDatahubMessageByOffset({})
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
+
311
421
  it("ckafka.v20190819.CreateToken", async function () {
312
422
  try {
313
423
  const data = await client.CreateToken({})
@@ -318,9 +428,9 @@ it("ckafka.v20190819.CreateToken", async function () {
318
428
  }
319
429
  })
320
430
 
321
- it("ckafka.v20190819.DescribeTopicDetail", async function () {
431
+ it("ckafka.v20190819.DescribeDatahubGroupOffsets", async function () {
322
432
  try {
323
- const data = await client.DescribeTopicDetail({})
433
+ const data = await client.DescribeDatahubGroupOffsets({})
324
434
  expect(data).to.be.ok
325
435
  } catch(error) {
326
436
  expect(error.requestId).to.be.ok
@@ -498,9 +608,9 @@ it("ckafka.v20190819.DescribeCkafkaZone", async function () {
498
608
  }
499
609
  })
500
610
 
501
- it("ckafka.v20190819.DescribeRegion", async function () {
611
+ it("ckafka.v20190819.DescribeConnectResources", async function () {
502
612
  try {
503
- const data = await client.DescribeRegion({})
613
+ const data = await client.DescribeConnectResources({})
504
614
  expect(data).to.be.ok
505
615
  } catch(error) {
506
616
  expect(error.requestId).to.be.ok
@@ -538,4 +648,14 @@ it("ckafka.v20190819.DeleteTopic", async function () {
538
648
  }
539
649
  })
540
650
 
651
+ it("ckafka.v20190819.ModifyPassword", async function () {
652
+ try {
653
+ const data = await client.ModifyPassword({})
654
+ expect(data).to.be.ok
655
+ } catch(error) {
656
+ expect(error.requestId).to.be.ok
657
+ expect(error.code).to.be.ok
658
+ }
659
+ })
660
+
541
661
  })
@@ -88,6 +88,16 @@ it("cynosdb.v20190107.DescribeBackupConfig", async function () {
88
88
  }
89
89
  })
90
90
 
91
+ it("cynosdb.v20190107.DescribeParamTemplates", async function () {
92
+ try {
93
+ const data = await client.DescribeParamTemplates({})
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
+
91
101
  it("cynosdb.v20190107.DescribeClusterInstanceGrps", async function () {
92
102
  try {
93
103
  const data = await client.DescribeClusterInstanceGrps({})
@@ -108,9 +118,9 @@ it("cynosdb.v20190107.OfflineCluster", async function () {
108
118
  }
109
119
  })
110
120
 
111
- it("cynosdb.v20190107.PauseServerless", async function () {
121
+ it("cynosdb.v20190107.ModifyBackupName", async function () {
112
122
  try {
113
- const data = await client.PauseServerless({})
123
+ const data = await client.ModifyBackupName({})
114
124
  expect(data).to.be.ok
115
125
  } catch(error) {
116
126
  expect(error.requestId).to.be.ok
@@ -358,9 +368,9 @@ it("cynosdb.v20190107.DescribeInstanceSlowQueries", async function () {
358
368
  }
359
369
  })
360
370
 
361
- it("cynosdb.v20190107.ModifyBackupName", async function () {
371
+ it("cynosdb.v20190107.InquirePriceRenew", async function () {
362
372
  try {
363
- const data = await client.ModifyBackupName({})
373
+ const data = await client.InquirePriceRenew({})
364
374
  expect(data).to.be.ok
365
375
  } catch(error) {
366
376
  expect(error.requestId).to.be.ok
@@ -398,6 +408,16 @@ it("cynosdb.v20190107.DescribeResourcesByDealName", async function () {
398
408
  }
399
409
  })
400
410
 
411
+ it("cynosdb.v20190107.PauseServerless", async function () {
412
+ try {
413
+ const data = await client.PauseServerless({})
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
+
401
421
  it("cynosdb.v20190107.ModifyClusterParam", async function () {
402
422
  try {
403
423
  const data = await client.ModifyClusterParam({})
@@ -58,6 +58,16 @@ it("tke.v20180525.CreateCluster", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("tke.v20180525.InstallEdgeLogAgent", async function () {
62
+ try {
63
+ const data = await client.InstallEdgeLogAgent({})
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
+
61
71
  it("tke.v20180525.ModifyClusterAsGroupOptionAttribute", async function () {
62
72
  try {
63
73
  const data = await client.ModifyClusterAsGroupOptionAttribute({})
@@ -88,6 +98,16 @@ it("tke.v20180525.DeleteCluster", async function () {
88
98
  }
89
99
  })
90
100
 
101
+ it("tke.v20180525.UninstallEdgeLogAgent", async function () {
102
+ try {
103
+ const data = await client.UninstallEdgeLogAgent({})
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
+
91
111
  it("tke.v20180525.DeleteEdgeClusterInstances", async function () {
92
112
  try {
93
113
  const data = await client.DeleteEdgeClusterInstances({})
@@ -348,6 +368,16 @@ it("tke.v20180525.UpdateClusterVersion", async function () {
348
368
  }
349
369
  })
350
370
 
371
+ it("tke.v20180525.CreatePrometheusRecordRuleYaml", async function () {
372
+ try {
373
+ const data = await client.CreatePrometheusRecordRuleYaml({})
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
+
351
381
  it("tke.v20180525.DescribeAvailableClusterVersion", async function () {
352
382
  try {
353
383
  const data = await client.DescribeAvailableClusterVersion({})
@@ -1098,6 +1128,16 @@ it("tke.v20180525.DescribeClusterSecurity", async function () {
1098
1128
  }
1099
1129
  })
1100
1130
 
1131
+ it("tke.v20180525.DescribeClusterEndpoints", async function () {
1132
+ try {
1133
+ const data = await client.DescribeClusterEndpoints({})
1134
+ expect(data).to.be.ok
1135
+ } catch(error) {
1136
+ expect(error.requestId).to.be.ok
1137
+ expect(error.code).to.be.ok
1138
+ }
1139
+ })
1140
+
1101
1141
  it("tke.v20180525.DescribePrometheusClusterAgents", async function () {
1102
1142
  try {
1103
1143
  const data = await client.DescribePrometheusClusterAgents({})
@@ -1468,9 +1508,9 @@ it("tke.v20180525.CreateClusterNodePool", async function () {
1468
1508
  }
1469
1509
  })
1470
1510
 
1471
- it("tke.v20180525.CreatePrometheusRecordRuleYaml", async function () {
1511
+ it("tke.v20180525.CreateEdgeLogConfig", async function () {
1472
1512
  try {
1473
- const data = await client.CreatePrometheusRecordRuleYaml({})
1513
+ const data = await client.CreateEdgeLogConfig({})
1474
1514
  expect(data).to.be.ok
1475
1515
  } catch(error) {
1476
1516
  expect(error.requestId).to.be.ok