tencentcloud-sdk-nodejs 4.0.348 → 4.0.351

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 +234 -0
  2. package/SERVICE_CHANGELOG.md +313 -42
  3. package/package.json +1 -1
  4. package/products.md +22 -22
  5. package/src/common/abstract_client.ts +1 -1
  6. package/src/common/sdk_version.ts +1 -1
  7. package/src/services/cbs/v20170312/cbs_models.ts +48 -20
  8. package/src/services/ccc/v20200210/ccc_models.ts +2 -2
  9. package/src/services/cfw/v20190904/cfw_models.ts +5 -5
  10. package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
  11. package/src/services/cwp/v20180228/cwp_models.ts +17 -2
  12. package/src/services/cynosdb/v20190107/cynosdb_models.ts +21 -21
  13. package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
  14. package/src/services/dcdb/v20180411/dcdb_models.ts +25 -0
  15. package/src/services/dlc/v20210125/dlc_client.ts +102 -16
  16. package/src/services/dlc/v20210125/dlc_models.ts +845 -231
  17. package/src/services/iotcloud/v20210408/iotcloud_client.ts +13 -0
  18. package/src/services/iotcloud/v20210408/iotcloud_models.ts +65 -0
  19. package/src/services/ivld/v20210903/ivld_client.ts +1 -1
  20. package/src/services/kms/v20190118/kms_models.ts +39 -0
  21. package/src/services/organization/v20210331/organization_client.ts +14 -2
  22. package/src/services/organization/v20210331/organization_models.ts +53 -12
  23. package/src/services/redis/v20180412/redis_client.ts +24 -0
  24. package/src/services/redis/v20180412/redis_models.ts +80 -0
  25. package/src/services/sqlserver/v20180328/sqlserver_models.ts +1 -1
  26. package/src/services/vod/v20180717/vod_client.ts +3 -2
  27. package/src/services/vod/v20180717/vod_models.ts +1 -1
  28. package/src/services/vpc/v20170312/vpc_client.ts +1 -1
  29. package/src/services/vpc/v20170312/vpc_models.ts +25 -2
  30. package/tencentcloud/common/abstract_client.js +1 -1
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +42 -19
  34. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +2 -2
  35. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +5 -5
  36. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
  37. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +14 -2
  38. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +21 -21
  39. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
  40. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
  41. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +22 -0
  42. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +31 -3
  43. package/tencentcloud/services/dlc/v20210125/dlc_client.js +45 -3
  44. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +676 -168
  45. package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.d.ts +5 -1
  46. package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.js +6 -0
  47. package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +55 -0
  48. package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +1 -1
  49. package/tencentcloud/services/ivld/v20210903/ivld_client.js +1 -1
  50. package/tencentcloud/services/kms/v20190118/kms_models.d.ts +32 -0
  51. package/tencentcloud/services/organization/v20210331/organization_client.d.ts +5 -1
  52. package/tencentcloud/services/organization/v20210331/organization_client.js +6 -0
  53. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +47 -12
  54. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +9 -1
  55. package/tencentcloud/services/redis/v20180412/redis_client.js +12 -0
  56. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +68 -0
  57. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +1 -1
  58. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -0
  59. package/tencentcloud/services/vod/v20180717/vod_client.js +1 -0
  60. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
  61. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
  62. package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
  63. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +21 -2
  64. package/test/dcdb.v20180411.test.js +10 -0
  65. package/test/dlc.v20210125.test.js +72 -2
  66. package/test/iotcloud.v20210408.test.js +10 -0
  67. package/test/organization.v20210331.test.js +10 -0
  68. package/test/redis.v20180412.test.js +20 -0
@@ -98,6 +98,16 @@ it("dlc.v20210125.CreateExportTask", async function () {
98
98
  }
99
99
  })
100
100
 
