tencentcloud-sdk-nodejs 4.0.325 → 4.0.328
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 +310 -0
- package/README.md +3 -1
- package/SERVICE_CHANGELOG.md +271 -108
- package/package.json +1 -1
- package/products.md +23 -23
- package/src/common/abstract_client.ts +9 -6
- package/src/common/http/http_connection.ts +7 -3
- package/src/common/interface.ts +6 -0
- package/src/common/sdk_version.ts +1 -1
- package/src/services/af/v20200226/af_models.ts +5 -0
- package/src/services/ame/v20190916/ame_client.ts +1 -0
- package/src/services/ame/v20190916/ame_models.ts +66 -0
- package/src/services/antiddos/v20200309/antiddos_models.ts +55 -45
- package/src/services/bmeip/v20180625/bmeip_models.ts +4 -4
- package/src/services/bmvpc/v20180625/bmvpc_models.ts +3 -3
- package/src/services/ccc/v20200210/ccc_client.ts +12 -0
- package/src/services/ccc/v20200210/ccc_models.ts +58 -8
- package/src/services/cdb/v20170320/cdb_client.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +69 -9
- package/src/services/cdn/v20180606/cdn_models.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +6 -5
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cpdp/v20190820/cpdp_client.ts +136 -38
- package/src/services/cpdp/v20190820/cpdp_models.ts +1592 -230
- package/src/services/cvm/v20170312/cvm_models.ts +6 -0
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +2 -2
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +13 -1
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +46 -6
- package/src/services/ivld/v20210903/ivld_client.ts +3 -3
- package/src/services/monitor/v20180724/monitor_models.ts +12 -0
- package/src/services/ses/v20201002/ses_models.ts +5 -5
- package/src/services/ssa/v20180608/ssa_client.ts +15 -1
- package/src/services/ssa/v20180608/ssa_models.ts +182 -45
- package/src/services/thpc/v20211109/thpc_models.ts +2 -2
- package/src/services/tiia/v20190529/tiia_client.ts +9 -3
- package/src/services/tiia/v20190529/tiia_models.ts +7 -10
- package/src/services/waf/v20180125/waf_client.ts +308 -104
- package/src/services/waf/v20180125/waf_models.ts +1513 -483
- package/tencentcloud/common/abstract_client.d.ts +3 -3
- package/tencentcloud/common/abstract_client.js +5 -3
- package/tencentcloud/common/http/http_connection.d.ts +4 -2
- package/tencentcloud/common/http/http_connection.js +5 -5
- package/tencentcloud/common/interface.d.ts +6 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/af/v20200226/af_models.d.ts +4 -0
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +56 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +52 -44
- package/tencentcloud/services/bmeip/v20180625/bmeip_models.d.ts +4 -4
- package/tencentcloud/services/bmvpc/v20180625/bmvpc_models.d.ts +3 -3
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +50 -8
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +57 -9
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -4
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +39 -11
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +57 -15
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1329 -175
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +5 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +2 -2
- 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 -6
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +3 -3
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +3 -3
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -0
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +5 -5
- package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +5 -1
- package/tencentcloud/services/ssa/v20180608/ssa_client.js +6 -0
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +153 -39
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +2 -2
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +9 -3
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +9 -3
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +7 -10
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +95 -27
- package/tencentcloud/services/waf/v20180125/waf_client.js +139 -39
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1301 -437
- package/test/ccc.v20200210.test.js +10 -0
- package/test/cpdp.v20190820.test.js +80 -10
- package/test/iotexplorer.v20190423.test.js +10 -0
- package/test/ssa.v20180608.test.js +10 -0
- package/test/waf.v20180125.test.js +186 -26
|
@@ -218,6 +218,16 @@ it("ccc.v20200210.CreateUserSig", async function () {
|
|
|
218
218
|
}
|
|
219
219
|
})
|
|
220
220
|
|
|
221
|
+
it("ccc.v20200210.DescribeProtectedTelCdr", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DescribeProtectedTelCdr({})
|
|
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
|
+
|
|
221
231
|
it("ccc.v20200210.DescribeCallInMetrics", async function () {
|
|
222
232
|
try {
|
|
223
233
|
const data = await client.DescribeCallInMetrics({})
|
|
@@ -118,6 +118,16 @@ it("cpdp.v20190820.UploadExternalAnchorInfo", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
+
it("cpdp.v20190820.QueryCloudOrder", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.QueryCloudOrder({})
|
|
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
|
+
|
|
121
131
|
it("cpdp.v20190820.WithdrawCashMembership", async function () {
|
|
122
132
|
try {
|
|
123
133
|
const data = await client.WithdrawCashMembership({})
|
|
@@ -168,6 +178,16 @@ it("cpdp.v20190820.DownloadBill", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
181
|
+
it("cpdp.v20190820.ViewContract", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.ViewContract({})
|
|
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
|
+
|
|
171
191
|
it("cpdp.v20190820.QueryCustAcctIdBalance", async function () {
|
|
172
192
|
try {
|
|
173
193
|
const data = await client.QueryCustAcctIdBalance({})
|
|
@@ -438,6 +458,16 @@ it("cpdp.v20190820.QueryContractPayWayList", async function () {
|
|
|
438
458
|
}
|
|
439
459
|
})
|
|
440
460
|
|
|
461
|
+
it("cpdp.v20190820.CreateCloudSubMerchant", async function () {
|
|
462
|
+
try {
|
|
463
|
+
const data = await client.CreateCloudSubMerchant({})
|
|
464
|
+
expect(data).to.be.ok
|
|
465
|
+
} catch(error) {
|
|
466
|
+
expect(error.requestId).to.be.ok
|
|
467
|
+
expect(error.code).to.be.ok
|
|
468
|
+
}
|
|
469
|
+
})
|
|
470
|
+
|
|
441
471
|
it("cpdp.v20190820.DeleteAgentTaxPaymentInfo", async function () {
|
|
442
472
|
try {
|
|
443
473
|
const data = await client.DeleteAgentTaxPaymentInfo({})
|
|
@@ -528,9 +558,9 @@ it("cpdp.v20190820.ConfirmOrder", async function () {
|
|
|
528
558
|
}
|
|
529
559
|
})
|
|
530
560
|
|
|
531
|
-
it("cpdp.v20190820.
|
|
561
|
+
it("cpdp.v20190820.QueryContractRelateShop", async function () {
|
|
532
562
|
try {
|
|
533
|
-
const data = await client.
|
|
563
|
+
const data = await client.QueryContractRelateShop({})
|
|
534
564
|
expect(data).to.be.ok
|
|
535
565
|
} catch(error) {
|
|
536
566
|
expect(error.requestId).to.be.ok
|
|
@@ -728,9 +758,9 @@ it("cpdp.v20190820.SyncContractData", async function () {
|
|
|
728
758
|
}
|
|
729
759
|
})
|
|
730
760
|
|
|
731
|
-
it("cpdp.v20190820.
|
|
761
|
+
it("cpdp.v20190820.UploadTaxList", async function () {
|
|
732
762
|
try {
|
|
733
|
-
const data = await client.
|
|
763
|
+
const data = await client.UploadTaxList({})
|
|
734
764
|
expect(data).to.be.ok
|
|
735
765
|
} catch(error) {
|
|
736
766
|
expect(error.requestId).to.be.ok
|
|
@@ -868,6 +898,16 @@ it("cpdp.v20190820.RevokeRechargeByThirdPay", async function () {
|
|
|
868
898
|
}
|
|
869
899
|
})
|
|
870
900
|
|
|
901
|
+
it("cpdp.v20190820.QueryCloudRefundOrder", async function () {
|
|
902
|
+
try {
|
|
903
|
+
const data = await client.QueryCloudRefundOrder({})
|
|
904
|
+
expect(data).to.be.ok
|
|
905
|
+
} catch(error) {
|
|
906
|
+
expect(error.requestId).to.be.ok
|
|
907
|
+
expect(error.code).to.be.ok
|
|
908
|
+
}
|
|
909
|
+
})
|
|
910
|
+
|
|
871
911
|
it("cpdp.v20190820.DownloadOrgFile", async function () {
|
|
872
912
|
try {
|
|
873
913
|
const data = await client.DownloadOrgFile({})
|
|
@@ -1028,9 +1068,9 @@ it("cpdp.v20190820.RevResigterBillSupportWithdraw", async function () {
|
|
|
1028
1068
|
}
|
|
1029
1069
|
})
|
|
1030
1070
|
|
|
1031
|
-
it("cpdp.v20190820.
|
|
1071
|
+
it("cpdp.v20190820.QueryCloudChannelData", async function () {
|
|
1032
1072
|
try {
|
|
1033
|
-
const data = await client.
|
|
1073
|
+
const data = await client.QueryCloudChannelData({})
|
|
1034
1074
|
expect(data).to.be.ok
|
|
1035
1075
|
} catch(error) {
|
|
1036
1076
|
expect(error.requestId).to.be.ok
|
|
@@ -1078,9 +1118,9 @@ it("cpdp.v20190820.CloseOpenBankPaymentOrder", async function () {
|
|
|
1078
1118
|
}
|
|
1079
1119
|
})
|
|
1080
1120
|
|
|
1081
|
-
it("cpdp.v20190820.
|
|
1121
|
+
it("cpdp.v20190820.RefundCloudOrder", async function () {
|
|
1082
1122
|
try {
|
|
1083
|
-
const data = await client.
|
|
1123
|
+
const data = await client.RefundCloudOrder({})
|
|
1084
1124
|
expect(data).to.be.ok
|
|
1085
1125
|
} catch(error) {
|
|
1086
1126
|
expect(error.requestId).to.be.ok
|
|
@@ -1188,6 +1228,16 @@ it("cpdp.v20190820.RegisterBill", async function () {
|
|
|
1188
1228
|
}
|
|
1189
1229
|
})
|
|
1190
1230
|
|
|
1231
|
+
it("cpdp.v20190820.QueryOpenBankDownLoadUrl", async function () {
|
|
1232
|
+
try {
|
|
1233
|
+
const data = await client.QueryOpenBankDownLoadUrl({})
|
|
1234
|
+
expect(data).to.be.ok
|
|
1235
|
+
} catch(error) {
|
|
1236
|
+
expect(error.requestId).to.be.ok
|
|
1237
|
+
expect(error.code).to.be.ok
|
|
1238
|
+
}
|
|
1239
|
+
})
|
|
1240
|
+
|
|
1191
1241
|
it("cpdp.v20190820.QueryOrderStatus", async function () {
|
|
1192
1242
|
try {
|
|
1193
1243
|
const data = await client.QueryOrderStatus({})
|
|
@@ -1408,9 +1458,9 @@ it("cpdp.v20190820.RefundMemberTransaction", async function () {
|
|
|
1408
1458
|
}
|
|
1409
1459
|
})
|
|
1410
1460
|
|
|
1411
|
-
it("cpdp.v20190820.
|
|
1461
|
+
it("cpdp.v20190820.AddMerchant", async function () {
|
|
1412
1462
|
try {
|
|
1413
|
-
const data = await client.
|
|
1463
|
+
const data = await client.AddMerchant({})
|
|
1414
1464
|
expect(data).to.be.ok
|
|
1415
1465
|
} catch(error) {
|
|
1416
1466
|
expect(error.requestId).to.be.ok
|
|
@@ -1478,6 +1528,16 @@ it("cpdp.v20190820.QueryOpenBankExternalSubMerchantRegistration", async function
|
|
|
1478
1528
|
}
|
|
1479
1529
|
})
|
|
1480
1530
|
|
|
1531
|
+
it("cpdp.v20190820.UnifiedCloudOrder", async function () {
|
|
1532
|
+
try {
|
|
1533
|
+
const data = await client.UnifiedCloudOrder({})
|
|
1534
|
+
expect(data).to.be.ok
|
|
1535
|
+
} catch(error) {
|
|
1536
|
+
expect(error.requestId).to.be.ok
|
|
1537
|
+
expect(error.code).to.be.ok
|
|
1538
|
+
}
|
|
1539
|
+
})
|
|
1540
|
+
|
|
1481
1541
|
it("cpdp.v20190820.QueryContractPayFee", async function () {
|
|
1482
1542
|
try {
|
|
1483
1543
|
const data = await client.QueryContractPayFee({})
|
|
@@ -1578,6 +1638,16 @@ it("cpdp.v20190820.QueryReconciliationDocument", async function () {
|
|
|
1578
1638
|
}
|
|
1579
1639
|
})
|
|
1580
1640
|
|
|
1641
|
+
it("cpdp.v20190820.CloseCloudOrder", async function () {
|
|
1642
|
+
try {
|
|
1643
|
+
const data = await client.CloseCloudOrder({})
|
|
1644
|
+
expect(data).to.be.ok
|
|
1645
|
+
} catch(error) {
|
|
1646
|
+
expect(error.requestId).to.be.ok
|
|
1647
|
+
expect(error.code).to.be.ok
|
|
1648
|
+
}
|
|
1649
|
+
})
|
|
1650
|
+
|
|
1581
1651
|
it("cpdp.v20190820.QueryExceedingInfo", async function () {
|
|
1582
1652
|
try {
|
|
1583
1653
|
const data = await client.QueryExceedingInfo({})
|
|
@@ -428,6 +428,16 @@ it("iotexplorer.v20190423.DescribeTopicRule", async function () {
|
|
|
428
428
|
}
|
|
429
429
|
})
|
|
430
430
|
|
|
431
|
+
it("iotexplorer.v20190423.PublishBroadcastMessage", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.PublishBroadcastMessage({})
|
|
434
|
+
expect(data).to.be.ok
|
|
435
|
+
} catch(error) {
|
|
436
|
+
expect(error.requestId).to.be.ok
|
|
437
|
+
expect(error.code).to.be.ok
|
|
438
|
+
}
|
|
439
|
+
})
|
|
440
|
+
|
|
431
441
|
it("iotexplorer.v20190423.UnbindProducts", async function () {
|
|
432
442
|
try {
|
|
433
443
|
const data = await client.UnbindProducts({})
|
|
@@ -218,4 +218,14 @@ it("ssa.v20180608.DescribeVulDetail", async function () {
|
|
|
218
218
|
}
|
|
219
219
|
})
|
|
220
220
|
|
|
221
|
+
it("ssa.v20180608.DescribeSocCheckResultList", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DescribeSocCheckResultList({})
|
|
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
|
+
|
|
221
231
|
})
|
|
@@ -18,9 +18,19 @@ const client = new tencentcloud.waf.v20180125.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("waf.v20180125.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("waf.v20180125.
|
|
21
|
+
it("waf.v20180125.DescribeAccessExports", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DescribeAccessExports({})
|
|
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("waf.v20180125.DescribeCustomRules", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeCustomRules({})
|
|
24
34
|
expect(data).to.be.ok
|
|
25
35
|
} catch(error) {
|
|
26
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +48,9 @@ it("waf.v20180125.ModifyCustomRuleStatus", async function () {
|
|
|
38
48
|
}
|
|
39
49
|
})
|
|
40
50
|
|
|
41
|
-
it("waf.v20180125.
|
|
51
|
+
it("waf.v20180125.DeleteAccessExport", async function () {
|
|
42
52
|
try {
|
|
43
|
-
const data = await client.
|
|
53
|
+
const data = await client.DeleteAccessExport({})
|
|
44
54
|
expect(data).to.be.ok
|
|
45
55
|
} catch(error) {
|
|
46
56
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +58,9 @@ it("waf.v20180125.DescribeAccessExports", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
51
|
-
it("waf.v20180125.
|
|
61
|
+
it("waf.v20180125.DeleteDomainWhiteRules", async function () {
|
|
52
62
|
try {
|
|
53
|
-
const data = await client.
|
|
63
|
+
const data = await client.DeleteDomainWhiteRules({})
|
|
54
64
|
expect(data).to.be.ok
|
|
55
65
|
} catch(error) {
|
|
56
66
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +68,109 @@ it("waf.v20180125.DescribeCustomRules", async function () {
|
|
|
58
68
|
}
|
|
59
69
|
})
|
|
60
70
|
|
|
61
|
-
it("waf.v20180125.
|
|
71
|
+
it("waf.v20180125.DescribeAccessIndex", async function () {
|
|
62
72
|
try {
|
|
63
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeAccessIndex({})
|
|
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("waf.v20180125.CreateAccessExport", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CreateAccessExport({})
|
|
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("waf.v20180125.DeleteIpAccessControl", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DeleteIpAccessControl({})
|
|
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("waf.v20180125.ModifyWafAutoDenyStatus", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.ModifyWafAutoDenyStatus({})
|
|
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("waf.v20180125.ModifyAccessPeriod", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.ModifyAccessPeriod({})
|
|
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("waf.v20180125.DescribeFlowTrend", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeFlowTrend({})
|
|
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("waf.v20180125.CreateAttackDownloadTask", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.CreateAttackDownloadTask({})
|
|
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("waf.v20180125.ModifyDomainWhiteRule", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ModifyDomainWhiteRule({})
|
|
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("waf.v20180125.DescribeAccessFastAnalysis", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeAccessFastAnalysis({})
|
|
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("waf.v20180125.DescribeAutoDenyIP", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeAutoDenyIP({})
|
|
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("waf.v20180125.DescribeWafAutoDenyStatus", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeWafAutoDenyStatus({})
|
|
64
174
|
expect(data).to.be.ok
|
|
65
175
|
} catch(error) {
|
|
66
176
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +188,9 @@ it("waf.v20180125.AddCustomRule", async function () {
|
|
|
78
188
|
}
|
|
79
189
|
})
|
|
80
190
|
|
|
81
|
-
it("waf.v20180125.
|
|
191
|
+
it("waf.v20180125.DescribeIpAccessControl", async function () {
|
|
82
192
|
try {
|
|
83
|
-
const data = await client.
|
|
193
|
+
const data = await client.DescribeIpAccessControl({})
|
|
84
194
|
expect(data).to.be.ok
|
|
85
195
|
} catch(error) {
|
|
86
196
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +198,9 @@ it("waf.v20180125.DeleteSession", async function () {
|
|
|
88
198
|
}
|
|
89
199
|
})
|
|
90
200
|
|
|
91
|
-
it("waf.v20180125.
|
|
201
|
+
it("waf.v20180125.ModifyWafThreatenIntelligence", async function () {
|
|
92
202
|
try {
|
|
93
|
-
const data = await client.
|
|
203
|
+
const data = await client.ModifyWafThreatenIntelligence({})
|
|
94
204
|
expect(data).to.be.ok
|
|
95
205
|
} catch(error) {
|
|
96
206
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +208,9 @@ it("waf.v20180125.SearchAccessLog", async function () {
|
|
|
98
208
|
}
|
|
99
209
|
})
|
|
100
210
|
|
|
101
|
-
it("waf.v20180125.
|
|
211
|
+
it("waf.v20180125.ModifyWafAutoDenyRules", async function () {
|
|
102
212
|
try {
|
|
103
|
-
const data = await client.
|
|
213
|
+
const data = await client.ModifyWafAutoDenyRules({})
|
|
104
214
|
expect(data).to.be.ok
|
|
105
215
|
} catch(error) {
|
|
106
216
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +228,9 @@ it("waf.v20180125.DescribeUserClbWafRegions", async function () {
|
|
|
118
228
|
}
|
|
119
229
|
})
|
|
120
230
|
|
|
121
|
-
it("waf.v20180125.
|
|
231
|
+
it("waf.v20180125.DeleteAttackDownloadRecord", async function () {
|
|
122
232
|
try {
|
|
123
|
-
const data = await client.
|
|
233
|
+
const data = await client.DeleteAttackDownloadRecord({})
|
|
124
234
|
expect(data).to.be.ok
|
|
125
235
|
} catch(error) {
|
|
126
236
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +238,9 @@ it("waf.v20180125.ModifyAccessPeriod", async function () {
|
|
|
128
238
|
}
|
|
129
239
|
})
|
|
130
240
|
|
|
131
|
-
it("waf.v20180125.
|
|
241
|
+
it("waf.v20180125.DescribeWafAutoDenyRules", async function () {
|
|
132
242
|
try {
|
|
133
|
-
const data = await client.
|
|
243
|
+
const data = await client.DescribeWafAutoDenyRules({})
|
|
134
244
|
expect(data).to.be.ok
|
|
135
245
|
} catch(error) {
|
|
136
246
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +248,9 @@ it("waf.v20180125.DescribeFlowTrend", async function () {
|
|
|
138
248
|
}
|
|
139
249
|
})
|
|
140
250
|
|
|
141
|
-
it("waf.v20180125.
|
|
251
|
+
it("waf.v20180125.DeleteDownloadRecord", async function () {
|
|
142
252
|
try {
|
|
143
|
-
const data = await client.
|
|
253
|
+
const data = await client.DeleteDownloadRecord({})
|
|
144
254
|
expect(data).to.be.ok
|
|
145
255
|
} catch(error) {
|
|
146
256
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +258,9 @@ it("waf.v20180125.DescribeAccessFastAnalysis", async function () {
|
|
|
148
258
|
}
|
|
149
259
|
})
|
|
150
260
|
|
|
151
|
-
it("waf.v20180125.
|
|
261
|
+
it("waf.v20180125.DeleteSession", async function () {
|
|
152
262
|
try {
|
|
153
|
-
const data = await client.
|
|
263
|
+
const data = await client.DeleteSession({})
|
|
154
264
|
expect(data).to.be.ok
|
|
155
265
|
} catch(error) {
|
|
156
266
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +268,9 @@ it("waf.v20180125.DescribeAccessIndex", async function () {
|
|
|
158
268
|
}
|
|
159
269
|
})
|
|
160
270
|
|
|
161
|
-
it("waf.v20180125.
|
|
271
|
+
it("waf.v20180125.DescribeDomainWhiteRules", async function () {
|
|
162
272
|
try {
|
|
163
|
-
const data = await client.
|
|
273
|
+
const data = await client.DescribeDomainWhiteRules({})
|
|
164
274
|
expect(data).to.be.ok
|
|
165
275
|
} catch(error) {
|
|
166
276
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +278,59 @@ it("waf.v20180125.CreateAccessExport", async function () {
|
|
|
168
278
|
}
|
|
169
279
|
})
|
|
170
280
|
|
|
171
|
-
it("waf.v20180125.
|
|
281
|
+
it("waf.v20180125.AddSpartaProtection", async function () {
|
|
172
282
|
try {
|
|
173
|
-
const data = await client.
|
|
283
|
+
const data = await client.AddSpartaProtection({})
|
|
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("waf.v20180125.DescribeWafThreatenIntelligence", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeWafThreatenIntelligence({})
|
|
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("waf.v20180125.SearchAccessLog", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.SearchAccessLog({})
|
|
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("waf.v20180125.DescribeIpHitItems", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.DescribeIpHitItems({})
|
|
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("waf.v20180125.AddDomainWhiteRule", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.AddDomainWhiteRule({})
|
|
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("waf.v20180125.UpsertIpAccessControl", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.UpsertIpAccessControl({})
|
|
174
334
|
expect(data).to.be.ok
|
|
175
335
|
} catch(error) {
|
|
176
336
|
expect(error.requestId).to.be.ok
|