tencentcloud-sdk-nodejs 4.0.581 → 4.0.582
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 +109 -0
- package/SERVICE_CHANGELOG.md +152 -34
- package/package.json +1 -1
- package/products.md +9 -9
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cwp/v20180228/cwp_client.ts +4 -2
- package/src/services/ess/v20201111/ess_client.ts +25 -1
- package/src/services/ess/v20201111/ess_models.ts +78 -8
- package/src/services/rum/v20210622/rum_client.ts +86 -38
- package/src/services/rum/v20210622/rum_models.ts +283 -13
- package/src/services/trp/v20210515/trp_client.ts +55 -17
- package/src/services/trp/v20210515/trp_models.ts +157 -26
- package/src/services/waf/v20180125/waf_client.ts +39 -14
- package/src/services/waf/v20180125/waf_models.ts +197 -25
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +3 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +3 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +12 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +68 -8
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +29 -13
- package/tencentcloud/services/rum/v20210622/rum_client.js +42 -18
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +236 -12
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +17 -5
- package/tencentcloud/services/trp/v20210515/trp_client.js +24 -6
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +140 -26
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -5
- package/tencentcloud/services/waf/v20180125/waf_client.js +18 -6
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +168 -23
- package/test/ess.v20201111.test.js +20 -0
- package/test/rum.v20210622.test.js +52 -12
- package/test/trp.v20210515.test.js +34 -4
- package/test/waf.v20180125.test.js +24 -4
|
@@ -846,13 +846,13 @@ export interface DescribeProductsResponse {
|
|
|
846
846
|
}
|
|
847
847
|
|
|
848
848
|
/**
|
|
849
|
-
*
|
|
849
|
+
* CreateTraceChain返回参数结构体
|
|
850
850
|
*/
|
|
851
|
-
export interface
|
|
851
|
+
export interface CreateTraceChainResponse {
|
|
852
852
|
/**
|
|
853
|
-
*
|
|
853
|
+
* 溯源ID
|
|
854
854
|
*/
|
|
855
|
-
|
|
855
|
+
TraceId: string
|
|
856
856
|
|
|
857
857
|
/**
|
|
858
858
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -946,28 +946,28 @@ export interface ModifyTraceDataResponse {
|
|
|
946
946
|
}
|
|
947
947
|
|
|
948
948
|
/**
|
|
949
|
-
*
|
|
949
|
+
* AuthorizedTransfer返回参数结构体
|
|
950
950
|
*/
|
|
951
|
-
export interface
|
|
951
|
+
export interface AuthorizedTransferResponse {
|
|
952
952
|
/**
|
|
953
|
-
*
|
|
953
|
+
* 业务出参。
|
|
954
954
|
*/
|
|
955
|
-
|
|
955
|
+
Data?: OutputAuthorizedTransfer
|
|
956
956
|
|
|
957
957
|
/**
|
|
958
|
-
*
|
|
958
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
959
959
|
*/
|
|
960
|
-
|
|
960
|
+
RequestId?: string
|
|
961
961
|
}
|
|
962
962
|
|
|
963
963
|
/**
|
|
964
|
-
*
|
|
964
|
+
* CreateCodeBatch返回参数结构体
|
|
965
965
|
*/
|
|
966
|
-
export interface
|
|
966
|
+
export interface CreateCodeBatchResponse {
|
|
967
967
|
/**
|
|
968
|
-
*
|
|
968
|
+
* 批次ID
|
|
969
969
|
*/
|
|
970
|
-
|
|
970
|
+
BatchId: string
|
|
971
971
|
|
|
972
972
|
/**
|
|
973
973
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1374,6 +1374,21 @@ export interface TraceData {
|
|
|
1374
1374
|
Status: number
|
|
1375
1375
|
}
|
|
1376
1376
|
|
|
1377
|
+
/**
|
|
1378
|
+
* EffectFeedback返回参数结构体
|
|
1379
|
+
*/
|
|
1380
|
+
export interface EffectFeedbackResponse {
|
|
1381
|
+
/**
|
|
1382
|
+
* 业务出参。
|
|
1383
|
+
*/
|
|
1384
|
+
Data?: OutputAuthorizedTransfer
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1388
|
+
*/
|
|
1389
|
+
RequestId?: string
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1377
1392
|
/**
|
|
1378
1393
|
* 层级码配置
|
|
1379
1394
|
*/
|
|
@@ -1560,6 +1575,26 @@ export interface DescribeCorpQuotasRequest {
|
|
|
1560
1575
|
Keyword?: string
|
|
1561
1576
|
}
|
|
1562
1577
|
|
|
1578
|
+
/**
|
|
1579
|
+
* AuthorizedTransfer请求参数结构体
|
|
1580
|
+
*/
|
|
1581
|
+
export interface AuthorizedTransferRequest {
|
|
1582
|
+
/**
|
|
1583
|
+
* 业务加密入参。
|
|
1584
|
+
*/
|
|
1585
|
+
BusinessSecurityData: InputEncryptData
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* ReportBatchCallbackStatus请求参数结构体
|
|
1590
|
+
*/
|
|
1591
|
+
export interface ReportBatchCallbackStatusRequest {
|
|
1592
|
+
/**
|
|
1593
|
+
* 业务加密入参。
|
|
1594
|
+
*/
|
|
1595
|
+
BusinessSecurityData: InputEncryptData
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1563
1598
|
/**
|
|
1564
1599
|
* CreateProduct请求参数结构体
|
|
1565
1600
|
*/
|
|
@@ -1842,6 +1877,21 @@ export interface DescribeCustomRuleByIdRequest {
|
|
|
1842
1877
|
CorpId?: number
|
|
1843
1878
|
}
|
|
1844
1879
|
|
|
1880
|
+
/**
|
|
1881
|
+
* ReportBatchCallbackStatus返回参数结构体
|
|
1882
|
+
*/
|
|
1883
|
+
export interface ReportBatchCallbackStatusResponse {
|
|
1884
|
+
/**
|
|
1885
|
+
* 业务出参。
|
|
1886
|
+
*/
|
|
1887
|
+
Data?: OutputAuthorizedTransfer
|
|
1888
|
+
|
|
1889
|
+
/**
|
|
1890
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1891
|
+
*/
|
|
1892
|
+
RequestId?: string
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1845
1895
|
/**
|
|
1846
1896
|
* 上链数据
|
|
1847
1897
|
*/
|
|
@@ -1900,6 +1950,21 @@ export interface PhaseData {
|
|
|
1900
1950
|
AppName?: string
|
|
1901
1951
|
}
|
|
1902
1952
|
|
|
1953
|
+
/**
|
|
1954
|
+
* DeleteProduct请求参数结构体
|
|
1955
|
+
*/
|
|
1956
|
+
export interface DeleteProductRequest {
|
|
1957
|
+
/**
|
|
1958
|
+
* 商品ID
|
|
1959
|
+
*/
|
|
1960
|
+
ProductId: string
|
|
1961
|
+
|
|
1962
|
+
/**
|
|
1963
|
+
* 企业ID
|
|
1964
|
+
*/
|
|
1965
|
+
CorpId?: number
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1903
1968
|
/**
|
|
1904
1969
|
* ModifyTraceDataRanks请求参数结构体
|
|
1905
1970
|
*/
|
|
@@ -2038,6 +2103,29 @@ export interface DeleteProductResponse {
|
|
|
2038
2103
|
RequestId?: string
|
|
2039
2104
|
}
|
|
2040
2105
|
|
|
2106
|
+
/**
|
|
2107
|
+
* 业务出参
|
|
2108
|
+
*/
|
|
2109
|
+
export interface OutputAuthorizedTransfer {
|
|
2110
|
+
/**
|
|
2111
|
+
* 推送状态,0表示成功。
|
|
2112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2113
|
+
*/
|
|
2114
|
+
Code?: number
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* 错误码。
|
|
2118
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2119
|
+
*/
|
|
2120
|
+
Message?: string
|
|
2121
|
+
|
|
2122
|
+
/**
|
|
2123
|
+
* 错误信息描述。
|
|
2124
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2125
|
+
*/
|
|
2126
|
+
Value?: string
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2041
2129
|
/**
|
|
2042
2130
|
* DeleteTraceData返回参数结构体
|
|
2043
2131
|
*/
|
|
@@ -2105,6 +2193,16 @@ export interface DescribeMerchantByIdResponse {
|
|
|
2105
2193
|
RequestId?: string
|
|
2106
2194
|
}
|
|
2107
2195
|
|
|
2196
|
+
/**
|
|
2197
|
+
* EffectFeedback请求参数结构体
|
|
2198
|
+
*/
|
|
2199
|
+
export interface EffectFeedbackRequest {
|
|
2200
|
+
/**
|
|
2201
|
+
* 业务加密入参。
|
|
2202
|
+
*/
|
|
2203
|
+
BusinessSecurityData: InputEncryptData
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2108
2206
|
/**
|
|
2109
2207
|
* DescribeTraceDataById返回参数结构体
|
|
2110
2208
|
*/
|
|
@@ -2602,6 +2700,39 @@ export interface DescribeTraceDataByIdRequest {
|
|
|
2602
2700
|
CorpId?: number
|
|
2603
2701
|
}
|
|
2604
2702
|
|
|
2703
|
+
/**
|
|
2704
|
+
* 业务加密入参
|
|
2705
|
+
*/
|
|
2706
|
+
export interface InputEncryptData {
|
|
2707
|
+
/**
|
|
2708
|
+
* 加密方式,0:AES加密;
|
|
2709
|
+
|
|
2710
|
+
*/
|
|
2711
|
+
EncryptMethod: number
|
|
2712
|
+
|
|
2713
|
+
/**
|
|
2714
|
+
* 加密算法中的块处理模式,1:CBC模式; 目前只支持CBC模式
|
|
2715
|
+
*/
|
|
2716
|
+
EncryptMode: number
|
|
2717
|
+
|
|
2718
|
+
/**
|
|
2719
|
+
* 填充模式,0:ZeroPadding;1:PKCS5Padding;2:
|
|
2720
|
+
PKCS7Padding。
|
|
2721
|
+
*/
|
|
2722
|
+
PaddingType: number
|
|
2723
|
+
|
|
2724
|
+
/**
|
|
2725
|
+
* 加密数据,将AuthorizedData结构体数组(数组最大长度不超过20)序列化成JSON字符串,对得到的字符串加密并填充到该字段。
|
|
2726
|
+
*/
|
|
2727
|
+
EncryptData: string
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* 用户是否授权,本接口取值:1,已授权。
|
|
2731
|
+
|
|
2732
|
+
*/
|
|
2733
|
+
IsAuthorized?: number
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2605
2736
|
/**
|
|
2606
2737
|
* 商户信息
|
|
2607
2738
|
*/
|
|
@@ -3075,18 +3206,18 @@ export interface DescribeTraceCodeByIdRequest {
|
|
|
3075
3206
|
}
|
|
3076
3207
|
|
|
3077
3208
|
/**
|
|
3078
|
-
*
|
|
3209
|
+
* ModifyCodeBatch返回参数结构体
|
|
3079
3210
|
*/
|
|
3080
|
-
export interface
|
|
3211
|
+
export interface ModifyCodeBatchResponse {
|
|
3081
3212
|
/**
|
|
3082
|
-
*
|
|
3213
|
+
* 批次ID
|
|
3083
3214
|
*/
|
|
3084
|
-
|
|
3215
|
+
BatchId?: string
|
|
3085
3216
|
|
|
3086
3217
|
/**
|
|
3087
|
-
*
|
|
3218
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3088
3219
|
*/
|
|
3089
|
-
|
|
3220
|
+
RequestId?: string
|
|
3090
3221
|
}
|
|
3091
3222
|
|
|
3092
3223
|
/**
|
|
@@ -3188,16 +3319,16 @@ export interface DescribeCodePackUrlResponse {
|
|
|
3188
3319
|
}
|
|
3189
3320
|
|
|
3190
3321
|
/**
|
|
3191
|
-
*
|
|
3322
|
+
* DeleteMerchant请求参数结构体
|
|
3192
3323
|
*/
|
|
3193
|
-
export interface
|
|
3324
|
+
export interface DeleteMerchantRequest {
|
|
3194
3325
|
/**
|
|
3195
|
-
*
|
|
3326
|
+
* 商户标识码
|
|
3196
3327
|
*/
|
|
3197
|
-
|
|
3328
|
+
MerchantId: string
|
|
3198
3329
|
|
|
3199
3330
|
/**
|
|
3200
|
-
*
|
|
3331
|
+
* 企业ID
|
|
3201
3332
|
*/
|
|
3202
|
-
|
|
3333
|
+
CorpId?: number
|
|
3203
3334
|
}
|
|
@@ -30,12 +30,14 @@ import {
|
|
|
30
30
|
DescribeWafAutoDenyStatusRequest,
|
|
31
31
|
DescribeCustomWhiteRuleResponse,
|
|
32
32
|
AccessLogItems,
|
|
33
|
-
|
|
33
|
+
DescribePeakValueResponse,
|
|
34
|
+
AddDomainWhiteRuleResponse,
|
|
34
35
|
DescribeIpAccessControlResponse,
|
|
35
36
|
LoadBalancerPackageNew,
|
|
36
37
|
DescribeInstancesResponse,
|
|
37
38
|
ModifyDomainWhiteRuleRequest,
|
|
38
39
|
AccessRuleTagInfo,
|
|
40
|
+
DescribePeakPointsRequest,
|
|
39
41
|
DescribeAccessIndexRequest,
|
|
40
42
|
DomainInfo,
|
|
41
43
|
AccessLogItem,
|
|
@@ -69,6 +71,7 @@ import {
|
|
|
69
71
|
CreateHostRequest,
|
|
70
72
|
ModifyAreaBanStatusRequest,
|
|
71
73
|
AddSpartaProtectionRequest,
|
|
74
|
+
PeakPointsItem,
|
|
72
75
|
PostAttackDownloadTaskRequest,
|
|
73
76
|
DescribePolicyStatusRequest,
|
|
74
77
|
DescribeAccessFastAnalysisRequest,
|
|
@@ -90,11 +93,12 @@ import {
|
|
|
90
93
|
PortItem,
|
|
91
94
|
WafThreatenIntelligenceDetails,
|
|
92
95
|
DescribeDomainWhiteRulesRequest,
|
|
93
|
-
AddDomainWhiteRuleResponse,
|
|
94
96
|
ModifyCustomRuleStatusRequest,
|
|
97
|
+
DescribePeakPointsResponse,
|
|
95
98
|
DeleteDownloadRecordResponse,
|
|
96
99
|
ModifyAccessPeriodRequest,
|
|
97
100
|
DescribeAttackOverviewRequest,
|
|
101
|
+
DescribePeakValueRequest,
|
|
98
102
|
BotQPS,
|
|
99
103
|
ModifyWafAutoDenyRulesResponse,
|
|
100
104
|
SearchAttackLogResponse,
|
|
@@ -109,6 +113,7 @@ import {
|
|
|
109
113
|
DescribeDomainDetailsSaasResponse,
|
|
110
114
|
AccessKeyValueInfo,
|
|
111
115
|
AddCustomRuleRequest,
|
|
116
|
+
DescribeWafAutoDenyRulesResponse,
|
|
112
117
|
FraudPkg,
|
|
113
118
|
ModifyAreaBanStatusResponse,
|
|
114
119
|
ModifyDomainWhiteRuleResponse,
|
|
@@ -171,13 +176,13 @@ export class Client extends AbstractClient {
|
|
|
171
176
|
}
|
|
172
177
|
|
|
173
178
|
/**
|
|
174
|
-
*
|
|
179
|
+
* 查询业务和攻击概要趋势
|
|
175
180
|
*/
|
|
176
|
-
async
|
|
177
|
-
req:
|
|
178
|
-
cb?: (error: string, rep:
|
|
179
|
-
): Promise<
|
|
180
|
-
return this.request("
|
|
181
|
+
async DescribePeakPoints(
|
|
182
|
+
req: DescribePeakPointsRequest,
|
|
183
|
+
cb?: (error: string, rep: DescribePeakPointsResponse) => void
|
|
184
|
+
): Promise<DescribePeakPointsResponse> {
|
|
185
|
+
return this.request("DescribePeakPoints", req, cb)
|
|
181
186
|
}
|
|
182
187
|
|
|
183
188
|
/**
|
|
@@ -423,13 +428,23 @@ export class Client extends AbstractClient {
|
|
|
423
428
|
}
|
|
424
429
|
|
|
425
430
|
/**
|
|
426
|
-
*
|
|
431
|
+
* 开启或禁用访问控制(自定义策略)
|
|
427
432
|
*/
|
|
428
|
-
async
|
|
429
|
-
req:
|
|
430
|
-
cb?: (error: string, rep:
|
|
431
|
-
): Promise<
|
|
432
|
-
return this.request("
|
|
433
|
+
async ModifyCustomRuleStatus(
|
|
434
|
+
req: ModifyCustomRuleStatusRequest,
|
|
435
|
+
cb?: (error: string, rep: ModifyCustomRuleStatusResponse) => void
|
|
436
|
+
): Promise<ModifyCustomRuleStatusResponse> {
|
|
437
|
+
return this.request("ModifyCustomRuleStatus", req, cb)
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* 获取业务和攻击概览峰值
|
|
442
|
+
*/
|
|
443
|
+
async DescribePeakValue(
|
|
444
|
+
req: DescribePeakValueRequest,
|
|
445
|
+
cb?: (error: string, rep: DescribePeakValueResponse) => void
|
|
446
|
+
): Promise<DescribePeakValueResponse> {
|
|
447
|
+
return this.request("DescribePeakValue", req, cb)
|
|
433
448
|
}
|
|
434
449
|
|
|
435
450
|
/**
|
|
@@ -592,6 +607,16 @@ export class Client extends AbstractClient {
|
|
|
592
607
|
return this.request("AddDomainWhiteRule", req, cb)
|
|
593
608
|
}
|
|
594
609
|
|
|
610
|
+
/**
|
|
611
|
+
* 切换域名的规则开关
|
|
612
|
+
*/
|
|
613
|
+
async SwitchDomainRules(
|
|
614
|
+
req: SwitchDomainRulesRequest,
|
|
615
|
+
cb?: (error: string, rep: SwitchDomainRulesResponse) => void
|
|
616
|
+
): Promise<SwitchDomainRulesResponse> {
|
|
617
|
+
return this.request("SwitchDomainRules", req, cb)
|
|
618
|
+
}
|
|
619
|
+
|
|
595
620
|
/**
|
|
596
621
|
* 获取防护配置中的精准白名单策略列表
|
|
597
622
|
*/
|
|
@@ -299,28 +299,48 @@ export interface AccessLogItems {
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
|
-
*
|
|
302
|
+
* DescribePeakValue返回参数结构体
|
|
303
303
|
*/
|
|
304
|
-
export interface
|
|
304
|
+
export interface DescribePeakValueResponse {
|
|
305
305
|
/**
|
|
306
|
-
*
|
|
306
|
+
* QPS峰值
|
|
307
307
|
*/
|
|
308
|
-
|
|
308
|
+
Access: number
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
|
-
*
|
|
311
|
+
* 上行带宽峰值,单位B
|
|
312
312
|
*/
|
|
313
|
-
|
|
313
|
+
Up: number
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
|
-
*
|
|
316
|
+
* 下行带宽峰值,单位B
|
|
317
317
|
*/
|
|
318
|
-
|
|
318
|
+
Down: number
|
|
319
319
|
|
|
320
320
|
/**
|
|
321
|
-
*
|
|
321
|
+
* Web攻击总数
|
|
322
322
|
*/
|
|
323
|
-
|
|
323
|
+
Attack: number
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* CC攻击总数
|
|
327
|
+
*/
|
|
328
|
+
Cc: number
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
332
|
+
*/
|
|
333
|
+
RequestId?: string
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* AddDomainWhiteRule返回参数结构体
|
|
338
|
+
*/
|
|
339
|
+
export interface AddDomainWhiteRuleResponse {
|
|
340
|
+
/**
|
|
341
|
+
* 规则id
|
|
342
|
+
*/
|
|
343
|
+
Id?: number
|
|
324
344
|
|
|
325
345
|
/**
|
|
326
346
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -487,6 +507,47 @@ export interface AccessRuleTagInfo {
|
|
|
487
507
|
KeyValues: Array<AccessKeyValueInfo>
|
|
488
508
|
}
|
|
489
509
|
|
|
510
|
+
/**
|
|
511
|
+
* DescribePeakPoints请求参数结构体
|
|
512
|
+
*/
|
|
513
|
+
export interface DescribePeakPointsRequest {
|
|
514
|
+
/**
|
|
515
|
+
* 查询起始时间
|
|
516
|
+
*/
|
|
517
|
+
FromTime: string
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* 查询终止时间
|
|
521
|
+
*/
|
|
522
|
+
ToTime: string
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* 查询的域名,如果查询所有域名数据,该参数不填写
|
|
526
|
+
*/
|
|
527
|
+
Domain?: string
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* 只有两个值有效,sparta-waf,clb-waf,不传则不过滤
|
|
531
|
+
*/
|
|
532
|
+
Edition?: string
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* WAF实例ID,不传则不过滤
|
|
536
|
+
*/
|
|
537
|
+
InstanceID?: string
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* 六个值可选:
|
|
541
|
+
access-峰值qps趋势图
|
|
542
|
+
botAccess- bot峰值qps趋势图
|
|
543
|
+
down-下行峰值带宽趋势图
|
|
544
|
+
up-上行峰值带宽趋势图
|
|
545
|
+
attack-Web攻击总数趋势图
|
|
546
|
+
cc-CC攻击总数趋势图
|
|
547
|
+
*/
|
|
548
|
+
MetricName?: string
|
|
549
|
+
}
|
|
550
|
+
|
|
490
551
|
/**
|
|
491
552
|
* DescribeAccessIndex请求参数结构体
|
|
492
553
|
*/
|
|
@@ -1614,6 +1675,47 @@ export interface AddSpartaProtectionRequest {
|
|
|
1614
1675
|
ProxySendTimeout?: number
|
|
1615
1676
|
}
|
|
1616
1677
|
|
|
1678
|
+
/**
|
|
1679
|
+
* PeakPoints数组项
|
|
1680
|
+
*/
|
|
1681
|
+
export interface PeakPointsItem {
|
|
1682
|
+
/**
|
|
1683
|
+
* 秒级别时间戳
|
|
1684
|
+
*/
|
|
1685
|
+
Time: number
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* QPS
|
|
1689
|
+
*/
|
|
1690
|
+
Access: number
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* 上行带宽峰值,单位B
|
|
1694
|
+
*/
|
|
1695
|
+
Up: number
|
|
1696
|
+
|
|
1697
|
+
/**
|
|
1698
|
+
* 下行带宽峰值,单位B
|
|
1699
|
+
*/
|
|
1700
|
+
Down: number
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* Web攻击次数
|
|
1704
|
+
*/
|
|
1705
|
+
Attack: number
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* CC攻击次数
|
|
1709
|
+
*/
|
|
1710
|
+
Cc: number
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* Bot qps
|
|
1714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1715
|
+
*/
|
|
1716
|
+
BotAccess: number
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1617
1719
|
/**
|
|
1618
1720
|
* PostAttackDownloadTask请求参数结构体
|
|
1619
1721
|
*/
|
|
@@ -2097,21 +2199,6 @@ export interface DescribeDomainWhiteRulesRequest {
|
|
|
2097
2199
|
RuleId?: string
|
|
2098
2200
|
}
|
|
2099
2201
|
|
|
2100
|
-
/**
|
|
2101
|
-
* AddDomainWhiteRule返回参数结构体
|
|
2102
|
-
*/
|
|
2103
|
-
export interface AddDomainWhiteRuleResponse {
|
|
2104
|
-
/**
|
|
2105
|
-
* 规则id
|
|
2106
|
-
*/
|
|
2107
|
-
Id?: number
|
|
2108
|
-
|
|
2109
|
-
/**
|
|
2110
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2111
|
-
*/
|
|
2112
|
-
RequestId?: string
|
|
2113
|
-
}
|
|
2114
|
-
|
|
2115
2202
|
/**
|
|
2116
2203
|
* ModifyCustomRuleStatus请求参数结构体
|
|
2117
2204
|
*/
|
|
@@ -2137,6 +2224,21 @@ export interface ModifyCustomRuleStatusRequest {
|
|
|
2137
2224
|
Edition?: string
|
|
2138
2225
|
}
|
|
2139
2226
|
|
|
2227
|
+
/**
|
|
2228
|
+
* DescribePeakPoints返回参数结构体
|
|
2229
|
+
*/
|
|
2230
|
+
export interface DescribePeakPointsResponse {
|
|
2231
|
+
/**
|
|
2232
|
+
* 数据点
|
|
2233
|
+
*/
|
|
2234
|
+
Points: Array<PeakPointsItem>
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2238
|
+
*/
|
|
2239
|
+
RequestId?: string
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2140
2242
|
/**
|
|
2141
2243
|
* DeleteDownloadRecord返回参数结构体
|
|
2142
2244
|
*/
|
|
@@ -2197,6 +2299,46 @@ export interface DescribeAttackOverviewRequest {
|
|
|
2197
2299
|
InstanceID?: string
|
|
2198
2300
|
}
|
|
2199
2301
|
|
|
2302
|
+
/**
|
|
2303
|
+
* DescribePeakValue请求参数结构体
|
|
2304
|
+
*/
|
|
2305
|
+
export interface DescribePeakValueRequest {
|
|
2306
|
+
/**
|
|
2307
|
+
* 查询起始时间
|
|
2308
|
+
*/
|
|
2309
|
+
FromTime: string
|
|
2310
|
+
|
|
2311
|
+
/**
|
|
2312
|
+
* 查询结束时间
|
|
2313
|
+
*/
|
|
2314
|
+
ToTime: string
|
|
2315
|
+
|
|
2316
|
+
/**
|
|
2317
|
+
* 需要查询的域名,当前用户所有域名可以不传
|
|
2318
|
+
*/
|
|
2319
|
+
Domain?: string
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* 只有两个值有效,sparta-waf,clb-waf,不传则不过滤
|
|
2323
|
+
*/
|
|
2324
|
+
Edition?: string
|
|
2325
|
+
|
|
2326
|
+
/**
|
|
2327
|
+
* WAF实例ID,不传则不过滤
|
|
2328
|
+
*/
|
|
2329
|
+
InstanceID?: string
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* 五个值可选:
|
|
2333
|
+
access-峰值qps
|
|
2334
|
+
down-下行峰值带宽
|
|
2335
|
+
up-上行峰值带宽
|
|
2336
|
+
attack-Web攻击总数
|
|
2337
|
+
cc-CC攻击总数趋势图
|
|
2338
|
+
*/
|
|
2339
|
+
MetricName?: string
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2200
2342
|
/**
|
|
2201
2343
|
* bot的qps详情
|
|
2202
2344
|
*/
|
|
@@ -2667,6 +2809,36 @@ export interface AddCustomRuleRequest {
|
|
|
2667
2809
|
EventId?: string
|
|
2668
2810
|
}
|
|
2669
2811
|
|
|
2812
|
+
/**
|
|
2813
|
+
* DescribeWafAutoDenyRules返回参数结构体
|
|
2814
|
+
*/
|
|
2815
|
+
export interface DescribeWafAutoDenyRulesResponse {
|
|
2816
|
+
/**
|
|
2817
|
+
* 攻击次数阈值
|
|
2818
|
+
*/
|
|
2819
|
+
AttackThreshold: number
|
|
2820
|
+
|
|
2821
|
+
/**
|
|
2822
|
+
* 攻击时间阈值
|
|
2823
|
+
*/
|
|
2824
|
+
TimeThreshold: number
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
* 自动封禁时间
|
|
2828
|
+
*/
|
|
2829
|
+
DenyTimeThreshold: number
|
|
2830
|
+
|
|
2831
|
+
/**
|
|
2832
|
+
* 自动封禁状态
|
|
2833
|
+
*/
|
|
2834
|
+
DefenseStatus: number
|
|
2835
|
+
|
|
2836
|
+
/**
|
|
2837
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2838
|
+
*/
|
|
2839
|
+
RequestId?: string
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2670
2842
|
/**
|
|
2671
2843
|
* 业务安全资源信息
|
|
2672
2844
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.582";
|
|
@@ -52,7 +52,9 @@ export declare class Client extends AbstractClient {
|
|
|
52
52
|
*/
|
|
53
53
|
DescribeVulList(req: DescribeVulListRequest, cb?: (error: string, rep: DescribeVulListResponse) => void): Promise<DescribeVulListResponse>;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* 旧版日志下载接口下线
|
|
56
|
+
|
|
57
|
+
导出ES查询文档列表
|
|
56
58
|
*/
|
|
57
59
|
DescribeSearchExportList(req: DescribeSearchExportListRequest, cb?: (error: string, rep: DescribeSearchExportListResponse) => void): Promise<DescribeSearchExportListResponse>;
|
|
58
60
|
/**
|
|
@@ -94,7 +94,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
94
94
|
return this.request("DescribeVulList", req, cb);
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* 旧版日志下载接口下线
|
|
98
|
+
|
|
99
|
+
导出ES查询文档列表
|
|
98
100
|
*/
|
|
99
101
|
async DescribeSearchExportList(req, cb) {
|
|
100
102
|
return this.request("DescribeSearchExportList", req, cb);
|