tencentcloud-sdk-nodejs 4.0.259 → 4.0.260

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 (95) hide show
  1. package/CHANGELOG.md +425 -283
  2. package/package.json +1 -1
  3. package/products.md +23 -23
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/ams/v20201229/ams_client.ts +1 -1
  6. package/src/services/ams/v20201229/ams_models.ts +24 -0
  7. package/src/services/antiddos/v20200309/antiddos_client.ts +40 -3
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +226 -121
  9. package/src/services/cbs/v20170312/cbs_models.ts +10 -0
  10. package/src/services/chdfs/v20201112/chdfs_models.ts +55 -11
  11. package/src/services/ckafka/v20190819/ckafka_client.ts +36 -9
  12. package/src/services/ckafka/v20190819/ckafka_models.ts +218 -28
  13. package/src/services/clb/v20180317/clb_models.ts +6 -6
  14. package/src/services/cvm/v20170312/cvm_client.ts +168 -76
  15. package/src/services/cvm/v20170312/cvm_models.ts +808 -199
  16. package/src/services/dts/v20180330/dts_models.ts +10 -9
  17. package/src/services/essbasic/v20210526/essbasic_client.ts +44 -4
  18. package/src/services/essbasic/v20210526/essbasic_models.ts +237 -85
  19. package/src/services/faceid/v20180301/faceid_client.ts +3 -2
  20. package/src/services/faceid/v20180301/faceid_models.ts +6 -6
  21. package/src/services/lighthouse/v20200324/lighthouse_client.ts +3 -2
  22. package/src/services/lighthouse/v20200324/lighthouse_models.ts +56 -8
  23. package/src/services/nlp/v20190408/nlp_client.ts +1 -1
  24. package/src/services/nlp/v20190408/nlp_models.ts +1 -1
  25. package/src/services/oceanus/v20190422/oceanus_models.ts +10 -0
  26. package/src/services/tcss/v20201101/tcss_models.ts +9 -7
  27. package/src/services/tdmq/v20200217/tdmq_client.ts +29 -3
  28. package/src/services/tdmq/v20200217/tdmq_models.ts +337 -148
  29. package/src/services/tem/v20210701/tem_client.ts +13 -1
  30. package/src/services/tem/v20210701/tem_models.ts +55 -10
  31. package/src/services/thpc/v20211109/thpc_models.ts +7 -6
  32. package/src/services/tms/v20201229/tms_models.ts +13 -1
  33. package/src/services/tts/v20190823/tts_models.ts +1 -1
  34. package/src/services/vm/v20201229/vm_models.ts +30 -0
  35. package/src/services/vod/v20180717/vod_client.ts +2 -2
  36. package/src/services/vod/v20180717/vod_models.ts +359 -359
  37. package/src/services/vpc/v20170312/vpc_models.ts +40 -0
  38. package/src/services/wav/v20210129/wav_client.ts +45 -7
  39. package/src/services/wav/v20210129/wav_models.ts +370 -134
  40. package/tencentcloud/common/sdk_version.d.ts +1 -1
  41. package/tencentcloud/common/sdk_version.js +1 -1
  42. package/tencentcloud/services/ams/v20201229/ams_client.d.ts +1 -1
  43. package/tencentcloud/services/ams/v20201229/ams_client.js +1 -1
  44. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +20 -0
  45. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +13 -1
  46. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +18 -0
  47. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +196 -105
  48. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +8 -0
  49. package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +47 -11
  50. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +11 -3
  51. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +15 -3
  52. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +184 -24
  53. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +6 -6
  54. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +76 -44
  55. package/tencentcloud/services/cvm/v20170312/cvm_client.js +95 -49
  56. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +637 -128
  57. package/tencentcloud/services/dts/v20180330/dts_models.d.ts +9 -9
  58. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +23 -1
  59. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +26 -0
  60. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +202 -73
  61. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +2 -1
  62. package/tencentcloud/services/faceid/v20180301/faceid_client.js +2 -1
  63. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +6 -6
  64. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -2
  65. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -2
  66. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +48 -8
  67. package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +1 -1
  68. package/tencentcloud/services/nlp/v20190408/nlp_client.js +1 -1
  69. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +1 -1
  70. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +8 -0
  71. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +7 -5
  72. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +9 -1
  73. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +12 -0
  74. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +288 -128
  75. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +5 -1
  76. package/tencentcloud/services/tem/v20210701/tem_client.js +6 -0
  77. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +47 -9
  78. package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +5 -4
  79. package/tencentcloud/services/tms/v20201229/tms_models.d.ts +11 -1
  80. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +1 -1
  81. package/tencentcloud/services/vm/v20201229/vm_models.d.ts +25 -0
  82. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +2 -2
  83. package/tencentcloud/services/vod/v20180717/vod_client.js +2 -2
  84. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +359 -359
  85. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +32 -0
  86. package/tencentcloud/services/wav/v20210129/wav_client.d.ts +13 -1
  87. package/tencentcloud/services/wav/v20210129/wav_client.js +18 -0
  88. package/tencentcloud/services/wav/v20210129/wav_models.d.ts +314 -116
  89. package/test/antiddos.v20200309.test.js +30 -0
  90. package/test/ckafka.v20190819.test.js +22 -2
  91. package/test/cvm.v20170312.test.js +82 -12
  92. package/test/essbasic.v20210526.test.js +20 -0
  93. package/test/tdmq.v20200217.test.js +20 -0
  94. package/test/tem.v20210701.test.js +10 -0
  95. package/test/wav.v20210129.test.js +30 -0
