tencentcloud-sdk-nodejs 4.0.341 → 4.0.344

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 (104) hide show
  1. package/CHANGELOG.md +535 -0
  2. package/SERVICE_CHANGELOG.md +715 -148
  3. package/package.json +1 -1
  4. package/products.md +32 -32
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apm/v20210622/apm_client.ts +47 -32
  7. package/src/services/apm/v20210622/apm_models.ts +310 -195
  8. package/src/services/cam/v20190116/cam_client.ts +2 -1
  9. package/src/services/cam/v20190116/cam_models.ts +119 -83
  10. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  11. package/src/services/cdn/v20180606/cdn_models.ts +3 -3
  12. package/src/services/cls/v20201016/cls_models.ts +9 -4
  13. package/src/services/cpdp/v20190820/cpdp_client.ts +95 -22
  14. package/src/services/cpdp/v20190820/cpdp_models.ts +911 -395
  15. package/src/services/cvm/v20170312/cvm_models.ts +7 -0
  16. package/src/services/dlc/v20210125/dlc_models.ts +24 -0
  17. package/src/services/dnspod/v20210323/dnspod_models.ts +5 -0
  18. package/src/services/ecm/v20190719/ecm_models.ts +6 -0
  19. package/src/services/emr/v20190103/emr_client.ts +135 -108
  20. package/src/services/emr/v20190103/emr_models.ts +329 -57
  21. package/src/services/es/v20180416/es_models.ts +10 -5
  22. package/src/services/gaap/v20180529/gaap_models.ts +1 -1
  23. package/src/services/iotcloud/v20210408/iotcloud_client.ts +27 -2
  24. package/src/services/iotcloud/v20210408/iotcloud_models.ts +144 -30
  25. package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -1
  26. package/src/services/lighthouse/v20200324/lighthouse_models.ts +17 -1
  27. package/src/services/live/v20180801/live_models.ts +1 -1
  28. package/src/services/ocr/v20181119/ocr_client.ts +0 -14
  29. package/src/services/redis/v20180412/redis_models.ts +5 -0
  30. package/src/services/sqlserver/v20180328/sqlserver_models.ts +107 -81
  31. package/src/services/ssl/v20191205/ssl_client.ts +15 -2
  32. package/src/services/ssl/v20191205/ssl_models.ts +89 -31
  33. package/src/services/sts/v20180813/sts_client.ts +1 -0
  34. package/src/services/sts/v20180813/sts_models.ts +23 -3
  35. package/src/services/teo/v20220106/teo_client.ts +23 -10
  36. package/src/services/teo/v20220106/teo_models.ts +130 -9
  37. package/src/services/tke/v20180525/tke_client.ts +549 -266
  38. package/src/services/tke/v20180525/tke_models.ts +5149 -4057
  39. package/src/services/tmt/v20180321/tmt_client.ts +61 -33
  40. package/src/services/tmt/v20180321/tmt_models.ts +285 -131
  41. package/src/services/trtc/v20190722/trtc_models.ts +6 -6
  42. package/src/services/tsf/v20180326/tsf_models.ts +4 -3
  43. package/src/services/vod/v20180717/vod_models.ts +13 -6
  44. package/src/services/vpc/v20170312/vpc_client.ts +36 -12
  45. package/src/services/vpc/v20170312/vpc_models.ts +40 -0
  46. package/tencentcloud/common/sdk_version.d.ts +1 -1
  47. package/tencentcloud/common/sdk_version.js +1 -1
  48. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +14 -9
  49. package/tencentcloud/services/apm/v20210622/apm_client.js +19 -12
  50. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +267 -169
  51. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +100 -70
  52. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  53. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +3 -3
  54. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +7 -2
  55. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +30 -6
  56. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +43 -7
  57. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +795 -362
  58. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -0
  59. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +20 -0
  60. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
  61. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +5 -0
  62. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +47 -39
  63. package/tencentcloud/services/emr/v20190103/emr_client.js +69 -57
  64. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +278 -50
  65. package/tencentcloud/services/es/v20180416/es_models.d.ts +9 -4
  66. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +1 -1
  67. package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.d.ts +9 -1
  68. package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.js +12 -0
  69. package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +124 -27
  70. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
  71. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +16 -1
  72. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
  73. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +0 -14
  74. package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -14
  75. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +4 -0
  76. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +100 -79
  77. package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +5 -1
  78. package/tencentcloud/services/ssl/v20191205/ssl_client.js +6 -0
  79. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +77 -27
  80. package/tencentcloud/services/sts/v20180813/sts_models.d.ts +20 -3
  81. package/tencentcloud/services/teo/v20220106/teo_client.d.ts +9 -5
  82. package/tencentcloud/services/teo/v20220106/teo_client.js +12 -6
  83. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +108 -4
  84. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +103 -11
  85. package/tencentcloud/services/tke/v20180525/tke_client.js +153 -15
  86. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4598 -3657
  87. package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +23 -13
  88. package/tencentcloud/services/tmt/v20180321/tmt_client.js +31 -17
  89. package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +259 -123
  90. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -6
  91. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +2 -1
  92. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +13 -6
  93. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +13 -5
  94. package/tencentcloud/services/vpc/v20170312/vpc_client.js +18 -6
  95. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +36 -0
  96. package/test/apm.v20210622.test.js +18 -8
  97. package/test/cpdp.v20190820.test.js +64 -4
  98. package/test/emr.v20190103.test.js +60 -40
  99. package/test/iotcloud.v20210408.test.js +20 -0
  100. package/test/ssl.v20191205.test.js +10 -0
  101. package/test/teo.v20220106.test.js +14 -4
  102. package/test/tke.v20180525.test.js +240 -10
  103. package/test/tmt.v20180321.test.js +28 -8
  104. package/test/vpc.v20170312.test.js +24 -4