101
+ it("dlc.v20210125.DeleteSparkApp", async function () {
102
+ try {
103
+ const data = await client.DeleteSparkApp({})
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
+
101
111
  it("dlc.v20210125.DescribeUsers", async function () {
102
112
  try {
103
113
  const data = await client.DescribeUsers({})
@@ -188,9 +198,9 @@ it("dlc.v20210125.AttachWorkGroupPolicy", async function () {
188
198
  }
189
199
  })
190
200
 
191
- it("dlc.v20210125.DescribeWorkGroups", async function () {
201
+ it("dlc.v20210125.CreateSparkApp", async function () {
192
202
  try {
193
- const data = await client.DescribeWorkGroups({})
203
+ const data = await client.CreateSparkApp({})
194
204
  expect(data).to.be.ok
195
205
  } catch(error) {
196
206
  expect(error.requestId).to.be.ok
@@ -228,6 +238,16 @@ it("dlc.v20210125.CreateDatabase", async function () {
228
238
  }
229
239
  })
230
240
 
241
+ it("dlc.v20210125.DescribeWorkGroups", async function () {
242
+ try {
243
+ const data = await client.DescribeWorkGroups({})
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
+
231
251
  it("dlc.v20210125.ModifyWorkGroup", async function () {
232
252
  try {
233
253
  const data = await client.ModifyWorkGroup({})
@@ -238,6 +258,16 @@ it("dlc.v20210125.ModifyWorkGroup", async function () {
238
258
  }
239
259
  })
240
260
 
261
+ it("dlc.v20210125.ModifySparkApp", async function () {
262
+ try {
263
+ const data = await client.ModifySparkApp({})
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
+
241
271
  it("dlc.v20210125.DescribeViews", async function () {
242
272
  try {
243
273
  const data = await client.DescribeViews({})
@@ -278,6 +308,16 @@ it("dlc.v20210125.DeleteScript", async function () {
278
308
  }
279
309
  })
280
310
 
311
+ it("dlc.v20210125.CreateSparkAppTask", async function () {
312
+ try {
313
+ const data = await client.CreateSparkAppTask({})
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
+
281
321
  it("dlc.v20210125.ModifyUser", async function () {
282
322
  try {
283
323
  const data = await client.ModifyUser({})
@@ -338,6 +378,36 @@ it("dlc.v20210125.DescribeStoreLocation", async function () {
338
378
  }
339
379
  })
340
380
 
381
+ it("dlc.v20210125.DescribeSparkAppJob", async function () {
382
+ try {
383
+ const data = await client.DescribeSparkAppJob({})
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
+
391
+ it("dlc.v20210125.DescribeSparkAppTasks", async function () {
392
+ try {
393
+ const data = await client.DescribeSparkAppTasks({})
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
+
401
+ it("dlc.v20210125.DescribeSparkAppJobs", async function () {
402
+ try {
403
+ const data = await client.DescribeSparkAppJobs({})
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
+
341
411
  it("dlc.v20210125.CreateUser", async function () {
342
412
  try {
343
413
  const data = await client.CreateUser({})
@@ -668,6 +668,16 @@ it("iotcloud.v20210408.DescribeFirmwareTasks", async function () {
668
668
  }
669
669
  })
670
670
 
671
+ it("iotcloud.v20210408.ListTopicRules", async function () {
672
+ try {
673
+ const data = await client.ListTopicRules({})
674
+ expect(data).to.be.ok
675
+ } catch(error) {
676
+ expect(error.requestId).to.be.ok
677
+ expect(error.code).to.be.ok
678
+ }
679
+ })
680
+
671
681
  it("iotcloud.v20210408.DescribeProductResources", async function () {
672
682
  try {
673
683
  const data = await client.DescribeProductResources({})
@@ -58,4 +58,14 @@ it("organization.v20210331.DescribeOrganization", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("organization.v20210331.CreateOrganizationMemberPolicy", async function () {
62
+ try {
63
+ const data = await client.CreateOrganizationMemberPolicy({})
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
  })
@@ -488,6 +488,16 @@ it("redis.v20180412.ModifyInstanceParams", async function () {
488
488
  }
489
489
  })
490
490
 
491
+ it("redis.v20180412.UpgradeProxyVersion", async function () {
492
+ try {
493
+ const data = await client.UpgradeProxyVersion({})
494
+ expect(data).to.be.ok
495
+ } catch(error) {
496
+ expect(error.requestId).to.be.ok
497
+ expect(error.code).to.be.ok
498
+ }
499
+ })
500
+
491
501
  it("redis.v20180412.ModifyParamTemplate", async function () {
492
502
  try {
493
503
  const data = await client.ModifyParamTemplate({})
@@ -638,6 +648,16 @@ it("redis.v20180412.RenewInstance", async function () {
638
648
  }
639
649
  })
640
650
 
651
+ it("redis.v20180412.UpgradeSmallVersion", async function () {
652
+ try {
653
+ const data = await client.UpgradeSmallVersion({})
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
+
641
661
  it("redis.v20180412.ManualBackupInstance", async function () {
642
662
  try {
643
663
  const data = await client.ManualBackupInstance({})