@@ -248,6 +248,16 @@ it("antiddos.v20200309.DescribeListDDoSAI", async function () {
248
248
  }
249
249
  })
250
250
 
251
+ it("antiddos.v20200309.CreateDDoSBlackWhiteIpList", async function () {
252
+ try {
253
+ const data = await client.CreateDDoSBlackWhiteIpList({})
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
+
251
261
  it("antiddos.v20200309.DescribeCCTrend", async function () {
252
262
  try {
253
263
  const data = await client.DescribeCCTrend({})
@@ -458,6 +468,16 @@ it("antiddos.v20200309.CreateSchedulingDomain", async function () {
458
468
  }
459
469
  })
460
470
 
471
+ it("antiddos.v20200309.DescribeDDoSBlackWhiteIpList", async function () {
472
+ try {
473
+ const data = await client.DescribeDDoSBlackWhiteIpList({})
474
+ expect(data).to.be.ok
475
+ } catch(error) {
476
+ expect(error.requestId).to.be.ok
477
+ expect(error.code).to.be.ok
478
+ }
479
+ })
480
+
461
481
  it("antiddos.v20200309.CreateWaterPrintKey", async function () {
462
482
  try {
463
483
  const data = await client.CreateWaterPrintKey({})
@@ -478,6 +498,16 @@ it("antiddos.v20200309.CreateProtocolBlockConfig", async function () {
478
498
  }
479
499
  })
480
500
 
501
+ it("antiddos.v20200309.DeleteDDoSBlackWhiteIpList", async function () {
502
+ try {
503
+ const data = await client.DeleteDDoSBlackWhiteIpList({})
504
+ expect(data).to.be.ok
505
+ } catch(error) {
506
+ expect(error.requestId).to.be.ok
507
+ expect(error.code).to.be.ok
508
+ }
509
+ })
510
+
481
511
  it("antiddos.v20200309.CreateL7RuleCerts", async function () {
482
512
  try {
483
513
  const data = await client.CreateL7RuleCerts({})
@@ -58,6 +58,16 @@ it("ckafka.v20190819.DescribeTopicSubscribeGroup", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("ckafka.v20190819.BatchModifyTopicAttributes", async function () {
62
+ try {
63
+ const data = await client.BatchModifyTopicAttributes({})
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.ModifyTopicAttributes", async function () {
62
72
  try {
63
73
  const data = await client.ModifyTopicAttributes({})
@@ -218,6 +228,16 @@ it("ckafka.v20190819.CreatePartition", async function () {
218
228
  }
219
229
  })
220
230
 
231
+ it("ckafka.v20190819.DeleteUser", async function () {
232
+ try {
233
+ const data = await client.DeleteUser({})
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
+
221
241
  it("ckafka.v20190819.DeleteAcl", async function () {
222
242
  try {
223
243
  const data = await client.DeleteAcl({})
@@ -308,9 +328,9 @@ it("ckafka.v20190819.DeleteRouteTriggerTime", async function () {
308
328
  }
309
329
  })
310
330
 
311
- it("ckafka.v20190819.DeleteUser", async function () {
331
+ it("ckafka.v20190819.BatchModifyGroupOffsets", async function () {
312
332
  try {
313
- const data = await client.DeleteUser({})
333
+ const data = await client.BatchModifyGroupOffsets({})
314
334
  expect(data).to.be.ok
315
335
  } catch(error) {
316
336
  expect(error.requestId).to.be.ok
@@ -68,6 +68,16 @@ it("cvm.v20170312.DescribeImageSharePermission", async function () {
68
68
  }
69
69
  })
70
70
 
71
+ it("cvm.v20170312.ModifyLaunchTemplateDefaultVersion", async function () {
72
+ try {
73
+ const data = await client.ModifyLaunchTemplateDefaultVersion({})
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
+
71
81
  it("cvm.v20170312.InquiryPriceModifyInstancesChargeType", async function () {
72
82
  try {
73
83
  const data = await client.InquiryPriceModifyInstancesChargeType({})
@@ -198,9 +208,9 @@ it("cvm.v20170312.DescribeInstances", async function () {
198
208
  }
199
209
  })
200
210
 
201
- it("cvm.v20170312.ImportKeyPair", async function () {
211
+ it("cvm.v20170312.DescribeLaunchTemplateVersions", async function () {
202
212
  try {
203
- const data = await client.ImportKeyPair({})
213
+ const data = await client.DescribeLaunchTemplateVersions({})
204
214
  expect(data).to.be.ok
205
215
  } catch(error) {
206
216
  expect(error.requestId).to.be.ok
@@ -248,9 +258,19 @@ it("cvm.v20170312.AssociateInstancesKeyPairs", async function () {
248
258
  }
249
259
  })
250
260
 
251
- it("cvm.v20170312.RunInstances", async function () {
261
+ it("cvm.v20170312.DescribeInstanceVncUrl", async function () {
252
262
  try {
253
- const data = await client.RunInstances({})
263
+ const data = await client.DescribeInstanceVncUrl({})
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("cvm.v20170312.DeleteLaunchTemplate", async function () {
272
+ try {
273
+ const data = await client.DeleteLaunchTemplate({})
254
274
  expect(data).to.be.ok
255
275
  } catch(error) {
256
276
  expect(error.requestId).to.be.ok
@@ -338,6 +358,16 @@ it("cvm.v20170312.ModifyInstancesRenewFlag", async function () {
338
358
  }
339
359
  })
340
360
 
361
+ it("cvm.v20170312.RenewInstances", async function () {
362
+ try {
363
+ const data = await client.RenewInstances({})
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
+
341
371
  it("cvm.v20170312.PurchaseReservedInstancesOffering", async function () {
342
372
  try {
343
373
  const data = await client.PurchaseReservedInstancesOffering({})
@@ -358,6 +388,16 @@ it("cvm.v20170312.ResizeInstanceDisks", async function () {
358
388
  }
359
389
  })
360
390
 
391
+ it("cvm.v20170312.CreateLaunchTemplate", async function () {
392
+ try {
393
+ const data = await client.CreateLaunchTemplate({})
394
+ expect(data).to.be.ok
395
+ } catch(error) {
396
+ expect(error.requestId).to.be.ok
397
+ expect(error.code).to.be.ok
398
+ }
399
+ })
400
+
361
401
  it("cvm.v20170312.DescribeReservedInstances", async function () {
362
402
  try {
363
403
  const data = await client.DescribeReservedInstances({})
@@ -428,6 +468,16 @@ it("cvm.v20170312.ModifyImageAttribute", async function () {
428
468
  }
429
469
  })
430
470
 
471
+ it("cvm.v20170312.StartInstances", async function () {
472
+ try {
473
+ const data = await client.StartInstances({})
474
+ expect(data).to.be.ok
475
+ } catch(error) {
476
+ expect(error.requestId).to.be.ok
477
+ expect(error.code).to.be.ok
478
+ }
479
+ })
480
+
431
481
  it("cvm.v20170312.DescribeZones", async function () {
432
482
  try {
433
483
  const data = await client.DescribeZones({})
@@ -458,9 +508,19 @@ it("cvm.v20170312.InquiryPriceResetInstancesType", async function () {
458
508
  }
459
509
  })
460
510
 
461
- it("cvm.v20170312.DescribeInstanceFamilyConfigs", async function () {
511
+ it("cvm.v20170312.DeleteLaunchTemplateVersions", async function () {
462
512
  try {
463
- const data = await client.DescribeInstanceFamilyConfigs({})
513
+ const data = await client.DeleteLaunchTemplateVersions({})
514
+ expect(data).to.be.ok
515
+ } catch(error) {
516
+ expect(error.requestId).to.be.ok
517
+ expect(error.code).to.be.ok
518
+ }
519
+ })
520
+
521
+ it("cvm.v20170312.CreateLaunchTemplateVersion", async function () {
522
+ try {
523
+ const data = await client.CreateLaunchTemplateVersion({})
464
524
  expect(data).to.be.ok
465
525
  } catch(error) {
466
526
  expect(error.requestId).to.be.ok
@@ -548,9 +608,19 @@ it("cvm.v20170312.ImportImage", async function () {
548
608
  }
549
609
  })
550
610
 
551
- it("cvm.v20170312.RenewInstances", async function () {
611
+ it("cvm.v20170312.ImportKeyPair", async function () {
552
612
  try {
553
- const data = await client.RenewInstances({})
613
+ const data = await client.ImportKeyPair({})
614
+ expect(data).to.be.ok
615
+ } catch(error) {
616
+ expect(error.requestId).to.be.ok
617
+ expect(error.code).to.be.ok
618
+ }
619
+ })
620
+
621
+ it("cvm.v20170312.DescribeLaunchTemplates", async function () {
622
+ try {
623
+ const data = await client.DescribeLaunchTemplates({})
554
624
  expect(data).to.be.ok
555
625
  } catch(error) {
556
626
  expect(error.requestId).to.be.ok
@@ -568,9 +638,9 @@ it("cvm.v20170312.ModifyDisasterRecoverGroupAttribute", async function () {
568
638
  }
569
639
  })
570
640
 
571
- it("cvm.v20170312.DescribeInstanceVncUrl", async function () {
641
+ it("cvm.v20170312.DescribeInstanceFamilyConfigs", async function () {
572
642
  try {
573
- const data = await client.DescribeInstanceVncUrl({})
643
+ const data = await client.DescribeInstanceFamilyConfigs({})
574
644
  expect(data).to.be.ok
575
645
  } catch(error) {
576
646
  expect(error.requestId).to.be.ok
@@ -608,9 +678,9 @@ it("cvm.v20170312.DescribeDisasterRecoverGroups", async function () {
608
678
  }
609
679
  })
610
680
 
611
- it("cvm.v20170312.StartInstances", async function () {
681
+ it("cvm.v20170312.RunInstances", async function () {
612
682
  try {
613
- const data = await client.StartInstances({})
683
+ const data = await client.RunInstances({})
614
684
  expect(data).to.be.ok
615
685
  } catch(error) {
616
686
  expect(error.requestId).to.be.ok
@@ -28,6 +28,16 @@ it("essbasic.v20210526.CreateFlowsByTemplates", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("essbasic.v20210526.GetDownloadFlowUrl", async function () {
32
+ try {
33
+ const data = await client.GetDownloadFlowUrl({})
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
+
31
41
  it("essbasic.v20210526.PrepareFlows", async function () {
32
42
  try {
33
43
  const data = await client.PrepareFlows({})
@@ -38,6 +48,16 @@ it("essbasic.v20210526.PrepareFlows", async function () {
38
48
  }
39
49
  })
40
50
 
51
+ it("essbasic.v20210526.OperateChannelTemplate", async function () {
52
+ try {
53
+ const data = await client.OperateChannelTemplate({})
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
+
41
61
  it("essbasic.v20210526.CreateSignUrls", async function () {
42
62
  try {
43
63
  const data = await client.CreateSignUrls({})
@@ -278,6 +278,16 @@ it("tdmq.v20200217.CreateCmqSubscribe", async function () {
278
278
  }
279
279
  })
280
280
 
281
+ it("tdmq.v20200217.DescribePublisherSummary", async function () {
282
+ try {
283
+ const data = await client.DescribePublisherSummary({})
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
+
281
291
  it("tdmq.v20200217.DeleteRocketMQNamespace", async function () {
282
292
  try {
283
293
  const data = await client.DeleteRocketMQNamespace({})
@@ -858,6 +868,16 @@ it("tdmq.v20200217.DescribeEnvironmentRoles", async function () {
858
868
  }
859
869
  })
860
870
 
871
+ it("tdmq.v20200217.DescribePublishers", async function () {
872
+ try {
873
+ const data = await client.DescribePublishers({})
874
+ expect(data).to.be.ok
875
+ } catch(error) {
876
+ expect(error.requestId).to.be.ok
877
+ expect(error.code).to.be.ok
878
+ }
879
+ })
880
+
861
881
  it("tdmq.v20200217.CreateRocketMQCluster", async function () {
862
882
  try {
863
883
  const data = await client.CreateRocketMQCluster({})
@@ -118,6 +118,16 @@ it("tem.v20210701.DescribeIngress", async function () {
118
118
  }
119
119
  })
120
120
 
121
+ it("tem.v20210701.RollingUpdateApplicationByVersion", async function () {
122
+ try {
123
+ const data = await client.RollingUpdateApplicationByVersion({})
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
+
121
131
  it("tem.v20210701.RevertDeployApplication", async function () {
122
132
  try {
123
133
  const data = await client.RevertDeployApplication({})
@@ -58,6 +58,36 @@ it("wav.v20210129.QueryActivityList", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("wav.v20210129.QueryDealerInfoList", async function () {
62
+ try {
63
+ const data = await client.QueryDealerInfoList({})
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("wav.v20210129.QueryVehicleInfoList", async function () {
72
+ try {
73
+ const data = await client.QueryVehicleInfoList({})
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("wav.v20210129.CreateLead", async function () {
82
+ try {
83
+ const data = await client.CreateLead({})
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
+
61
91
  it("wav.v20210129.QueryClueInfoList", async function () {
62
92
  try {
63
93
  const data = await client.QueryClueInfoList({})