tencentcloud-sdk-nodejs 4.0.871 → 4.0.873

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 (63) hide show
  1. package/CHANGELOG.md +256 -0
  2. package/SERVICE_CHANGELOG.md +256 -99
  3. package/package.json +1 -1
  4. package/products.md +22 -22
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/billing/v20180709/billing_models.ts +2 -2
  7. package/src/services/cam/v20190116/cam_client.ts +45 -32
  8. package/src/services/cam/v20190116/cam_models.ts +124 -54
  9. package/src/services/cat/v20180409/cat_models.ts +5 -0
  10. package/src/services/cds/v20180420/cds_client.ts +4 -2
  11. package/src/services/cls/v20201016/cls_models.ts +9 -0
  12. package/src/services/domain/v20180808/domain_client.ts +12 -9
  13. package/src/services/domain/v20180808/domain_models.ts +355 -55
  14. package/src/services/emr/v20190103/emr_models.ts +10 -0
  15. package/src/services/essbasic/v20210526/essbasic_client.ts +4 -4
  16. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +8 -8
  17. package/src/services/mongodb/v20190725/mongodb_client.ts +52 -3
  18. package/src/services/mongodb/v20190725/mongodb_models.ts +203 -32
  19. package/src/services/postgres/v20170312/postgres_models.ts +4 -4
  20. package/src/services/redis/v20180412/redis_client.ts +12 -0
  21. package/src/services/redis/v20180412/redis_models.ts +84 -0
  22. package/src/services/teo/v20220901/teo_client.ts +61 -11
  23. package/src/services/teo/v20220901/teo_models.ts +262 -70
  24. package/src/services/tmt/v20180321/tmt_models.ts +4 -4
  25. package/src/services/trtc/v20190722/trtc_models.ts +1 -1
  26. package/src/services/tse/v20201207/tse_client.ts +12 -0
  27. package/src/services/tse/v20201207/tse_models.ts +24 -0
  28. package/tencentcloud/common/sdk_version.d.ts +1 -1
  29. package/tencentcloud/common/sdk_version.js +1 -1
  30. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +2 -2
  31. package/tencentcloud/services/cam/v20190116/cam_client.d.ts +15 -11
  32. package/tencentcloud/services/cam/v20190116/cam_client.js +21 -15
  33. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +120 -53
  34. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +5 -0
  35. package/tencentcloud/services/cds/v20180420/cds_client.d.ts +3 -1
  36. package/tencentcloud/services/cds/v20180420/cds_client.js +3 -1
  37. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -0
  38. package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -5
  39. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +352 -55
  40. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +10 -0
  41. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +4 -4
  42. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +4 -4
  43. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +8 -8
  44. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +17 -1
  45. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +24 -0
  46. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +194 -32
  47. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +4 -4
  48. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +5 -1
  49. package/tencentcloud/services/redis/v20180412/redis_client.js +6 -0
  50. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +82 -0
  51. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +19 -3
  52. package/tencentcloud/services/teo/v20220901/teo_client.js +27 -3
  53. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +251 -69
  54. package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +4 -4
  55. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
  56. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
  57. package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
  58. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +22 -0
  59. package/test/cam.v20190116.test.js +26 -16
  60. package/test/mongodb.v20190725.test.js +40 -0
  61. package/test/redis.v20180412.test.js +10 -0
  62. package/test/teo.v20220901.test.js +42 -2
  63. package/test/tse.v20201207.test.js +10 -0
