tencentcloud-sdk-nodejs 4.0.670 → 4.0.672

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 (140) hide show
  1. package/CHANGELOG.md +405 -0
  2. package/SERVICE_CHANGELOG.md +421 -342
  3. package/package.json +1 -1
  4. package/products.md +26 -25
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/index.ts +2 -2
  7. package/src/services/bma/index.ts +2 -2
  8. package/src/services/car/v20220110/car_client.ts +2 -2
  9. package/src/services/car/v20220110/car_models.ts +7 -0
  10. package/src/services/ccc/v20200210/ccc_models.ts +4 -0
  11. package/src/services/cdb/v20170320/cdb_client.ts +1 -1
  12. package/src/services/cdb/v20170320/cdb_models.ts +4 -4
  13. package/src/services/cfg/v20210820/cfg_models.ts +20 -10
  14. package/src/services/chdfs/index.ts +2 -2
  15. package/src/services/cynosdb/v20190107/cynosdb_models.ts +23 -23
  16. package/src/services/dcdb/v20180411/dcdb_client.ts +7 -22
  17. package/src/services/dcdb/v20180411/dcdb_models.ts +0 -98
  18. package/src/services/dsgc/index.ts +5 -0
  19. package/src/services/dsgc/v20190723/dsgc_client.ts +44 -0
  20. package/src/services/dsgc/v20190723/dsgc_models.ts +106 -0
  21. package/src/services/dsgc/v20190723/index.ts +6 -0
  22. package/src/services/dts/index.ts +2 -2
  23. package/src/services/eis/index.ts +2 -2
  24. package/src/services/ess/v20201111/ess_client.ts +1 -1
  25. package/src/services/ess/v20201111/ess_models.ts +36 -11
  26. package/src/services/essbasic/v20210526/essbasic_models.ts +2 -1
  27. package/src/services/gme/v20180711/gme_models.ts +18 -0
  28. package/src/services/iai/index.ts +2 -2
  29. package/src/services/ims/index.ts +2 -2
  30. package/src/services/index.ts +1 -0
  31. package/src/services/iotcloud/index.ts +2 -2
  32. package/src/services/iotvideo/index.ts +2 -2
  33. package/src/services/lcic/v20220817/lcic_models.ts +4 -0
  34. package/src/services/lighthouse/v20200324/lighthouse_client.ts +197 -35
  35. package/src/services/lighthouse/v20200324/lighthouse_models.ts +617 -112
  36. package/src/services/live/v20180801/live_models.ts +24 -24
  37. package/src/services/mgobe/index.ts +2 -2
  38. package/src/services/mongodb/index.ts +2 -2
  39. package/src/services/postgres/v20170312/postgres_models.ts +8 -12
  40. package/src/services/privatedns/v20201028/privatedns_models.ts +11 -11
  41. package/src/services/pts/v20210728/pts_models.ts +4 -0
  42. package/src/services/sms/index.ts +2 -2
  43. package/src/services/tat/v20201028/tat_client.ts +175 -88
  44. package/src/services/tat/v20201028/tat_models.ts +580 -208
  45. package/src/services/tdmq/v20200217/tdmq_models.ts +4 -4
  46. package/src/services/tem/index.ts +2 -2
  47. package/src/services/thpc/index.ts +4 -4
  48. package/src/services/tione/v20211111/tione_client.ts +1 -0
  49. package/src/services/tione/v20211111/tione_models.ts +148 -104
  50. package/src/services/tms/index.ts +2 -2
  51. package/src/services/tsw/index.ts +2 -2
  52. package/src/services/vm/index.ts +2 -2
  53. package/src/services/waf/v20180125/waf_client.ts +326 -33
  54. package/src/services/waf/v20180125/waf_models.ts +1256 -262
  55. package/src/services/wedata/v20210820/wedata_models.ts +21 -21
  56. package/tencentcloud/common/sdk_version.d.ts +1 -1
  57. package/tencentcloud/common/sdk_version.js +1 -1
  58. package/tencentcloud/services/ams/index.d.ts +4 -4
  59. package/tencentcloud/services/ams/index.js +2 -2
  60. package/tencentcloud/services/bma/index.d.ts +4 -4
  61. package/tencentcloud/services/bma/index.js +2 -2
  62. package/tencentcloud/services/car/v20220110/car_client.d.ts +2 -2
  63. package/tencentcloud/services/car/v20220110/car_client.js +2 -2
  64. package/tencentcloud/services/car/v20220110/car_models.d.ts +7 -0
  65. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
  66. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
  67. package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
  68. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -4
  69. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +20 -10
  70. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  71. package/tencentcloud/services/chdfs/index.js +2 -2
  72. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +23 -23
  73. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +3 -9
  74. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +3 -11
  75. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +0 -95
  76. package/tencentcloud/services/dsgc/index.d.ts +6 -0
  77. package/tencentcloud/services/dsgc/index.js +7 -0
  78. package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +14 -0
  79. package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +37 -0
  80. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +87 -0
  81. package/tencentcloud/services/dsgc/v20190723/dsgc_models.js +18 -0
  82. package/tencentcloud/services/dsgc/v20190723/index.d.ts +6 -0
  83. package/tencentcloud/services/dsgc/v20190723/index.js +9 -0
  84. package/tencentcloud/services/dts/index.d.ts +4 -4
  85. package/tencentcloud/services/dts/index.js +2 -2
  86. package/tencentcloud/services/eis/index.d.ts +4 -4
  87. package/tencentcloud/services/eis/index.js +2 -2
  88. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
  89. package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
  90. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +36 -11
  91. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -1
  92. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +18 -0
  93. package/tencentcloud/services/iai/index.d.ts +4 -4
  94. package/tencentcloud/services/iai/index.js +2 -2
  95. package/tencentcloud/services/ims/index.d.ts +4 -4
  96. package/tencentcloud/services/ims/index.js +2 -2
  97. package/tencentcloud/services/index.d.ts +1 -0
  98. package/tencentcloud/services/index.js +2 -0
  99. package/tencentcloud/services/iotcloud/index.d.ts +4 -4
  100. package/tencentcloud/services/iotcloud/index.js +2 -2
  101. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  102. package/tencentcloud/services/iotvideo/index.js +2 -2
  103. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -0
  104. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +61 -9
  105. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +90 -12
  106. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +589 -116
  107. package/tencentcloud/services/live/v20180801/live_models.d.ts +24 -24
  108. package/tencentcloud/services/mgobe/index.d.ts +4 -4
  109. package/tencentcloud/services/mgobe/index.js +2 -2
  110. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  111. package/tencentcloud/services/mongodb/index.js +2 -2
  112. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +8 -12
  113. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +11 -11
  114. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +4 -0
  115. package/tencentcloud/services/sms/index.d.ts +4 -4
  116. package/tencentcloud/services/sms/index.js +2 -2
  117. package/tencentcloud/services/tat/v20201028/tat_client.d.ts +65 -37
  118. package/tencentcloud/services/tat/v20201028/tat_client.js +90 -48
  119. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +551 -196
  120. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +4 -4
  121. package/tencentcloud/services/tem/index.d.ts +4 -4
  122. package/tencentcloud/services/tem/index.js +2 -2
  123. package/tencentcloud/services/thpc/index.d.ts +6 -6
  124. package/tencentcloud/services/thpc/index.js +4 -4
  125. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +147 -104
  126. package/tencentcloud/services/tms/index.d.ts +4 -4
  127. package/tencentcloud/services/tms/index.js +2 -2
  128. package/tencentcloud/services/tsw/index.d.ts +4 -4
  129. package/tencentcloud/services/tsw/index.js +2 -2
  130. package/tencentcloud/services/vm/index.d.ts +4 -4
  131. package/tencentcloud/services/vm/index.js +2 -2
  132. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +104 -7
  133. package/tencentcloud/services/waf/v20180125/waf_client.js +152 -9
  134. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1169 -233
  135. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +21 -21
  136. package/test/dcdb.v20180411.test.js +2 -12
  137. package/test/dsgc.v20190723.test.js +31 -0
  138. package/test/lighthouse.v20200324.test.js +138 -8
  139. package/test/tat.v20201028.test.js +94 -24
  140. package/test/waf.v20180125.test.js +236 -6
