tencentcloud-sdk-nodejs 4.0.580 → 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.
Files changed (47) hide show
  1. package/CHANGELOG.md +187 -0
  2. package/SERVICE_CHANGELOG.md +210 -246
  3. package/package.json +1 -1
  4. package/products.md +16 -16
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdn/v20180606/cdn_models.ts +2 -2
  7. package/src/services/cfs/v20190719/cfs_client.ts +72 -5
  8. package/src/services/cfs/v20190719/cfs_models.ts +461 -59
  9. package/src/services/cwp/v20180228/cwp_client.ts +4 -2
  10. package/src/services/ess/v20201111/ess_client.ts +25 -1
  11. package/src/services/ess/v20201111/ess_models.ts +91 -16
  12. package/src/services/faceid/v20180301/faceid_models.ts +34 -3
  13. package/src/services/ms/v20180408/ms_client.ts +4 -2
  14. package/src/services/rum/v20210622/rum_client.ts +86 -38
  15. package/src/services/rum/v20210622/rum_models.ts +283 -13
  16. package/src/services/trp/v20210515/trp_client.ts +67 -17
  17. package/src/services/trp/v20210515/trp_models.ts +187 -26
  18. package/src/services/waf/v20180125/waf_client.ts +39 -14
  19. package/src/services/waf/v20180125/waf_models.ts +197 -25
  20. package/tencentcloud/common/sdk_version.d.ts +1 -1
  21. package/tencentcloud/common/sdk_version.js +1 -1
  22. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +2 -2
  23. package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +26 -1
  24. package/tencentcloud/services/cfs/v20190719/cfs_client.js +35 -0
  25. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +391 -51
  26. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +3 -1
  27. package/tencentcloud/services/cwp/v20180228/cwp_client.js +3 -1
  28. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -1
  29. package/tencentcloud/services/ess/v20201111/ess_client.js +12 -0
  30. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +81 -16
  31. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +34 -5
  32. package/tencentcloud/services/ms/v20180408/ms_client.d.ts +3 -1
  33. package/tencentcloud/services/ms/v20180408/ms_client.js +3 -1
  34. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +29 -13
  35. package/tencentcloud/services/rum/v20210622/rum_client.js +42 -18
  36. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +236 -12
  37. package/tencentcloud/services/trp/v20210515/trp_client.d.ts +21 -5
  38. package/tencentcloud/services/trp/v20210515/trp_client.js +30 -6
  39. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +166 -26
  40. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -5
  41. package/tencentcloud/services/waf/v20180125/waf_client.js +18 -6
  42. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +168 -23
  43. package/test/cfs.v20190719.test.js +50 -0
  44. package/test/ess.v20201111.test.js +20 -0
  45. package/test/rum.v20210622.test.js +52 -12
  46. package/test/trp.v20210515.test.js +44 -4
  47. package/test/waf.v20180125.test.js +24 -4
@@ -846,13 +846,13 @@ export interface DescribeProductsResponse {
846
846
  }
847
847
 
848
848
  /**
849
- * CreateCodeBatch返回参数结构体
849
+ * CreateTraceChain返回参数结构体
850
850
  */
