tencentcloud-sdk-nodejs 4.0.265 → 4.0.269
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 +835 -0
- package/SERVICE_CHANGELOG.md +797 -53
- package/package.json +1 -1
- package/products.md +37 -36
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +3 -2
- package/src/services/apigateway/v20180808/apigateway_models.ts +56 -22
- package/src/services/apm/v20210622/apm_models.ts +24 -0
- package/src/services/as/v20180419/as_client.ts +45 -8
- package/src/services/as/v20180419/as_models.ts +362 -237
- package/src/services/cam/v20190116/cam_client.ts +21 -7
- package/src/services/cam/v20190116/cam_models.ts +134 -11
- package/src/services/cdb/v20170320/cdb_models.ts +15 -0
- package/src/services/cdn/v20180606/cdn_models.ts +25 -2
- package/src/services/clb/v20180317/clb_models.ts +22 -0
- package/src/services/cls/v20201016/cls_client.ts +29 -127
- package/src/services/cls/v20201016/cls_models.ts +190 -739
- package/src/services/cwp/v20180228/cwp_client.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +44 -2
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +28 -4
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +166 -71
- package/src/services/dlc/v20210125/dlc_models.ts +0 -1
- package/src/services/eb/index.ts +5 -0
- package/src/services/eb/v20210416/eb_client.ts +353 -0
- package/src/services/eb/v20210416/eb_models.ts +1483 -0
- package/src/services/eb/v20210416/index.ts +6 -0
- package/src/services/eiam/v20210420/eiam_models.ts +53 -6
- package/src/services/essbasic/v20210526/essbasic_models.ts +27 -7
- package/src/services/facefusion/v20181201/facefusion_models.ts +1 -1
- package/src/services/faceid/v20180301/faceid_client.ts +15 -1
- package/src/services/faceid/v20180301/faceid_models.ts +143 -8
- package/src/services/ic/v20190307/ic_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +831 -391
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +2089 -360
- package/src/services/live/v20180801/live_client.ts +7 -6
- package/src/services/live/v20180801/live_models.ts +28 -0
- package/src/services/mongodb/v20190725/mongodb_client.ts +15 -2
- package/src/services/mongodb/v20190725/mongodb_models.ts +72 -22
- package/src/services/ocr/v20181119/ocr_models.ts +2 -1
- package/src/services/postgres/v20170312/postgres_client.ts +1 -0
- package/src/services/postgres/v20170312/postgres_models.ts +43 -3
- package/src/services/rce/v20201103/rce_models.ts +5 -0
- package/src/services/ses/v20201002/ses_client.ts +1 -1
- package/src/services/ses/v20201002/ses_models.ts +1 -1
- package/src/services/sms/v20210111/sms_client.ts +1 -0
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +6 -1
- package/src/services/tcss/v20201101/tcss_models.ts +22 -1
- package/src/services/tke/v20180525/tke_models.ts +29 -0
- package/src/services/tsf/v20180326/tsf_models.ts +24 -2
- package/src/services/wav/v20210129/wav_client.ts +2 -2
- package/src/services/wav/v20210129/wav_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +48 -18
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +20 -0
- package/tencentcloud/services/as/v20180419/as_client.d.ts +13 -1
- package/tencentcloud/services/as/v20180419/as_client.js +18 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +304 -197
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +7 -3
- package/tencentcloud/services/cam/v20190116/cam_client.js +9 -3
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +113 -10
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +12 -0
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +21 -2
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +18 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +8 -40
- package/tencentcloud/services/cls/v20201016/cls_client.js +10 -58
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +159 -634
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +37 -2
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +143 -63
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +0 -1
- package/tencentcloud/services/eb/index.d.ts +6 -0
- package/tencentcloud/services/eb/index.js +7 -0
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +110 -0
- package/tencentcloud/services/eb/v20210416/eb_client.js +181 -0
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +1248 -0
- package/tencentcloud/services/eb/v20210416/eb_models.js +18 -0
- package/tencentcloud/services/eb/v20210416/index.d.ts +6 -0
- package/tencentcloud/services/eb/v20210416/index.js +9 -0
- package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +44 -6
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +23 -7
- package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +121 -8
- package/tencentcloud/services/ic/v20190307/ic_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +276 -119
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +400 -175
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1779 -293
- package/tencentcloud/services/live/v20180801/live_client.d.ts +7 -6
- package/tencentcloud/services/live/v20180801/live_client.js +7 -6
- package/tencentcloud/services/live/v20180801/live_models.d.ts +26 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +63 -20
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -1
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +37 -3
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +4 -0
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_client.js +1 -1
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -1
- package/tencentcloud/services/sms/v20210111/sms_client.d.ts +1 -0
- package/tencentcloud/services/sms/v20210111/sms_client.js +1 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +5 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +18 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +24 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +20 -2
- package/tencentcloud/services/wav/v20210129/wav_client.d.ts +2 -2
- package/tencentcloud/services/wav/v20210129/wav_client.js +2 -2
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +1 -1
- package/test/as.v20180419.test.js +30 -0
- package/test/cam.v20190116.test.js +12 -2
- package/test/cls.v20201016.test.js +6 -86
- package/test/dbbrain.v20210527.test.js +20 -0
- package/test/eb.v20210416.test.js +271 -0
- package/test/faceid.v20180301.test.js +10 -0
- package/test/iotvideoindustry.v20201201.test.js +454 -114
- package/test/mongodb.v20190725.test.js +10 -0
|
@@ -68,6 +68,16 @@ it("as.v20180419.ModifyScalingPolicy", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("as.v20180419.ModifyLoadBalancerTargetAttributes", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyLoadBalancerTargetAttributes({})
|
|
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
|
+
|
|
71
81
|
it("as.v20180419.DescribeNotificationConfigurations", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeNotificationConfigurations({})
|
|
@@ -118,6 +128,16 @@ it("as.v20180419.UpgradeLaunchConfiguration", async function () {
|
|
|
118
128
|
}
|
|
119
129
|
})
|
|
120
130
|
|
|
131
|
+
it("as.v20180419.DetachLoadBalancers", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DetachLoadBalancers({})
|
|
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
|
+
|
|
121
141
|
it("as.v20180419.AttachInstances", async function () {
|
|
122
142
|
try {
|
|
123
143
|
const data = await client.AttachInstances({})
|
|
@@ -148,6 +168,16 @@ it("as.v20180419.DeleteScheduledAction", async function () {
|
|
|
148
168
|
}
|
|
149
169
|
})
|
|
150
170
|
|
|
171
|
+
it("as.v20180419.AttachLoadBalancers", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.AttachLoadBalancers({})
|
|
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
|
+
|
|
151
181
|
it("as.v20180419.DetachInstances", async function () {
|
|
152
182
|
try {
|
|
153
183
|
const data = await client.DetachInstances({})
|
|
@@ -378,9 +378,9 @@ it("cam.v20190116.GetPolicyVersion", async function () {
|
|
|
378
378
|
}
|
|
379
379
|
})
|
|
380
380
|
|
|
381
|
-
it("cam.v20190116.
|
|
381
|
+
it("cam.v20190116.ListAttachedUserAllPolicies", async function () {
|
|
382
382
|
try {
|
|
383
|
-
const data = await client.
|
|
383
|
+
const data = await client.ListAttachedUserAllPolicies({})
|
|
384
384
|
expect(data).to.be.ok
|
|
385
385
|
} catch(error) {
|
|
386
386
|
expect(error.requestId).to.be.ok
|
|
@@ -698,6 +698,16 @@ it("cam.v20190116.CreatePolicy", async function () {
|
|
|
698
698
|
}
|
|
699
699
|
})
|
|
700
700
|
|
|
701
|
+
it("cam.v20190116.UpdateAssumeRolePolicy", async function () {
|
|
702
|
+
try {
|
|
703
|
+
const data = await client.UpdateAssumeRolePolicy({})
|
|
704
|
+
expect(data).to.be.ok
|
|
705
|
+
} catch(error) {
|
|
706
|
+
expect(error.requestId).to.be.ok
|
|
707
|
+
expect(error.code).to.be.ok
|
|
708
|
+
}
|
|
709
|
+
})
|
|
710
|
+
|
|
701
711
|
it("cam.v20190116.DetachUserPolicy", async function () {
|
|
702
712
|
try {
|
|
703
713
|
const data = await client.DetachUserPolicy({})
|
|
@@ -68,19 +68,9 @@ it("cls.v20201016.ModifyTopic", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("cls.v20201016.
|
|
72
|
-
try {
|
|
73
|
-
const data = await client.DescribeAsyncContextResult({})
|
|
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("cls.v20201016.DescribeAsyncContextTasks", async function () {
|
|
71
|
+
it("cls.v20201016.ModifyIndex", async function () {
|
|
82
72
|
try {
|
|
83
|
-
const data = await client.
|
|
73
|
+
const data = await client.ModifyIndex({})
|
|
84
74
|
expect(data).to.be.ok
|
|
85
75
|
} catch(error) {
|
|
86
76
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +88,9 @@ it("cls.v20201016.DescribeLogsets", async function () {
|
|
|
98
88
|
}
|
|
99
89
|
})
|
|
100
90
|
|
|
101
|
-
it("cls.v20201016.
|
|
91
|
+
it("cls.v20201016.ModifyLogset", async function () {
|
|
102
92
|
try {
|
|
103
|
-
const data = await client.
|
|
93
|
+
const data = await client.ModifyLogset({})
|
|
104
94
|
expect(data).to.be.ok
|
|
105
95
|
} catch(error) {
|
|
106
96
|
expect(error.requestId).to.be.ok
|
|
@@ -148,16 +138,6 @@ it("cls.v20201016.CreateIndex", async function () {
|
|
|
148
138
|
}
|
|
149
139
|
})
|
|
150
140
|
|
|
151
|
-
it("cls.v20201016.DescribeAsyncSearchResult", async function () {
|
|
152
|
-
try {
|
|
153
|
-
const data = await client.DescribeAsyncSearchResult({})
|
|
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("cls.v20201016.DeleteConfig", async function () {
|
|
162
142
|
try {
|
|
163
143
|
const data = await client.DeleteConfig({})
|
|
@@ -188,16 +168,6 @@ it("cls.v20201016.ModifyConsumer", async function () {
|
|
|
188
168
|
}
|
|
189
169
|
})
|
|
190
170
|
|
|
191
|
-
it("cls.v20201016.DeleteAsyncSearchTask", async function () {
|
|
192
|
-
try {
|
|
193
|
-
const data = await client.DeleteAsyncSearchTask({})
|
|
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
171
|
it("cls.v20201016.CreateAlarmNotice", async function () {
|
|
202
172
|
try {
|
|
203
173
|
const data = await client.CreateAlarmNotice({})
|
|
@@ -308,16 +278,6 @@ it("cls.v20201016.DescribeAlarms", async function () {
|
|
|
308
278
|
}
|
|
309
279
|
})
|
|
310
280
|
|
|
311
|
-
it("cls.v20201016.DeleteAsyncContextTask", async function () {
|
|
312
|
-
try {
|
|
313
|
-
const data = await client.DeleteAsyncContextTask({})
|
|
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
281
|
it("cls.v20201016.DescribeAlarmNotices", async function () {
|
|
322
282
|
try {
|
|
323
283
|
const data = await client.DescribeAlarmNotices({})
|
|
@@ -358,16 +318,6 @@ it("cls.v20201016.DeleteAlarmNotice", async function () {
|
|
|
358
318
|
}
|
|
359
319
|
})
|
|
360
320
|
|
|
361
|
-
it("cls.v20201016.ModifyIndex", async function () {
|
|
362
|
-
try {
|
|
363
|
-
const data = await client.ModifyIndex({})
|
|
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
321
|
it("cls.v20201016.ModifyAlarmNotice", async function () {
|
|
372
322
|
try {
|
|
373
323
|
const data = await client.ModifyAlarmNotice({})
|
|
@@ -408,9 +358,9 @@ it("cls.v20201016.UploadLog", async function () {
|
|
|
408
358
|
}
|
|
409
359
|
})
|
|
410
360
|
|
|
411
|
-
it("cls.v20201016.
|
|
361
|
+
it("cls.v20201016.DescribeShipperTasks", async function () {
|
|
412
362
|
try {
|
|
413
|
-
const data = await client.
|
|
363
|
+
const data = await client.DescribeShipperTasks({})
|
|
414
364
|
expect(data).to.be.ok
|
|
415
365
|
} catch(error) {
|
|
416
366
|
expect(error.requestId).to.be.ok
|
|
@@ -468,16 +418,6 @@ it("cls.v20201016.DeleteIndex", async function () {
|
|
|
468
418
|
}
|
|
469
419
|
})
|
|
470
420
|
|
|
471
|
-
it("cls.v20201016.DescribeAsyncSearchTasks", async function () {
|
|
472
|
-
try {
|
|
473
|
-
const data = await client.DescribeAsyncSearchTasks({})
|
|
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
421
|
it("cls.v20201016.DeleteAlarm", async function () {
|
|
482
422
|
try {
|
|
483
423
|
const data = await client.DeleteAlarm({})
|
|
@@ -558,16 +498,6 @@ it("cls.v20201016.DescribeConfigMachineGroups", async function () {
|
|
|
558
498
|
}
|
|
559
499
|
})
|
|
560
500
|
|
|
561
|
-
it("cls.v20201016.ModifyLogset", async function () {
|
|
562
|
-
try {
|
|
563
|
-
const data = await client.ModifyLogset({})
|
|
564
|
-
expect(data).to.be.ok
|
|
565
|
-
} catch(error) {
|
|
566
|
-
expect(error.requestId).to.be.ok
|
|
567
|
-
expect(error.code).to.be.ok
|
|
568
|
-
}
|
|
569
|
-
})
|
|
570
|
-
|
|
571
501
|
it("cls.v20201016.DeleteExport", async function () {
|
|
572
502
|
try {
|
|
573
503
|
const data = await client.DeleteExport({})
|
|
@@ -618,14 +548,4 @@ it("cls.v20201016.SplitPartition", async function () {
|
|
|
618
548
|
}
|
|
619
549
|
})
|
|
620
550
|
|
|
621
|
-
it("cls.v20201016.CreateAsyncSearchTask", async function () {
|
|
622
|
-
try {
|
|
623
|
-
const data = await client.CreateAsyncSearchTask({})
|
|
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
551
|
})
|
|
@@ -68,6 +68,16 @@ it("dbbrain.v20210527.DescribeMySqlProcessList", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("dbbrain.v20210527.CreateProxySessionKillTask", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateProxySessionKillTask({})
|
|
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
|
+
|
|
71
81
|
it("dbbrain.v20210527.DescribeDBDiagReportTasks", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeDBDiagReportTasks({})
|
|
@@ -268,6 +278,16 @@ it("dbbrain.v20210527.DescribeTopSpaceSchemaTimeSeries", async function () {
|
|
|
268
278
|
}
|
|
269
279
|
})
|
|
270
280
|
|
|
281
|
+
it("dbbrain.v20210527.CreateKillTask", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.CreateKillTask({})
|
|
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
|
+
|
|
271
291
|
it("dbbrain.v20210527.DescribeUserSqlAdvice", async function () {
|
|
272
292
|
try {
|
|
273
293
|
const data = await client.DescribeUserSqlAdvice({})
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.eb.v20210416.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("eb.v20210416.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("eb.v20210416.DeleteEventBus", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DeleteEventBus({})
|
|
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("eb.v20210416.CreateTransformation", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateTransformation({})
|
|
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("eb.v20210416.CreateEventBus", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CreateEventBus({})
|
|
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("eb.v20210416.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("eb.v20210416.DeleteTarget", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DeleteTarget({})
|
|
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("eb.v20210416.ListTargets", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ListTargets({})
|
|
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("eb.v20210416.CheckRule", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CheckRule({})
|
|
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("eb.v20210416.PublishEvent", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.PublishEvent({})
|
|
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("eb.v20210416.UpdateTarget", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.UpdateTarget({})
|
|
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("eb.v20210416.GetTransformation", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.GetTransformation({})
|
|
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("eb.v20210416.ListRules", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.ListRules({})
|
|
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("eb.v20210416.DeleteRule", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DeleteRule({})
|
|
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("eb.v20210416.UpdateEventBus", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.UpdateEventBus({})
|
|
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("eb.v20210416.CreateTarget", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.CreateTarget({})
|
|
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("eb.v20210416.UpdateRule", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.UpdateRule({})
|
|
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("eb.v20210416.DeleteTransformation", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DeleteTransformation({})
|
|
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("eb.v20210416.CreateConnection", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.CreateConnection({})
|
|
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("eb.v20210416.GetRule", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.GetRule({})
|
|
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("eb.v20210416.DeleteConnection", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DeleteConnection({})
|
|
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("eb.v20210416.ListEventBuses", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.ListEventBuses({})
|
|
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("eb.v20210416.GetEventBus", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.GetEventBus({})
|
|
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("eb.v20210416.UpdateTransformation", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.UpdateTransformation({})
|
|
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("eb.v20210416.CheckTransformation", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.CheckTransformation({})
|
|
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("eb.v20210416.ListConnections", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.ListConnections({})
|
|
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("eb.v20210416.UpdateConnection", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.UpdateConnection({})
|
|
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
|
+
})
|
|
@@ -38,6 +38,16 @@ it("faceid.v20180301.GetActionSequence", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("faceid.v20180301.GetWeChatBillDetails", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.GetWeChatBillDetails({})
|
|
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
|
+
|
|
41
51
|
it("faceid.v20180301.CheckIdCardInformation", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.CheckIdCardInformation({})
|