tencentcloud-sdk-nodejs 4.0.292 → 4.0.293

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 (41) hide show
  1. package/CHANGELOG.md +90 -0
  2. package/SERVICE_CHANGELOG.md +151 -86
  3. package/package.json +1 -1
  4. package/products.md +10 -10
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_models.ts +1 -1
  7. package/src/services/cdb/v20170320/cdb_models.ts +13 -13
  8. package/src/services/clb/v20180317/clb_client.ts +29 -15
  9. package/src/services/clb/v20180317/clb_models.ts +94 -0
  10. package/src/services/cvm/v20170312/cvm_models.ts +11 -1
  11. package/src/services/iecp/v20210914/iecp_client.ts +5 -5
  12. package/src/services/iecp/v20210914/iecp_models.ts +5 -5
  13. package/src/services/iotcloud/v20180614/iotcloud_client.ts +25 -1
  14. package/src/services/iotcloud/v20180614/iotcloud_models.ts +69 -4
  15. package/src/services/mariadb/v20170312/mariadb_client.ts +21 -5
  16. package/src/services/mariadb/v20170312/mariadb_models.ts +164 -69
  17. package/src/services/scf/v20180416/scf_models.ts +1 -1
  18. package/src/services/ses/v20201002/ses_client.ts +1 -1
  19. package/tencentcloud/common/sdk_version.d.ts +1 -1
  20. package/tencentcloud/common/sdk_version.js +1 -1
  21. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
  22. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +13 -13
  23. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +10 -6
  24. package/tencentcloud/services/clb/v20180317/clb_client.js +13 -7
  25. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +80 -0
  26. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +9 -1
  27. package/tencentcloud/services/iecp/v20210914/iecp_client.d.ts +5 -5
  28. package/tencentcloud/services/iecp/v20210914/iecp_client.js +5 -5
  29. package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +5 -5
  30. package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.d.ts +9 -1
  31. package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.js +12 -0
  32. package/tencentcloud/services/iotcloud/v20180614/iotcloud_models.d.ts +60 -4
  33. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
  34. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
  35. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +141 -59
  36. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
  37. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -1
  38. package/tencentcloud/services/ses/v20201002/ses_client.js +1 -1
  39. package/test/clb.v20180317.test.js +14 -4
  40. package/test/iotcloud.v20180614.test.js +20 -0
  41. package/test/mariadb.v20170312.test.js +10 -0
@@ -1239,7 +1239,7 @@ export interface CreateTriggerRequest {
1239
1239
  */
1240
1240
  Namespace?: string;
1241
1241
  /**
1242
- * 函数的版本
1242
+ * 函数的版本,默认为 $LATEST,建议填写 [$DEFAULT](https://cloud.tencent.com/document/product/583/36149#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)方便后续进行版本的灰度发布。
1243
1243
  */
1244
1244
  Qualifier?: string;
1245
1245
  /**
@@ -53,7 +53,7 @@ export declare class Client extends AbstractClient {
53
53
  ListEmailAddress(req?: ListEmailAddressRequest, cb?: (error: string, rep: ListEmailAddressResponse) => void): Promise<ListEmailAddressResponse>;
54
54
  /**
55
55
  * 创建模板,该模板可以是TXT或者HTML,请注意如果HTML不要包含外部文件的CSS。模板中的变量使用 {{变量名}} 表示。
56
- 注意:模版需要审核通过才可以使用。
56
+ 注意:模板需要审核通过才可以使用。
57
57
  */
58
58
  CreateEmailTemplate(req: CreateEmailTemplateRequest, cb?: (error: string, rep: CreateEmailTemplateResponse) => void): Promise<CreateEmailTemplateResponse>;
59
59
  /**
@@ -95,7 +95,7 @@ class Client extends abstract_client_1.AbstractClient {
95
95
  }
96
96
  /**
97
97
  * 创建模板,该模板可以是TXT或者HTML,请注意如果HTML不要包含外部文件的CSS。模板中的变量使用 {{变量名}} 表示。
98
- 注意:模版需要审核通过才可以使用。
98
+ 注意:模板需要审核通过才可以使用。
99
99
  */
100
100
  async CreateEmailTemplate(req, cb) {
101
101
  return this.request("CreateEmailTemplate", req, cb);
@@ -28,9 +28,9 @@ it("clb.v20180317.RegisterTargets", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("clb.v20180317.ModifyLoadBalancerSla", async function () {
31
+ it("clb.v20180317.ModifyDomainAttributes", async function () {
32
32
  try {
33
- const data = await client.ModifyLoadBalancerSla({})
33
+ const data = await client.ModifyDomainAttributes({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -228,6 +228,16 @@ it("clb.v20180317.DeleteTargetGroups", async function () {
228
228
  }
229
229
  })
230
230
 
231
+ it("clb.v20180317.ModifyLoadBalancerSla", async function () {
232
+ try {
233
+ const data = await client.ModifyLoadBalancerSla({})
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
+
231
241
  it("clb.v20180317.ModifyBlockIPList", async function () {
232
242
  try {
233
243
  const data = await client.ModifyBlockIPList({})
@@ -278,9 +288,9 @@ it("clb.v20180317.DeleteLoadBalancer", async function () {
278
288
  }
279
289
  })
280
290
 
281
- it("clb.v20180317.ModifyDomainAttributes", async function () {
291
+ it("clb.v20180317.DescribeResources", async function () {
282
292
  try {
283
- const data = await client.ModifyDomainAttributes({})
293
+ const data = await client.DescribeResources({})
284
294
  expect(data).to.be.ok
285
295
  } catch(error) {
286
296
  expect(error.requestId).to.be.ok
@@ -408,6 +408,16 @@ it("iotcloud.v20180614.DeleteProduct", async function () {
408
408
  }
409
409
  })
410
410
 
411
+ it("iotcloud.v20180614.DownloadDeviceResource", async function () {
412
+ try {
413
+ const data = await client.DownloadDeviceResource({})
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
+
411
421
  it("iotcloud.v20180614.CreateTaskFileUrl", async function () {
412
422
  try {
413
423
  const data = await client.CreateTaskFileUrl({})
@@ -648,6 +658,16 @@ it("iotcloud.v20180614.DescribeProductResources", async function () {
648
658
  }
649
659
  })
650
660
 
661
+ it("iotcloud.v20180614.DeleteDeviceResource", async function () {
662
+ try {
663
+ const data = await client.DeleteDeviceResource({})
664
+ expect(data).to.be.ok
665
+ } catch(error) {
666
+ expect(error.requestId).to.be.ok
667
+ expect(error.code).to.be.ok
668
+ }
669
+ })
670
+
651
671
  it("iotcloud.v20180614.DescribeProductTask", async function () {
652
672
  try {
653
673
  const data = await client.DescribeProductTask({})
@@ -58,6 +58,16 @@ it("mariadb.v20170312.DescribeInstanceNodeInfo", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("mariadb.v20170312.DescribeDatabaseObjects", async function () {
62
+ try {
63
+ const data = await client.DescribeDatabaseObjects({})
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("mariadb.v20170312.KillSession", async function () {
62
72
  try {
63
73
  const data = await client.KillSession({})