tencentcloud-sdk-nodejs 4.0.516 → 4.0.518
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 +488 -0
- package/SERVICE_CHANGELOG.md +549 -302
- package/package.json +1 -1
- package/products.md +20 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +18 -0
- package/src/services/api/v20201106/api_models.ts +63 -3
- package/src/services/billing/v20180709/billing_models.ts +1 -1
- package/src/services/ccc/v20200210/ccc_client.ts +5 -3
- package/src/services/ccc/v20200210/ccc_models.ts +12 -12
- package/src/services/cdn/v20180606/cdn_models.ts +12 -2
- package/src/services/ckafka/v20190819/ckafka_client.ts +13 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +53 -0
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +1 -1
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +2 -2
- package/src/services/dts/v20211206/dts_client.ts +71 -34
- package/src/services/dts/v20211206/dts_models.ts +285 -116
- package/src/services/faceid/v20180301/faceid_client.ts +1 -26
- package/src/services/faceid/v20180301/faceid_models.ts +25 -98
- package/src/services/hasim/index.ts +5 -0
- package/src/services/hasim/v20210716/hasim_client.ts +309 -0
- package/src/services/hasim/v20210716/hasim_models.ts +1833 -0
- package/src/services/hasim/v20210716/index.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/mongodb/v20190725/mongodb_client.ts +3 -3
- package/src/services/mongodb/v20190725/mongodb_models.ts +3 -3
- package/src/services/rum/v20210622/rum_client.ts +19 -7
- package/src/services/rum/v20210622/rum_models.ts +64 -4
- package/src/services/ssa/v20180608/ssa_client.ts +106 -94
- package/src/services/ssa/v20180608/ssa_models.ts +188 -130
- package/src/services/sts/v20180813/sts_models.ts +3 -3
- package/src/services/teo/v20220901/teo_client.ts +708 -1219
- package/src/services/teo/v20220901/teo_models.ts +4787 -8094
- package/src/services/tione/v20211111/tione_models.ts +11 -1
- package/src/services/trtc/v20190722/trtc_models.ts +5 -0
- package/src/services/tts/v20190823/tts_client.ts +1 -0
- package/src/services/vod/v20180717/vod_models.ts +6 -0
- package/src/services/vpc/v20170312/vpc_client.ts +238 -77
- package/src/services/vpc/v20170312/vpc_models.ts +840 -228
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +15 -0
- package/tencentcloud/services/api/v20201106/api_models.d.ts +53 -3
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +4 -2
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +4 -2
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +12 -12
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -2
- 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 +46 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +2 -2
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +25 -13
- package/tencentcloud/services/dts/v20211206/dts_client.js +36 -18
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +248 -103
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -10
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +0 -13
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +22 -86
- package/tencentcloud/services/hasim/index.d.ts +6 -0
- package/tencentcloud/services/hasim/index.js +7 -0
- package/tencentcloud/services/hasim/v20210716/hasim_client.d.ts +98 -0
- package/tencentcloud/services/hasim/v20210716/hasim_client.js +163 -0
- package/tencentcloud/services/hasim/v20210716/hasim_models.d.ts +1536 -0
- package/tencentcloud/services/hasim/v20210716/hasim_models.js +18 -0
- package/tencentcloud/services/hasim/v20210716/index.d.ts +6 -0
- package/tencentcloud/services/hasim/v20210716/index.js +9 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +3 -3
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +3 -3
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +3 -3
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +7 -3
- package/tencentcloud/services/rum/v20210622/rum_client.js +9 -3
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +54 -4
- package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +37 -33
- package/tencentcloud/services/ssa/v20180608/ssa_client.js +54 -48
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +158 -109
- package/tencentcloud/services/sts/v20180813/sts_models.d.ts +3 -3
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +149 -309
- package/tencentcloud/services/teo/v20220901/teo_client.js +243 -483
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +4305 -7117
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +9 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -0
- package/tencentcloud/services/tts/v20190823/tts_client.d.ts +1 -0
- package/tencentcloud/services/tts/v20190823/tts_client.js +1 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +5 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +86 -34
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +119 -41
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +674 -149
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/dts.v20211206.test.js +46 -16
- package/test/faceid.v20180301.test.js +0 -20
- package/test/hasim.v20210716.test.js +241 -0
- package/test/rum.v20210622.test.js +12 -2
- package/test/ssa.v20180608.test.js +44 -34
- package/test/teo.v20220901.test.js +158 -558
- package/test/vpc.v20170312.test.js +146 -16
|
@@ -598,6 +598,16 @@ it("ckafka.v20190819.AuthorizeToken", async function () {
|
|
|
598
598
|
}
|
|
599
599
|
})
|
|
600
600
|
|
|
601
|
+
it("ckafka.v20190819.DescribeTopicProduceConnection", async function () {
|
|
602
|
+
try {
|
|
603
|
+
const data = await client.DescribeTopicProduceConnection({})
|
|
604
|
+
expect(data).to.be.ok
|
|
605
|
+
} catch(error) {
|
|
606
|
+
expect(error.requestId).to.be.ok
|
|
607
|
+
expect(error.code).to.be.ok
|
|
608
|
+
}
|
|
609
|
+
})
|
|
610
|
+
|
|
601
611
|
it("ckafka.v20190819.DescribeTopic", async function () {
|
|
602
612
|
try {
|
|
603
613
|
const data = await client.DescribeTopic({})
|
|
@@ -48,9 +48,9 @@ it("dts.v20211206.CreateMigrationService", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("dts.v20211206.
|
|
51
|
+
it("dts.v20211206.IsolateSyncJob", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.IsolateSyncJob({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -128,6 +128,36 @@ it("dts.v20211206.DescribeCompareReport", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("dts.v20211206.ContinueMigrateJob", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.ContinueMigrateJob({})
|
|
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
|
+
|
|
141
|
+
it("dts.v20211206.PauseMigrateJob", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.PauseMigrateJob({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
it("dts.v20211206.SkipSyncCheckItem", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.SkipSyncCheckItem({})
|
|
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
|
+
|
|
131
161
|
it("dts.v20211206.ConfigureSyncJob", async function () {
|
|
132
162
|
try {
|
|
133
163
|
const data = await client.ConfigureSyncJob({})
|
|
@@ -188,6 +218,16 @@ it("dts.v20211206.PauseSyncJob", async function () {
|
|
|
188
218
|
}
|
|
189
219
|
})
|
|
190
220
|
|
|
221
|
+
it("dts.v20211206.ContinueSyncJob", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.ContinueSyncJob({})
|
|
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
|
+
|
|
191
231
|
it("dts.v20211206.DestroySyncJob", async function () {
|
|
192
232
|
try {
|
|
193
233
|
const data = await client.DestroySyncJob({})
|
|
@@ -248,9 +288,9 @@ it("dts.v20211206.DescribeCompareTasks", async function () {
|
|
|
248
288
|
}
|
|
249
289
|
})
|
|
250
290
|
|
|
251
|
-
it("dts.v20211206.
|
|
291
|
+
it("dts.v20211206.ModifyCompareTask", async function () {
|
|
252
292
|
try {
|
|
253
|
-
const data = await client.
|
|
293
|
+
const data = await client.ModifyCompareTask({})
|
|
254
294
|
expect(data).to.be.ok
|
|
255
295
|
} catch(error) {
|
|
256
296
|
expect(error.requestId).to.be.ok
|
|
@@ -378,16 +418,6 @@ it("dts.v20211206.ModifyCompareTaskName", async function () {
|
|
|
378
418
|
}
|
|
379
419
|
})
|
|
380
420
|
|
|
381
|
-
it("dts.v20211206.CompleteMigrateJob", async function () {
|
|
382
|
-
try {
|
|
383
|
-
const data = await client.CompleteMigrateJob({})
|
|
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
421
|
it("dts.v20211206.ModifyMigrateName", async function () {
|
|
392
422
|
try {
|
|
393
423
|
const data = await client.ModifyMigrateName({})
|
|
@@ -398,9 +428,9 @@ it("dts.v20211206.ModifyMigrateName", async function () {
|
|
|
398
428
|
}
|
|
399
429
|
})
|
|
400
430
|
|
|
401
|
-
it("dts.v20211206.
|
|
431
|
+
it("dts.v20211206.CompleteMigrateJob", async function () {
|
|
402
432
|
try {
|
|
403
|
-
const data = await client.
|
|
433
|
+
const data = await client.CompleteMigrateJob({})
|
|
404
434
|
expect(data).to.be.ok
|
|
405
435
|
} catch(error) {
|
|
406
436
|
expect(error.requestId).to.be.ok
|
|
@@ -138,16 +138,6 @@ it("faceid.v20180301.LivenessCompare", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("faceid.v20180301.GetRealNameAuthToken", async function () {
|
|
142
|
-
try {
|
|
143
|
-
const data = await client.GetRealNameAuthToken({})
|
|
144
|
-
expect(data).to.be.ok
|
|
145
|
-
} catch(error) {
|
|
146
|
-
expect(error.requestId).to.be.ok
|
|
147
|
-
expect(error.code).to.be.ok
|
|
148
|
-
}
|
|
149
|
-
})
|
|
150
|
-
|
|
151
141
|
it("faceid.v20180301.IdCardOCRVerification", async function () {
|
|
152
142
|
try {
|
|
153
143
|
const data = await client.IdCardOCRVerification({})
|
|
@@ -358,14 +348,4 @@ it("faceid.v20180301.PhoneVerificationCTCC", async function () {
|
|
|
358
348
|
}
|
|
359
349
|
})
|
|
360
350
|
|
|
361
|
-
it("faceid.v20180301.GetRealNameAuthResult", async function () {
|
|
362
|
-
try {
|
|
363
|
-
const data = await client.GetRealNameAuthResult({})
|
|
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
351
|
})
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.hasim.v20210716.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("hasim.v20210716.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("hasim.v20210716.DeleteTactic", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DeleteTactic({})
|
|
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("hasim.v20210716.DescribeOrders", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeOrders({})
|
|
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("hasim.v20210716.DescribeTactics", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeTactics({})
|
|
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("hasim.v20210716.CreateRule", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.CreateRule({})
|
|
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("hasim.v20210716.DeleteTag", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DeleteTag({})
|
|
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("hasim.v20210716.DescribeLinks", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeLinks({})
|
|
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("hasim.v20210716.DeleteRule", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DeleteRule({})
|
|
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("hasim.v20210716.ModifyRuleStatus", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.ModifyRuleStatus({})
|
|
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("hasim.v20210716.ModifyLinkAdvancedLog", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.ModifyLinkAdvancedLog({})
|
|
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("hasim.v20210716.CreateTag", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.CreateTag({})
|
|
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("hasim.v20210716.ModifyLinkTele", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.ModifyLinkTele({})
|
|
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
|
+
|
|
131
|
+
it("hasim.v20210716.DescribeRule", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DescribeRule({})
|
|
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
|
+
|
|
141
|
+
it("hasim.v20210716.DescribeTags", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DescribeTags({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
it("hasim.v20210716.ModifyRule", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.ModifyRule({})
|
|
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("hasim.v20210716.DescribeLink", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeLink({})
|
|
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("hasim.v20210716.CreateTactic", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.CreateTactic({})
|
|
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("hasim.v20210716.RenewLinkInfo", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.RenewLinkInfo({})
|
|
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("hasim.v20210716.ModifyTactic", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.ModifyTactic({})
|
|
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("hasim.v20210716.DescribeTactic", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DescribeTactic({})
|
|
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("hasim.v20210716.DescribeRules", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.DescribeRules({})
|
|
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("hasim.v20210716.ModifyLinkTactic", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.ModifyLinkTactic({})
|
|
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("hasim.v20210716.ModifyTag", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ModifyTag({})
|
|
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
|
+
})
|
|
@@ -58,6 +58,16 @@ it("rum.v20210622.DescribeScores", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("rum.v20210622.DescribeRumLogList", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeRumLogList({})
|
|
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("rum.v20210622.DescribeTawInstances", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.DescribeTawInstances({})
|
|
@@ -148,9 +158,9 @@ it("rum.v20210622.DescribeError", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
151
|
-
it("rum.v20210622.
|
|
161
|
+
it("rum.v20210622.DescribeRumGroupLog", async function () {
|
|
152
162
|
try {
|
|
153
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeRumGroupLog({})
|
|
154
164
|
expect(data).to.be.ok
|
|
155
165
|
} catch(error) {
|
|
156
166
|
expect(error.requestId).to.be.ok
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.ssa.v20180608.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("ssa.v20180608.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("ssa.v20180608.
|
|
21
|
+
it("ssa.v20180608.DescribeAssetDetailList", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DescribeAssetDetailList({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,19 @@ it("ssa.v20180608.DescribeConfigList", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("ssa.v20180608.
|
|
41
|
+
it("ssa.v20180608.DescribeLeakDetectionList", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DescribeLeakDetectionList({})
|
|
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("ssa.v20180608.DescribeMappingResults", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeMappingResults({})
|
|
44
54
|
expect(data).to.be.ok
|
|
45
55
|
} catch(error) {
|
|
46
56
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +88,9 @@ it("ssa.v20180608.DescribeComplianceAssetList", async function () {
|
|
|
78
88
|
}
|
|
79
89
|
})
|
|
80
90
|
|
|
81
|
-
it("ssa.v20180608.
|
|
91
|
+
it("ssa.v20180608.DescribeSocCheckItemList", async function () {
|
|
82
92
|
try {
|
|
83
|
-
const data = await client.
|
|
93
|
+
const data = await client.DescribeSocCheckItemList({})
|
|
84
94
|
expect(data).to.be.ok
|
|
85
95
|
} catch(error) {
|
|
86
96
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +98,9 @@ it("ssa.v20180608.DescribeCheckConfigAssetList", async function () {
|
|
|
88
98
|
}
|
|
89
99
|
})
|
|
90
100
|
|
|
91
|
-
it("ssa.v20180608.
|
|
101
|
+
it("ssa.v20180608.DescribeAssetDetail", async function () {
|
|
92
102
|
try {
|
|
93
|
-
const data = await client.
|
|
103
|
+
const data = await client.DescribeAssetDetail({})
|
|
94
104
|
expect(data).to.be.ok
|
|
95
105
|
} catch(error) {
|
|
96
106
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +108,9 @@ it("ssa.v20180608.DescribeLeakDetectionList", async function () {
|
|
|
98
108
|
}
|
|
99
109
|
})
|
|
100
110
|
|
|
101
|
-
it("ssa.v20180608.
|
|
111
|
+
it("ssa.v20180608.DescribeSafetyEventList", async function () {
|
|
102
112
|
try {
|
|
103
|
-
const data = await client.
|
|
113
|
+
const data = await client.DescribeSafetyEventList({})
|
|
104
114
|
expect(data).to.be.ok
|
|
105
115
|
} catch(error) {
|
|
106
116
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +118,9 @@ it("ssa.v20180608.DescribeAssetsMappingList", async function () {
|
|
|
108
118
|
}
|
|
109
119
|
})
|
|
110
120
|
|
|
111
|
-
it("ssa.v20180608.
|
|
121
|
+
it("ssa.v20180608.DescribeComplianceList", async function () {
|
|
112
122
|
try {
|
|
113
|
-
const data = await client.
|
|
123
|
+
const data = await client.DescribeComplianceList({})
|
|
114
124
|
expect(data).to.be.ok
|
|
115
125
|
} catch(error) {
|
|
116
126
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +128,9 @@ it("ssa.v20180608.DescribeSocCspmCompliance", async function () {
|
|
|
118
128
|
}
|
|
119
129
|
})
|
|
120
130
|
|
|
121
|
-
it("ssa.v20180608.
|
|
131
|
+
it("ssa.v20180608.DescribeAssetList", async function () {
|
|
122
132
|
try {
|
|
123
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeAssetList({})
|
|
124
134
|
expect(data).to.be.ok
|
|
125
135
|
} catch(error) {
|
|
126
136
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +138,9 @@ it("ssa.v20180608.DescribeMappingResults", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
131
|
-
it("ssa.v20180608.
|
|
141
|
+
it("ssa.v20180608.DescribeCheckConfigAssetList", async function () {
|
|
132
142
|
try {
|
|
133
|
-
const data = await client.
|
|
143
|
+
const data = await client.DescribeCheckConfigAssetList({})
|
|
134
144
|
expect(data).to.be.ok
|
|
135
145
|
} catch(error) {
|
|
136
146
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +148,9 @@ it("ssa.v20180608.DescribeSocCheckItemList", async function () {
|
|
|
138
148
|
}
|
|
139
149
|
})
|
|
140
150
|
|
|
141
|
-
it("ssa.v20180608.
|
|
151
|
+
it("ssa.v20180608.DescribeAssetsMappingList", async function () {
|
|
142
152
|
try {
|
|
143
|
-
const data = await client.
|
|
153
|
+
const data = await client.DescribeAssetsMappingList({})
|
|
144
154
|
expect(data).to.be.ok
|
|
145
155
|
} catch(error) {
|
|
146
156
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +158,9 @@ it("ssa.v20180608.DescribeVulList", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
151
|
-
it("ssa.v20180608.
|
|
161
|
+
it("ssa.v20180608.DescribeVulList", async function () {
|
|
152
162
|
try {
|
|
153
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeVulList({})
|
|
154
164
|
expect(data).to.be.ok
|
|
155
165
|
} catch(error) {
|
|
156
166
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +168,9 @@ it("ssa.v20180608.DescribeAssetDetail", async function () {
|
|
|
158
168
|
}
|
|
159
169
|
})
|
|
160
170
|
|
|
161
|
-
it("ssa.v20180608.
|
|
171
|
+
it("ssa.v20180608.DescribeSocCheckResultList", async function () {
|
|
162
172
|
try {
|
|
163
|
-
const data = await client.
|
|
173
|
+
const data = await client.DescribeSocCheckResultList({})
|
|
164
174
|
expect(data).to.be.ok
|
|
165
175
|
} catch(error) {
|
|
166
176
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +178,9 @@ it("ssa.v20180608.DescribeCheckConfigDetail", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
171
|
-
it("ssa.v20180608.
|
|
181
|
+
it("ssa.v20180608.DescribeSocAlertDetails", async function () {
|
|
172
182
|
try {
|
|
173
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeSocAlertDetails({})
|
|
174
184
|
expect(data).to.be.ok
|
|
175
185
|
} catch(error) {
|
|
176
186
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +188,9 @@ it("ssa.v20180608.DescribeComplianceDetail", async function () {
|
|
|
178
188
|
}
|
|
179
189
|
})
|
|
180
190
|
|
|
181
|
-
it("ssa.v20180608.
|
|
191
|
+
it("ssa.v20180608.DescribeSocCspmCompliance", async function () {
|
|
182
192
|
try {
|
|
183
|
-
const data = await client.
|
|
193
|
+
const data = await client.DescribeSocCspmCompliance({})
|
|
184
194
|
expect(data).to.be.ok
|
|
185
195
|
} catch(error) {
|
|
186
196
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +198,9 @@ it("ssa.v20180608.DescribeSafetyEventList", async function () {
|
|
|
188
198
|
}
|
|
189
199
|
})
|
|
190
200
|
|
|
191
|
-
it("ssa.v20180608.
|
|
201
|
+
it("ssa.v20180608.DescribeSocAlertList", async function () {
|
|
192
202
|
try {
|
|
193
|
-
const data = await client.
|
|
203
|
+
const data = await client.DescribeSocAlertList({})
|
|
194
204
|
expect(data).to.be.ok
|
|
195
205
|
} catch(error) {
|
|
196
206
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +208,9 @@ it("ssa.v20180608.DescribeSocAlertDetails", async function () {
|
|
|
198
208
|
}
|
|
199
209
|
})
|
|
200
210
|
|
|
201
|
-
it("ssa.v20180608.
|
|
211
|
+
it("ssa.v20180608.DescribeCheckConfigDetail", async function () {
|
|
202
212
|
try {
|
|
203
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeCheckConfigDetail({})
|
|
204
214
|
expect(data).to.be.ok
|
|
205
215
|
} catch(error) {
|
|
206
216
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +218,9 @@ it("ssa.v20180608.DescribeSocAlertList", async function () {
|
|
|
208
218
|
}
|
|
209
219
|
})
|
|
210
220
|
|
|
211
|
-
it("ssa.v20180608.
|
|
221
|
+
it("ssa.v20180608.DescribeComplianceDetail", async function () {
|
|
212
222
|
try {
|
|
213
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeComplianceDetail({})
|
|
214
224
|
expect(data).to.be.ok
|
|
215
225
|
} catch(error) {
|
|
216
226
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +228,9 @@ it("ssa.v20180608.DescribeVulDetail", async function () {
|
|
|
218
228
|
}
|
|
219
229
|
})
|
|
220
230
|
|
|
221
|
-
it("ssa.v20180608.
|
|
231
|
+
it("ssa.v20180608.DescribeVulDetail", async function () {
|
|
222
232
|
try {
|
|
223
|
-
const data = await client.
|
|
233
|
+
const data = await client.DescribeVulDetail({})
|
|
224
234
|
expect(data).to.be.ok
|
|
225
235
|
} catch(error) {
|
|
226
236
|
expect(error.requestId).to.be.ok
|