tencentcloud-sdk-nodejs 4.0.669 → 4.0.671

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 (160) hide show
  1. package/CHANGELOG.md +668 -0
  2. package/SERVICE_CHANGELOG.md +740 -84
  3. package/package.json +1 -1
  4. package/products.md +32 -31
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/index.ts +2 -2
  7. package/src/services/billing/v20180709/billing_client.ts +4 -2
  8. package/src/services/billing/v20180709/billing_models.ts +118 -46
  9. package/src/services/bma/index.ts +2 -2
  10. package/src/services/car/v20220110/car_client.ts +2 -2
  11. package/src/services/car/v20220110/car_models.ts +7 -0
  12. package/src/services/ccc/v20200210/ccc_models.ts +4 -0
  13. package/src/services/cdb/v20170320/cdb_client.ts +1 -1
  14. package/src/services/cdb/v20170320/cdb_models.ts +2 -2
  15. package/src/services/cfg/v20210820/cfg_models.ts +20 -10
  16. package/src/services/chdfs/index.ts +2 -2
  17. package/src/services/cls/v20201016/cls_client.ts +3 -0
  18. package/src/services/cls/v20201016/cls_models.ts +166 -27
  19. package/src/services/cynosdb/v20190107/cynosdb_models.ts +2 -2
  20. package/src/services/dcdb/v20180411/dcdb_client.ts +7 -22
  21. package/src/services/dcdb/v20180411/dcdb_models.ts +0 -98
  22. package/src/services/dlc/v20210125/dlc_models.ts +1 -1
  23. package/src/services/dsgc/index.ts +5 -0
  24. package/src/services/dsgc/v20190723/dsgc_client.ts +44 -0
  25. package/src/services/dsgc/v20190723/dsgc_models.ts +106 -0
  26. package/src/services/dsgc/v20190723/index.ts +6 -0
  27. package/src/services/dts/index.ts +2 -2
  28. package/src/services/eb/v20210416/eb_client.ts +1 -1
  29. package/src/services/eb/v20210416/eb_models.ts +10 -1
  30. package/src/services/eis/index.ts +2 -2
  31. package/src/services/ess/v20201111/ess_models.ts +27 -4
  32. package/src/services/essbasic/v20210526/essbasic_models.ts +15 -2
  33. package/src/services/iai/index.ts +2 -2
  34. package/src/services/ims/index.ts +2 -2
  35. package/src/services/index.ts +1 -0
  36. package/src/services/iotcloud/index.ts +2 -2
  37. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +16 -3
  38. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +180 -82
  39. package/src/services/iotvideo/index.ts +2 -2
  40. package/src/services/lcic/v20220817/lcic_models.ts +25 -1
  41. package/src/services/lighthouse/v20200324/lighthouse_client.ts +197 -35
  42. package/src/services/lighthouse/v20200324/lighthouse_models.ts +617 -112
  43. package/src/services/mgobe/index.ts +2 -2
  44. package/src/services/mongodb/index.ts +2 -2
  45. package/src/services/mps/v20190612/mps_client.ts +1 -0
  46. package/src/services/mps/v20190612/mps_models.ts +37 -8
  47. package/src/services/privatedns/v20201028/privatedns_models.ts +11 -11
  48. package/src/services/pts/v20210728/pts_models.ts +4 -0
  49. package/src/services/scf/v20180416/scf_client.ts +27 -0
  50. package/src/services/scf/v20180416/scf_models.ts +52 -0
  51. package/src/services/sms/index.ts +2 -2
  52. package/src/services/ssa/v20180608/ssa_models.ts +2 -2
  53. package/src/services/tdmq/v20200217/tdmq_models.ts +39 -24
  54. package/src/services/tem/index.ts +2 -2
  55. package/src/services/thpc/index.ts +4 -4
  56. package/src/services/tione/v20211111/tione_client.ts +1 -0
  57. package/src/services/tione/v20211111/tione_models.ts +162 -108
  58. package/src/services/tms/index.ts +2 -2
  59. package/src/services/tsf/v20180326/tsf_client.ts +1 -0
  60. package/src/services/tsf/v20180326/tsf_models.ts +74 -30
  61. package/src/services/tsw/index.ts +2 -2
  62. package/src/services/tts/v20190823/tts_models.ts +14 -6
  63. package/src/services/vm/index.ts +2 -2
  64. package/src/services/waf/v20180125/waf_client.ts +12 -0
  65. package/src/services/waf/v20180125/waf_models.ts +68 -32
  66. package/src/services/wedata/v20210820/wedata_models.ts +26 -21
  67. package/tencentcloud/common/sdk_version.d.ts +1 -1
  68. package/tencentcloud/common/sdk_version.js +1 -1
  69. package/tencentcloud/services/ams/index.d.ts +4 -4
  70. package/tencentcloud/services/ams/index.js +2 -2
  71. package/tencentcloud/services/billing/v20180709/billing_client.d.ts +1 -1
  72. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +116 -46
  73. package/tencentcloud/services/bma/index.d.ts +4 -4
  74. package/tencentcloud/services/bma/index.js +2 -2
  75. package/tencentcloud/services/car/v20220110/car_client.d.ts +2 -2
  76. package/tencentcloud/services/car/v20220110/car_client.js +2 -2
  77. package/tencentcloud/services/car/v20220110/car_models.d.ts +7 -0
  78. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
  79. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
  80. package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
  81. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
  82. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +20 -10
  83. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  84. package/tencentcloud/services/chdfs/index.js +2 -2
  85. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +163 -27
  86. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +2 -2
  87. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +3 -9
  88. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +3 -11
  89. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +0 -95
  90. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +1 -1
  91. package/tencentcloud/services/dsgc/index.d.ts +6 -0
  92. package/tencentcloud/services/dsgc/index.js +7 -0
  93. package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +14 -0
  94. package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +37 -0
  95. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +87 -0
  96. package/tencentcloud/services/dsgc/v20190723/dsgc_models.js +18 -0
  97. package/tencentcloud/services/dsgc/v20190723/index.d.ts +6 -0
  98. package/tencentcloud/services/dsgc/v20190723/index.js +9 -0
  99. package/tencentcloud/services/dts/index.d.ts +4 -4
  100. package/tencentcloud/services/dts/index.js +2 -2
  101. package/tencentcloud/services/eb/v20210416/eb_client.d.ts +1 -1
  102. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +10 -1
  103. package/tencentcloud/services/eis/index.d.ts +4 -4
  104. package/tencentcloud/services/eis/index.js +2 -2
  105. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +27 -4
  106. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +15 -2
  107. package/tencentcloud/services/iai/index.d.ts +4 -4
  108. package/tencentcloud/services/iai/index.js +2 -2
  109. package/tencentcloud/services/ims/index.d.ts +4 -4
  110. package/tencentcloud/services/ims/index.js +2 -2
  111. package/tencentcloud/services/index.d.ts +1 -0
  112. package/tencentcloud/services/index.js +2 -0
  113. package/tencentcloud/services/iotcloud/index.d.ts +4 -4
  114. package/tencentcloud/services/iotcloud/index.js +2 -2
  115. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
  116. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
  117. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +177 -82
  118. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  119. package/tencentcloud/services/iotvideo/index.js +2 -2
  120. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +25 -1
  121. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +61 -9
  122. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +90 -12
  123. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +589 -116
  124. package/tencentcloud/services/mgobe/index.d.ts +4 -4
  125. package/tencentcloud/services/mgobe/index.js +2 -2
  126. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  127. package/tencentcloud/services/mongodb/index.js +2 -2
  128. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +36 -8
  129. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +11 -11
  130. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +4 -0
  131. package/tencentcloud/services/scf/v20180416/scf_client.d.ts +20 -1
  132. package/tencentcloud/services/scf/v20180416/scf_client.js +21 -0
  133. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +50 -0
  134. package/tencentcloud/services/sms/index.d.ts +4 -4
  135. package/tencentcloud/services/sms/index.js +2 -2
  136. package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +2 -2
  137. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +39 -24
  138. package/tencentcloud/services/tem/index.d.ts +4 -4
  139. package/tencentcloud/services/tem/index.js +2 -2
  140. package/tencentcloud/services/thpc/index.d.ts +6 -6
  141. package/tencentcloud/services/thpc/index.js +4 -4
  142. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +161 -108
  143. package/tencentcloud/services/tms/index.d.ts +4 -4
  144. package/tencentcloud/services/tms/index.js +2 -2
  145. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +73 -30
  146. package/tencentcloud/services/tsw/index.d.ts +4 -4
  147. package/tencentcloud/services/tsw/index.js +2 -2
  148. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +14 -6
  149. package/tencentcloud/services/vm/index.d.ts +4 -4
  150. package/tencentcloud/services/vm/index.js +2 -2
  151. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  152. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  153. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +66 -32
  154. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +26 -21
  155. package/test/dcdb.v20180411.test.js +2 -12
  156. package/test/dsgc.v20190723.test.js +31 -0
  157. package/test/iotexplorer.v20190423.test.js +10 -0
  158. package/test/lighthouse.v20200324.test.js +138 -8
  159. package/test/scf.v20180416.test.js +10 -0
  160. package/test/waf.v20180125.test.js +10 -0