@@ -18,9 +18,9 @@ const client = new tencentcloud.emr.v20190103.Client({
18
18
  })
19
19
  describe("emr.v20190103.test.js", function () {
20
20
 
21
- it("emr.v20190103.DescribeInstanceRenewNodes", async function () {
21
+ it("emr.v20190103.TerminateInstance", async function () {
22
22
  try {
23
- const data = await client.DescribeInstanceRenewNodes({})
23
+ const data = await client.TerminateInstance({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -28,9 +28,9 @@ it("emr.v20190103.DescribeInstanceRenewNodes", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("emr.v20190103.TerminateTasks", async function () {
31
+ it("emr.v20190103.InquiryPriceUpdateInstance", async function () {
32
32
  try {
33
- const data = await client.TerminateTasks({})
33
+ const data = await client.InquiryPriceUpdateInstance({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -38,9 +38,9 @@ it("emr.v20190103.TerminateTasks", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("emr.v20190103.DescribeInstances", async function () {
41
+ it("emr.v20190103.InquiryPriceRenewInstance", async function () {
42
42
  try {
43
- const data = await client.DescribeInstances({})
43
+ const data = await client.InquiryPriceRenewInstance({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -48,9 +48,9 @@ it("emr.v20190103.DescribeInstances", async function () {
48
48
  }
49
49
  })
50
50
 
51
- it("emr.v20190103.InquiryPriceUpdateInstance", async function () {
51
+ it("emr.v20190103.DescribeJobFlow", async function () {
52
52
  try {
53
- const data = await client.InquiryPriceUpdateInstance({})
53
+ const data = await client.DescribeJobFlow({})
54
54
  expect(data).to.be.ok
55
55
  } catch(error) {
56
56
  expect(error.requestId).to.be.ok
@@ -58,9 +58,9 @@ it("emr.v20190103.InquiryPriceUpdateInstance", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("emr.v20190103.DescribeClusterNodes", async function () {
61
+ it("emr.v20190103.InquirePriceRenewEmr", async function () {
62
62
  try {
63
- const data = await client.DescribeClusterNodes({})
63
+ const data = await client.InquirePriceRenewEmr({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -68,9 +68,9 @@ it("emr.v20190103.DescribeClusterNodes", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("emr.v20190103.ModifyResourceScheduler", async function () {
71
+ it("emr.v20190103.InquiryPriceScaleOutInstance", async function () {
72
72
  try {
73
- const data = await client.ModifyResourceScheduler({})
73
+ const data = await client.InquiryPriceScaleOutInstance({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -78,9 +78,9 @@ it("emr.v20190103.ModifyResourceScheduler", async function () {
78
78
  }
79
79
  })
80
80
 
81
- it("emr.v20190103.InquiryPriceRenewInstance", async function () {
81
+ it("emr.v20190103.DescribeCvmQuota", async function () {
82
82
  try {
83
- const data = await client.InquiryPriceRenewInstance({})
83
+ const data = await client.DescribeCvmQuota({})
84
84
  expect(data).to.be.ok
85
85
  } catch(error) {
86
86
  expect(error.requestId).to.be.ok
@@ -88,9 +88,9 @@ it("emr.v20190103.InquiryPriceRenewInstance", async function () {
88
88
  }
89
89
  })
90
90
 
91
- it("emr.v20190103.CreateInstance", async function () {
91
+ it("emr.v20190103.ScaleOutInstance", async function () {
92
92
  try {
93
- const data = await client.CreateInstance({})
93
+ const data = await client.ScaleOutInstance({})
94
94
  expect(data).to.be.ok
95
95
  } catch(error) {
96
96
  expect(error.requestId).to.be.ok
@@ -98,9 +98,9 @@ it("emr.v20190103.CreateInstance", async function () {
98
98
  }
99
99
  })
100
100
 
101
- it("emr.v20190103.ModifyResourcePools", async function () {
101
+ it("emr.v20190103.DescribeInstances", async function () {
102
102
  try {
103
- const data = await client.ModifyResourcePools({})
103
+ const data = await client.DescribeInstances({})
104
104
  expect(data).to.be.ok
105
105
  } catch(error) {
106
106
  expect(error.requestId).to.be.ok
@@ -108,9 +108,9 @@ it("emr.v20190103.ModifyResourcePools", async function () {
108
108
  }
109
109
  })
110
110
 
111
- it("emr.v20190103.InquiryPriceCreateInstance", async function () {
111
+ it("emr.v20190103.RunJobFlow", async function () {
112
112
  try {
113
- const data = await client.InquiryPriceCreateInstance({})
113
+ const data = await client.RunJobFlow({})
114
114
  expect(data).to.be.ok
115
115
  } catch(error) {
116
116
  expect(error.requestId).to.be.ok
@@ -118,9 +118,9 @@ it("emr.v20190103.InquiryPriceCreateInstance", async function () {
118
118
  }
119
119
  })
120
120
 
121
- it("emr.v20190103.InquirePriceRenewEmr", async function () {
121
+ it("emr.v20190103.AddUsersForUserManager", async function () {
122
122
  try {
123
- const data = await client.InquirePriceRenewEmr({})
123
+ const data = await client.AddUsersForUserManager({})
124
124
  expect(data).to.be.ok
125
125
  } catch(error) {
126
126
  expect(error.requestId).to.be.ok
@@ -128,9 +128,9 @@ it("emr.v20190103.InquirePriceRenewEmr", async function () {
128
128
  }
129
129
  })
130
130
 
131
- it("emr.v20190103.DescribeResourceSchedule", async function () {
131
+ it("emr.v20190103.DescribeInstanceRenewNodes", async function () {
132
132
  try {
133
- const data = await client.DescribeResourceSchedule({})
133
+ const data = await client.DescribeInstanceRenewNodes({})
134
134
  expect(data).to.be.ok
135
135
  } catch(error) {
136
136
  expect(error.requestId).to.be.ok
@@ -138,9 +138,9 @@ it("emr.v20190103.DescribeResourceSchedule", async function () {
138
138
  }
139
139
  })
140
140
 
141
- it("emr.v20190103.InquiryPriceScaleOutInstance", async function () {
141
+ it("emr.v20190103.ModifyResourceScheduler", async function () {
142
142
  try {
143
- const data = await client.InquiryPriceScaleOutInstance({})
143
+ const data = await client.ModifyResourceScheduler({})
144
144
  expect(data).to.be.ok
145
145
  } catch(error) {
146
146
  expect(error.requestId).to.be.ok
@@ -148,9 +148,9 @@ it("emr.v20190103.InquiryPriceScaleOutInstance", async function () {
148
148
  }
149
149
  })
150
150
 
151
- it("emr.v20190103.ModifyResourceScheduleConfig", async function () {
151
+ it("emr.v20190103.SyncPodState", async function () {
152
152
  try {
153
- const data = await client.ModifyResourceScheduleConfig({})
153
+ const data = await client.SyncPodState({})
154
154
  expect(data).to.be.ok
155
155
  } catch(error) {
156
156
  expect(error.requestId).to.be.ok
@@ -158,9 +158,9 @@ it("emr.v20190103.ModifyResourceScheduleConfig", async function () {
158
158
  }
159
159
  })
160
160
 
161
- it("emr.v20190103.DescribeJobFlow", async function () {
161
+ it("emr.v20190103.CreateInstance", async function () {
162
162
  try {
163
- const data = await client.DescribeJobFlow({})
163
+ const data = await client.CreateInstance({})
164
164
  expect(data).to.be.ok
165
165
  } catch(error) {
166
166
  expect(error.requestId).to.be.ok
@@ -168,9 +168,9 @@ it("emr.v20190103.DescribeJobFlow", async function () {
168
168
  }
169
169
  })
170
170
 
171
- it("emr.v20190103.DescribeCvmQuota", async function () {
171
+ it("emr.v20190103.InquiryPriceCreateInstance", async function () {
172
172
  try {
173
- const data = await client.DescribeCvmQuota({})
173
+ const data = await client.InquiryPriceCreateInstance({})
174
174
  expect(data).to.be.ok
175
175
  } catch(error) {
176
176
  expect(error.requestId).to.be.ok
@@ -178,9 +178,9 @@ it("emr.v20190103.DescribeCvmQuota", async function () {
178
178
  }
179
179
  })
180
180
 
181
- it("emr.v20190103.SyncPodState", async function () {
181
+ it("emr.v20190103.DescribeResourceSchedule", async function () {
182
182
  try {
183
- const data = await client.SyncPodState({})
183
+ const data = await client.DescribeResourceSchedule({})
184
184
  expect(data).to.be.ok
185
185
  } catch(error) {
186
186
  expect(error.requestId).to.be.ok
@@ -188,9 +188,9 @@ it("emr.v20190103.SyncPodState", async function () {
188
188
  }
189
189
  })
190
190
 
191
- it("emr.v20190103.ScaleOutInstance", async function () {
191
+ it("emr.v20190103.ModifyResourceScheduleConfig", async function () {
192
192
  try {
193
- const data = await client.ScaleOutInstance({})
193
+ const data = await client.ModifyResourceScheduleConfig({})
194
194
  expect(data).to.be.ok
195
195
  } catch(error) {
196
196
  expect(error.requestId).to.be.ok
@@ -198,9 +198,9 @@ it("emr.v20190103.ScaleOutInstance", async function () {
198
198
  }
199
199
  })
200
200
 
201
- it("emr.v20190103.RunJobFlow", async function () {
201
+ it("emr.v20190103.TerminateTasks", async function () {
202
202
  try {
203
- const data = await client.RunJobFlow({})
203
+ const data = await client.TerminateTasks({})
204
204
  expect(data).to.be.ok
205
205
  } catch(error) {
206
206
  expect(error.requestId).to.be.ok
@@ -208,9 +208,29 @@ it("emr.v20190103.RunJobFlow", async function () {
208
208
  }
209
209
  })
210
210
 
211
- it("emr.v20190103.TerminateInstance", async function () {
211
+ it("emr.v20190103.DescribeClusterNodes", async function () {
212
212
  try {
213
- const data = await client.TerminateInstance({})
213
+ const data = await client.DescribeClusterNodes({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
221
+ it("emr.v20190103.DescribeInstancesList", async function () {
222
+ try {
223
+ const data = await client.DescribeInstancesList({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
231
+ it("emr.v20190103.ModifyResourcePools", async function () {
232
+ try {
233
+ const data = await client.ModifyResourcePools({})
214
234
  expect(data).to.be.ok
215
235
  } catch(error) {
216
236
  expect(error.requestId).to.be.ok
@@ -348,6 +348,16 @@ it("iotcloud.v20210408.UpdateDevicesEnableState", async function () {
348
348
  }
349
349
  })
350
350
 
351
+ it("iotcloud.v20210408.ListFirmwares", async function () {
352
+ try {
353
+ const data = await client.ListFirmwares({})
354
+ expect(data).to.be.ok
355
+ } catch(error) {
356
+ expect(error.requestId).to.be.ok
357
+ expect(error.code).to.be.ok
358
+ }
359
+ })
360
+
351
361
  it("iotcloud.v20210408.ListSDKLog", async function () {
352
362
  try {
353
363
  const data = await client.ListSDKLog({})
@@ -618,6 +628,16 @@ it("iotcloud.v20210408.DescribeDevices", async function () {
618
628
  }
619
629
  })
620
630
 
631
+ it("iotcloud.v20210408.GetAllVersion", async function () {
632
+ try {
633
+ const data = await client.GetAllVersion({})
634
+ expect(data).to.be.ok
635
+ } catch(error) {
636
+ expect(error.requestId).to.be.ok
637
+ expect(error.code).to.be.ok
638
+ }
639
+ })
640
+
621
641
  it("iotcloud.v20210408.DisableTopicRule", async function () {
622
642
  try {
623
643
  const data = await client.DisableTopicRule({})
@@ -178,6 +178,16 @@ it("ssl.v20191205.DescribeManagerDetail", async function () {
178
178
  }
179
179
  })
180
180
 
181
+ it("ssl.v20191205.HostCertificate", async function () {
182
+ try {
183
+ const data = await client.HostCertificate({})
184
+ expect(data).to.be.ok
185
+ } catch(error) {
186
+ expect(error.requestId).to.be.ok
187
+ expect(error.code).to.be.ok
188
+ }
189
+ })
190
+
181
191
  it("ssl.v20191205.ModifyCertificateProject", async function () {
182
192
  try {
183
193
  const data = await client.ModifyCertificateProject({})
@@ -18,6 +18,16 @@ const client = new tencentcloud.teo.v20220106.Client({
18
18
  })
19
19
  describe("teo.v20220106.test.js", function () {
20
20
 
21
+ it("teo.v20220106.DownloadL7Logs", async function () {
22
+ try {
23
+ const data = await client.DownloadL7Logs({})
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("teo.v20220106.CreatePurgeTask", async function () {
22
32
  try {
23
33
  const data = await client.CreatePurgeTask({})
@@ -38,9 +48,9 @@ it("teo.v20220106.DescribePurgeTasks", async function () {
38
48
  }
39
49
  })
40
50
 
41
- it("teo.v20220106.CreatePrefetchTask", async function () {
51
+ it("teo.v20220106.DescribePrefetchTasks", async function () {
42
52
  try {
43
- const data = await client.CreatePrefetchTask({})
53
+ const data = await client.DescribePrefetchTasks({})
44
54
  expect(data).to.be.ok
45
55
  } catch(error) {
46
56
  expect(error.requestId).to.be.ok
@@ -48,9 +58,9 @@ it("teo.v20220106.CreatePrefetchTask", async function () {
48
58
  }
49
59
  })
50
60
 
51
- it("teo.v20220106.DescribePrefetchTasks", async function () {
61
+ it("teo.v20220106.CreatePrefetchTask", async function () {
52
62
  try {
53
- const data = await client.DescribePrefetchTasks({})
63
+ const data = await client.CreatePrefetchTask({})
54
64
  expect(data).to.be.ok
55
65
  } catch(error) {
56
66
  expect(error.requestId).to.be.ok