@@ -4478,97 +4478,97 @@ export interface UserFileDTO {
4478
4478
  * 资源ID
4479
4479
  注意:此字段可能返回 null,表示取不到有效值。
4480
4480
  */
4481
- ResourceId: string;
4481
+ ResourceId?: string;
4482
4482
  /**
4483
4483
  * 文件名
4484
4484
  注意:此字段可能返回 null,表示取不到有效值。
4485
4485
  */
4486
- FileName: string;
4486
+ FileName?: string;
4487
4487
  /**
4488
4488
  * 文件类型,如 jar zip 等
4489
4489
  注意:此字段可能返回 null,表示取不到有效值。
4490
4490
  */
4491
- FileExtensionType: string;
4491
+ FileExtensionType?: string;
4492
4492
  /**
4493
4493
  * 文件上传类型,资源管理为 resource
4494
4494
  注意:此字段可能返回 null,表示取不到有效值。
4495
4495
  */
4496
- FileUploadType: string;
4496
+ FileUploadType?: string;
4497
4497
  /**
4498
4498
  * 文件MD5值
4499
4499
  注意:此字段可能返回 null,表示取不到有效值。
4500
4500
  */
4501
- Md5Value: string;
4501
+ Md5Value?: string;
4502
4502
  /**
4503
- * 创建时间,秒级别的时间戳
4503
+ * 创建时间
4504
4504
  注意:此字段可能返回 null,表示取不到有效值。
4505
4505
  */
4506
- CreateTime: number;
4506
+ CreateTime?: string;
4507
4507
  /**
4508
- * 更新时间,秒级别的时间戳
4508
+ * 更新时间
4509
4509
  注意:此字段可能返回 null,表示取不到有效值。
4510
4510
  */
4511
- UpdateTime: number;
4511
+ UpdateTime?: string;
4512
4512
  /**
4513
4513
  * 文件大小,单位为字节
4514
4514
  注意:此字段可能返回 null,表示取不到有效值。
4515
4515
  */
4516
- Size: number;
4516
+ Size?: number;
4517
4517
  /**
4518
4518
  * 本地路径
4519
4519
  注意:此字段可能返回 null,表示取不到有效值。
4520
4520
  */
4521
- LocalPath: string;
4521
+ LocalPath?: string;
4522
4522
  /**
4523
4523
  * 本地临时路径
4524
4524
  注意:此字段可能返回 null,表示取不到有效值。
4525
4525
  */
4526
- LocalTmpPath: string;
4526
+ LocalTmpPath?: string;
4527
4527
  /**
4528
4528
  * 远程路径
4529
4529
  注意:此字段可能返回 null,表示取不到有效值。
4530
4530
  */
4531
- RemotePath: string;
4531
+ RemotePath?: string;
4532
4532
  /**
4533
4533
  * 文件拥有者名字
4534
4534
  注意:此字段可能返回 null,表示取不到有效值。
4535
4535
  */
4536
- OwnerName: string;
4536
+ OwnerName?: string;
4537
4537
  /**
4538
4538
  * 文件拥有者uin
4539
4539
  注意:此字段可能返回 null,表示取不到有效值。
4540
4540
  */
4541
- Owner: string;
4541
+ Owner?: string;
4542
4542
  /**
4543
4543
  * 文件深度
4544
4544
  注意:此字段可能返回 null,表示取不到有效值。
4545
4545
  */
4546
- PathDepth: string;
4546
+ PathDepth?: string;
4547
4547
  /**
4548
4548
  * 项目ID
4549
4549
  注意:此字段可能返回 null,表示取不到有效值。
4550
4550
  */
4551
- ProjectId: string;
4551
+ ProjectId?: string;
4552
4552
  /**
4553
4553
  * 附加信息
4554
4554
  注意:此字段可能返回 null,表示取不到有效值。
4555
4555
  */
4556
- ExtraInfo: string;
4556
+ ExtraInfo?: string;
4557
4557
  /**
4558
4558
  * 本地临时压缩文件绝对路径
4559
4559
  注意:此字段可能返回 null,表示取不到有效值。
4560
4560
  */
4561
- ZipPath: string;
4561
+ ZipPath?: string;
4562
4562
  /**
4563
4563
  * 文件所属存储桶
4564
4564
  注意:此字段可能返回 null,表示取不到有效值。
4565
4565
  */
4566
- Bucket: string;
4566
+ Bucket?: string;
4567
4567
  /**
4568
4568
  * 文件所属存储桶的地域
4569
4569
  注意:此字段可能返回 null,表示取不到有效值。
4570
4570
  */
4571
- Region: string;
4571
+ Region?: string;
4572
4572
  }