851
- export interface CreateCodeBatchResponse {
851
+ export interface CreateTraceChainResponse {
852
852
  /**
853
- * 批次ID
853
+ * 溯源ID
854
854
  */
855
- BatchId: string
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
- * DeleteProduct请求参数结构体
949
+ * AuthorizedTransfer返回参数结构体
950
950
  */
951
- export interface DeleteProductRequest {
951
+ export interface AuthorizedTransferResponse {
952
952
  /**
953
- * 商品ID
953
+ * 业务出参。
954
954
  */
955
- ProductId: string
955
+ Data?: OutputAuthorizedTransfer
956
956
 
957
957
  /**
958
- * 企业ID
958
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
959
959
  */
960
- CorpId?: number
960
+ RequestId?: string
961
961
  }
962
962
 
963
963
  /**
964
- * CreateTraceChain返回参数结构体
964
+ * CreateCodeBatch返回参数结构体
965
965
  */
966
- export interface CreateTraceChainResponse {
966
+ export interface CreateCodeBatchResponse {
967
967
  /**
968
- * 溯源ID
968
+ * 批次ID
969
969
  */
970
- TraceId: string
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,31 @@ 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
+
2206
+ /**
2207
+ * DescribeTraceDataById返回参数结构体
2208
+ */
2209
+ export interface DescribeTraceDataByIdResponse {
2210
+ /**
2211
+ * 无
2212
+ */
2213
+ TraceData: TraceData
2214
+
2215
+ /**
2216
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2217
+ */
2218
+ RequestId?: string
2219
+ }
2220
+
2108
2221
  /**
2109
2222
  * 码类型
2110
2223
  */
@@ -2572,6 +2685,54 @@ export interface ModifyTraceCodeUnlinkResponse {
2572
2685
  RequestId?: string
2573
2686
  }
2574
2687
 
2688
+ /**
2689
+ * DescribeTraceDataById请求参数结构体
2690
+ */
2691
+ export interface DescribeTraceDataByIdRequest {
2692
+ /**
2693
+ * 溯源ID
2694
+ */
2695
+ Id: string
2696
+
2697
+ /**
2698
+ * 企业ID
2699
+ */
2700
+ CorpId?: number
2701
+ }
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
+
2575
2736
  /**
2576
2737
  * 商户信息
2577
2738
  */
@@ -3045,18 +3206,18 @@ export interface DescribeTraceCodeByIdRequest {
3045
3206
  }
3046
3207
 
3047
3208
  /**
3048
- * DeleteMerchant请求参数结构体
3209
+ * ModifyCodeBatch返回参数结构体
3049
3210
  */
3050
- export interface DeleteMerchantRequest {
3211
+ export interface ModifyCodeBatchResponse {
3051
3212
  /**
3052
- * 商户标识码
3213
+ * 批次ID
3053
3214
  */
3054
- MerchantId: string
3215
+ BatchId?: string
3055
3216
 
3056
3217
  /**
3057
- * 企业ID
3218
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3058
3219
  */
3059
- CorpId?: number
3220
+ RequestId?: string
3060
3221
  }
3061
3222
 
3062
3223
  /**
@@ -3158,16 +3319,16 @@ export interface DescribeCodePackUrlResponse {
3158
3319
  }
3159
3320
 
3160
3321
  /**
3161
- * ModifyCodeBatch返回参数结构体
3322
+ * DeleteMerchant请求参数结构体
3162
3323
  */
3163
- export interface ModifyCodeBatchResponse {
3324
+ export interface DeleteMerchantRequest {
3164
3325
  /**
3165
- * 批次ID
3326
+ * 商户标识码
3166
3327
  */
3167
- BatchId?: string
3328
+ MerchantId: string
3168
3329
 
3169
3330
  /**
3170
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3331
+ * 企业ID
3171
3332
  */
3172
- RequestId?: string
3333
+ CorpId?: number
3173
3334
  }
@@ -30,12 +30,14 @@ import {
30
30
  DescribeWafAutoDenyStatusRequest,
31
31
  DescribeCustomWhiteRuleResponse,
32
32
  AccessLogItems,
33
- DescribeWafAutoDenyRulesResponse,
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 ModifyCustomRuleStatus(
177
- req: ModifyCustomRuleStatusRequest,
178
- cb?: (error: string, rep: ModifyCustomRuleStatusResponse) => void
179
- ): Promise<ModifyCustomRuleStatusResponse> {
180
- return this.request("ModifyCustomRuleStatus", req, cb)
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 SwitchDomainRules(
429
- req: SwitchDomainRulesRequest,
430
- cb?: (error: string, rep: SwitchDomainRulesResponse) => void
431
- ): Promise<SwitchDomainRulesResponse> {
432
- return this.request("SwitchDomainRules", req, cb)
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
- * DescribeWafAutoDenyRules返回参数结构体
302
+ * DescribePeakValue返回参数结构体
303
303
  */
304
- export interface DescribeWafAutoDenyRulesResponse {
304
+ export interface DescribePeakValueResponse {
305
305
  /**
306
- * 攻击次数阈值
306
+ * QPS峰值
307
307
  */
308
- AttackThreshold: number
308
+ Access: number
309
309
 
310
310
  /**
311
- * 攻击时间阈值
311
+ * 上行带宽峰值,单位B
312
312
  */
313
- TimeThreshold: number
313
+ Up: number
314
314
 
315
315
  /**
316
- * 自动封禁时间
316
+ * 下行带宽峰值,单位B
317
317
  */
318
- DenyTimeThreshold: number
318
+ Down: number
319
319
 
320
320
  /**
321
- * 自动封禁状态
321
+ * Web攻击总数
322
322
  */
323
- DefenseStatus: number
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.580";
1
+ export declare const sdkVersion = "4.0.582";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.0.580";
4
+ exports.sdkVersion = "4.0.582";