tencentcloud-sdk-nodejs 4.0.508 → 4.0.510

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 (50) hide show
  1. package/CHANGELOG.md +249 -0
  2. package/README.md +2 -2
  3. package/SERVICE_CHANGELOG.md +217 -130
  4. package/examples/cvm_role.js +4 -3
  5. package/examples/cvm_role.ts +28 -0
  6. package/package.json +1 -1
  7. package/products.md +11 -11
  8. package/src/common/abstract_client.ts +11 -4
  9. package/src/common/cvm_role_credential.ts +2 -2
  10. package/src/common/http/http_connection.ts +2 -2
  11. package/src/common/sdk_version.ts +1 -1
  12. package/src/services/as/v20180419/as_models.ts +1 -1
  13. package/src/services/cam/v20190116/cam_models.ts +6 -0
  14. package/src/services/cfg/v20210820/cfg_client.ts +1 -0
  15. package/src/services/cfg/v20210820/cfg_models.ts +44 -1
  16. package/src/services/cynosdb/v20190107/cynosdb_client.ts +2 -1
  17. package/src/services/cynosdb/v20190107/cynosdb_models.ts +55 -25
  18. package/src/services/dts/v20211206/dts_client.ts +1 -0
  19. package/src/services/dts/v20211206/dts_models.ts +94 -20
  20. package/src/services/lighthouse/v20200324/lighthouse_models.ts +20 -7
  21. package/src/services/rum/v20210622/rum_client.ts +24 -0
  22. package/src/services/rum/v20210622/rum_models.ts +100 -0
  23. package/src/services/tcb/v20180608/tcb_client.ts +3 -1
  24. package/src/services/tcb/v20180608/tcb_models.ts +53 -7
  25. package/src/services/teo/v20220901/teo_client.ts +29 -4
  26. package/src/services/teo/v20220901/teo_models.ts +318 -139
  27. package/src/services/trp/v20210515/trp_models.ts +3 -3
  28. package/tencentcloud/common/abstract_client.js +10 -5
  29. package/tencentcloud/common/cvm_role_credential.d.ts +2 -2
  30. package/tencentcloud/common/http/http_connection.js +2 -2
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
  34. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +5 -0
  35. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +37 -1
  36. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +1 -1
  37. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +47 -22
  38. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +79 -18
  39. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +18 -7
  40. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +9 -1
  41. package/tencentcloud/services/rum/v20210622/rum_client.js +12 -0
  42. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +84 -0
  43. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +1 -1
  44. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +46 -7
  45. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +9 -1
  46. package/tencentcloud/services/teo/v20220901/teo_client.js +12 -0
  47. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +283 -127
  48. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +3 -3
  49. package/test/rum.v20210622.test.js +20 -0
  50. package/test/teo.v20220901.test.js +20 -0
@@ -2102,12 +2102,12 @@ export interface Quota {
2102
2102
  */
2103
2103
  Services?: Array<string>;
2104
2104
  /**
2105
- * 工厂配额
2105
+ * 商户配额
2106
2106
  注意:此字段可能返回 null,表示取不到有效值。
2107
2107
  */
2108
2108
  FactoryQuota?: number;
2109
2109
  /**
2110
- * 产品配额
2110
+ * 商品配额
2111
2111
  注意:此字段可能返回 null,表示取不到有效值。
2112
2112
  */
2113
2113
  ItemQuota?: number;
@@ -2137,7 +2137,7 @@ export interface Quota {
2137
2137
  */
2138
2138
  TrackType?: number;
2139
2139
  /**
2140
- * 开通版本 basic standard enterprise
2140
+ * 开通版本 lite:轻量版, basic:基础版, standard:标准版
2141
2141
  注意:此字段可能返回 null,表示取不到有效值。
2142
2142
  */
2143
2143
  Version?: string;
@@ -28,6 +28,16 @@ it("rum.v20210622.DescribeTawAreas", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("rum.v20210622.DescribeRumStatsLogList", async function () {
32
+ try {
33
+ const data = await client.DescribeRumStatsLogList({})
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("rum.v20210622.CreateReleaseFile", async function () {
32
42
  try {
33
43
  const data = await client.CreateReleaseFile({})
@@ -138,6 +148,16 @@ it("rum.v20210622.DescribeError", async function () {
138
148
  }
139
149
  })
140
150
 
151
+ it("rum.v20210622.DescribeRumLogList", async function () {
152
+ try {
153
+ const data = await client.DescribeRumLogList({})
154
+ expect(data).to.be.ok
155
+ } catch(error) {
156
+ expect(error.requestId).to.be.ok
157
+ expect(error.code).to.be.ok
158
+ }
159
+ })
160
+
141
161
  it("rum.v20210622.DescribeLogList", async function () {
142
162
  try {
143
163
  const data = await client.DescribeLogList({})
@@ -128,6 +128,16 @@ it("teo.v20220901.ModifyDDoSPolicyHost", async function () {
128
128
  }
129
129
  })
130
130
 
131
+ it("teo.v20220901.DescribeTimingL4AccessData", async function () {
132
+ try {
133
+ const data = await client.DescribeTimingL4AccessData({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
131
141
  it("teo.v20220901.IdentifyZone", async function () {
132
142
  try {
133
143
  const data = await client.IdentifyZone({})
@@ -808,6 +818,16 @@ it("teo.v20220901.ModifySecurityWafGroupPolicy", async function () {
808
818
  }
809
819
  })
810
820
 
821
+ it("teo.v20220901.DescribeDistributionL4AccessData", async function () {
822
+ try {
823
+ const data = await client.DescribeDistributionL4AccessData({})
824
+ expect(data).to.be.ok
825
+ } catch(error) {
826
+ expect(error.requestId).to.be.ok
827
+ expect(error.code).to.be.ok
828
+ }
829
+ })
830
+
811
831
  it("teo.v20220901.CreateCustomErrorPage", async function () {
812
832
  try {
813
833
  const data = await client.CreateCustomErrorPage({})