4573
4573
  /**
4574
4574
  * DeleteCustomFunction返回参数结构体
@@ -308,9 +308,9 @@ it("dcdb.v20180411.DescribeDCDBInstanceDetail", async function () {
308
308
  }
309
309
  })
310
310
 
311
- it("dcdb.v20180411.DescribeSqlLogs", async function () {
311
+ it("dcdb.v20180411.KillSession", async function () {
312
312
  try {
313
- const data = await client.DescribeSqlLogs({})
313
+ const data = await client.KillSession({})
314
314
  expect(data).to.be.ok
315
315
  } catch(error) {
316
316
  expect(error.requestId).to.be.ok
@@ -398,16 +398,6 @@ it("dcdb.v20180411.ModifyInstanceNetwork", async function () {
398
398
  }
399
399
  })
400
400
 
401
- it("dcdb.v20180411.KillSession", async function () {
402
- try {
403
- const data = await client.KillSession({})
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
401
  it("dcdb.v20180411.OpenDBExtranetAccess", async function () {
412
402
  try {
413
403
  const data = await client.OpenDBExtranetAccess({})
@@ -0,0 +1,31 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.dsgc.v20190723.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("dsgc.v20190723.test.js", function () {
20
+
21
+ it("dsgc.v20190723.CreateDSPADbMetaResources", async function () {
22
+ try {
23
+ const data = await client.CreateDSPADbMetaResources({})
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
+ })
@@ -18,6 +18,16 @@ const client = new tencentcloud.lighthouse.v20200324.Client({
18
18
  })
19
19
  describe("lighthouse.v20200324.test.js", function () {
20
20
 
21
+ it("lighthouse.v20200324.ModifyFirewallTemplate", async function () {
22
+ try {
23
+ const data = await client.ModifyFirewallTemplate({})
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("lighthouse.v20200324.DeleteBlueprints", async function () {
22
32
  try {
23
33
  const data = await client.DeleteBlueprints({})
@@ -148,6 +158,16 @@ it("lighthouse.v20200324.RestartDockerContainers", async function () {
148
158
  }
149
159
  })
150
160
 
161
+ it("lighthouse.v20200324.DescribeFirewallTemplateRules", async function () {
162
+ try {
163
+ const data = await client.DescribeFirewallTemplateRules({})
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
+
151
171
  it("lighthouse.v20200324.ModifyDiskBackupsAttribute", async function () {
152
172
  try {
153
173
  const data = await client.ModifyDiskBackupsAttribute({})
@@ -248,6 +268,16 @@ it("lighthouse.v20200324.DescribeDiskDiscount", async function () {
248
268
  }
249
269
  })
250
270
 
271
+ it("lighthouse.v20200324.DescribeFirewallTemplateQuota", async function () {
272
+ try {
273
+ const data = await client.DescribeFirewallTemplateQuota({})
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
+
251
281
  it("lighthouse.v20200324.DescribeAllScenes", async function () {
252
282
  try {
253
283
  const data = await client.DescribeAllScenes({})
@@ -258,6 +288,16 @@ it("lighthouse.v20200324.DescribeAllScenes", async function () {
258
288
  }
259
289
  })
260
290
 
291
+ it("lighthouse.v20200324.CreateFirewallTemplate", async function () {
292
+ try {
293
+ const data = await client.CreateFirewallTemplate({})
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
+
261
301
  it("lighthouse.v20200324.AttachDisks", async function () {
262
302
  try {
263
303
  const data = await client.AttachDisks({})
@@ -288,6 +328,16 @@ it("lighthouse.v20200324.AssociateInstancesKeyPairs", async function () {
288
328
  }
289
329
  })
290
330
 
331
+ it("lighthouse.v20200324.DeleteFirewallTemplate", async function () {
332
+ try {
333
+ const data = await client.DeleteFirewallTemplate({})
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
+
291
341
  it("lighthouse.v20200324.DisassociateInstancesKeyPairs", async function () {
292
342
  try {
293
343
  const data = await client.DisassociateInstancesKeyPairs({})
@@ -328,9 +378,9 @@ it("lighthouse.v20200324.DescribeInstanceLoginKeyPairAttribute", async function
328
378
  }
329
379
  })
330
380
 
331
- it("lighthouse.v20200324.CreateInstanceSnapshot", async function () {
381
+ it("lighthouse.v20200324.DescribeInstancesDeniedActions", async function () {
332
382
  try {
333
- const data = await client.CreateInstanceSnapshot({})
383
+ const data = await client.DescribeInstancesDeniedActions({})
334
384
  expect(data).to.be.ok
335
385
  } catch(error) {
336
386
  expect(error.requestId).to.be.ok
@@ -348,9 +398,9 @@ it("lighthouse.v20200324.InquirePriceCreateInstances", async function () {
348
398
  }
349
399
  })
350
400
 
351
- it("lighthouse.v20200324.DescribeInstancesDeniedActions", async function () {
401
+ it("lighthouse.v20200324.CreateInstanceSnapshot", async function () {
352
402
  try {
353
- const data = await client.DescribeInstancesDeniedActions({})
403
+ const data = await client.CreateInstanceSnapshot({})
354
404
  expect(data).to.be.ok
355
405
  } catch(error) {
356
406
  expect(error.requestId).to.be.ok
@@ -418,9 +468,9 @@ it("lighthouse.v20200324.TerminateDisks", async function () {
418
468
  }
419
469
  })
420
470
 
421
- it("lighthouse.v20200324.ResetAttachCcn", async function () {
471
+ it("lighthouse.v20200324.CreateFirewallTemplateRules", async function () {
422
472
  try {
423
- const data = await client.ResetAttachCcn({})
473
+ const data = await client.CreateFirewallTemplateRules({})
424
474
  expect(data).to.be.ok
425
475
  } catch(error) {
426
476
  expect(error.requestId).to.be.ok
@@ -598,6 +648,16 @@ it("lighthouse.v20200324.CreateDisks", async function () {
598
648
  }
599
649
  })
600
650
 
651
+ it("lighthouse.v20200324.ApplyFirewallTemplate", async function () {
652
+ try {
653
+ const data = await client.ApplyFirewallTemplate({})
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
+
601
661
  it("lighthouse.v20200324.DescribeSnapshots", async function () {
602
662
  try {
603
663
  const data = await client.DescribeSnapshots({})
@@ -618,6 +678,16 @@ it("lighthouse.v20200324.DescribeDiskBackupsDeniedActions", async function () {
618
678
  }
619
679
  })
620
680
 
681
+ it("lighthouse.v20200324.RunDockerContainers", async function () {
682
+ try {
683
+ const data = await client.RunDockerContainers({})
684
+ expect(data).to.be.ok
685
+ } catch(error) {
686
+ expect(error.requestId).to.be.ok
687
+ expect(error.code).to.be.ok
688
+ }
689
+ })
690
+
621
691
  it("lighthouse.v20200324.DescribeInstanceVncUrl", async function () {
622
692
  try {
623
693
  const data = await client.DescribeInstanceVncUrl({})
@@ -668,6 +738,16 @@ it("lighthouse.v20200324.ModifyFirewallRuleDescription", async function () {
668
738
  }
669
739
  })
670
740
 
741
+ it("lighthouse.v20200324.ResetAttachCcn", async function () {
742
+ try {
743
+ const data = await client.ResetAttachCcn({})
744
+ expect(data).to.be.ok
745
+ } catch(error) {
746
+ expect(error.requestId).to.be.ok
747
+ expect(error.code).to.be.ok
748
+ }
749
+ })
750
+
671
751
  it("lighthouse.v20200324.RebootInstances", async function () {
672
752
  try {
673
753
  const data = await client.RebootInstances({})
@@ -728,9 +808,19 @@ it("lighthouse.v20200324.DescribeInstancesDiskNum", async function () {
728
808
  }
729
809
  })
730
810
 
731
- it("lighthouse.v20200324.RunDockerContainers", async function () {
811
+ it("lighthouse.v20200324.DeleteFirewallTemplateRules", async function () {
732
812
  try {
733
- const data = await client.RunDockerContainers({})
813
+ const data = await client.DeleteFirewallTemplateRules({})
814
+ expect(data).to.be.ok
815
+ } catch(error) {
816
+ expect(error.requestId).to.be.ok
817
+ expect(error.code).to.be.ok
818
+ }
819
+ })
820
+
821
+ it("lighthouse.v20200324.DescribeFirewallTemplateRuleQuota", async function () {
822
+ try {
823
+ const data = await client.DescribeFirewallTemplateRuleQuota({})
734
824
  expect(data).to.be.ok
735
825
  } catch(error) {
736
826
  expect(error.requestId).to.be.ok
@@ -868,6 +958,26 @@ it("lighthouse.v20200324.DeleteSnapshots", async function () {
868
958
  }
869
959
  })
870
960
 
961
+ it("lighthouse.v20200324.DescribeFirewallTemplateApplyRecords", async function () {
962
+ try {
963
+ const data = await client.DescribeFirewallTemplateApplyRecords({})
964
+ expect(data).to.be.ok
965
+ } catch(error) {
966
+ expect(error.requestId).to.be.ok
967
+ expect(error.code).to.be.ok
968
+ }
969
+ })
970
+
971
+ it("lighthouse.v20200324.ResetFirewallTemplateRules", async function () {
972
+ try {
973
+ const data = await client.ResetFirewallTemplateRules({})
974
+ expect(data).to.be.ok
975
+ } catch(error) {
976
+ expect(error.requestId).to.be.ok
977
+ expect(error.code).to.be.ok
978
+ }
979
+ })
980
+
871
981
  it("lighthouse.v20200324.DescribeResetInstanceBlueprints", async function () {
872
982
  try {
873
983
  const data = await client.DescribeResetInstanceBlueprints({})
@@ -938,4 +1048,24 @@ it("lighthouse.v20200324.CreateInstances", async function () {
938
1048
  }
939
1049
  })
940
1050
 
1051
+ it("lighthouse.v20200324.ReplaceFirewallTemplateRule", async function () {
1052
+ try {
1053
+ const data = await client.ReplaceFirewallTemplateRule({})
1054
+ expect(data).to.be.ok
1055
+ } catch(error) {
1056
+ expect(error.requestId).to.be.ok
1057
+ expect(error.code).to.be.ok
1058
+ }
1059
+ })
1060
+
1061
+ it("lighthouse.v20200324.DescribeFirewallTemplates", async function () {
1062
+ try {
1063
+ const data = await client.DescribeFirewallTemplates({})
1064
+ expect(data).to.be.ok
1065
+ } catch(error) {
1066
+ expect(error.requestId).to.be.ok
1067
+ expect(error.code).to.be.ok
1068
+ }
1069
+ })
1070
+
941
1071
  })
@@ -18,6 +18,56 @@ const client = new tencentcloud.tat.v20201028.Client({
18
18
  })
19
19
  describe("tat.v20201028.test.js", function () {
20
20
 
21
+ it("tat.v20201028.CancelInvocation", async function () {
22
+ try {
23
+ const data = await client.CancelInvocation({})
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("tat.v20201028.ModifyRegisterInstance", async function () {
32
+ try {
33
+ const data = await client.ModifyRegisterInstance({})
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("tat.v20201028.CreateInvoker", async function () {
42
+ try {
43
+ const data = await client.CreateInvoker({})
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("tat.v20201028.DeleteCommand", async function () {
52
+ try {
53
+ const data = await client.DeleteCommand({})
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("tat.v20201028.CreateRegisterCode", async function () {
62
+ try {
63
+ const data = await client.CreateRegisterCode({})
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
+
21
71
  it("tat.v20201028.EnableInvoker", async function () {
22
72
  try {
23
73
  const data = await client.EnableInvoker({})
@@ -58,9 +108,9 @@ it("tat.v20201028.DescribeInvocations", async function () {
58
108
  }
59
109
  })
60
110
 
61
- it("tat.v20201028.CancelInvocation", async function () {
111
+ it("tat.v20201028.DescribeInvocationTasks", async function () {
62
112
  try {
63
- const data = await client.CancelInvocation({})
113
+ const data = await client.DescribeInvocationTasks({})
64
114
  expect(data).to.be.ok
65
115
  } catch(error) {
66
116
  expect(error.requestId).to.be.ok
@@ -68,9 +118,9 @@ it("tat.v20201028.CancelInvocation", async function () {
68
118
  }
69
119
  })
70
120
 
71
- it("tat.v20201028.DescribeInvocationTasks", async function () {
121
+ it("tat.v20201028.PreviewReplacedCommandContent", async function () {
72
122
  try {
73
- const data = await client.DescribeInvocationTasks({})
123
+ const data = await client.PreviewReplacedCommandContent({})
74
124
  expect(data).to.be.ok
75
125
  } catch(error) {
76
126
  expect(error.requestId).to.be.ok
@@ -78,9 +128,9 @@ it("tat.v20201028.DescribeInvocationTasks", async function () {
78
128
  }
79
129
  })
80
130
 
81
- it("tat.v20201028.CreateInvoker", async function () {
131
+ it("tat.v20201028.DisableInvoker", async function () {
82
132
  try {
83
- const data = await client.CreateInvoker({})
133
+ const data = await client.DisableInvoker({})
84
134
  expect(data).to.be.ok
85
135
  } catch(error) {
86
136
  expect(error.requestId).to.be.ok
@@ -88,9 +138,9 @@ it("tat.v20201028.CreateInvoker", async function () {
88
138
  }
89
139
  })
90
140
 
91
- it("tat.v20201028.DescribeInvokerRecords", async function () {
141
+ it("tat.v20201028.DeleteRegisterInstance", async function () {
92
142
  try {
93
- const data = await client.DescribeInvokerRecords({})
143
+ const data = await client.DeleteRegisterInstance({})
94
144
  expect(data).to.be.ok
95
145
  } catch(error) {
96
146
  expect(error.requestId).to.be.ok
@@ -98,9 +148,9 @@ it("tat.v20201028.DescribeInvokerRecords", async function () {
98
148
  }
99
149
  })
100
150
 
101
- it("tat.v20201028.DescribeRegions", async function () {
151
+ it("tat.v20201028.ModifyCommand", async function () {
102
152
  try {
103
- const data = await client.DescribeRegions({})
153
+ const data = await client.ModifyCommand({})
104
154
  expect(data).to.be.ok
105
155
  } catch(error) {
106
156
  expect(error.requestId).to.be.ok
@@ -108,9 +158,9 @@ it("tat.v20201028.DescribeRegions", async function () {
108
158
  }
109
159
  })
110
160
 
111
- it("tat.v20201028.DisableInvoker", async function () {
161
+ it("tat.v20201028.InvokeCommand", async function () {
112
162
  try {
113
- const data = await client.DisableInvoker({})
163
+ const data = await client.InvokeCommand({})
114
164
  expect(data).to.be.ok
115
165
  } catch(error) {
116
166
  expect(error.requestId).to.be.ok
@@ -118,9 +168,19 @@ it("tat.v20201028.DisableInvoker", async function () {
118
168
  }
119
169
  })
120
170
 
121
- it("tat.v20201028.ModifyInvoker", async function () {
171
+ it("tat.v20201028.DescribeRegisterInstances", async function () {
122
172
  try {
123
- const data = await client.ModifyInvoker({})
173
+ const data = await client.DescribeRegisterInstances({})
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("tat.v20201028.DescribeRegions", async function () {
182
+ try {
183
+ const data = await client.DescribeRegions({})
124
184
  expect(data).to.be.ok
125
185
  } catch(error) {
126
186
  expect(error.requestId).to.be.ok
@@ -138,9 +198,9 @@ it("tat.v20201028.CreateCommand", async function () {
138
198
  }
139
199
  })
140
200
 
141
- it("tat.v20201028.DeleteCommand", async function () {
201
+ it("tat.v20201028.DeleteRegisterCodes", async function () {
142
202
  try {
143
- const data = await client.DeleteCommand({})
203
+ const data = await client.DeleteRegisterCodes({})
144
204
  expect(data).to.be.ok
145
205
  } catch(error) {
146
206
  expect(error.requestId).to.be.ok
@@ -148,9 +208,9 @@ it("tat.v20201028.DeleteCommand", async function () {
148
208
  }
149
209
  })
150
210
 
151
- it("tat.v20201028.ModifyCommand", async function () {
211
+ it("tat.v20201028.DescribeRegisterCodes", async function () {
152
212
  try {
153
- const data = await client.ModifyCommand({})
213
+ const data = await client.DescribeRegisterCodes({})
154
214
  expect(data).to.be.ok
155
215
  } catch(error) {
156
216
  expect(error.requestId).to.be.ok
@@ -168,9 +228,9 @@ it("tat.v20201028.DescribeAutomationAgentStatus", async function () {
168
228
  }
169
229
  })
170
230
 
171
- it("tat.v20201028.PreviewReplacedCommandContent", async function () {
231
+ it("tat.v20201028.DisableRegisterCodes", async function () {
172
232
  try {
173
- const data = await client.PreviewReplacedCommandContent({})
233
+ const data = await client.DisableRegisterCodes({})
174
234
  expect(data).to.be.ok
175
235
  } catch(error) {
176
236
  expect(error.requestId).to.be.ok
@@ -178,9 +238,19 @@ it("tat.v20201028.PreviewReplacedCommandContent", async function () {
178
238
  }
179
239
  })
180
240
 
181
- it("tat.v20201028.RunCommand", async function () {
241
+ it("tat.v20201028.DescribeInvokerRecords", async function () {
182
242
  try {
183
- const data = await client.RunCommand({})
243
+ const data = await client.DescribeInvokerRecords({})
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("tat.v20201028.ModifyInvoker", async function () {
252
+ try {
253
+ const data = await client.ModifyInvoker({})
184
254
  expect(data).to.be.ok
185
255
  } catch(error) {
186
256
  expect(error.requestId).to.be.ok
@@ -198,9 +268,9 @@ it("tat.v20201028.DescribeInvokers", async function () {
198
268
  }
199
269
  })
200
270
 
201
- it("tat.v20201028.InvokeCommand", async function () {
271
+ it("tat.v20201028.RunCommand", async function () {
202
272
  try {
203
- const data = await client.InvokeCommand({})
273
+ const data = await client.RunCommand({})
204
274
  expect(data).to.be.ok
205
275
  } catch(error) {
206
276
  expect(error.requestId).to.be.ok