@@ -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返回参数结构体
@@ -6783,6 +6783,11 @@ export interface RuleGroup {
6783
6783
  注意:此字段可能返回 null,表示取不到有效值。
6784
6784
  */
6785
6785
  InstanceId?: string;
6786
+ /**
6787
+ * 创建时间
6788
+ 注意:此字段可能返回 null,表示取不到有效值。
6789
+ */
6790
+ CreateTime?: string;
6786
6791
  }
6787
6792
  /**
6788
6793
  * DescribeTableQualityDetails请求参数结构体
@@ -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
+ })
@@ -828,6 +828,16 @@ it("iotexplorer.v20190423.GenSingleDeviceSignatureOfPublic", async function () {
828
828
  }
829
829
  })
830
830
 
831
+ it("iotexplorer.v20190423.DescribeInstance", async function () {
832
+ try {
833
+ const data = await client.DescribeInstance({})
834
+ expect(data).to.be.ok
835
+ } catch(error) {
836
+ expect(error.requestId).to.be.ok
837
+ expect(error.code).to.be.ok
838
+ }
839
+ })
840
+
831
841
  it("iotexplorer.v20190423.ModifyLoRaFrequency", async function () {
832
842
  try {
833
843
  const data = await client.ModifyLoRaFrequency({})
@@ -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
  })
@@ -328,6 +328,16 @@ it("scf.v20180416.ListLayerVersions", async function () {
328
328
  }
329
329
  })
330
330
 
331
+ it("scf.v20180416.UpdateTrigger", async function () {
332
+ try {
333
+ const data = await client.UpdateTrigger({})
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
+
331
341
  it("scf.v20180416.GetReservedConcurrencyConfig", async function () {
332
342
  try {
333
343
  const data = await client.GetReservedConcurrencyConfig({})
@@ -108,6 +108,16 @@ it("waf.v20180125.CreateAccessExport", async function () {
108
108
  }
109
109
  })
110
110
 
111
+ it("waf.v20180125.GetAttackTotalCount", async function () {
112
+ try {
113
+ const data = await client.GetAttackTotalCount({})
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
+
111
121
  it("waf.v20180125.SearchAttackLog", async function () {
112
122
  try {
113
123
  const data = await client.SearchAttackLog({})