tencentcloud-sdk-nodejs 4.0.284 → 4.0.288
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 +429 -0
- package/SERVICE_CHANGELOG.md +453 -7
- package/package.json +1 -1
- package/products.md +28 -27
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +1 -0
- package/src/services/ame/v20190916/ame_models.ts +35 -4
- package/src/services/antiddos/v20200309/antiddos_client.ts +327 -68
- package/src/services/antiddos/v20200309/antiddos_models.ts +1382 -244
- package/src/services/ccc/v20200210/ccc_client.ts +128 -91
- package/src/services/ccc/v20200210/ccc_models.ts +183 -6
- package/src/services/cdb/v20170320/cdb_models.ts +14 -4
- package/src/services/cfs/v20190719/cfs_models.ts +5 -0
- package/src/services/cii/v20210408/cii_client.ts +2 -2
- package/src/services/cii/v20210408/cii_models.ts +14 -6
- package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +30 -0
- package/src/services/clb/v20180317/clb_models.ts +4 -3
- package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +12 -0
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +15 -0
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +15 -2
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +122 -22
- package/src/services/facefusion/v20181201/facefusion_models.ts +2 -2
- package/src/services/ic/v20190307/ic_models.ts +1 -1
- package/src/services/iecp/v20210914/iecp_models.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +12 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +47 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
- package/src/services/mariadb/v20170312/mariadb_client.ts +13 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +65 -0
- package/src/services/organization/v20210331/organization_models.ts +2 -2
- package/src/services/rum/v20210622/rum_client.ts +585 -47
- package/src/services/rum/v20210622/rum_models.ts +3049 -338
- package/src/services/smh/index.ts +5 -0
- package/src/services/smh/v20210712/index.ts +6 -0
- package/src/services/smh/v20210712/smh_client.ts +155 -0
- package/src/services/smh/v20210712/smh_models.ts +655 -0
- package/src/services/ssl/v20191205/ssl_models.ts +6 -0
- package/src/services/ssm/v20190923/ssm_models.ts +3 -3
- package/src/services/tat/v20201028/tat_models.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +13 -2
- package/src/services/tke/v20180525/tke_models.ts +35 -2
- package/src/services/vod/v20180717/vod_models.ts +3 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +29 -2
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +103 -19
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +153 -27
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +1205 -244
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +47 -35
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +69 -51
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +154 -5
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +12 -4
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +2 -2
- package/tencentcloud/services/cii/v20210408/cii_client.js +2 -2
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +11 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +26 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2 -1
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +5 -1
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +6 -0
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +13 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +104 -21
- package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +2 -2
- package/tencentcloud/services/ic/v20190307/ic_models.d.ts +1 -1
- package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +5 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +40 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +55 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +2 -2
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +198 -13
- package/tencentcloud/services/rum/v20210622/rum_client.js +289 -18
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +2593 -328
- package/tencentcloud/services/smh/index.d.ts +6 -0
- package/tencentcloud/services/smh/index.js +7 -0
- package/tencentcloud/services/smh/v20210712/index.d.ts +6 -0
- package/tencentcloud/services/smh/v20210712/index.js +9 -0
- package/tencentcloud/services/smh/v20210712/smh_client.d.ts +50 -0
- package/tencentcloud/services/smh/v20210712/smh_client.js +91 -0
- package/tencentcloud/services/smh/v20210712/smh_models.d.ts +538 -0
- package/tencentcloud/services/smh/v20210712/smh_models.js +18 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +5 -0
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +3 -3
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +11 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +34 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +3 -3
- package/test/antiddos.v20200309.test.js +228 -18
- package/test/ccc.v20200210.test.js +66 -36
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/cloudaudit.v20190319.test.js +10 -0
- package/test/dbbrain.v20210527.test.js +10 -0
- package/test/iotexplorer.v20190423.test.js +10 -0
- package/test/mariadb.v20170312.test.js +10 -0
- package/test/rum.v20210622.test.js +442 -12
- package/test/smh.v20210712.test.js +121 -0
|
@@ -338,4 +338,14 @@ it("dbbrain.v20210527.CreateDBDiagReportUrl", async function () {
|
|
|
338
338
|
}
|
|
339
339
|
})
|
|
340
340
|
|
|
341
|
+
it("dbbrain.v20210527.DescribeProxySessionKillTasks", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.DescribeProxySessionKillTasks({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
341
351
|
})
|
|
@@ -268,6 +268,16 @@ it("iotexplorer.v20190423.EnableTopicRule", async function () {
|
|
|
268
268
|
}
|
|
269
269
|
})
|
|
270
270
|
|
|
271
|
+
it("iotexplorer.v20190423.DescribeGatewaySubDeviceList", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeGatewaySubDeviceList({})
|
|
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
|
+
|
|
271
281
|
it("iotexplorer.v20190423.SearchStudioProduct", async function () {
|
|
272
282
|
try {
|
|
273
283
|
const data = await client.SearchStudioProduct({})
|
|
@@ -538,6 +538,16 @@ it("mariadb.v20170312.DescribeDBSecurityGroups", async function () {
|
|
|
538
538
|
}
|
|
539
539
|
})
|
|
540
540
|
|
|
541
|
+
it("mariadb.v20170312.DescribeDatabaseTable", async function () {
|
|
542
|
+
try {
|
|
543
|
+
const data = await client.DescribeDatabaseTable({})
|
|
544
|
+
expect(data).to.be.ok
|
|
545
|
+
} catch(error) {
|
|
546
|
+
expect(error.requestId).to.be.ok
|
|
547
|
+
expect(error.code).to.be.ok
|
|
548
|
+
}
|
|
549
|
+
})
|
|
550
|
+
|
|
541
551
|
it("mariadb.v20170312.CancelDcnJob", async function () {
|
|
542
552
|
try {
|
|
543
553
|
const data = await client.CancelDcnJob({})
|
|
@@ -18,6 +18,116 @@ const client = new tencentcloud.rum.v20210622.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("rum.v20210622.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("rum.v20210622.DescribeTawAreas", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeTawAreas({})
|
|
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
|
+
it("rum.v20210622.CreateReleaseFile", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateReleaseFile({})
|
|
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
|
+
|
|
41
|
+
it("rum.v20210622.DescribeScores", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeScores({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("rum.v20210622.DescribeTawInstances", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeTawInstances({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("rum.v20210622.DescribeDataPerformancePage", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeDataPerformancePage({})
|
|
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
|
+
|
|
71
|
+
it("rum.v20210622.DescribeDataLogUrlStatistics", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeDataLogUrlStatistics({})
|
|
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
|
+
it("rum.v20210622.DescribeDataFetchProject", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeDataFetchProject({})
|
|
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
|
+
|
|
91
|
+
it("rum.v20210622.DeleteInstance", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DeleteInstance({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
it("rum.v20210622.DeleteStarProject", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DeleteStarProject({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
it("rum.v20210622.ResumeInstance", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.ResumeInstance({})
|
|
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
|
+
|
|
121
|
+
it("rum.v20210622.DescribeDataPerformanceProject", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeDataPerformanceProject({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
21
131
|
it("rum.v20210622.DescribeError", async function () {
|
|
22
132
|
try {
|
|
23
133
|
const data = await client.DescribeError({})
|
|
@@ -38,6 +148,256 @@ it("rum.v20210622.DescribeLogList", async function () {
|
|
|
38
148
|
}
|
|
39
149
|
})
|
|
40
150
|
|
|
151
|
+
it("rum.v20210622.DescribeOfflineLogs", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeOfflineLogs({})
|
|
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
|
+
it("rum.v20210622.CreateTawInstance", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.CreateTawInstance({})
|
|
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
|
+
|
|
171
|
+
it("rum.v20210622.DescribePvList", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribePvList({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
it("rum.v20210622.DescribeLogExports", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeLogExports({})
|
|
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
|
+
|
|
191
|
+
it("rum.v20210622.DescribeDataWebVitalsPage", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeDataWebVitalsPage({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
it("rum.v20210622.DescribeDataStaticUrl", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DescribeDataStaticUrl({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
211
|
+
it("rum.v20210622.ModifyProjectLimit", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.ModifyProjectLimit({})
|
|
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("rum.v20210622.DescribeDataPvUrlStatistics", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DescribeDataPvUrlStatistics({})
|
|
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("rum.v20210622.DescribeReleaseFileSign", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeReleaseFileSign({})
|
|
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
|
+
|
|
241
|
+
it("rum.v20210622.CreateLogExport", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.CreateLogExport({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
251
|
+
it("rum.v20210622.DescribeDataSetUrlStatistics", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeDataSetUrlStatistics({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
261
|
+
it("rum.v20210622.ModifyInstance", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.ModifyInstance({})
|
|
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
|
+
|
|
271
|
+
it("rum.v20210622.DescribeDataStaticResource", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeDataStaticResource({})
|
|
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
|
+
|
|
281
|
+
it("rum.v20210622.DescribeProjectLimits", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.DescribeProjectLimits({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
291
|
+
it("rum.v20210622.DescribeDataCustomUrl", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeDataCustomUrl({})
|
|
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
|
+
|
|
301
|
+
it("rum.v20210622.CreateWhitelist", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.CreateWhitelist({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
it("rum.v20210622.DescribeProjects", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.DescribeProjects({})
|
|
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
|
+
|
|
321
|
+
it("rum.v20210622.CreateStarProject", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.CreateStarProject({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
331
|
+
it("rum.v20210622.DeleteWhitelist", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.DeleteWhitelist({})
|
|
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
|
+
|
|
341
|
+
it("rum.v20210622.DescribeDataFetchUrlInfo", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.DescribeDataFetchUrlInfo({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
351
|
+
it("rum.v20210622.StopInstance", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.StopInstance({})
|
|
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
|
+
|
|
361
|
+
it("rum.v20210622.ModifyProject", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.ModifyProject({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
371
|
+
it("rum.v20210622.DescribeReleaseFiles", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DescribeReleaseFiles({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
381
|
+
it("rum.v20210622.DeleteLogExport", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.DeleteLogExport({})
|
|
384
|
+
expect(data).to.be.ok
|
|
385
|
+
} catch(error) {
|
|
386
|
+
expect(error.requestId).to.be.ok
|
|
387
|
+
expect(error.code).to.be.ok
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
|
|
391
|
+
it("rum.v20210622.DescribeWhitelists", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.DescribeWhitelists({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
41
401
|
it("rum.v20210622.DescribeDataEventUrl", async function () {
|
|
42
402
|
try {
|
|
43
403
|
const data = await client.DescribeDataEventUrl({})
|
|
@@ -48,9 +408,9 @@ it("rum.v20210622.DescribeDataEventUrl", async function () {
|
|
|
48
408
|
}
|
|
49
409
|
})
|
|
50
410
|
|
|
51
|
-
it("rum.v20210622.
|
|
411
|
+
it("rum.v20210622.DeleteOfflineLogRecord", async function () {
|
|
52
412
|
try {
|
|
53
|
-
const data = await client.
|
|
413
|
+
const data = await client.DeleteOfflineLogRecord({})
|
|
54
414
|
expect(data).to.be.ok
|
|
55
415
|
} catch(error) {
|
|
56
416
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +418,19 @@ it("rum.v20210622.DescribeScores", async function () {
|
|
|
58
418
|
}
|
|
59
419
|
})
|
|
60
420
|
|
|
61
|
-
it("rum.v20210622.
|
|
421
|
+
it("rum.v20210622.DescribeOfflineLogConfigs", async function () {
|
|
62
422
|
try {
|
|
63
|
-
const data = await client.
|
|
423
|
+
const data = await client.DescribeOfflineLogConfigs({})
|
|
424
|
+
expect(data).to.be.ok
|
|
425
|
+
} catch(error) {
|
|
426
|
+
expect(error.requestId).to.be.ok
|
|
427
|
+
expect(error.code).to.be.ok
|
|
428
|
+
}
|
|
429
|
+
})
|
|
430
|
+
|
|
431
|
+
it("rum.v20210622.DescribeDataLogUrlInfo", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.DescribeDataLogUrlInfo({})
|
|
64
434
|
expect(data).to.be.ok
|
|
65
435
|
} catch(error) {
|
|
66
436
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +448,9 @@ it("rum.v20210622.CreateProject", async function () {
|
|
|
78
448
|
}
|
|
79
449
|
})
|
|
80
450
|
|
|
81
|
-
it("rum.v20210622.
|
|
451
|
+
it("rum.v20210622.DescribeDataReportCount", async function () {
|
|
82
452
|
try {
|
|
83
|
-
const data = await client.
|
|
453
|
+
const data = await client.DescribeDataReportCount({})
|
|
84
454
|
expect(data).to.be.ok
|
|
85
455
|
} catch(error) {
|
|
86
456
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +458,9 @@ it("rum.v20210622.DescribeDataLogUrlStatistics", async function () {
|
|
|
88
458
|
}
|
|
89
459
|
})
|
|
90
460
|
|
|
91
|
-
it("rum.v20210622.
|
|
461
|
+
it("rum.v20210622.DescribeDataPvUrlInfo", async function () {
|
|
92
462
|
try {
|
|
93
|
-
const data = await client.
|
|
463
|
+
const data = await client.DescribeDataPvUrlInfo({})
|
|
94
464
|
expect(data).to.be.ok
|
|
95
465
|
} catch(error) {
|
|
96
466
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +468,69 @@ it("rum.v20210622.DescribeProjects", async function () {
|
|
|
98
468
|
}
|
|
99
469
|
})
|
|
100
470
|
|
|
101
|
-
it("rum.v20210622.
|
|
471
|
+
it("rum.v20210622.DescribeDataStaticProject", async function () {
|
|
102
472
|
try {
|
|
103
|
-
const data = await client.
|
|
473
|
+
const data = await client.DescribeDataStaticProject({})
|
|
474
|
+
expect(data).to.be.ok
|
|
475
|
+
} catch(error) {
|
|
476
|
+
expect(error.requestId).to.be.ok
|
|
477
|
+
expect(error.code).to.be.ok
|
|
478
|
+
}
|
|
479
|
+
})
|
|
480
|
+
|
|
481
|
+
it("rum.v20210622.DeleteProject", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.DeleteProject({})
|
|
484
|
+
expect(data).to.be.ok
|
|
485
|
+
} catch(error) {
|
|
486
|
+
expect(error.requestId).to.be.ok
|
|
487
|
+
expect(error.code).to.be.ok
|
|
488
|
+
}
|
|
489
|
+
})
|
|
490
|
+
|
|
491
|
+
it("rum.v20210622.DescribeOfflineLogRecords", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.DescribeOfflineLogRecords({})
|
|
494
|
+
expect(data).to.be.ok
|
|
495
|
+
} catch(error) {
|
|
496
|
+
expect(error.requestId).to.be.ok
|
|
497
|
+
expect(error.code).to.be.ok
|
|
498
|
+
}
|
|
499
|
+
})
|
|
500
|
+
|
|
501
|
+
it("rum.v20210622.DescribeUvList", async function () {
|
|
502
|
+
try {
|
|
503
|
+
const data = await client.DescribeUvList({})
|
|
504
|
+
expect(data).to.be.ok
|
|
505
|
+
} catch(error) {
|
|
506
|
+
expect(error.requestId).to.be.ok
|
|
507
|
+
expect(error.code).to.be.ok
|
|
508
|
+
}
|
|
509
|
+
})
|
|
510
|
+
|
|
511
|
+
it("rum.v20210622.DeleteOfflineLogConfig", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.DeleteOfflineLogConfig({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
521
|
+
it("rum.v20210622.DeleteReleaseFile", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.DeleteReleaseFile({})
|
|
524
|
+
expect(data).to.be.ok
|
|
525
|
+
} catch(error) {
|
|
526
|
+
expect(error.requestId).to.be.ok
|
|
527
|
+
expect(error.code).to.be.ok
|
|
528
|
+
}
|
|
529
|
+
})
|
|
530
|
+
|
|
531
|
+
it("rum.v20210622.CreateOfflineLogConfig", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.CreateOfflineLogConfig({})
|
|
104
534
|
expect(data).to.be.ok
|
|
105
535
|
} catch(error) {
|
|
106
536
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +548,9 @@ it("rum.v20210622.DescribeDataFetchUrl", async function () {
|
|
|
118
548
|
}
|
|
119
549
|
})
|
|
120
550
|
|
|
121
|
-
it("rum.v20210622.
|
|
551
|
+
it("rum.v20210622.DescribeData", async function () {
|
|
122
552
|
try {
|
|
123
|
-
const data = await client.
|
|
553
|
+
const data = await client.DescribeData({})
|
|
124
554
|
expect(data).to.be.ok
|
|
125
555
|
} catch(error) {
|
|
126
556
|
expect(error.requestId).to.be.ok
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.smh.v20210712.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("smh.v20210712.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("smh.v20210712.DescribeOfficialInstances", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeOfficialInstances({})
|
|
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
|
+
it("smh.v20210712.CreateLibrary", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateLibrary({})
|
|
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
|
+
|
|
41
|
+
it("smh.v20210712.SendSmsCode", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.SendSmsCode({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("smh.v20210712.VerifySmsCode", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.VerifySmsCode({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("smh.v20210712.DescribeLibraries", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeLibraries({})
|
|
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
|
+
|
|
71
|
+
it("smh.v20210712.ModifyLibrary", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyLibrary({})
|
|
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
|
+
it("smh.v20210712.DescribeOfficialOverview", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeOfficialOverview({})
|
|
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
|
+
|
|
91
|
+
it("smh.v20210712.DescribeTrafficPackages", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeTrafficPackages({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
it("smh.v20210712.DeleteLibrary", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DeleteLibrary({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
it("smh.v20210712.DescribeLibrarySecret", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeLibrarySecret({})
|
|
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
|
+
|
|
121
|
+
})
|