tencentcloud-sdk-nodejs 4.0.457 → 4.0.459
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.
- package/CHANGELOG.md +267 -0
- package/SERVICE_CHANGELOG.md +273 -99
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/abstract_client.ts +11 -1
- package/src/common/http/fetch.ts +12 -5
- package/src/common/http/http_connection.ts +23 -19
- package/src/common/interface.ts +11 -0
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20210624/bma_client.ts +12 -11
- package/src/services/bma/v20210624/bma_models.ts +149 -149
- package/src/services/captcha/v20190722/captcha_models.ts +7 -23
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/cvm/v20170312/cvm_client.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +4 -4
- package/src/services/cwp/v20180228/cwp_client.ts +70 -19
- package/src/services/cwp/v20180228/cwp_models.ts +627 -215
- package/src/services/gaap/v20180529/gaap_models.ts +48 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +25 -89
- package/src/services/mariadb/v20170312/mariadb_models.ts +67 -526
- package/src/services/redis/v20180412/redis_models.ts +5 -5
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +1 -1
- package/src/services/trp/v20210515/trp_client.ts +4 -3
- package/src/services/trp/v20210515/trp_models.ts +136 -67
- package/src/services/tse/v20201207/tse_client.ts +12 -0
- package/src/services/tse/v20201207/tse_models.ts +30 -0
- package/src/services/vod/v20180717/vod_models.ts +21 -0
- package/src/services/wav/v20210129/wav_models.ts +6 -0
- package/src/services/wedata/v20210820/wedata_client.ts +15 -3
- package/src/services/wedata/v20210820/wedata_models.ts +101 -44
- package/tencentcloud/common/abstract_client.d.ts +5 -1
- package/tencentcloud/common/abstract_client.js +6 -0
- package/tencentcloud/common/http/fetch.d.ts +6 -1
- package/tencentcloud/common/http/fetch.js +3 -2
- package/tencentcloud/common/http/http_connection.d.ts +10 -2
- package/tencentcloud/common/http/http_connection.js +8 -2
- package/tencentcloud/common/interface.d.ts +12 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +11 -10
- package/tencentcloud/services/bma/v20210624/bma_client.js +11 -10
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +148 -148
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +7 -23
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -4
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +21 -5
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +30 -6
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +526 -178
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +40 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +7 -27
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +9 -39
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +61 -443
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +5 -5
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +1 -1
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +2 -2
- package/tencentcloud/services/trp/v20210515/trp_client.js +1 -1
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +115 -58
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +26 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +18 -0
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +5 -0
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +86 -38
- package/test/cwp.v20180228.test.js +44 -4
- package/test/mariadb.v20170312.test.js +6 -56
- package/test/tse.v20201207.test.js +10 -0
- package/test/wedata.v20210820.test.js +10 -0
|
@@ -258,6 +258,16 @@ it("cwp.v20180228.DeletePrivilegeEvents", async function () {
|
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
260
|
|
|
261
|
+
it("cwp.v20180228.DescribeRiskDnsList", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DescribeRiskDnsList({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
261
271
|
it("cwp.v20180228.ExportAttackLogs", async function () {
|
|
262
272
|
try {
|
|
263
273
|
const data = await client.ExportAttackLogs({})
|
|
@@ -378,9 +388,9 @@ it("cwp.v20180228.DescribeReverseShellRules", async function () {
|
|
|
378
388
|
}
|
|
379
389
|
})
|
|
380
390
|
|
|
381
|
-
it("cwp.v20180228.
|
|
391
|
+
it("cwp.v20180228.DescribeBaselineItemList", async function () {
|
|
382
392
|
try {
|
|
383
|
-
const data = await client.
|
|
393
|
+
const data = await client.DescribeBaselineItemList({})
|
|
384
394
|
expect(data).to.be.ok
|
|
385
395
|
} catch(error) {
|
|
386
396
|
expect(error.requestId).to.be.ok
|
|
@@ -1648,6 +1658,16 @@ it("cwp.v20180228.DescribeAttackVulTypeList", async function () {
|
|
|
1648
1658
|
}
|
|
1649
1659
|
})
|
|
1650
1660
|
|
|
1661
|
+
it("cwp.v20180228.SyncBaselineDetectSummary", async function () {
|
|
1662
|
+
try {
|
|
1663
|
+
const data = await client.SyncBaselineDetectSummary({})
|
|
1664
|
+
expect(data).to.be.ok
|
|
1665
|
+
} catch(error) {
|
|
1666
|
+
expect(error.requestId).to.be.ok
|
|
1667
|
+
expect(error.code).to.be.ok
|
|
1668
|
+
}
|
|
1669
|
+
})
|
|
1670
|
+
|
|
1651
1671
|
it("cwp.v20180228.DescribeLoginWhiteList", async function () {
|
|
1652
1672
|
try {
|
|
1653
1673
|
const data = await client.DescribeLoginWhiteList({})
|
|
@@ -1688,9 +1708,9 @@ it("cwp.v20180228.DescribeBaselineDetail", async function () {
|
|
|
1688
1708
|
}
|
|
1689
1709
|
})
|
|
1690
1710
|
|
|
1691
|
-
it("cwp.v20180228.
|
|
1711
|
+
it("cwp.v20180228.DescribeBaselineItemDetectList", async function () {
|
|
1692
1712
|
try {
|
|
1693
|
-
const data = await client.
|
|
1713
|
+
const data = await client.DescribeBaselineItemDetectList({})
|
|
1694
1714
|
expect(data).to.be.ok
|
|
1695
1715
|
} catch(error) {
|
|
1696
1716
|
expect(error.requestId).to.be.ok
|
|
@@ -2148,6 +2168,16 @@ it("cwp.v20180228.DescribeMachines", async function () {
|
|
|
2148
2168
|
}
|
|
2149
2169
|
})
|
|
2150
2170
|
|
|
2171
|
+
it("cwp.v20180228.ExportTasks", async function () {
|
|
2172
|
+
try {
|
|
2173
|
+
const data = await client.ExportTasks({})
|
|
2174
|
+
expect(data).to.be.ok
|
|
2175
|
+
} catch(error) {
|
|
2176
|
+
expect(error.requestId).to.be.ok
|
|
2177
|
+
expect(error.code).to.be.ok
|
|
2178
|
+
}
|
|
2179
|
+
})
|
|
2180
|
+
|
|
2151
2181
|
it("cwp.v20180228.DescribeAssetWebServiceInfoList", async function () {
|
|
2152
2182
|
try {
|
|
2153
2183
|
const data = await client.DescribeAssetWebServiceInfoList({})
|
|
@@ -2208,4 +2238,14 @@ it("cwp.v20180228.DescribeUndoVulCounts", async function () {
|
|
|
2208
2238
|
}
|
|
2209
2239
|
})
|
|
2210
2240
|
|
|
2241
|
+
it("cwp.v20180228.StartBaselineDetect", async function () {
|
|
2242
|
+
try {
|
|
2243
|
+
const data = await client.StartBaselineDetect({})
|
|
2244
|
+
expect(data).to.be.ok
|
|
2245
|
+
} catch(error) {
|
|
2246
|
+
expect(error.requestId).to.be.ok
|
|
2247
|
+
expect(error.code).to.be.ok
|
|
2248
|
+
}
|
|
2249
|
+
})
|
|
2250
|
+
|
|
2211
2251
|
})
|
|
@@ -68,16 +68,6 @@ it("mariadb.v20170312.DescribeDatabaseObjects", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("mariadb.v20170312.KillSession", async function () {
|
|
72
|
-
try {
|
|
73
|
-
const data = await client.KillSession({})
|
|
74
|
-
expect(data).to.be.ok
|
|
75
|
-
} catch(error) {
|
|
76
|
-
expect(error.requestId).to.be.ok
|
|
77
|
-
expect(error.code).to.be.ok
|
|
78
|
-
}
|
|
79
|
-
})
|
|
80
|
-
|
|
81
71
|
it("mariadb.v20170312.ModifyBackupTime", async function () {
|
|
82
72
|
try {
|
|
83
73
|
const data = await client.ModifyBackupTime({})
|
|
@@ -148,16 +138,6 @@ it("mariadb.v20170312.DescribeBackupTime", async function () {
|
|
|
148
138
|
}
|
|
149
139
|
})
|
|
150
140
|
|
|
151
|
-
it("mariadb.v20170312.DescribeDBResourceUsageDetails", async function () {
|
|
152
|
-
try {
|
|
153
|
-
const data = await client.DescribeDBResourceUsageDetails({})
|
|
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
|
-
|
|
161
141
|
it("mariadb.v20170312.ActivateHourDBInstance", async function () {
|
|
162
142
|
try {
|
|
163
143
|
const data = await client.ActivateHourDBInstance({})
|
|
@@ -188,9 +168,9 @@ it("mariadb.v20170312.ModifyDBParameters", async function () {
|
|
|
188
168
|
}
|
|
189
169
|
})
|
|
190
170
|
|
|
191
|
-
it("mariadb.v20170312.
|
|
171
|
+
it("mariadb.v20170312.ModifyLogFileRetentionPeriod", async function () {
|
|
192
172
|
try {
|
|
193
|
-
const data = await client.
|
|
173
|
+
const data = await client.ModifyLogFileRetentionPeriod({})
|
|
194
174
|
expect(data).to.be.ok
|
|
195
175
|
} catch(error) {
|
|
196
176
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +178,9 @@ it("mariadb.v20170312.DescribeSqlLogs", async function () {
|
|
|
198
178
|
}
|
|
199
179
|
})
|
|
200
180
|
|
|
201
|
-
it("mariadb.v20170312.
|
|
181
|
+
it("mariadb.v20170312.DescribeDBSlowLogs", async function () {
|
|
202
182
|
try {
|
|
203
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeDBSlowLogs({})
|
|
204
184
|
expect(data).to.be.ok
|
|
205
185
|
} catch(error) {
|
|
206
186
|
expect(error.requestId).to.be.ok
|
|
@@ -288,9 +268,9 @@ it("mariadb.v20170312.ModifyDBInstancesProject", async function () {
|
|
|
288
268
|
}
|
|
289
269
|
})
|
|
290
270
|
|
|
291
|
-
it("mariadb.v20170312.
|
|
271
|
+
it("mariadb.v20170312.KillSession", async function () {
|
|
292
272
|
try {
|
|
293
|
-
const data = await client.
|
|
273
|
+
const data = await client.KillSession({})
|
|
294
274
|
expect(data).to.be.ok
|
|
295
275
|
} catch(error) {
|
|
296
276
|
expect(error.requestId).to.be.ok
|
|
@@ -618,16 +598,6 @@ it("mariadb.v20170312.UpgradeDBInstance", async function () {
|
|
|
618
598
|
}
|
|
619
599
|
})
|
|
620
600
|
|
|
621
|
-
it("mariadb.v20170312.DescribeDBPerformance", async function () {
|
|
622
|
-
try {
|
|
623
|
-
const data = await client.DescribeDBPerformance({})
|
|
624
|
-
expect(data).to.be.ok
|
|
625
|
-
} catch(error) {
|
|
626
|
-
expect(error.requestId).to.be.ok
|
|
627
|
-
expect(error.code).to.be.ok
|
|
628
|
-
}
|
|
629
|
-
})
|
|
630
|
-
|
|
631
601
|
it("mariadb.v20170312.DescribeLogFileRetentionPeriod", async function () {
|
|
632
602
|
try {
|
|
633
603
|
const data = await client.DescribeLogFileRetentionPeriod({})
|
|
@@ -638,16 +608,6 @@ it("mariadb.v20170312.DescribeLogFileRetentionPeriod", async function () {
|
|
|
638
608
|
}
|
|
639
609
|
})
|
|
640
610
|
|
|
641
|
-
it("mariadb.v20170312.DescribeDBResourceUsage", async function () {
|
|
642
|
-
try {
|
|
643
|
-
const data = await client.DescribeDBResourceUsage({})
|
|
644
|
-
expect(data).to.be.ok
|
|
645
|
-
} catch(error) {
|
|
646
|
-
expect(error.requestId).to.be.ok
|
|
647
|
-
expect(error.code).to.be.ok
|
|
648
|
-
}
|
|
649
|
-
})
|
|
650
|
-
|
|
651
611
|
it("mariadb.v20170312.DisassociateSecurityGroups", async function () {
|
|
652
612
|
try {
|
|
653
613
|
const data = await client.DisassociateSecurityGroups({})
|
|
@@ -658,14 +618,4 @@ it("mariadb.v20170312.DisassociateSecurityGroups", async function () {
|
|
|
658
618
|
}
|
|
659
619
|
})
|
|
660
620
|
|
|
661
|
-
it("mariadb.v20170312.ModifyLogFileRetentionPeriod", async function () {
|
|
662
|
-
try {
|
|
663
|
-
const data = await client.ModifyLogFileRetentionPeriod({})
|
|
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
|
-
|
|
671
621
|
})
|
|
@@ -78,6 +78,16 @@ it("tse.v20201207.DescribeZookeeperServerInterfaces", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
+
it("tse.v20201207.UpdateEngineInternetAccess", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.UpdateEngineInternetAccess({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
81
91
|
it("tse.v20201207.CreateEngine", async function () {
|
|
82
92
|
try {
|
|
83
93
|
const data = await client.CreateEngine({})
|
|
@@ -308,6 +308,16 @@ it("wedata.v20210820.ModifyTaskLinks", async function () {
|
|
|
308
308
|
}
|
|
309
309
|
})
|
|
310
310
|
|
|
311
|
+
it("wedata.v20210820.CreateCustomFunction", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.CreateCustomFunction({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
311
321
|
it("wedata.v20210820.ModifyFolder", async function () {
|
|
312
322
|
try {
|
|
313
323
|
const data = await client.ModifyFolder({})
|