tencentcloud-sdk-nodejs 4.0.704 → 4.0.705
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 +193 -0
- package/SERVICE_CHANGELOG.md +232 -162
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ccc/v20200210/ccc_client.ts +13 -1
- package/src/services/ccc/v20200210/ccc_models.ts +82 -25
- package/src/services/cdwpg/v20201230/cdwpg_client.ts +32 -17
- package/src/services/cdwpg/v20201230/cdwpg_models.ts +214 -18
- package/src/services/csip/v20221121/csip_client.ts +46 -7
- package/src/services/csip/v20221121/csip_models.ts +365 -57
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +2 -2
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -2
- package/src/services/live/v20180801/live_models.ts +13 -0
- package/src/services/ocr/v20181119/ocr_models.ts +23 -22
- package/src/services/privatedns/v20201028/privatedns_models.ts +1 -1
- package/src/services/rum/v20210622/rum_models.ts +5 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +3 -3
- package/src/services/tse/v20201207/tse_client.ts +12 -0
- package/src/services/tse/v20201207/tse_models.ts +53 -0
- package/src/services/waf/v20180125/waf_client.ts +68 -18
- package/src/services/waf/v20180125/waf_models.ts +239 -25
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- 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 +80 -25
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.d.ts +11 -7
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.js +15 -9
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +209 -18
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +13 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +18 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +355 -56
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +13 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +23 -22
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +1 -1
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +5 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +3 -3
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +51 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +21 -5
- package/tencentcloud/services/waf/v20180125/waf_client.js +30 -6
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +229 -25
- package/test/ccc.v20200210.test.js +10 -0
- package/test/cdwpg.v20201230.test.js +18 -8
- package/test/csip.v20221121.test.js +30 -0
- package/test/tse.v20201207.test.js +10 -0
- package/test/waf.v20180125.test.js +44 -4
|
@@ -171,13 +171,13 @@ export interface ModifyAntiInfoLeakRulesResponse {
|
|
|
171
171
|
RequestId?: string;
|
|
172
172
|
}
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
174
|
+
* ModifyObject返回参数结构体
|
|
175
175
|
*/
|
|
176
|
-
export interface
|
|
176
|
+
export interface ModifyObjectResponse {
|
|
177
177
|
/**
|
|
178
|
-
*
|
|
178
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
179
179
|
*/
|
|
180
|
-
|
|
180
|
+
RequestId?: string;
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
183
|
* DescribeCertificateVerifyResult请求参数结构体
|
|
@@ -680,6 +680,19 @@ export interface DescribeAntiFakeUrlRequest {
|
|
|
680
680
|
*/
|
|
681
681
|
PageInfo: PageInfo;
|
|
682
682
|
}
|
|
683
|
+
/**
|
|
684
|
+
* DeleteAttackWhiteRule请求参数结构体
|
|
685
|
+
*/
|
|
686
|
+
export interface DeleteAttackWhiteRuleRequest {
|
|
687
|
+
/**
|
|
688
|
+
* 规则序号组
|
|
689
|
+
*/
|
|
690
|
+
Ids: Array<number | bigint>;
|
|
691
|
+
/**
|
|
692
|
+
* 用户域名
|
|
693
|
+
*/
|
|
694
|
+
Domain: string;
|
|
695
|
+
}
|
|
683
696
|
/**
|
|
684
697
|
* 数据封装
|
|
685
698
|
*/
|
|
@@ -1180,6 +1193,20 @@ export interface GetAttackTotalCountResponse {
|
|
|
1180
1193
|
*/
|
|
1181
1194
|
RequestId?: string;
|
|
1182
1195
|
}
|
|
1196
|
+
/**
|
|
1197
|
+
* ModifyBotStatus返回参数结构体
|
|
1198
|
+
*/
|
|
1199
|
+
export interface ModifyBotStatusResponse {
|
|
1200
|
+
/**
|
|
1201
|
+
* 正常情况为null
|
|
1202
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1203
|
+
*/
|
|
1204
|
+
Data: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1207
|
+
*/
|
|
1208
|
+
RequestId?: string;
|
|
1209
|
+
}
|
|
1183
1210
|
/**
|
|
1184
1211
|
* DescribeAntiInfoLeakageRules返回参数结构体
|
|
1185
1212
|
*/
|
|
@@ -1572,6 +1599,43 @@ export interface DeleteCustomWhiteRuleRequest {
|
|
|
1572
1599
|
*/
|
|
1573
1600
|
RuleId: number;
|
|
1574
1601
|
}
|
|
1602
|
+
/**
|
|
1603
|
+
* 用户规则白名单
|
|
1604
|
+
*/
|
|
1605
|
+
export interface UserWhiteRule {
|
|
1606
|
+
/**
|
|
1607
|
+
* 白名单的id
|
|
1608
|
+
*/
|
|
1609
|
+
WhiteRuleId: number;
|
|
1610
|
+
/**
|
|
1611
|
+
* 规则id
|
|
1612
|
+
*/
|
|
1613
|
+
SignatureId: string;
|
|
1614
|
+
/**
|
|
1615
|
+
* 状态
|
|
1616
|
+
*/
|
|
1617
|
+
Status: number;
|
|
1618
|
+
/**
|
|
1619
|
+
* 匹配域
|
|
1620
|
+
*/
|
|
1621
|
+
MatchField: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* 匹配方法
|
|
1624
|
+
*/
|
|
1625
|
+
MatchMethod: string;
|
|
1626
|
+
/**
|
|
1627
|
+
* 匹配内容
|
|
1628
|
+
*/
|
|
1629
|
+
MatchContent: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* 创建时间
|
|
1632
|
+
*/
|
|
1633
|
+
CreateTime: string;
|
|
1634
|
+
/**
|
|
1635
|
+
* 修改时间
|
|
1636
|
+
*/
|
|
1637
|
+
ModifyTime: string;
|
|
1638
|
+
}
|
|
1575
1639
|
/**
|
|
1576
1640
|
* ModifyHostMode返回参数结构体
|
|
1577
1641
|
*/
|
|
@@ -1662,9 +1726,13 @@ export interface DescribeAutoDenyIPRequest {
|
|
|
1662
1726
|
Sort?: string;
|
|
1663
1727
|
}
|
|
1664
1728
|
/**
|
|
1665
|
-
*
|
|
1729
|
+
* AddAttackWhiteRule返回参数结构体
|
|
1666
1730
|
*/
|
|
1667
|
-
export interface
|
|
1731
|
+
export interface AddAttackWhiteRuleResponse {
|
|
1732
|
+
/**
|
|
1733
|
+
* 规则总数
|
|
1734
|
+
*/
|
|
1735
|
+
RuleId: number;
|
|
1668
1736
|
/**
|
|
1669
1737
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1670
1738
|
*/
|
|
@@ -1697,9 +1765,27 @@ export interface DescribeCustomRuleListResponse {
|
|
|
1697
1765
|
RequestId?: string;
|
|
1698
1766
|
}
|
|
1699
1767
|
/**
|
|
1700
|
-
*
|
|
1768
|
+
* 响应体的返回码
|
|
1701
1769
|
*/
|
|
1702
|
-
export interface
|
|
1770
|
+
export interface ResponseCode {
|
|
1771
|
+
/**
|
|
1772
|
+
* 如果成功则返回Success,失败则返回云api定义的错误码
|
|
1773
|
+
*/
|
|
1774
|
+
Code: string;
|
|
1775
|
+
/**
|
|
1776
|
+
* 如果成功则返回Success,失败则返回WAF定义的二级错误码
|
|
1777
|
+
*/
|
|
1778
|
+
Message: string;
|
|
1779
|
+
}
|
|
1780
|
+
/**
|
|
1781
|
+
* DeleteAttackWhiteRule返回参数结构体
|
|
1782
|
+
*/
|
|
1783
|
+
export interface DeleteAttackWhiteRuleResponse {
|
|
1784
|
+
/**
|
|
1785
|
+
* 删除失败的规则序号组
|
|
1786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1787
|
+
*/
|
|
1788
|
+
FailIds: Array<number | bigint>;
|
|
1703
1789
|
/**
|
|
1704
1790
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1705
1791
|
*/
|
|
@@ -1761,6 +1847,15 @@ export interface ClbHostResult {
|
|
|
1761
1847
|
*/
|
|
1762
1848
|
FlowMode: number;
|
|
1763
1849
|
}
|
|
1850
|
+
/**
|
|
1851
|
+
* ModifyWebshellStatus请求参数结构体
|
|
1852
|
+
*/
|
|
1853
|
+
export interface ModifyWebshellStatusRequest {
|
|
1854
|
+
/**
|
|
1855
|
+
* 域名webshell状态
|
|
1856
|
+
*/
|
|
1857
|
+
Webshell: WebshellStatus;
|
|
1858
|
+
}
|
|
1764
1859
|
/**
|
|
1765
1860
|
* DescribeVipInfo请求参数结构体
|
|
1766
1861
|
*/
|
|
@@ -1831,13 +1926,17 @@ export interface DeleteSpartaProtectionResponse {
|
|
|
1831
1926
|
RequestId?: string;
|
|
1832
1927
|
}
|
|
1833
1928
|
/**
|
|
1834
|
-
*
|
|
1929
|
+
* ModifyAttackWhiteRule返回参数结构体
|
|
1835
1930
|
*/
|
|
1836
|
-
export interface
|
|
1931
|
+
export interface ModifyAttackWhiteRuleResponse {
|
|
1837
1932
|
/**
|
|
1838
|
-
*
|
|
1933
|
+
* 规则总数
|
|
1839
1934
|
*/
|
|
1840
|
-
|
|
1935
|
+
RuleId: number;
|
|
1936
|
+
/**
|
|
1937
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1938
|
+
*/
|
|
1939
|
+
RequestId?: string;
|
|
1841
1940
|
}
|
|
1842
1941
|
/**
|
|
1843
1942
|
* DescribeAutoDenyIP返回参数结构体
|
|
@@ -2303,6 +2402,31 @@ export interface AccessRuleInfo {
|
|
|
2303
2402
|
*/
|
|
2304
2403
|
Tag: AccessRuleTagInfo;
|
|
2305
2404
|
}
|
|
2405
|
+
/**
|
|
2406
|
+
* ModifyAttackWhiteRule请求参数结构体
|
|
2407
|
+
*/
|
|
2408
|
+
export interface ModifyAttackWhiteRuleRequest {
|
|
2409
|
+
/**
|
|
2410
|
+
* 规则序号
|
|
2411
|
+
*/
|
|
2412
|
+
RuleId: number;
|
|
2413
|
+
/**
|
|
2414
|
+
* 域名
|
|
2415
|
+
*/
|
|
2416
|
+
Domain: string;
|
|
2417
|
+
/**
|
|
2418
|
+
* 规则Id
|
|
2419
|
+
*/
|
|
2420
|
+
SignatureId: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* 规则状态
|
|
2423
|
+
*/
|
|
2424
|
+
Status: number;
|
|
2425
|
+
/**
|
|
2426
|
+
* 匹配规则项列表
|
|
2427
|
+
*/
|
|
2428
|
+
Rules: Array<UserWhiteRuleItem>;
|
|
2429
|
+
}
|
|
2306
2430
|
/**
|
|
2307
2431
|
* clb-waf防护域名
|
|
2308
2432
|
*/
|
|
@@ -3526,18 +3650,33 @@ export interface ModifySpartaProtectionModeResponse {
|
|
|
3526
3650
|
RequestId?: string;
|
|
3527
3651
|
}
|
|
3528
3652
|
/**
|
|
3529
|
-
*
|
|
3653
|
+
* DescribeAttackWhiteRule请求参数结构体
|
|
3530
3654
|
*/
|
|
3531
|
-
export interface
|
|
3655
|
+
export interface DescribeAttackWhiteRuleRequest {
|
|
3532
3656
|
/**
|
|
3533
|
-
*
|
|
3534
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3657
|
+
* 需要查询的域名
|
|
3535
3658
|
*/
|
|
3536
|
-
|
|
3659
|
+
Domain: string;
|
|
3537
3660
|
/**
|
|
3538
|
-
*
|
|
3661
|
+
* 分页
|
|
3539
3662
|
*/
|
|
3540
|
-
|
|
3663
|
+
Offset: number;
|
|
3664
|
+
/**
|
|
3665
|
+
* 每页容量
|
|
3666
|
+
*/
|
|
3667
|
+
Limit: number;
|
|
3668
|
+
/**
|
|
3669
|
+
* 排序字段,支持user_id, signature_id, modify_time
|
|
3670
|
+
*/
|
|
3671
|
+
By?: string;
|
|
3672
|
+
/**
|
|
3673
|
+
* 排序方式
|
|
3674
|
+
*/
|
|
3675
|
+
Order?: string;
|
|
3676
|
+
/**
|
|
3677
|
+
* 筛选条件,支持SignatureId, MatchContent
|
|
3678
|
+
*/
|
|
3679
|
+
Filters?: Array<FiltersItemNew>;
|
|
3541
3680
|
}
|
|
3542
3681
|
/**
|
|
3543
3682
|
* DescribeDomainDetailsSaas请求参数结构体
|
|
@@ -4896,6 +5035,31 @@ export interface DomainPackageNew {
|
|
|
4896
5035
|
*/
|
|
4897
5036
|
Region: string;
|
|
4898
5037
|
}
|
|
5038
|
+
/**
|
|
5039
|
+
* AddAttackWhiteRule请求参数结构体
|
|
5040
|
+
*/
|
|
5041
|
+
export interface AddAttackWhiteRuleRequest {
|
|
5042
|
+
/**
|
|
5043
|
+
* 域名
|
|
5044
|
+
*/
|
|
5045
|
+
Domain: string;
|
|
5046
|
+
/**
|
|
5047
|
+
* 规则Id
|
|
5048
|
+
*/
|
|
5049
|
+
SignatureId: string;
|
|
5050
|
+
/**
|
|
5051
|
+
* 规则状态
|
|
5052
|
+
*/
|
|
5053
|
+
Status: number;
|
|
5054
|
+
/**
|
|
5055
|
+
* 匹配规则项列表
|
|
5056
|
+
*/
|
|
5057
|
+
Rules: Array<UserWhiteRuleItem>;
|
|
5058
|
+
/**
|
|
5059
|
+
* 规则序号
|
|
5060
|
+
*/
|
|
5061
|
+
RuleId?: number;
|
|
5062
|
+
}
|
|
4899
5063
|
/**
|
|
4900
5064
|
* AddCustomRule请求参数结构体
|
|
4901
5065
|
*/
|
|
@@ -5814,6 +5978,32 @@ export interface TargetEntity {
|
|
|
5814
5978
|
*/
|
|
5815
5979
|
Domain?: string;
|
|
5816
5980
|
}
|
|
5981
|
+
/**
|
|
5982
|
+
* 用户规则白名单规则子项
|
|
5983
|
+
*/
|
|
5984
|
+
export interface UserWhiteRuleItem {
|
|
5985
|
+
/**
|
|
5986
|
+
* 匹配域
|
|
5987
|
+
*/
|
|
5988
|
+
MatchField: string;
|
|
5989
|
+
/**
|
|
5990
|
+
* 匹配方法
|
|
5991
|
+
*/
|
|
5992
|
+
MatchMethod: string;
|
|
5993
|
+
/**
|
|
5994
|
+
* 匹配内容
|
|
5995
|
+
*/
|
|
5996
|
+
MatchContent: string;
|
|
5997
|
+
}
|
|
5998
|
+
/**
|
|
5999
|
+
* 参数包装
|
|
6000
|
+
*/
|
|
6001
|
+
export interface SessionData {
|
|
6002
|
+
/**
|
|
6003
|
+
* session定义
|
|
6004
|
+
*/
|
|
6005
|
+
Res: Array<SessionItem>;
|
|
6006
|
+
}
|
|
5817
6007
|
/**
|
|
5818
6008
|
* cc规则
|
|
5819
6009
|
*/
|
|
@@ -6109,6 +6299,15 @@ export interface DescribeDomainWhiteRulesResponse {
|
|
|
6109
6299
|
*/
|
|
6110
6300
|
RequestId?: string;
|
|
6111
6301
|
}
|
|
6302
|
+
/**
|
|
6303
|
+
* ModifyDomainsCLSStatus返回参数结构体
|
|
6304
|
+
*/
|
|
6305
|
+
export interface ModifyDomainsCLSStatusResponse {
|
|
6306
|
+
/**
|
|
6307
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6308
|
+
*/
|
|
6309
|
+
RequestId?: string;
|
|
6310
|
+
}
|
|
6112
6311
|
/**
|
|
6113
6312
|
* DescribeWafThreatenIntelligence返回参数结构体
|
|
6114
6313
|
*/
|
|
@@ -6892,17 +7091,22 @@ export interface DomainURI {
|
|
|
6892
7091
|
Edition: string;
|
|
6893
7092
|
}
|
|
6894
7093
|
/**
|
|
6895
|
-
*
|
|
7094
|
+
* DescribeAttackWhiteRule返回参数结构体
|
|
6896
7095
|
*/
|
|
6897
|
-
export interface
|
|
7096
|
+
export interface DescribeAttackWhiteRuleResponse {
|
|
6898
7097
|
/**
|
|
6899
|
-
*
|
|
7098
|
+
* 规则总数
|
|
6900
7099
|
*/
|
|
6901
|
-
|
|
7100
|
+
Total: number;
|
|
6902
7101
|
/**
|
|
6903
|
-
*
|
|
7102
|
+
* 规则白名单列表
|
|
7103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6904
7104
|
*/
|
|
6905
|
-
|
|
7105
|
+
List: Array<UserWhiteRule>;
|
|
7106
|
+
/**
|
|
7107
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7108
|
+
*/
|
|
7109
|
+
RequestId?: string;
|
|
6906
7110
|
}
|
|
6907
7111
|
/**
|
|
6908
7112
|
* ModifyAntiInfoLeakRuleStatus请求参数结构体
|
|
@@ -378,6 +378,16 @@ it("ccc.v20200210.DescribeProtectedTelCdr", async function () {
|
|
|
378
378
|
}
|
|
379
379
|
})
|
|
380
380
|
|
|
381
|
+
it("ccc.v20200210.DescribeIMCdrList", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.DescribeIMCdrList({})
|
|
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
|
+
|
|
381
391
|
it("ccc.v20200210.DescribeCallInMetrics", async function () {
|
|
382
392
|
try {
|
|
383
393
|
const data = await client.DescribeCallInMetrics({})
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.cdwpg.v20201230.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("cdwpg.v20201230.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("cdwpg.v20201230.
|
|
21
|
+
it("cdwpg.v20201230.DescribeInstanceState", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DescribeInstanceState({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("cdwpg.v20201230.DestroyInstanceByApi", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("cdwpg.v20201230.
|
|
31
|
+
it("cdwpg.v20201230.DestroyInstanceByApi", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DestroyInstanceByApi({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("cdwpg.v20201230.CreateInstanceByApi", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("cdwpg.v20201230.
|
|
41
|
+
it("cdwpg.v20201230.DescribeInstance", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DescribeInstance({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("cdwpg.v20201230.DescribeInstanceState", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("cdwpg.v20201230.
|
|
51
|
+
it("cdwpg.v20201230.CreateInstanceByApi", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.CreateInstanceByApi({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -68,4 +68,14 @@ it("cdwpg.v20201230.DescribeSimpleInstances", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("cdwpg.v20201230.ModifyInstance", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyInstance({})
|
|
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
|
})
|
|
@@ -38,6 +38,16 @@ it("csip.v20221121.DescribeDbAssetInfo", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("csip.v20221121.DescribeRiskCenterVULViewVULRiskList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeRiskCenterVULViewVULRiskList({})
|
|
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("csip.v20221121.DescribeDomainAssets", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.DescribeDomainAssets({})
|
|
@@ -248,6 +258,16 @@ it("csip.v20221121.DescribeDbAssets", async function () {
|
|
|
248
258
|
}
|
|
249
259
|
})
|
|
250
260
|
|
|
261
|
+
it("csip.v20221121.DescribeRiskCenterPortViewPortRiskList", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DescribeRiskCenterPortViewPortRiskList({})
|
|
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
|
+
|
|
251
271
|
it("csip.v20221121.DescribeRiskCenterAssetViewPortRiskList", async function () {
|
|
252
272
|
try {
|
|
253
273
|
const data = await client.DescribeRiskCenterAssetViewPortRiskList({})
|
|
@@ -258,6 +278,16 @@ it("csip.v20221121.DescribeRiskCenterAssetViewPortRiskList", async function () {
|
|
|
258
278
|
}
|
|
259
279
|
})
|
|
260
280
|
|
|
281
|
+
it("csip.v20221121.ModifyRiskCenterRiskStatus", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.ModifyRiskCenterRiskStatus({})
|
|
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
|
+
|
|
261
291
|
it("csip.v20221121.StopRiskCenterTask", async function () {
|
|
262
292
|
try {
|
|
263
293
|
const data = await client.StopRiskCenterTask({})
|
|
@@ -178,6 +178,16 @@ it("tse.v20201207.DeleteEngine", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
+
it("tse.v20201207.ModifyCloudNativeAPIGatewayCertificate", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.ModifyCloudNativeAPIGatewayCertificate({})
|
|
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
|
+
|
|
181
191
|
it("tse.v20201207.DeleteCloudNativeAPIGatewayCanaryRule", async function () {
|
|
182
192
|
try {
|
|
183
193
|
const data = await client.DeleteCloudNativeAPIGatewayCanaryRule({})
|
|
@@ -558,6 +558,16 @@ it("waf.v20180125.DescribeWafInfo", async function () {
|
|
|
558
558
|
}
|
|
559
559
|
})
|
|
560
560
|
|
|
561
|
+
it("waf.v20180125.DescribeAttackWhiteRule", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DescribeAttackWhiteRule({})
|
|
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
|
+
|
|
561
571
|
it("waf.v20180125.DescribeHosts", async function () {
|
|
562
572
|
try {
|
|
563
573
|
const data = await client.DescribeHosts({})
|
|
@@ -608,9 +618,9 @@ it("waf.v20180125.ModifyHost", async function () {
|
|
|
608
618
|
}
|
|
609
619
|
})
|
|
610
620
|
|
|
611
|
-
it("waf.v20180125.
|
|
621
|
+
it("waf.v20180125.ModifyBotStatus", async function () {
|
|
612
622
|
try {
|
|
613
|
-
const data = await client.
|
|
623
|
+
const data = await client.ModifyBotStatus({})
|
|
614
624
|
expect(data).to.be.ok
|
|
615
625
|
} catch(error) {
|
|
616
626
|
expect(error.requestId).to.be.ok
|
|
@@ -688,9 +698,9 @@ it("waf.v20180125.DeleteDownloadRecord", async function () {
|
|
|
688
698
|
}
|
|
689
699
|
})
|
|
690
700
|
|
|
691
|
-
it("waf.v20180125.
|
|
701
|
+
it("waf.v20180125.DescribeTlsVersion", async function () {
|
|
692
702
|
try {
|
|
693
|
-
const data = await client.
|
|
703
|
+
const data = await client.DescribeTlsVersion({})
|
|
694
704
|
expect(data).to.be.ok
|
|
695
705
|
} catch(error) {
|
|
696
706
|
expect(error.requestId).to.be.ok
|
|
@@ -758,6 +768,16 @@ it("waf.v20180125.ModifyCustomRuleStatus", async function () {
|
|
|
758
768
|
}
|
|
759
769
|
})
|
|
760
770
|
|
|
771
|
+
it("waf.v20180125.DeleteAttackWhiteRule", async function () {
|
|
772
|
+
try {
|
|
773
|
+
const data = await client.DeleteAttackWhiteRule({})
|
|
774
|
+
expect(data).to.be.ok
|
|
775
|
+
} catch(error) {
|
|
776
|
+
expect(error.requestId).to.be.ok
|
|
777
|
+
expect(error.code).to.be.ok
|
|
778
|
+
}
|
|
779
|
+
})
|
|
780
|
+
|
|
761
781
|
it("waf.v20180125.DescribeIpAccessControl", async function () {
|
|
762
782
|
try {
|
|
763
783
|
const data = await client.DescribeIpAccessControl({})
|
|
@@ -768,6 +788,16 @@ it("waf.v20180125.DescribeIpAccessControl", async function () {
|
|
|
768
788
|
}
|
|
769
789
|
})
|
|
770
790
|
|
|
791
|
+
it("waf.v20180125.AddAttackWhiteRule", async function () {
|
|
792
|
+
try {
|
|
793
|
+
const data = await client.AddAttackWhiteRule({})
|
|
794
|
+
expect(data).to.be.ok
|
|
795
|
+
} catch(error) {
|
|
796
|
+
expect(error.requestId).to.be.ok
|
|
797
|
+
expect(error.code).to.be.ok
|
|
798
|
+
}
|
|
799
|
+
})
|
|
800
|
+
|
|
771
801
|
it("waf.v20180125.DescribeDomainCountInfo", async function () {
|
|
772
802
|
try {
|
|
773
803
|
const data = await client.DescribeDomainCountInfo({})
|
|
@@ -988,6 +1018,16 @@ it("waf.v20180125.DescribeInstances", async function () {
|
|
|
988
1018
|
}
|
|
989
1019
|
})
|
|
990
1020
|
|
|
1021
|
+
it("waf.v20180125.ModifyAttackWhiteRule", async function () {
|
|
1022
|
+
try {
|
|
1023
|
+
const data = await client.ModifyAttackWhiteRule({})
|
|
1024
|
+
expect(data).to.be.ok
|
|
1025
|
+
} catch(error) {
|
|
1026
|
+
expect(error.requestId).to.be.ok
|
|
1027
|
+
expect(error.code).to.be.ok
|
|
1028
|
+
}
|
|
1029
|
+
})
|
|
1030
|
+
|
|
991
1031
|
it("waf.v20180125.ModifyUserSignatureRule", async function () {
|
|
992
1032
|
try {
|
|
993
1033
|
const data = await client.ModifyUserSignatureRule({})
|