@@ -76,6 +76,7 @@ import {
76
76
  OriginGroupReference,
77
77
  ExceptUserRule,
78
78
  AccelerateType,
79
+ ModifyCustomErrorPageResponse,
79
80
  SubRule,
80
81
  ConfigGroupVersionInfo,
81
82
  VerifyOwnershipResponse,
@@ -84,17 +85,18 @@ import {
84
85
  DownloadL4LogsRequest,
85
86
  ModifyZoneSettingRequest,
86
87
  BillingDataFilter,
88
+ DeleteCustomErrorPageResponse,
87
89
  DescribeTimingL7CacheDataResponse,
88
90
  DescribeZonesResponse,
89
91
  Header,
92
+ DeleteCustomErrorPageRequest,
90
93
  CustomField,
91
- CreateL4ProxyRulesRequest,
92
94
  DeleteZoneRequest,
93
95
  BotManagedRule,
94
96
  SecurityConfig,
95
97
  L4OfflineLog,
96
98
  ModifyPlanRequest,
97
- ExceptUserRuleScope,
99
+ CustomErrorPage,
98
100
  SecEntryValue,
99
101
  ModifyL4ProxyRulesRequest,
100
102
  DescribeRulesSettingRequest,
@@ -114,11 +116,12 @@ import {
114
116
  DescribeSecurityTemplateBindingsRequest,
115
117
  AlgDetectResult,
116
118
  DefaultServerCertInfo,
117
- StandardDebug,
119
+ OfflineCache,
118
120
  DescribeDDoSAttackTopDataResponse,
119
121
  DeleteRulesRequest,
120
122
  ExceptUserRuleCondition,
121
123
  MaxAge,
124
+ DescribeCustomErrorPagesResponse,
122
125
  DeleteApplicationProxyResponse,
123
126
  AlgDetectRule,
124
127
  DiffIPWhitelist,
@@ -172,6 +175,7 @@ import {
172
175
  CreateConfigGroupVersionResponse,
173
176
  DownloadL7LogsRequest,
174
177
  RuleItem,
178
+ SlowRateConfig,
175
179
  Cache,
176
180
  DetailHost,
177
181
  DescribeRealtimeLogDeliveryTasksResponse,
@@ -184,6 +188,7 @@ import {
184
188
  RateLimitUserRule,
185
189
  CreatePlanForZoneRequest,
186
190
  CreateL4ProxyRulesResponse,
191
+ ModifyCustomErrorPageRequest,
187
192
  CacheKey,
188
193
  DownloadL4LogsResponse,
189
194
  BindSharedCNAMERequest,
@@ -200,7 +205,7 @@ import {
200
205
  IdentifyZoneRequest,
201
206
  CacheConfig,
202
207
  UpgradePlanResponse,
203
- OfflineCache,
208
+ CreateL4ProxyRulesRequest,
204
209
  CreateConfigGroupVersionRequest,
205
210
  AclUserRule,
206
211
  DescribeDDoSAttackEventRequest,
@@ -273,6 +278,7 @@ import {
273
278
  CreateApplicationProxyRequest,
274
279
  CC,
275
280
  ModifyL4ProxyRulesStatusRequest,
281
+ DescribeCustomErrorPagesRequest,
276
282
  DescribeTimingL4DataResponse,
277
283
  Action,
278
284
  ApplicationProxy,
@@ -283,6 +289,7 @@ import {
283
289
  RuleAndConditions,
284
290
  DropPageConfig,
285
291
  DescribeSecurityIPGroupInfoRequest,
292
+ ExceptUserRuleScope,
286
293
  PartialModule,
287
294
  ModifyApplicationProxyRuleStatusRequest,
288
295
  SecEntry,
@@ -317,6 +324,7 @@ import {
317
324
  AdvancedFilter,
318
325
  DescribeDDoSAttackDataResponse,
319
326
  TemplateConfig,
327
+ ErrorPageReference,
320
328
  BotExtendAction,
321
329
  DeleteL4ProxyResponse,
322
330
  ModifyApplicationProxyRuleStatusResponse,
@@ -338,7 +346,7 @@ import {
338
346
  ModifyZoneSettingResponse,
339
347
  DownloadL7LogsResponse,
340
348
  AccelerationDomain,
341
- SlowRateConfig,
349
+ CreateCustomizeErrorPageResponse,
342
350
  RewriteAction,
343
351
  TemplateScope,
344
352
  DescribeOverviewL7DataRequest,
@@ -348,12 +356,14 @@ import {
348
356
  BindZoneToPlanRequest,
349
357
  SecurityType,
350
358
  IPWhitelist,
359
+ CreateCustomizeErrorPageRequest,
351
360
  DescribeSecurityIPGroupRequest,
352
361
  ModifyApplicationProxyStatusResponse,
353
362
  Identification,
354
363
  TopEntry,
355
364
  NsVerification,
356
365
  AccelerateMainland,
366
+ StandardDebug,
357
367
  BindSecurityTemplateToEntityRequest,
358
368
  IntelligenceRuleItem,
359
369
  IntelligenceRule,
@@ -914,6 +924,16 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
914
924
  return this.request("DeleteL4ProxyRules", req, cb)
915
925
  }
916
926
 
927
+ /**
928
+ * 创建自定义错误页面。
929
+ */
930
+ async CreateCustomizeErrorPage(
931
+ req: CreateCustomizeErrorPageRequest,
932
+ cb?: (error: string, rep: CreateCustomizeErrorPageResponse) => void
933
+ ): Promise<CreateCustomizeErrorPageResponse> {
934
+ return this.request("CreateCustomizeErrorPage", req, cb)
935
+ }
936
+
917
937
  /**
918
938
  * 修改加速域名信息
919
939
  */
@@ -1038,6 +1058,16 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
1038
1058
  return this.request("DescribeAvailablePlans", req, cb)
1039
1059
  }
1040
1060
 
1061
+ /**
1062
+ * 查询自定义错误页列表。
1063
+ */
1064
+ async DescribeCustomErrorPages(
1065
+ req: DescribeCustomErrorPagesRequest,
1066
+ cb?: (error: string, rep: DescribeCustomErrorPagesResponse) => void
1067
+ ): Promise<DescribeCustomErrorPagesResponse> {
1068
+ return this.request("DescribeCustomErrorPages", req, cb)
1069
+ }
1070
+
1041
1071
  /**
1042
1072
  * 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
1043
1073
  */
@@ -1129,13 +1159,13 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
1129
1159
  }
1130
1160
 
1131
1161
  /**
1132
- * 用于查询四层代理实例列表。
1162
+ * 删除自定义错误页面。
1133
1163
  */
1134
- async DescribeL4Proxy(
1135
- req: DescribeL4ProxyRequest,
1136
- cb?: (error: string, rep: DescribeL4ProxyResponse) => void
1137
- ): Promise<DescribeL4ProxyResponse> {
1138
- return this.request("DescribeL4Proxy", req, cb)
1164
+ async DeleteCustomErrorPage(
1165
+ req: DeleteCustomErrorPageRequest,
1166
+ cb?: (error: string, rep: DeleteCustomErrorPageResponse) => void
1167
+ ): Promise<DeleteCustomErrorPageResponse> {
1168
+ return this.request("DeleteCustomErrorPage", req, cb)
1139
1169
  }
1140
1170
 
1141
1171
  /**
@@ -1409,6 +1439,16 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
1409
1439
  return this.request("DescribeSecurityIPGroup", req, cb)
1410
1440
  }
1411
1441
 
1442
+ /**
1443
+ * 修改自定义错误页面。
1444
+ */
1445
+ async ModifyCustomErrorPage(
1446
+ req: ModifyCustomErrorPageRequest,
1447
+ cb?: (error: string, rep: ModifyCustomErrorPageResponse) => void
1448
+ ): Promise<ModifyCustomErrorPageResponse> {
1449
+ return this.request("ModifyCustomErrorPage", req, cb)
1450
+ }
1451
+
1412
1452
  /**
1413
1453
  * 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
1414
1454
  */
@@ -1439,6 +1479,16 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
1439
1479
  return this.request("DescribeAliasDomains", req, cb)
1440
1480
  }
1441
1481
 
1482
+ /**
1483
+ * 用于查询四层代理实例列表。
1484
+ */
1485
+ async DescribeL4Proxy(
1486
+ req: DescribeL4ProxyRequest,
1487
+ cb?: (error: string, rep: DescribeL4ProxyResponse) => void
1488
+ ): Promise<DescribeL4ProxyResponse> {
1489
+ return this.request("DescribeL4Proxy", req, cb)
1490
+ }
1491
+
1442
1492
  /**
1443
1493
  * 通过本接口查询计费数据。
1444
1494
  */
@@ -1552,6 +1552,16 @@ export interface AccelerateType {
1552
1552
  Switch: string
1553
1553
  }
1554
1554
 
1555
+ /**
1556
+ * ModifyCustomErrorPage返回参数结构体
1557
+ */
1558
+ export interface ModifyCustomErrorPageResponse {
1559
+ /**
1560
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1561
+ */
1562
+ RequestId?: string
1563
+ }
1564
+
1555
1565
  /**
1556
1566
  * 嵌套规则信息。
1557
1567
  */
@@ -1832,6 +1842,16 @@ export interface BillingDataFilter {
1832
1842
  Value: string
1833
1843
  }
1834
1844
 
1845
+ /**
1846
+ * DeleteCustomErrorPage返回参数结构体
1847
+ */
1848
+ export interface DeleteCustomErrorPageResponse {
1849
+ /**
1850
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1851
+ */
1852
+ RequestId?: string
1853
+ }
1854
+
1835
1855
  /**
1836
1856
  * DescribeTimingL7CacheData返回参数结构体
1837
1857
  */
@@ -1883,6 +1903,20 @@ export interface Header {
1883
1903
  Value: string
1884
1904
  }
1885
1905
 
1906
+ /**
1907
+ * DeleteCustomErrorPage请求参数结构体
1908
+ */
1909
+ export interface DeleteCustomErrorPageRequest {
1910
+ /**
1911
+ * 站点 ID。
1912
+ */
1913
+ ZoneId: string
1914
+ /**
1915
+ * 自定义页面 ID。
1916
+ */
1917
+ PageId: string
1918
+ }
1919
+
1886
1920
  /**
1887
1921
  * 实时日志投递任务中的自定义日志字段。
1888
1922
  */
@@ -1907,25 +1941,6 @@ export interface CustomField {
1907
1941
  Enabled?: boolean
1908
1942
  }
1909
1943
 
1910
- /**
1911
- * CreateL4ProxyRules请求参数结构体
1912
- */
1913
- export interface CreateL4ProxyRulesRequest {
1914
- /**
1915
- * 站点 ID。
1916
- */
1917
- ZoneId: string
1918
- /**
1919
- * 四层代理实例 ID。
1920
- */
1921
- ProxyId: string
1922
- /**
1923
- * 转发规则列表。单次最多支持 200 条转发规则。
1924
- 注意:L4ProxyRule 在此处使用时,Protocol、PortRange、OriginType、OriginValue、OriginPortRange 为必填字段;ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段;RuleId、Status 请勿填写。
1925
- */
1926
- L4ProxyRules: Array<L4ProxyRule>
1927
- }
1928
-
1929
1944
  /**
1930
1945
  * DeleteZone请求参数结构体
1931
1946
  */
@@ -2090,35 +2105,37 @@ export interface ModifyPlanRequest {
2090
2105
  }
2091
2106
 
2092
2107
  /**
2093
- * 例外规则的生效范围。
2108
+ * 自定义错误码页面结构体。
2094
2109
  */
2095
- export interface ExceptUserRuleScope {
2110
+ export interface CustomErrorPage {
2096
2111
  /**
2097
- * 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有:
2098
- <li>complete:完全跳过模式;</li>
2099
- <li>partial:部分跳过模式。</li>
2112
+ * 自定义错误页面 ID。
2100
2113
  */
2101
- Type?: string
2114
+ PageId?: string
2102
2115
  /**
2103
- * 生效的模块,该字段取值有:
2104
- <li>waf:托管规则;</li>
2105
- <li>rate:速率限制;</li>
2106
- <li>acl:自定义规则;</li>
2107
- <li>cc:cc攻击防护;</li>
2108
- <li>bot:Bot防护。</li>
2109
- 注意:此字段可能返回 null,表示取不到有效值。
2116
+ * 站点 ID。
2110
2117
  */
2111
- Modules?: Array<string>
2118
+ ZoneId?: string
2112
2119
  /**
2113
- * 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。
2114
- 注意:此字段可能返回 null,表示取不到有效值。
2120
+ * 自定义错误页面名称。
2115
2121
  */
2116
- PartialModules?: Array<PartialModule>
2122
+ Name?: string
2117
2123
  /**
2118
- * 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。
2119
- 注意:此字段可能返回 null,表示取不到有效值。
2124
+ * 自定义错误页面类型。
2120
2125
  */
2121
- SkipConditions?: Array<SkipCondition>
2126
+ ContentType?: string
2127
+ /**
2128
+ * 自定义错误页面描述。
2129
+ */
2130
+ Description?: string
2131
+ /**
2132
+ * 自定义错误页面内容。
2133
+ */
2134
+ Content?: string
2135
+ /**
2136
+ * 自定义错误页面引用。
2137
+ */
2138
+ References?: Array<ErrorPageReference>
2122
2139
  }
2123
2140
 
2124
2141
  /**
@@ -2506,23 +2523,15 @@ export interface DefaultServerCertInfo {
2506
2523
  }
2507
2524
 
2508
2525
  /**
2509
- * 支持标准debug结构体
2526
+ * 离线缓存是否开启
2510
2527
  */
2511
- export interface StandardDebug {
2528
+ export interface OfflineCache {
2512
2529
  /**
2513
- * Debug 功能开关,取值有:
2530
+ * 离线缓存是否开启,取值有:
2514
2531
  <li>on:开启;</li>
2515
2532
  <li>off:关闭。</li>
2516
2533
  */
2517
2534
  Switch: string
2518
- /**
2519
- * 允许的客户端来源。支持填写 IPv4 以及 IPv6 的 IP/IP 段。0.0.0.0/0 表示允许所有 IPv4 客户端进行调试,::/0 表示允许所有 IPv6 客户端进行调试。
2520
- */
2521
- AllowClientIPList: Array<string>
2522
- /**
2523
- * Debug 功能到期时间。超出设置的时间,则功能失效。
2524
- */
2525
- ExpireTime: string
2526
2535
  }
2527
2536
 
2528
2537
  /**
@@ -2624,6 +2633,24 @@ export interface MaxAge {
2624
2633
  MaxAgeTime?: number
2625
2634
  }
2626
2635
 
2636
+ /**
2637
+ * DescribeCustomErrorPages返回参数结构体
2638
+ */
2639
+ export interface DescribeCustomErrorPagesResponse {
2640
+ /**
2641
+ * 自定义错误页面总数。
2642
+ */
2643
+ TotalCount?: number
2644
+ /**
2645
+ * 自定义错误页面数据列表。
2646
+ */
2647
+ ErrorPages?: Array<CustomErrorPage>
2648
+ /**
2649
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2650
+ */
2651
+ RequestId?: string
2652
+ }
2653
+
2627
2654
  /**
2628
2655
  * DeleteApplicationProxy返回参数结构体
2629
2656
  */
@@ -3975,6 +4002,28 @@ export interface RuleItem {
3975
4002
  Tags: Array<string>
3976
4003
  }
3977
4004
 
4005
+ /**
4006
+ * 慢速攻击的基础配置。
4007
+ */
4008
+ export interface SlowRateConfig {
4009
+ /**
4010
+ * 开关,取值有:
4011
+ <li>on:开启;</li>
4012
+ <li>off:关闭。</li>
4013
+ */
4014
+ Switch: string
4015
+ /**
4016
+ * 统计的间隔,单位是秒,即在首段包传输结束后,将数据传输轴按照本参数切分,每个分片独立计算慢速攻击。
4017
+ 注意:此字段可能返回 null,表示取不到有效值。
4018
+ */
4019
+ Interval?: number
4020
+ /**
4021
+ * 统计时应用的速率阈值,单位是bps,即如果本分片中的传输速率没达到本参数的值,则判定为慢速攻击,应用慢速攻击的处置方式。
4022
+ 注意:此字段可能返回 null,表示取不到有效值。
4023
+ */
4024
+ Threshold?: number
4025
+ }
4026
+
3978
4027
  /**
3979
4028
  * 缓存时间设置
3980
4029
  */
@@ -4387,6 +4436,36 @@ export interface CreateL4ProxyRulesResponse {
4387
4436
  RequestId?: string
4388
4437
  }
4389
4438
 
4439
+ /**
4440
+ * ModifyCustomErrorPage请求参数结构体
4441
+ */
4442
+ export interface ModifyCustomErrorPageRequest {
4443
+ /**
4444
+ * 自定义错误页面 ID。
4445
+ */
4446
+ PageId: string
4447
+ /**
4448
+ * 站点 ID。
4449
+ */
4450
+ ZoneId: string
4451
+ /**
4452
+ * 自定义错误页名称,名称为2 - 60个字符。
4453
+ */
4454
+ Name?: string
4455
+ /**
4456
+ * 自定义错误页描述,描述内容不超过60个字符。
4457
+ */
4458
+ Description?: string
4459
+ /**
4460
+ * 自定义错误页面类型,取值有:<li>text/html。 </li><li>application/json。</li><li>plain/text。</li><li>text/xml。</li>
4461
+ */
4462
+ ContentType?: string
4463
+ /**
4464
+ * 自定义错误页面内容。内容不超过 2KB。
4465
+ */
4466
+ Content?: string
4467
+ }
4468
+
4390
4469
  /**
4391
4470
  * 缓存键配置。
4392
4471
  */
@@ -4700,15 +4779,22 @@ export interface UpgradePlanResponse {
4700
4779
  }
4701
4780
 
4702
4781
  /**
4703
- * 离线缓存是否开启
4782
+ * CreateL4ProxyRules请求参数结构体
4704
4783
  */
4705
- export interface OfflineCache {
4784
+ export interface CreateL4ProxyRulesRequest {
4706
4785
  /**
4707
- * 离线缓存是否开启,取值有:
4708
- <li>on:开启;</li>
4709
- <li>off:关闭。</li>
4786
+ * 站点 ID。
4710
4787
  */
4711
- Switch: string
4788
+ ZoneId: string
4789
+ /**
4790
+ * 四层代理实例 ID。
4791
+ */
4792
+ ProxyId: string
4793
+ /**
4794
+ * 转发规则列表。单次最多支持 200 条转发规则。
4795
+ 注意:L4ProxyRule 在此处使用时,Protocol、PortRange、OriginType、OriginValue、OriginPortRange 为必填字段;ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段;RuleId、Status 请勿填写。
4796
+ */
4797
+ L4ProxyRules: Array<L4ProxyRule>
4712
4798
  }
4713
4799
 
4714
4800
  /**
@@ -6466,6 +6552,32 @@ export interface ModifyL4ProxyRulesStatusRequest {
6466
6552
  Status: string
6467
6553
  }
6468
6554
 
6555
+ /**
6556
+ * DescribeCustomErrorPages请求参数结构体
6557
+ */
6558
+ export interface DescribeCustomErrorPagesRequest {
6559
+ /**
6560
+ * 站点 ID。
6561
+ */
6562
+ ZoneId: string
6563
+ /**
6564
+ * 过滤条件,Filters.Values 的上限为20,详细的过滤条件Name值如下:
6565
+ <li>page-id: 按照页面 ID 进行过滤;</li>
6566
+ <li>name: 按照页面名称进行过滤;</li>
6567
+ <li>description:按照页面描述过滤;</li>
6568
+ <li>content-type:按照页面类型过滤。</li>
6569
+ */
6570
+ Filters?: Array<AdvancedFilter>
6571
+ /**
6572
+ * 分页查询偏移量。默认值:0。
6573
+ */
6574
+ Offset?: number
6575
+ /**
6576
+ * 分页查询限制数目。默认值:20,最大值:1000。
6577
+ */
6578
+ Limit?: number
6579
+ }
6580
+
6469
6581
  /**
6470
6582
  * DescribeTimingL4Data返回参数结构体
6471
6583
  */
@@ -6855,6 +6967,38 @@ export interface DescribeSecurityIPGroupInfoRequest {
6855
6967
  Offset?: number
6856
6968
  }
6857
6969
 
6970
+ /**
6971
+ * 例外规则的生效范围。
6972
+ */
6973
+ export interface ExceptUserRuleScope {
6974
+ /**
6975
+ * 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有:
6976
+ <li>complete:完全跳过模式;</li>
6977
+ <li>partial:部分跳过模式。</li>
6978
+ */
6979
+ Type?: string
6980
+ /**
6981
+ * 生效的模块,该字段取值有:
6982
+ <li>waf:托管规则;</li>
6983
+ <li>rate:速率限制;</li>
6984
+ <li>acl:自定义规则;</li>
6985
+ <li>cc:cc攻击防护;</li>
6986
+ <li>bot:Bot防护。</li>
6987
+ 注意:此字段可能返回 null,表示取不到有效值。
6988
+ */
6989
+ Modules?: Array<string>
6990
+ /**
6991
+ * 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。
6992
+ 注意:此字段可能返回 null,表示取不到有效值。
6993
+ */
6994
+ PartialModules?: Array<PartialModule>
6995
+ /**
6996
+ * 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。
6997
+ 注意:此字段可能返回 null,表示取不到有效值。
6998
+ */
6999
+ SkipConditions?: Array<SkipCondition>
7000
+ }
7001
+
6858
7002
  /**
6859
7003
  * 例外规则的详细模块配置。
6860
7004
  */
@@ -7837,6 +7981,16 @@ export interface TemplateConfig {
7837
7981
  TemplateName: string
7838
7982
  }
7839
7983
 
7984
+ /**
7985
+ * 自定义错误页面被引用的来源
7986
+ */
7987
+ export interface ErrorPageReference {
7988
+ /**
7989
+ * 引用的业务 ID,如自定义拦截规则 ID。
7990
+ */
7991
+ BusinessId?: string
7992
+ }
7993
+
7840
7994
  /**
7841
7995
  * Bot扩展处置方式,多处置动作组合。
7842
7996
  */
@@ -8420,25 +8574,17 @@ export interface AccelerationDomain {
8420
8574
  }
8421
8575
 
8422
8576
  /**
8423
- * 慢速攻击的基础配置。
8577
+ * CreateCustomizeErrorPage返回参数结构体
8424
8578
  */
8425
- export interface SlowRateConfig {
8579
+ export interface CreateCustomizeErrorPageResponse {
8426
8580
  /**
8427
- * 开关,取值有:
8428
- <li>on:开启;</li>
8429
- <li>off:关闭。</li>
8581
+ * 页面 ID。
8430
8582
  */
8431
- Switch: string
8583
+ PageId?: string
8432
8584
  /**
8433
- * 统计的间隔,单位是秒,即在首段包传输结束后,将数据传输轴按照本参数切分,每个分片独立计算慢速攻击。
8434
- 注意:此字段可能返回 null,表示取不到有效值。
8435
- */
8436
- Interval?: number
8437
- /**
8438
- * 统计时应用的速率阈值,单位是bps,即如果本分片中的传输速率没达到本参数的值,则判定为慢速攻击,应用慢速攻击的处置方式。
8439
- 注意:此字段可能返回 null,表示取不到有效值。
8585
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8440
8586
  */
8441
- Threshold?: number
8587
+ RequestId?: string
8442
8588
  }
8443
8589
 
8444
8590
  /**
@@ -8614,6 +8760,32 @@ export interface IPWhitelist {
8614
8760
  IPv6: Array<string>
8615
8761
  }
8616
8762
 
8763
+ /**
8764
+ * CreateCustomizeErrorPage请求参数结构体
8765
+ */
8766
+ export interface CreateCustomizeErrorPageRequest {
8767
+ /**
8768
+ * 站点 ID。
8769
+ */
8770
+ ZoneId: string
8771
+ /**
8772
+ * 自定义错误页名称,名称为 2-30 个字符。
8773
+ */
8774
+ Name: string
8775
+ /**
8776
+ * 自定义错误页面类型,取值有:<li>text/html; </li><li>application/json;</li><li>text/plain;</li><li>text/xml。</li>
8777
+ */
8778
+ ContentType: string
8779
+ /**
8780
+ * 自定义错误页面描述,描述不超过 60 个字符。
8781
+ */
8782
+ Description?: string
8783
+ /**
8784
+ * 自定义错误页面内容,内容不超过 2KB。
8785
+ */
8786
+ Content?: string
8787
+ }
8788
+
8617
8789
  /**
8618
8790
  * DescribeSecurityIPGroup请求参数结构体
8619
8791
  */
@@ -8710,6 +8882,26 @@ export interface AccelerateMainland {
8710
8882
  Switch: string
8711
8883
  }
8712
8884
 
8885
+ /**
8886
+ * 支持标准debug结构体
8887
+ */
8888
+ export interface StandardDebug {
8889
+ /**
8890
+ * Debug 功能开关,取值有:
8891
+ <li>on:开启;</li>
8892
+ <li>off:关闭。</li>
8893
+ */
8894
+ Switch: string
8895
+ /**
8896
+ * 允许的客户端来源。支持填写 IPv4 以及 IPv6 的 IP/IP 段。0.0.0.0/0 表示允许所有 IPv4 客户端进行调试,::/0 表示允许所有 IPv6 客户端进行调试。
8897
+ */
8898
+ AllowClientIPList: Array<string>
8899
+ /**
8900
+ * Debug 功能到期时间。超出设置的时间,则功能失效。
8901
+ */
8902
+ ExpireTime: string
8903
+ }
8904
+
8713
8905
  /**
8714
8906
  * BindSecurityTemplateToEntity请求参数结构体
8715
8907
  */
@@ -168,19 +168,19 @@ export interface ImageTranslateResponse {
168
168
  /**
169
169
  * 请求的SessionUuid返回
170
170
  */
171
- SessionUuid: string
171
+ SessionUuid?: string
172
172
  /**
173
173
  * 源语言
174
174
  */
175
- Source: string
175
+ Source?: string
176
176
  /**
177
177
  * 目标语言
178
178
  */
179
- Target: string
179
+ Target?: string
180
180
  /**
181
181
  * 图片翻译结果,翻译结果按识别的文本每一行独立翻译,后续会推出按段落划分并翻译的版本
182
182
  */
183
- ImageRecord: ImageRecord
183
+ ImageRecord?: ImageRecord
184
184
  /**
185
185
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
186
186
  */
@@ -3241,7 +3241,7 @@ export interface StartWebRecordRequest {
3241
3241
  */
3242
3242
  MaxDurationLimit?: number
3243
3243
  /**
3244
- * 云存储相关的参数,目前支持腾讯云对象存储,不支持第三方云存储以及VOD
3244
+ * 云存储相关的参数,目前支持腾讯云对象存储以及腾讯云云点播VOD,不支持第三方云存储
3245
3245
  */
3246
3246
  StorageParams?: StorageParams
3247
3247
  /**