tencentcloud-sdk-nodejs 4.1.325 → 4.1.327

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 (167) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/adp/v20260520/adp_client.js +37 -10
  3. package/es/services/ags/v20250920/ags_client.js +8 -2
  4. package/es/services/btoe/index.js +2 -2
  5. package/es/services/cdc/v20201214/cdc_client.js +3 -0
  6. package/es/services/cfw/v20190904/cfw_client.js +12 -6
  7. package/es/services/chdfs/index.js +2 -2
  8. package/es/services/dbbrain/index.js +2 -2
  9. package/es/services/dbbrain/v20210527/dbbrain_client.js +6 -0
  10. package/es/services/dts/index.js +2 -2
  11. package/es/services/eis/index.js +2 -2
  12. package/es/services/es/index.js +2 -2
  13. package/es/services/essbasic/index.js +2 -2
  14. package/es/services/fwm/v20250611/fwm_client.js +10 -7
  15. package/es/services/iai/index.js +2 -2
  16. package/es/services/iotcloud/index.js +2 -2
  17. package/es/services/iotexplorer/v20190423/iotexplorer_client.js +4 -25
  18. package/es/services/iotvideo/index.js +2 -2
  19. package/es/services/irp/index.js +2 -2
  20. package/es/services/iss/v20230517/iss_client.js +196 -130
  21. package/es/services/live/v20180801/live_client.js +9 -0
  22. package/es/services/organization/v20210331/organization_client.js +3 -0
  23. package/es/services/redis/v20180412/redis_client.js +8 -2
  24. package/es/services/rum/v20210622/rum_client.js +9 -6
  25. package/es/services/tem/index.js +2 -2
  26. package/es/services/teo/index.js +2 -2
  27. package/es/services/thpc/index.js +4 -4
  28. package/es/services/tione/v20211111/tione_client.js +5 -2
  29. package/es/services/tsw/index.js +2 -2
  30. package/es/services/vm/index.js +2 -2
  31. package/es/services/vod/index.js +2 -2
  32. package/es/services/waf/v20180125/waf_client.js +60 -12
  33. package/es/services/wedata/index.js +2 -2
  34. package/es/services/yunsou/index.js +2 -2
  35. package/package.json +1 -1
  36. package/tencentcloud/common/sdk_version.d.ts +1 -1
  37. package/tencentcloud/common/sdk_version.js +1 -1
  38. package/tencentcloud/services/adp/v20260520/adp_client.d.ts +48 -11
  39. package/tencentcloud/services/adp/v20260520/adp_client.js +70 -15
  40. package/tencentcloud/services/adp/v20260520/adp_models.d.ts +1210 -165
  41. package/tencentcloud/services/ags/v20250920/ags_client.d.ts +11 -3
  42. package/tencentcloud/services/ags/v20250920/ags_client.js +15 -3
  43. package/tencentcloud/services/ags/v20250920/ags_models.d.ts +191 -0
  44. package/tencentcloud/services/alb/v20251030/alb_models.d.ts +10 -13
  45. package/tencentcloud/services/apis/v20240801/apis_models.d.ts +34 -4
  46. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +61 -6
  47. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  48. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  49. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +4 -0
  50. package/tencentcloud/services/bh/v20230418/bh_models.d.ts +46 -27
  51. package/tencentcloud/services/btoe/index.d.ts +4 -4
  52. package/tencentcloud/services/btoe/index.js +2 -2
  53. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +19 -7
  54. package/tencentcloud/services/cdc/v20201214/cdc_client.d.ts +5 -1
  55. package/tencentcloud/services/cdc/v20201214/cdc_client.js +6 -0
  56. package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +48 -35
  57. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +82 -82
  58. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +6 -2
  59. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +15 -7
  60. package/tencentcloud/services/cfw/v20190904/cfw_client.js +21 -9
  61. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +728 -35
  62. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  63. package/tencentcloud/services/chdfs/index.js +2 -2
  64. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +48 -0
  65. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +25 -31
  66. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +83 -49
  67. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +194 -4
  68. package/tencentcloud/services/databuddy/v20260715/databuddy_client.d.ts +9 -9
  69. package/tencentcloud/services/databuddy/v20260715/databuddy_client.js +9 -9
  70. package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +17 -17
  71. package/tencentcloud/services/dbbrain/index.d.ts +4 -4
  72. package/tencentcloud/services/dbbrain/index.js +2 -2
  73. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -1
  74. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -0
  75. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +668 -53
  76. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +152 -2
  77. package/tencentcloud/services/dts/index.d.ts +4 -4
  78. package/tencentcloud/services/dts/index.js +2 -2
  79. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +7 -3
  80. package/tencentcloud/services/eis/index.d.ts +4 -4
  81. package/tencentcloud/services/eis/index.js +2 -2
  82. package/tencentcloud/services/es/index.d.ts +4 -4
  83. package/tencentcloud/services/es/index.js +2 -2
  84. package/tencentcloud/services/es/v20180416/es_client.d.ts +1 -1
  85. package/tencentcloud/services/es/v20180416/es_models.d.ts +231 -95
  86. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -7
  87. package/tencentcloud/services/essbasic/index.d.ts +4 -4
  88. package/tencentcloud/services/essbasic/index.js +2 -2
  89. package/tencentcloud/services/fwm/v20250611/fwm_client.d.ts +13 -9
  90. package/tencentcloud/services/fwm/v20250611/fwm_client.js +18 -12
  91. package/tencentcloud/services/fwm/v20250611/fwm_models.d.ts +167 -92
  92. package/tencentcloud/services/ga2/v20250115/ga2_models.d.ts +15 -15
  93. package/tencentcloud/services/iai/index.d.ts +4 -4
  94. package/tencentcloud/services/iai/index.js +2 -2
  95. package/tencentcloud/services/ims/v20201229/ims_client.d.ts +33 -22
  96. package/tencentcloud/services/ims/v20201229/ims_client.js +33 -22
  97. package/tencentcloud/services/ims/v20201229/ims_models.d.ts +11 -11
  98. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +1 -1
  99. package/tencentcloud/services/iotcloud/index.d.ts +4 -4
  100. package/tencentcloud/services/iotcloud/index.js +2 -2
  101. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -33
  102. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -48
  103. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +70 -488
  104. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  105. package/tencentcloud/services/iotvideo/index.js +2 -2
  106. package/tencentcloud/services/irp/index.d.ts +4 -4
  107. package/tencentcloud/services/irp/index.js +2 -2
  108. package/tencentcloud/services/iss/v20230517/iss_client.d.ts +235 -147
  109. package/tencentcloud/services/iss/v20230517/iss_client.js +349 -217
  110. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +1393 -302
  111. package/tencentcloud/services/keewidb/v20220308/keewidb_models.d.ts +1 -0
  112. package/tencentcloud/services/live/v20180801/live_client.d.ts +13 -1
  113. package/tencentcloud/services/live/v20180801/live_client.js +18 -0
  114. package/tencentcloud/services/live/v20180801/live_models.d.ts +227 -34
  115. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +12 -12
  116. package/tencentcloud/services/monitor/v20230616/monitor_models.d.ts +23 -0
  117. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +28 -31
  118. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +5 -0
  119. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -4
  120. package/tencentcloud/services/ocr/v20181119/ocr_client.js +6 -4
  121. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +46 -81
  122. package/tencentcloud/services/organization/v20210331/organization_client.d.ts +5 -1
  123. package/tencentcloud/services/organization/v20210331/organization_client.js +6 -0
  124. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +80 -46
  125. package/tencentcloud/services/rce/v20260130/rce_models.d.ts +163 -96
  126. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +11 -3
  127. package/tencentcloud/services/redis/v20180412/redis_client.js +15 -3
  128. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +78 -10
  129. package/tencentcloud/services/region/v20220627/region_models.d.ts +2 -2
  130. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +11 -7
  131. package/tencentcloud/services/rum/v20210622/rum_client.js +15 -9
  132. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +62 -8
  133. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +30 -4
  134. package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +16 -0
  135. package/tencentcloud/services/tem/index.d.ts +4 -4
  136. package/tencentcloud/services/tem/index.js +2 -2
  137. package/tencentcloud/services/teo/index.d.ts +4 -4
  138. package/tencentcloud/services/teo/index.js +2 -2
  139. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +2 -2
  140. package/tencentcloud/services/teo/v20220901/teo_client.js +2 -2
  141. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +72 -65
  142. package/tencentcloud/services/thpc/index.d.ts +6 -6
  143. package/tencentcloud/services/thpc/index.js +4 -4
  144. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +7 -3
  145. package/tencentcloud/services/tione/v20211111/tione_client.js +9 -3
  146. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +101 -39
  147. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
  148. package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
  149. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +4 -0
  150. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +20 -20
  151. package/tencentcloud/services/tsw/index.d.ts +4 -4
  152. package/tencentcloud/services/tsw/index.js +2 -2
  153. package/tencentcloud/services/vm/index.d.ts +4 -4
  154. package/tencentcloud/services/vm/index.js +2 -2
  155. package/tencentcloud/services/vod/index.d.ts +4 -4
  156. package/tencentcloud/services/vod/index.js +2 -2
  157. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +100 -5
  158. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +12 -8
  159. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +79 -15
  160. package/tencentcloud/services/waf/v20180125/waf_client.js +117 -21
  161. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1177 -232
  162. package/tencentcloud/services/wedata/index.d.ts +4 -4
  163. package/tencentcloud/services/wedata/index.js +2 -2
  164. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +10 -0
  165. package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +45 -84
  166. package/tencentcloud/services/yunsou/index.d.ts +4 -4
  167. package/tencentcloud/services/yunsou/index.js +2 -2
@@ -1,3 +1,16 @@
1
+ /**
2
+ * DescribeLLMWafDLPRules返回参数结构体
3
+ */
4
+ export interface DescribeLLMWafDLPRulesResponse {
5
+ /**
6
+ * <p>规则列表</p>
7
+ */
8
+ Rules?: Array<RuleDetail>;
9
+ /**
10
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11
+ */
12
+ RequestId?: string;
13
+ }
1
14
  /**
2
15
  * api安全自定义事件规则结构体
3
16
  */
@@ -44,17 +57,17 @@ export interface ApiSecCustomEventRule {
44
57
  Source?: string;
45
58
  }
46
59
  /**
47
- * DeleteOwaspWhiteRule请求参数结构体
60
+ * AddLLMSdkAccess返回参数结构体
48
61
  */
49
- export interface DeleteOwaspWhiteRuleRequest {
62
+ export interface AddLLMSdkAccessResponse {
50
63
  /**
51
- * 规则白名单ID列表,可通过 [DescribeOwaspWhiteRule](https://cloud.tencent.com/document/product/627/122155) 接口获取
64
+ * 服务id
52
65
  */
53
- Ids: Array<number | bigint>;
66
+ Domain?: string;
54
67
  /**
55
- * 域名
68
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
56
69
  */
57
- Domain: string;
70
+ RequestId?: string;
58
71
  }
59
72
  /**
60
73
  * ModifyUserLevel返回参数结构体
@@ -307,25 +320,25 @@ export interface DescribeApiListVersionTwoResponse {
307
320
  RequestId?: string;
308
321
  }
309
322
  /**
310
- * 当前开启的、匹配范围为全局、优先级最高的场景信息
323
+ * DescribeAfterPayInstances请求参数结构体
311
324
  */
312
- export interface GlobalSceneInfo {
325
+ export interface DescribeAfterPayInstancesRequest {
313
326
  /**
314
- * 场景ID
327
+ * 偏移量
315
328
  */
316
- SceneId?: string;
329
+ Offset: number;
317
330
  /**
318
- * 场景名称
331
+ * 容量
319
332
  */
320
- SceneName?: string;
333
+ Limit: number;
321
334
  /**
322
- * 场景优先级
335
+ * 过滤数组
323
336
  */
324
- Priority?: number;
337
+ Filters?: Array<FiltersItemNew>;
325
338
  /**
326
- * 场景更新时间
339
+ * 释放延期标识
327
340
  */
328
- UpdateTime?: number;
341
+ FreeDelayFlag?: number;
329
342
  }
330
343
  /**
331
344
  * 对象
@@ -625,6 +638,19 @@ export interface SearchLogResponse {
625
638
  */
626
639
  RequestId?: string;
627
640
  }
641
+ /**
642
+ * DescribeLLMWafProtectRules返回参数结构体
643
+ */
644
+ export interface DescribeLLMWafProtectRulesResponse {
645
+ /**
646
+ * <p>类别列表</p>
647
+ */
648
+ Categories?: Array<CategoryGroup>;
649
+ /**
650
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
651
+ */
652
+ RequestId?: string;
653
+ }
628
654
  /**
629
655
  * ModifyUserSignatureClass返回参数结构体
630
656
  */
@@ -831,17 +857,25 @@ export interface ModifyUserSignatureRuleResponse {
831
857
  RequestId?: string;
832
858
  }
833
859
  /**
834
- * ModifyInstanceName返回参数结构体
860
+ * ModifyApiAnalyzeStatus请求参数结构体
835
861
  */
836
- export interface ModifyInstanceNameResponse {
862
+ export interface ModifyApiAnalyzeStatusRequest {
837
863
  /**
838
- * 修改状态:0为成功
864
+ * 开关状态
839
865
  */
840
- ModifyCode?: number;
866
+ Status: number;
841
867
  /**
842
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
868
+ * 域名
843
869
  */
844
- RequestId?: string;
870
+ Domain?: string;
871
+ /**
872
+ * 实例id
873
+ */
874
+ InstanceId?: string;
875
+ /**
876
+ * 需要批量开启的实体列表
877
+ */
878
+ TargetList?: Array<TargetEntity>;
845
879
  }
846
880
  /**
847
881
  * 实例对象的简略结构,只包含实例ID和实例名
@@ -1038,6 +1072,15 @@ export interface MajorEventsPkg {
1038
1072
  */
1039
1073
  HWState?: number;
1040
1074
  }
1075
+ /**
1076
+ * DescribeLLMContentRuleList返回参数结构体
1077
+ */
1078
+ export interface DescribeLLMContentRuleListResponse {
1079
+ /**
1080
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1081
+ */
1082
+ RequestId?: string;
1083
+ }
1041
1084
  /**
1042
1085
  * DescribeDomainRules请求参数结构体
1043
1086
  */
@@ -1065,6 +1108,15 @@ export interface DeleteAccessExportResponse {
1065
1108
  */
1066
1109
  RequestId?: string;
1067
1110
  }
1111
+ /**
1112
+ * ModifyLLMWafProtectRule返回参数结构体
1113
+ */
1114
+ export interface ModifyLLMWafProtectRuleResponse {
1115
+ /**
1116
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1117
+ */
1118
+ RequestId?: string;
1119
+ }
1068
1120
  /**
1069
1121
  * DescribeModuleStatus返回参数结构体
1070
1122
  */
@@ -1120,17 +1172,29 @@ export interface AccessKeyValueInfo {
1120
1172
  Value?: AccessValueInfo;
1121
1173
  }
1122
1174
  /**
1123
- * JWT显示设置(只有当校验方式为JWS/JWE的时候才会有该配置信息)
1175
+ * 大模型Rule生效条件
1124
1176
  */
1125
- export interface TokenDisplaySetting {
1177
+ export interface LLMOptionsItem {
1126
1178
  /**
1127
- * 是否使用payload字段作为显示token
1179
+ * 键
1128
1180
  */
1129
- DisplayWithPayloadEnable?: boolean;
1181
+ Key?: string;
1130
1182
  /**
1131
- * 用于显示的payload字段名
1183
+ * 操作符
1132
1184
  */
1133
- FieldName?: string;
1185
+ Op?: string;
1186
+ /**
1187
+ * 值
1188
+ */
1189
+ Value?: Array<string>;
1190
+ /**
1191
+ * Header参数值时使用
1192
+ */
1193
+ Name?: string;
1194
+ /**
1195
+ * 区域选择
1196
+ */
1197
+ Areas?: Array<Area>;
1134
1198
  }
1135
1199
  /**
1136
1200
  * Key-Value的形式,Value为Int
@@ -1970,6 +2034,27 @@ export interface DeleteRateLimitsV2Request {
1970
2034
  */
1971
2035
  LimitRuleIds: Array<number | bigint>;
1972
2036
  }
2037
+ /**
2038
+ * 当前开启的、匹配范围为全局、优先级最高的场景信息
2039
+ */
2040
+ export interface GlobalSceneInfo {
2041
+ /**
2042
+ * 场景ID
2043
+ */
2044
+ SceneId?: string;
2045
+ /**
2046
+ * 场景名称
2047
+ */
2048
+ SceneName?: string;
2049
+ /**
2050
+ * 场景优先级
2051
+ */
2052
+ Priority?: number;
2053
+ /**
2054
+ * 场景更新时间
2055
+ */
2056
+ UpdateTime?: number;
2057
+ }
1973
2058
  /**
1974
2059
  * DescribeDomainCountInfo返回参数结构体
1975
2060
  */
@@ -2047,6 +2132,15 @@ export interface ModifyAntiInfoLeakRuleStatusRequest {
2047
2132
  */
2048
2133
  Status: number;
2049
2134
  }
2135
+ /**
2136
+ * ModifyLLMKeywordLibrary请求参数结构体
2137
+ */
2138
+ export interface ModifyLLMKeywordLibraryRequest {
2139
+ /**
2140
+ * 新增的关键词库列表
2141
+ */
2142
+ LibList: Array<LLMKeywordLibrary>;
2143
+ }
2050
2144
  /**
2051
2145
  * CreateDeals请求参数结构体
2052
2146
  */
@@ -2474,6 +2568,19 @@ export interface DescribePostCKafkaFlowsResponse {
2474
2568
  */
2475
2569
  RequestId?: string;
2476
2570
  }
2571
+ /**
2572
+ * ModifyLLMKeywordLibrary返回参数结构体
2573
+ */
2574
+ export interface ModifyLLMKeywordLibraryResponse {
2575
+ /**
2576
+ * 成功创建的列表id
2577
+ */
2578
+ RuleIds?: Array<string>;
2579
+ /**
2580
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2581
+ */
2582
+ RequestId?: string;
2583
+ }
2477
2584
  /**
2478
2585
  * 规则的匹配条件结构体
2479
2586
  */
@@ -2704,6 +2811,23 @@ export interface ModifyOwaspDomainUpdateStatusRequest {
2704
2811
  */
2705
2812
  UpdateStatus: number;
2706
2813
  }
2814
+ /**
2815
+ * DescribeLLMSdkAccess返回参数结构体
2816
+ */
2817
+ export interface DescribeLLMSdkAccessResponse {
2818
+ /**
2819
+ * 查询结果中规则数量
2820
+ */
2821
+ Total?: number;
2822
+ /**
2823
+ * 操作结果
2824
+ */
2825
+ Data?: Array<LLMSdkAccessItem>;
2826
+ /**
2827
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2828
+ */
2829
+ RequestId?: string;
2830
+ }
2707
2831
  /**
2708
2832
  * ModifyInstanceAttackLogPost返回参数结构体
2709
2833
  */
@@ -2951,6 +3075,27 @@ export interface ModifyAreaBanRuleRequest {
2951
3075
  */
2952
3076
  Lang?: string;
2953
3077
  }
3078
+ /**
3079
+ * ModifyLLMStatus请求参数结构体
3080
+ */
3081
+ export interface ModifyLLMStatusRequest {
3082
+ /**
3083
+ * <p>开关状态。true:开启,false:关闭。</p>
3084
+ */
3085
+ Status: boolean;
3086
+ /**
3087
+ * <p>需要操作的域名或者serviceid</p>
3088
+ */
3089
+ Domain: string;
3090
+ /**
3091
+ * <p>开关类型,用于指定要操作的防护模块开关。取值如下:<br>1:防护总开关,控制大模型防护功能的全局开启/关闭。<br>2:算力消耗防护规则开关,控制算力消耗限制功能的开启/关闭。<br>3:自定义防护规则开关,控制内容安全自定义规则功能的开启/关闭。<br>4:ToolCall 防护开关,控制工具调用安全检测功能的开启/关闭。<br>5:提示词攻击防护开关,控制提示词注入/越狱攻击检测功能的开启/关闭。<br>6:内容合规检测开关,控制输入输出内容合规检测功能的开启/关闭。<br>7:敏感数据检测开关,控制敏感信息泄露检测(DLP)功能的开启/关闭。<br>8:Skill 安全检测开关,控制 Skill/Plugin 调用安全检测功能的开启/关闭。<br>9:意图行为检测开关,控制用户意图识别与行为检测功能的开启/关闭。<br>10:恶意URL检测开关,控制响应中恶意链接检测功能的开启/关闭。</p>
3092
+ */
3093
+ SwitchType: number;
3094
+ /**
3095
+ * <p>WAF 实例 ID,表示当前操作所属的 WAF 实例。可通过 DescribeInstances 接口获取。</p>
3096
+ */
3097
+ InstanceId?: string;
3098
+ }
2954
3099
  /**
2955
3100
  * UpdateRateLimitV2返回参数结构体
2956
3101
  */
@@ -3487,6 +3632,19 @@ export interface ModifySpartaProtectionRequest {
3487
3632
  */
3488
3633
  Gzip?: number;
3489
3634
  }
3635
+ /**
3636
+ * 近7天图片送检趋势的单日数据点
3637
+ */
3638
+ export interface LLMImageTrendItem {
3639
+ /**
3640
+ * <p>YYYYMMDD 格式日期</p>
3641
+ */
3642
+ DayTime?: string;
3643
+ /**
3644
+ * <p>当日图片送检量(单位:张)</p>
3645
+ */
3646
+ ImageUsage?: number;
3647
+ }
3490
3648
  /**
3491
3649
  * DeleteAttackDownloadRecord请求参数结构体
3492
3650
  */
@@ -3638,6 +3796,19 @@ export interface DescribeAccessIndexResponse {
3638
3796
  */
3639
3797
  RequestId?: string;
3640
3798
  }
3799
+ /**
3800
+ * DescribeWafAutoDenyStatus返回参数结构体
3801
+ */
3802
+ export interface DescribeWafAutoDenyStatusResponse {
3803
+ /**
3804
+ * WAF 自动封禁详情
3805
+ */
3806
+ WafAutoDenyDetails?: AutoDenyDetail;
3807
+ /**
3808
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3809
+ */
3810
+ RequestId?: string;
3811
+ }
3641
3812
  /**
3642
3813
  * ModifyUserSignatureRule请求参数结构体
3643
3814
  */
@@ -3659,6 +3830,43 @@ export interface ModifyUserSignatureRuleRequest {
3659
3830
  */
3660
3831
  RuleID?: Array<ReqUserRule>;
3661
3832
  }
3833
+ /**
3834
+ * SearchAccessLog请求参数结构体
3835
+ */
3836
+ export interface SearchAccessLogRequest {
3837
+ /**
3838
+ * 客户要查询的日志主题ID,每个客户都有对应的一个主题,新版本此字段填空字符串
3839
+ */
3840
+ TopicId: string;
3841
+ /**
3842
+ * 要查询的日志的起始时间,Unix时间戳,单位ms
3843
+ */
3844
+ From: number;
3845
+ /**
3846
+ * 要查询的日志的结束时间,Unix时间戳,单位ms
3847
+ */
3848
+ To: number;
3849
+ /**
3850
+ * 查询语句,语句长度最大为4096
3851
+ */
3852
+ Query: string;
3853
+ /**
3854
+ * 单次查询返回的日志条数,最大值为100
3855
+ */
3856
+ Limit?: number;
3857
+ /**
3858
+ * 新版本此字段失效,填空字符串,翻页使用Page
3859
+ */
3860
+ Context?: string;
3861
+ /**
3862
+ * 日志接口是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
3863
+ */
3864
+ Sort?: string;
3865
+ /**
3866
+ * 第几页,从0开始。新版本接口字段
3867
+ */
3868
+ Page?: number;
3869
+ }
3662
3870
  /**
3663
3871
  * CreatePostCKafkaFlow返回参数结构体
3664
3872
  */
@@ -3689,6 +3897,35 @@ export interface FieldWriteConfig {
3689
3897
  */
3690
3898
  EnableResponse?: number;
3691
3899
  }
3900
+ /**
3901
+ * LLM实例当天4个计费模块的token消耗量及近7天趋势(均为实例维度)
3902
+ */
3903
+ export interface LLMTokenUsage {
3904
+ /**
3905
+ * <p>今日提示词攻击防护 token 消耗量</p>
3906
+ */
3907
+ PromptUsage?: number;
3908
+ /**
3909
+ * <p>今日内容安全文本检测 token 消耗量</p>
3910
+ */
3911
+ ContentTextUsage?: number;
3912
+ /**
3913
+ * <p>今日敏感数据检测 token 消耗量</p>
3914
+ */
3915
+ SensitiveDataUsage?: number;
3916
+ /**
3917
+ * <p>今日图片送检量(单位:张)</p>
3918
+ */
3919
+ ContentImageUsage?: number;
3920
+ /**
3921
+ * <p>该实例近7天token总量趋势(按天,缺失日期补0)</p>
3922
+ */
3923
+ TokenTrend?: Array<LLMTokenTrendItem>;
3924
+ /**
3925
+ * <p>该实例近7天图片送检趋势(按天,缺失日期补0)</p>
3926
+ */
3927
+ ImageTrend?: Array<LLMImageTrendItem>;
3928
+ }
3692
3929
  /**
3693
3930
  * ModifyWafThreatenIntelligence返回参数结构体
3694
3931
  */
@@ -4217,6 +4454,10 @@ export interface ModifyBatchCustomWhiteRuleStatusRequest {
4217
4454
  */
4218
4455
  Status: number;
4219
4456
  }
4457
+ /**
4458
+ * DescribeLLMContentRuleList请求参数结构体
4459
+ */
4460
+ export type DescribeLLMContentRuleListRequest = null;
4220
4461
  /**
4221
4462
  * ModifyUserSignatureClass请求参数结构体
4222
4463
  */
@@ -4261,24 +4502,53 @@ export interface DescribeModuleStatusRequest {
4261
4502
  Domain: string;
4262
4503
  }
4263
4504
  /**
4264
- * DeleteRateLimitsV2返回参数结构体
4505
+ * DescribeLLMSdkAccess请求参数结构体
4265
4506
  */
4266
- export interface DeleteRateLimitsV2Response {
4507
+ export interface DescribeLLMSdkAccessRequest {
4267
4508
  /**
4268
- * 操作结果
4509
+ * 实例id
4269
4510
  */
4270
- BaseInfo?: RateLimitCommonRsp;
4511
+ InstanceId: string;
4271
4512
  /**
4272
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4513
+ * 分页的起始位置
4273
4514
  */
4274
- RequestId?: string;
4275
- }
4276
- /**
4277
- * DeleteAttackWhiteRule请求参数结构体
4278
- */
4279
- export interface DeleteAttackWhiteRuleRequest {
4515
+ Offset?: number;
4280
4516
  /**
4281
- * 规则序号组
4517
+ * 每页行数
4518
+ */
4519
+ Limit?: number;
4520
+ /**
4521
+ * 过滤器
4522
+ */
4523
+ Filters?: Array<FiltersItemNew>;
4524
+ /**
4525
+ * 支持根据ts排序
4526
+ */
4527
+ By?: string;
4528
+ /**
4529
+ * asc或者desc
4530
+ */
4531
+ Order?: string;
4532
+ }
4533
+ /**
4534
+ * DeleteRateLimitsV2返回参数结构体
4535
+ */
4536
+ export interface DeleteRateLimitsV2Response {
4537
+ /**
4538
+ * 操作结果
4539
+ */
4540
+ BaseInfo?: RateLimitCommonRsp;
4541
+ /**
4542
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4543
+ */
4544
+ RequestId?: string;
4545
+ }
4546
+ /**
4547
+ * DeleteAttackWhiteRule请求参数结构体
4548
+ */
4549
+ export interface DeleteAttackWhiteRuleRequest {
4550
+ /**
4551
+ * 规则序号组
4282
4552
  */
4283
4553
  Ids: Array<number | bigint>;
4284
4554
  /**
@@ -4400,6 +4670,19 @@ export interface CreateProtectGroupRequest {
4400
4670
  */
4401
4671
  Tags?: Array<TagInfo>;
4402
4672
  }
4673
+ /**
4674
+ * DeleteLLMContentRule请求参数结构体
4675
+ */
4676
+ export interface DeleteLLMContentRuleRequest {
4677
+ /**
4678
+ * <p>Id列表</p>
4679
+ */
4680
+ Ids: Array<string>;
4681
+ /**
4682
+ * <p>域名</p>
4683
+ */
4684
+ Domain?: string;
4685
+ }
4403
4686
  /**
4404
4687
  * CreatePostCLSFlow返回参数结构体
4405
4688
  */
@@ -4768,9 +5051,17 @@ export interface ModifySpartaProtectionModeResponse {
4768
5051
  RequestId?: string;
4769
5052
  }
4770
5053
  /**
4771
- * ModifySpartaProtection返回参数结构体
5054
+ * DescribeAfterPayInstances返回参数结构体
4772
5055
  */
4773
- export interface ModifySpartaProtectionResponse {
5056
+ export interface DescribeAfterPayInstancesResponse {
5057
+ /**
5058
+ * 总数
5059
+ */
5060
+ Total?: number;
5061
+ /**
5062
+ * 后付费实例列表
5063
+ */
5064
+ Instances?: Array<AfterPayInstanceInfo>;
4774
5065
  /**
4775
5066
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4776
5067
  */
@@ -5076,33 +5367,13 @@ export interface ApiAsset {
5076
5367
  */
5077
5368
  export type QueryBypassAllStatusRequest = null;
5078
5369
  /**
5079
- * DescribeOwaspRules请求参数结构体
5370
+ * DeleteLLMKeywordLibrary返回参数结构体
5080
5371
  */
5081
- export interface DescribeOwaspRulesRequest {
5082
- /**
5083
- * 需要查询的域名
5084
- */
5085
- Domain: string;
5086
- /**
5087
- * 分页页数,默认为0
5088
- */
5089
- Offset?: number;
5090
- /**
5091
- * 每页容量,默认为10
5092
- */
5093
- Limit?: number;
5372
+ export interface DeleteLLMKeywordLibraryResponse {
5094
5373
  /**
5095
- * 排序字段,支持 RuleId, ModifyTime
5096
- */
5097
- By?: string;
5098
- /**
5099
- * 排序方式,支持asc、desc
5100
- */
5101
- Order?: string;
5102
- /**
5103
- * 筛选条件,支持 RuleId:规则ID、TypeId:规则类型、Desc:规则描述 、CveID:CVE编号、Status:规则状态、VulLevel:威胁等级
5374
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5104
5375
  */
5105
- Filters?: Array<FiltersItemNew>;
5376
+ RequestId?: string;
5106
5377
  }
5107
5378
  /**
5108
5379
  * DescribeCCRuleList请求参数结构体
@@ -5159,6 +5430,19 @@ export interface ResponseCode {
5159
5430
  */
5160
5431
  Message?: string;
5161
5432
  }
5433
+ /**
5434
+ * 大模型内容安全,不当信息配置中,敏感度配置
5435
+ */
5436
+ export interface ValueLevel {
5437
+ /**
5438
+ * 标签,如政治等
5439
+ */
5440
+ Label: string;
5441
+ /**
5442
+ * 敏感度
5443
+ */
5444
+ Level: number;
5445
+ }
5162
5446
  /**
5163
5447
  * PeakPoints数组项
5164
5448
  */
@@ -5275,6 +5559,15 @@ export interface ModifyAttackWhiteRuleResponse {
5275
5559
  */
5276
5560
  RequestId?: string;
5277
5561
  }
5562
+ /**
5563
+ * ModifyLLMContentRuleStatus返回参数结构体
5564
+ */
5565
+ export interface ModifyLLMContentRuleStatusResponse {
5566
+ /**
5567
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5568
+ */
5569
+ RequestId?: string;
5570
+ }
5278
5571
  /**
5279
5572
  * SearchAccessLog返回参数结构体
5280
5573
  */
@@ -5839,6 +6132,19 @@ export interface DeleteBotSceneUCBRuleResponse {
5839
6132
  */
5840
6133
  RequestId?: string;
5841
6134
  }
6135
+ /**
6136
+ * 近7天token总量趋势的单日数据点
6137
+ */
6138
+ export interface LLMTokenTrendItem {
6139
+ /**
6140
+ * <p>YYYYMMDD 格式日期</p>
6141
+ */
6142
+ DayTime?: string;
6143
+ /**
6144
+ * <p>当日token总用量</p>
6145
+ */
6146
+ TokenUsage?: number;
6147
+ }
5842
6148
  /**
5843
6149
  * 免鉴权信息
5844
6150
  */
@@ -5883,13 +6189,22 @@ export interface DescribePortsRequest {
5883
6189
  Edition?: string;
5884
6190
  }
5885
6191
  /**
5886
- * DescribeWafAutoDenyStatus返回参数结构体
6192
+ * DeleteOwaspWhiteRule请求参数结构体
5887
6193
  */
5888
- export interface DescribeWafAutoDenyStatusResponse {
6194
+ export interface DeleteOwaspWhiteRuleRequest {
5889
6195
  /**
5890
- * WAF 自动封禁详情
6196
+ * 规则白名单ID列表,可通过 [DescribeOwaspWhiteRule](https://cloud.tencent.com/document/product/627/122155) 接口获取
5891
6197
  */
5892
- WafAutoDenyDetails?: AutoDenyDetail;
6198
+ Ids: Array<number | bigint>;
6199
+ /**
6200
+ * 域名
6201
+ */
6202
+ Domain: string;
6203
+ }
6204
+ /**
6205
+ * ModifyLLMWafDLPRule返回参数结构体
6206
+ */
6207
+ export interface ModifyLLMWafDLPRuleResponse {
5893
6208
  /**
5894
6209
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5895
6210
  */
@@ -5932,6 +6247,28 @@ export interface AreaBanRule {
5932
6247
  * DescribeTlsVersion请求参数结构体
5933
6248
  */
5934
6249
  export type DescribeTlsVersionRequest = null;
6250
+ /**
6251
+ * 大模型检测内容匹配
6252
+ */
6253
+ export interface RuleItem {
6254
+ /**
6255
+ * 信息类型
6256
+ */
6257
+ Key?: string;
6258
+ /**
6259
+ * 操作符,默认是包含
6260
+
6261
+ */
6262
+ Op?: string;
6263
+ /**
6264
+ * 信息类型
6265
+ */
6266
+ Value?: Array<string>;
6267
+ /**
6268
+ * 信息类
6269
+ */
6270
+ Levels?: Array<ValueLevel>;
6271
+ }
5935
6272
  /**
5936
6273
  * 计费下单响应实体
5937
6274
  */
@@ -6294,6 +6631,19 @@ export interface DescribeBotSceneUCBRuleResponse {
6294
6631
  */
6295
6632
  RequestId?: string;
6296
6633
  }
6634
+ /**
6635
+ * JWT显示设置(只有当校验方式为JWS/JWE的时候才会有该配置信息)
6636
+ */
6637
+ export interface TokenDisplaySetting {
6638
+ /**
6639
+ * 是否使用payload字段作为显示token
6640
+ */
6641
+ DisplayWithPayloadEnable?: boolean;
6642
+ /**
6643
+ * 用于显示的payload字段名
6644
+ */
6645
+ FieldName?: string;
6646
+ }
6297
6647
  /**
6298
6648
  * 产品明细
6299
6649
  */
@@ -6483,6 +6833,49 @@ export interface DeleteIpAccessControlResponse {
6483
6833
  */
6484
6834
  RequestId?: string;
6485
6835
  }
6836
+ /**
6837
+ * DescribeLLMKeywordLibrary请求参数结构体
6838
+ */
6839
+ export interface DescribeLLMKeywordLibraryRequest {
6840
+ /**
6841
+ * 词库类型筛选
6842
+ 枚举值:
6843
+ custom:自定义黑库
6844
+ builtin:内置词库
6845
+ all:全部词库
6846
+ white:自定义白库
6847
+ */
6848
+ Type: string;
6849
+ /**
6850
+ * 分页偏移量
6851
+ 取值范围:[0, +∞)
6852
+ 默认值:0
6853
+ */
6854
+ Offset?: number;
6855
+ /**
6856
+ * 每页返回数量
6857
+ 取值范围:[1, 1000]
6858
+ 默认值:10
6859
+ */
6860
+ Limit?: number;
6861
+ /**
6862
+ * 排序字段
6863
+ 枚举值:
6864
+ UpdateTime:按更新时间排序
6865
+ CreateTime:按创建时间排序
6866
+ Name:按名称排序
6867
+ 默认值:UpdateTime
6868
+ */
6869
+ By?: string;
6870
+ /**
6871
+ * 排序方向
6872
+ 枚举值:
6873
+ ASC:升序
6874
+ DESC:降序
6875
+ 默认值:DESC
6876
+ */
6877
+ Order?: string;
6878
+ }
6486
6879
  /**
6487
6880
  * tool_call 场景检测结果
6488
6881
  */
@@ -7220,6 +7613,35 @@ export interface ScanIpInfo {
7220
7613
  */
7221
7614
  UpdateTime?: number;
7222
7615
  }
7616
+ /**
7617
+ * ModifyLLMWafProtectRule请求参数结构体
7618
+ */
7619
+ export interface ModifyLLMWafProtectRuleRequest {
7620
+ /**
7621
+ * <p>服务ID</p>
7622
+ */
7623
+ ServiceId: string;
7624
+ /**
7625
+ * <p>要修改的规则id列表</p>
7626
+ */
7627
+ RuleIds: Array<string>;
7628
+ /**
7629
+ * <p>规则动作</p>
7630
+ */
7631
+ RuleAction?: string;
7632
+ /**
7633
+ * <p>开关</p>
7634
+ */
7635
+ Status?: number;
7636
+ /**
7637
+ * <p>实例id</p>
7638
+ */
7639
+ InstanceId?: string;
7640
+ /**
7641
+ * <p>检测方向:1是入向,2是出向,3是入向和出向都检测</p>
7642
+ */
7643
+ Direction?: number;
7644
+ }
7223
7645
  /**
7224
7646
  * DescribeUserSignatureRule请求参数结构体
7225
7647
  */
@@ -7298,6 +7720,23 @@ export interface DescribeUserClbWafRegionsRequest {
7298
7720
  */
7299
7721
  AlbType?: string;
7300
7722
  }
7723
+ /**
7724
+ * AddLLMSdkAccess请求参数结构体
7725
+ */
7726
+ export interface AddLLMSdkAccessRequest {
7727
+ /**
7728
+ * 要接入的应用名称
7729
+ */
7730
+ Name: string;
7731
+ /**
7732
+ * 实例id
7733
+ */
7734
+ InstanceId: string;
7735
+ /**
7736
+ * 备注
7737
+ */
7738
+ Remark?: string;
7739
+ }
7301
7740
  /**
7302
7741
  * DescribePostCKafkaFlows请求参数结构体
7303
7742
  */
@@ -7644,17 +8083,13 @@ export interface DescribeRuleLimitResponse {
7644
8083
  RequestId?: string;
7645
8084
  }
7646
8085
  /**
7647
- * CreateAccessExport返回参数结构体
8086
+ * DeleteProtectGroup请求参数结构体
7648
8087
  */
7649
- export interface CreateAccessExportResponse {
7650
- /**
7651
- * 日志导出ID。
7652
- */
7653
- ExportId?: string;
8088
+ export interface DeleteProtectGroupRequest {
7654
8089
  /**
7655
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8090
+ * 防护对象组ID列表,支持批量删除
7656
8091
  */
7657
- RequestId?: string;
8092
+ GroupIds?: Array<number | bigint>;
7658
8093
  }
7659
8094
  /**
7660
8095
  * 限流Path
@@ -7773,6 +8208,15 @@ export interface LLMMonPkg {
7773
8208
  */
7774
8209
  InstanceId?: string;
7775
8210
  }
8211
+ /**
8212
+ * ModifyOwaspDomainUpdateStatus返回参数结构体
8213
+ */
8214
+ export interface ModifyOwaspDomainUpdateStatusResponse {
8215
+ /**
8216
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8217
+ */
8218
+ RequestId?: string;
8219
+ }
7776
8220
  /**
7777
8221
  * ModifyHost请求参数结构体
7778
8222
  */
@@ -8138,6 +8582,35 @@ export interface ModifyHostResponse {
8138
8582
  */
8139
8583
  RequestId?: string;
8140
8584
  }
8585
+ /**
8586
+ * ModifyLLMWafDLPRule请求参数结构体
8587
+ */
8588
+ export interface ModifyLLMWafDLPRuleRequest {
8589
+ /**
8590
+ * <p>服务ID</p>
8591
+ */
8592
+ ServiceId: string;
8593
+ /**
8594
+ * <p>要修改的规则id列表</p>
8595
+ */
8596
+ RuleIds: Array<string>;
8597
+ /**
8598
+ * <p>动作</p>
8599
+ */
8600
+ RuleAction?: string;
8601
+ /**
8602
+ * <p>开关</p>
8603
+ */
8604
+ Status?: number;
8605
+ /**
8606
+ * <p>实例id</p>
8607
+ */
8608
+ InstanceId?: string;
8609
+ /**
8610
+ * <p>检测方向:1是入向,2是出向,3是入向和出向都检测</p>
8611
+ */
8612
+ Direction?: number;
8613
+ }
8141
8614
  /**
8142
8615
  * DescribeCertificateVerifyResult请求参数结构体
8143
8616
  */
@@ -8759,30 +9232,58 @@ export interface DeleteSessionRequest {
8759
9232
  SessionID?: number;
8760
9233
  }
8761
9234
  /**
8762
- * ModifyOwaspDomainUpdateStatus返回参数结构体
9235
+ * LLM waf 自定义词库实体
8763
9236
  */
8764
- export interface ModifyOwaspDomainUpdateStatusResponse {
9237
+ export interface LLMKeywordLibrary {
8765
9238
  /**
8766
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9239
+ * 词库名
8767
9240
  */
8768
- RequestId?: string;
8769
- }
8770
- /**
8771
- * SearchAttackLog请求参数结构体
8772
- */
8773
- export interface SearchAttackLogRequest {
9241
+ Name: string;
8774
9242
  /**
8775
- * 查询的域名,所有域名使用all
9243
+ * 词库描述
8776
9244
  */
8777
- Domain: string;
9245
+ Description: string;
8778
9246
  /**
8779
- * 查询起始时间
9247
+ * 词库类型,custom 或 builtin
8780
9248
  */
8781
- StartTime: string;
9249
+ Type: string;
8782
9250
  /**
8783
- * 查询结束时间
9251
+ * 关键词列表
8784
9252
  */
8785
- EndTime: string;
9253
+ Keywords: Array<string>;
9254
+ /**
9255
+ * 词库规则 id
9256
+ */
9257
+ RuleId?: string;
9258
+ /**
9259
+ * 被引用的规则 id 列表
9260
+ */
9261
+ ReferencedRules?: Array<string>;
9262
+ /**
9263
+ * 更新时间
9264
+ */
9265
+ UpdateTime?: number;
9266
+ /**
9267
+ * 词库类别:black-黑库(默认),white-白库;空值按黑库处理
9268
+ */
9269
+ Category?: string;
9270
+ }
9271
+ /**
9272
+ * SearchAttackLog请求参数结构体
9273
+ */
9274
+ export interface SearchAttackLogRequest {
9275
+ /**
9276
+ * 查询的域名,所有域名使用all
9277
+ */
9278
+ Domain: string;
9279
+ /**
9280
+ * 查询起始时间
9281
+ */
9282
+ StartTime: string;
9283
+ /**
9284
+ * 查询结束时间
9285
+ */
9286
+ EndTime: string;
8786
9287
  /**
8787
9288
  * 接口升级,这个字段传空字符串,翻页使用Page字段
8788
9289
  */
@@ -8804,6 +9305,15 @@ export interface SearchAttackLogRequest {
8804
9305
  */
8805
9306
  Page?: number;
8806
9307
  }
9308
+ /**
9309
+ * ModifyIpAccessControl返回参数结构体
9310
+ */
9311
+ export interface ModifyIpAccessControlResponse {
9312
+ /**
9313
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9314
+ */
9315
+ RequestId?: string;
9316
+ }
8807
9317
  /**
8808
9318
  * AddCustomRule返回参数结构体
8809
9319
  */
@@ -9375,6 +9885,103 @@ export interface DescribeBotIdRuleRequest {
9375
9885
  */
9376
9886
  RuleAction?: Array<string>;
9377
9887
  }
9888
+ /**
9889
+ * 后付费实例(Edition=llm-sdk-waf)的基础信息,仅包含 tb_instance_conf 基础字段
9890
+ */
9891
+ export interface AfterPayInstanceInfo {
9892
+ /**
9893
+ * <p>用户appid</p>
9894
+ */
9895
+ AppId: number;
9896
+ /**
9897
+ * <p>实例唯一ID</p>
9898
+ */
9899
+ InstanceId: string;
9900
+ /**
9901
+ * <p>实例名称</p>
9902
+ */
9903
+ InstanceName: string;
9904
+ /**
9905
+ * <p>实例对应资源ID,计费使用</p>
9906
+ */
9907
+ ResourceIds: string;
9908
+ /**
9909
+ * <p>实例版本,后付费实例固定为 llm-sdk-waf</p>
9910
+ */
9911
+ Edition: string;
9912
+ /**
9913
+ * <p>实例所属地域</p>
9914
+ */
9915
+ Region: string;
9916
+ /**
9917
+ * <p>付费模式,后付费实例为 0</p>
9918
+ */
9919
+ PayMode: number;
9920
+ /**
9921
+ * <p>实例过期时间</p>
9922
+ */
9923
+ ValidTime: string;
9924
+ /**
9925
+ * <p>实例开始时间</p>
9926
+ */
9927
+ BeginTime: string;
9928
+ /**
9929
+ * <p>计费项</p>
9930
+ */
9931
+ BillingItem: string;
9932
+ /**
9933
+ * <p>自动续费标识。<br>0:关闭<br>1:开启</p>
9934
+ */
9935
+ RenewFlag?: number;
9936
+ /**
9937
+ * <p>实例套餐版本</p>
9938
+ */
9939
+ Level?: number;
9940
+ /**
9941
+ * <p>实例修改时间</p>
9942
+ */
9943
+ ModifyTime?: string;
9944
+ /**
9945
+ * <p>域名数量上限</p>
9946
+ */
9947
+ SubDomainLimit?: number;
9948
+ /**
9949
+ * <p>主域名数量上限</p>
9950
+ */
9951
+ MainDomainLimit?: number;
9952
+ /**
9953
+ * <p>qps弹性计费上限</p>
9954
+ */
9955
+ ElasticBilling?: number;
9956
+ /**
9957
+ * <p>攻击日志投递开关</p>
9958
+ */
9959
+ AttackLogPost?: number;
9960
+ /**
9961
+ * <p>api安全是否购买</p>
9962
+ */
9963
+ APISecurity?: number;
9964
+ /**
9965
+ * <p>是否api 安全试用</p>
9966
+ */
9967
+ IsAPISecurityTrial?: number;
9968
+ /**
9969
+ * <p>实例延期释放标识</p>
9970
+ */
9971
+ FreeDelayFlag?: number;
9972
+ /**
9973
+ * <p>1是基础2025版本;0不是</p>
9974
+ */
9975
+ BasicFlag?: number;
9976
+ /**
9977
+ * <p>大模型安全「后付费」资源信息,结构与内容与 DescribeInstances 的 InstanceDetail.LLMPkg 保持一致</p>
9978
+ */
9979
+ LLMPkg?: LLMPkg;
9980
+ /**
9981
+ * <p>LLM实例当天4个计费模块token消耗量及近7天趋势(仅后付费llm-sdk-waf实例返回)</p>
9982
+ */
9983
+ LLMTokenUsage?: LLMTokenUsage;
9984
+ }
9378
9985
  /**
9379
9986
  * DescribeCustomRuleList返回参数结构体
9380
9987
  */
@@ -11568,25 +12175,13 @@ export interface DeleteExportRequest {
11568
12175
  ExportId: string;
11569
12176
  }
11570
12177
  /**
11571
- * ModifyApiAnalyzeStatus请求参数结构体
12178
+ * ExportLLMKeywordLib请求参数结构体
11572
12179
  */
11573
- export interface ModifyApiAnalyzeStatusRequest {
11574
- /**
11575
- * 开关状态
11576
- */
11577
- Status: number;
11578
- /**
11579
- * 域名
11580
- */
11581
- Domain?: string;
11582
- /**
11583
- * 实例id
11584
- */
11585
- InstanceId?: string;
12180
+ export interface ExportLLMKeywordLibRequest {
11586
12181
  /**
11587
- * 需要批量开启的实体列表
12182
+ * 要导出的词库id列表
11588
12183
  */
11589
- TargetList?: Array<TargetEntity>;
12184
+ RuleIds: Array<string>;
11590
12185
  }
11591
12186
  /**
11592
12187
  * ModifyAntiInfoLeakRuleStatus返回参数结构体
@@ -11597,6 +12192,27 @@ export interface ModifyAntiInfoLeakRuleStatusResponse {
11597
12192
  */
11598
12193
  RequestId?: string;
11599
12194
  }
12195
+ /**
12196
+ * UpdateProtectionModes请求参数结构体
12197
+ */
12198
+ export interface UpdateProtectionModesRequest {
12199
+ /**
12200
+ * 域名
12201
+ */
12202
+ Domain: string;
12203
+ /**
12204
+ * 资源类型
12205
+ */
12206
+ Edition: string;
12207
+ /**
12208
+ * 大类规则ID
12209
+ */
12210
+ TypeIDs: Array<string>;
12211
+ /**
12212
+ * 0表示观察,1表示拦截
12213
+ */
12214
+ Mode: number;
12215
+ }
11600
12216
  /**
11601
12217
  * 自研版限流规则数据结构
11602
12218
  */
@@ -11922,17 +12538,21 @@ export interface DescribeAccessFastAnalysisResponse {
11922
12538
  RequestId?: string;
11923
12539
  }
11924
12540
  /**
11925
- * DeleteAntiInfoLeakRule请求参数结构体
12541
+ * DescribeProtectGroup返回参数结构体
11926
12542
  */
11927
- export interface DeleteAntiInfoLeakRuleRequest {
12543
+ export interface DescribeProtectGroupResponse {
11928
12544
  /**
11929
- * 域名
12545
+ * 防护对象组的详情
11930
12546
  */
11931
- Domain: string;
12547
+ Data?: Array<ProtectGroupInfo>;
11932
12548
  /**
11933
- * 规则id
12549
+ * 对象组的总数
11934
12550
  */
11935
- RuleId: number;
12551
+ Total?: number;
12552
+ /**
12553
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12554
+ */
12555
+ RequestId?: string;
11936
12556
  }
11937
12557
  /**
11938
12558
  * ModifyDomainIpv6Status返回参数结构体
@@ -12262,9 +12882,65 @@ export interface DescribeAreaBanRuleRequest {
12262
12882
  Domain: string;
12263
12883
  }
12264
12884
  /**
12265
- * ModifyIpAccessControl返回参数结构体
12885
+ * DescribeApiDetail返回参数结构体
12266
12886
  */
12267
- export interface ModifyIpAccessControlResponse {
12887
+ export interface DescribeApiDetailResponse {
12888
+ /**
12889
+ * 请求样例,json字符串格式
12890
+ */
12891
+ Log?: string;
12892
+ /**
12893
+ * 完整请求样例
12894
+ */
12895
+ FullReqLog?: string;
12896
+ /**
12897
+ * 请求参数样例列表
12898
+ */
12899
+ ParameterList?: Array<ApiParameterType>;
12900
+ /**
12901
+ * 当前场景标签
12902
+ */
12903
+ Scene?: string;
12904
+ /**
12905
+ * 敏感字段
12906
+ */
12907
+ SensitiveFields?: Array<string>;
12908
+ /**
12909
+ * 7天内是否活跃
12910
+ */
12911
+ IsActive?: boolean;
12912
+ /**
12913
+ * 访问ip数
12914
+ */
12915
+ IpCount?: number;
12916
+ /**
12917
+ * 访问地域数量
12918
+ */
12919
+ RegionCount?: number;
12920
+ /**
12921
+ * 关联事件数
12922
+ */
12923
+ EventCount?: number;
12924
+ /**
12925
+ * 涉敏数据条数
12926
+ */
12927
+ SensitiveCount?: number;
12928
+ /**
12929
+ * 风险等级
12930
+ */
12931
+ Level?: number;
12932
+ /**
12933
+ * 响应体
12934
+ */
12935
+ RspLog?: string;
12936
+ /**
12937
+ * 昨日访问峰值QPS
12938
+ */
12939
+ MaxQPS?: number;
12940
+ /**
12941
+ * 历史样例
12942
+ */
12943
+ ApiDetailSampleHistory?: Array<ApiDetailSampleHistory>;
12268
12944
  /**
12269
12945
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12270
12946
  */
@@ -12855,6 +13531,19 @@ export interface DescribeApiSecEventListResponse {
12855
13531
  */
12856
13532
  RequestId?: string;
12857
13533
  }
13534
+ /**
13535
+ * ModifyLLMStatus返回参数结构体
13536
+ */
13537
+ export interface ModifyLLMStatusResponse {
13538
+ /**
13539
+ * <p>操作结果,成功时返回 &quot;Success&quot;。</p>
13540
+ */
13541
+ Res?: string;
13542
+ /**
13543
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13544
+ */
13545
+ RequestId?: string;
13546
+ }
12858
13547
  /**
12859
13548
  * Token有效性校验规则
12860
13549
  */
@@ -13050,16 +13739,29 @@ export interface DescribeWafAutoDenyRulesResponse {
13050
13739
  RequestId?: string;
13051
13740
  }
13052
13741
  /**
13053
- * ModifyDomainPostAction返回参数结构体
13742
+ * ModifyInstanceName返回参数结构体
13054
13743
  */
13055
- export interface ModifyDomainPostActionResponse {
13744
+ export interface ModifyInstanceNameResponse {
13745
+ /**
13746
+ * 修改状态:0为成功
13747
+ */
13748
+ ModifyCode?: number;
13056
13749
  /**
13057
13750
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13058
13751
  */
13059
13752
  RequestId?: string;
13060
13753
  }
13061
13754
  /**
13062
- * RefreshAccessCheckResult请求参数结构体
13755
+ * ModifyDomainPostAction返回参数结构体
13756
+ */
13757
+ export interface ModifyDomainPostActionResponse {
13758
+ /**
13759
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13760
+ */
13761
+ RequestId?: string;
13762
+ }
13763
+ /**
13764
+ * RefreshAccessCheckResult请求参数结构体
13063
13765
  */
13064
13766
  export interface RefreshAccessCheckResultRequest {
13065
13767
  /**
@@ -13278,6 +13980,15 @@ export interface ModifyModuleStatusRequest {
13278
13980
  */
13279
13981
  GzipAnalysis?: number;
13280
13982
  }
13983
+ /**
13984
+ * DeleteLLMContentRule返回参数结构体
13985
+ */
13986
+ export interface DeleteLLMContentRuleResponse {
13987
+ /**
13988
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13989
+ */
13990
+ RequestId?: string;
13991
+ }
13281
13992
  /**
13282
13993
  * ModifyUserSignatureRuleV2返回参数结构体
13283
13994
  */
@@ -13937,6 +14648,87 @@ export interface DescribeAttackWhiteRuleRequest {
13937
14648
  */
13938
14649
  Filters?: Array<FiltersItemNew>;
13939
14650
  }
14651
+ /**
14652
+ * sdk接入配置
14653
+ */
14654
+ export interface LLMSdkAccessItem {
14655
+ /**
14656
+ * <p>服务id</p>
14657
+ */
14658
+ Domain?: string;
14659
+ /**
14660
+ * <p>服务名称</p>
14661
+ */
14662
+ Name?: string;
14663
+ /**
14664
+ * <p>备注</p>
14665
+ */
14666
+ Remark?: string;
14667
+ /**
14668
+ * <p>SDK接入来源,可不填</p>
14669
+ */
14670
+ SdkSource?: string;
14671
+ /**
14672
+ * <p>总开关</p>
14673
+ */
14674
+ MainStatus?: boolean;
14675
+ /**
14676
+ * <p>限速开关</p>
14677
+ */
14678
+ LimitRuleStatus?: boolean;
14679
+ /**
14680
+ * <p>内容安全开关</p>
14681
+ */
14682
+ ContentRuleStatus?: boolean;
14683
+ /**
14684
+ * <p>创建时间</p>
14685
+ */
14686
+ CreateTime?: number;
14687
+ /**
14688
+ * <p>修改时间</p>
14689
+ */
14690
+ UpdateTime?: number;
14691
+ /**
14692
+ * <p>限流规则数量</p>
14693
+ */
14694
+ LimitRuleCount?: number;
14695
+ /**
14696
+ * <p>内容安全规则数量</p>
14697
+ */
14698
+ ContentRuleCount?: number;
14699
+ /**
14700
+ * <p>toolcall防护开关</p>
14701
+ */
14702
+ ToolCallStatus?: boolean;
14703
+ /**
14704
+ * <p>llm推理防护开关</p>
14705
+ */
14706
+ LLMProtectStatus?: boolean;
14707
+ /**
14708
+ * <p>内容合规检测开关</p>
14709
+ */
14710
+ ContentComplianceStatus?: boolean;
14711
+ /**
14712
+ * <p>dlp防护开关</p>
14713
+ */
14714
+ DLPStatus?: boolean;
14715
+ /**
14716
+ * <p>skills防护开关</p>
14717
+ */
14718
+ SkillsStatus?: boolean;
14719
+ /**
14720
+ * <p>意图识别检测开关</p>
14721
+ */
14722
+ IntentStatus?: boolean;
14723
+ /**
14724
+ * <p>恶意URL检测开关</p>
14725
+ */
14726
+ UrlDetectStatus?: boolean;
14727
+ /**
14728
+ * <p>生效规则数量</p>
14729
+ */
14730
+ EffectiveRules?: number;
14731
+ }
13940
14732
  /**
13941
14733
  * DescribeAntiInfoLeakageRules返回参数结构体
13942
14734
  */
@@ -14200,6 +14992,23 @@ export interface DescribeAttackTypeRequest {
14200
14992
  */
14201
14993
  Domain?: string;
14202
14994
  }
14995
+ /**
14996
+ * 按分类分组的规则列表
14997
+ */
14998
+ export interface CategoryGroup {
14999
+ /**
15000
+ * <p>分类</p>
15001
+ */
15002
+ Category?: string;
15003
+ /**
15004
+ * <p>总数</p>
15005
+ */
15006
+ Count?: number;
15007
+ /**
15008
+ * <p>规则列表</p>
15009
+ */
15010
+ Rules?: Array<RuleDetail>;
15011
+ }
14203
15012
  /**
14204
15013
  * ModifyCustomWhiteRule请求参数结构体
14205
15014
  */
@@ -14267,6 +15076,15 @@ export interface ModifyInstanceRenewFlagResponse {
14267
15076
  */
14268
15077
  RequestId?: string;
14269
15078
  }
15079
+ /**
15080
+ * ModifySpartaProtection返回参数结构体
15081
+ */
15082
+ export interface ModifySpartaProtectionResponse {
15083
+ /**
15084
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15085
+ */
15086
+ RequestId?: string;
15087
+ }
14270
15088
  /**
14271
15089
  * ModifyOwaspRuleTypeStatus返回参数结构体
14272
15090
  */
@@ -15095,6 +15913,43 @@ export interface ModifyModuleStatusResponse {
15095
15913
  */
15096
15914
  RequestId?: string;
15097
15915
  }
15916
+ /**
15917
+ * aiguard规则详情
15918
+ */
15919
+ export interface RuleDetail {
15920
+ /**
15921
+ * <p>规则ID</p>
15922
+ */
15923
+ RuleId?: string;
15924
+ /**
15925
+ * <p>规则名称</p>
15926
+ */
15927
+ RuleName?: string;
15928
+ /**
15929
+ * <p>描述</p>
15930
+ */
15931
+ Description?: string;
15932
+ /**
15933
+ * <p>严重度</p>
15934
+ */
15935
+ Severity?: string;
15936
+ /**
15937
+ * <p>动作</p>
15938
+ */
15939
+ Action?: string;
15940
+ /**
15941
+ * <p>开关</p>
15942
+ */
15943
+ Status?: number;
15944
+ /**
15945
+ * <p>脱敏样例</p>
15946
+ */
15947
+ DesensitizeSample?: string;
15948
+ /**
15949
+ * <p>检测方向</p><p>取值范围:[0, 3]</p>
15950
+ */
15951
+ Direction?: number;
15952
+ }
15098
15953
  /**
15099
15954
  * 修改/新增自定义规则的入参,查询自定义规则列表时的出参
15100
15955
  */
@@ -15492,6 +16347,23 @@ export interface TokenRuleEntryValue {
15492
16347
  */
15493
16348
  ValidKey?: string;
15494
16349
  }
16350
+ /**
16351
+ * DescribeLLMWafProtectRules请求参数结构体
16352
+ */
16353
+ export interface DescribeLLMWafProtectRulesRequest {
16354
+ /**
16355
+ * <p>服务ID</p>
16356
+ */
16357
+ ServiceId?: string;
16358
+ /**
16359
+ * <p>实例id</p>
16360
+ */
16361
+ InstanceId?: string;
16362
+ /**
16363
+ * <p>规则类型</p>
16364
+ */
16365
+ RuleType?: string;
16366
+ }
15495
16367
  /**
15496
16368
  * 限流Header数据结构
15497
16369
  */
@@ -15552,6 +16424,19 @@ export interface ModifyApiSecEventChangeResponse {
15552
16424
  */
15553
16425
  RequestId?: string;
15554
16426
  }
16427
+ /**
16428
+ * CreateAccessExport返回参数结构体
16429
+ */
16430
+ export interface CreateAccessExportResponse {
16431
+ /**
16432
+ * 日志导出ID。
16433
+ */
16434
+ ExportId?: string;
16435
+ /**
16436
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16437
+ */
16438
+ RequestId?: string;
16439
+ }
15555
16440
  /**
15556
16441
  * ModifyCustomWhiteRuleStatus返回参数结构体
15557
16442
  */
@@ -15612,6 +16497,15 @@ export interface ModifyAntiFakeUrlStatusRequest {
15612
16497
  */
15613
16498
  Ids: Array<number | bigint>;
15614
16499
  }
16500
+ /**
16501
+ * DeleteLLMKeywordLibrary请求参数结构体
16502
+ */
16503
+ export interface DeleteLLMKeywordLibraryRequest {
16504
+ /**
16505
+ * 要删除的词库 id 列表
16506
+ */
16507
+ Ids?: Array<string>;
16508
+ }
15615
16509
  /**
15616
16510
  * DescribePeakValue请求参数结构体
15617
16511
  */
@@ -15804,13 +16698,17 @@ export interface DescribeDomainRulesResponse {
15804
16698
  RequestId?: string;
15805
16699
  }
15806
16700
  /**
15807
- * DeleteProtectGroup请求参数结构体
16701
+ * DescribeLLMWafDLPRules请求参数结构体
15808
16702
  */
15809
- export interface DeleteProtectGroupRequest {
16703
+ export interface DescribeLLMWafDLPRulesRequest {
15810
16704
  /**
15811
- * 防护对象组ID列表,支持批量删除
16705
+ * <p>服务ID</p>
15812
16706
  */
15813
- GroupIds?: Array<number | bigint>;
16707
+ ServiceId?: string;
16708
+ /**
16709
+ * <p>实例id</p>
16710
+ */
16711
+ InstanceId?: string;
15814
16712
  }
15815
16713
  /**
15816
16714
  * CreateDeals返回参数结构体
@@ -15833,6 +16731,35 @@ export interface CreateDealsResponse {
15833
16731
  */
15834
16732
  RequestId?: string;
15835
16733
  }
16734
+ /**
16735
+ * DescribeOwaspRules请求参数结构体
16736
+ */
16737
+ export interface DescribeOwaspRulesRequest {
16738
+ /**
16739
+ * 需要查询的域名
16740
+ */
16741
+ Domain: string;
16742
+ /**
16743
+ * 分页页数,默认为0
16744
+ */
16745
+ Offset?: number;
16746
+ /**
16747
+ * 每页容量,默认为10
16748
+ */
16749
+ Limit?: number;
16750
+ /**
16751
+ * 排序字段,支持 RuleId, ModifyTime
16752
+ */
16753
+ By?: string;
16754
+ /**
16755
+ * 排序方式,支持asc、desc
16756
+ */
16757
+ Order?: string;
16758
+ /**
16759
+ * 筛选条件,支持 RuleId:规则ID、TypeId:规则类型、Desc:规则描述 、CveID:CVE编号、Status:规则状态、VulLevel:威胁等级
16760
+ */
16761
+ Filters?: Array<FiltersItemNew>;
16762
+ }
15836
16763
  /**
15837
16764
  * EnableClientMsg返回参数结构体
15838
16765
  */
@@ -15855,6 +16782,23 @@ export interface DestroyPostCKafkaFlowResponse {
15855
16782
  */
15856
16783
  RequestId?: string;
15857
16784
  }
16785
+ /**
16786
+ * ModifyLLMContentRuleStatus请求参数结构体
16787
+ */
16788
+ export interface ModifyLLMContentRuleStatusRequest {
16789
+ /**
16790
+ * <p>状态</p>
16791
+ */
16792
+ Status: number;
16793
+ /**
16794
+ * <p>Id列表</p>
16795
+ */
16796
+ Ids: Array<string>;
16797
+ /**
16798
+ * <p>域名</p>
16799
+ */
16800
+ Domain?: string;
16801
+ }
15858
16802
  /**
15859
16803
  * DescribeCiphersDetail请求参数结构体
15860
16804
  */
@@ -16170,6 +17114,91 @@ export interface AutoDenyDetail {
16170
17114
  */
16171
17115
  LastUpdateTime?: string;
16172
17116
  }
17117
+ /**
17118
+ * ModifyLLMContentRule请求参数结构体
17119
+ */
17120
+ export interface ModifyLLMContentRuleRequest {
17121
+ /**
17122
+ * <p>名称</p>
17123
+ */
17124
+ Name: string;
17125
+ /**
17126
+ * <p>优先级</p>
17127
+ */
17128
+ Priority: number;
17129
+ /**
17130
+ * <p>规则开关</p>
17131
+ */
17132
+ Status: number;
17133
+ /**
17134
+ * <p>检测范围,1:入向,2:出向,3:入向和出向</p>
17135
+ */
17136
+ CheckType: number;
17137
+ /**
17138
+ * <p>检测内容匹配</p>
17139
+ */
17140
+ RuleItem: Array<RuleItem>;
17141
+ /**
17142
+ * <p>匹配条件</p>
17143
+ */
17144
+ Options: Array<LLMOptionsItem>;
17145
+ /**
17146
+ * <p>域名</p>
17147
+ */
17148
+ Domain?: string;
17149
+ /**
17150
+ * <p>动作,观察monitor,拦截intercept</p>
17151
+ */
17152
+ ActionType?: string;
17153
+ /**
17154
+ * <p>响应提示内容</p>
17155
+ */
17156
+ ResponseText?: string;
17157
+ /**
17158
+ * <p>规则需要启用的SessionID</p>
17159
+ */
17160
+ SessionApplied?: Array<string>;
17161
+ /**
17162
+ * <p>规则ID,新增时填0</p>
17163
+ */
17164
+ RuleId?: string;
17165
+ /**
17166
+ * <p>拦截页面id</p>
17167
+ */
17168
+ PageId?: number;
17169
+ /**
17170
+ * <p>检测内容and or表达式,默认为and</p>
17171
+ */
17172
+ ContentLogicalOp?: string;
17173
+ /**
17174
+ * <p>实例id,必填项</p>
17175
+ */
17176
+ InstanceId?: string;
17177
+ /**
17178
+ * <p>代答类型:1-内置可信模型安全代答,2-自定义代答(ActionType=reply时生效</p><p>枚举值:</p><ul><li>1: 内置可信模型安全代答</li><li>2: 自定义代答ActionType=reply时生效</li></ul>
17179
+ */
17180
+ ReplyType?: number;
17181
+ /**
17182
+ * <p>自定义回答模板</p>
17183
+ */
17184
+ CustomReplyRuleId?: string;
17185
+ /**
17186
+ * <p>模态类型:0-文本(默认),1-图片</p><p>枚举值:</p><ul><li>0: 文本</li><li>1: 图片</li></ul>
17187
+ */
17188
+ ModalType?: number;
17189
+ /**
17190
+ * <p>规则类别:black-普通规则(默认),white-白名单规则;空值按black处理。white时ActionType仅允许pass(放行),RuleItem支持白名单匹配字段(Key: ip/geo/type/content/chat_id/user_id/tool_name/tool_args/keyword_whitelist;Op: belong/not_belong/equal/not_equal/contain/not_contain/prefix/suffix/wildcard)</p>
17191
+ */
17192
+ Category?: string;
17193
+ /**
17194
+ * <p>白名单规则生效范围:多个serviceId/domain列表(Category=white时使用),表示该白名单规则同时生效于哪些域名/serviceId。黑名单规则不使用此字段。</p>
17195
+ */
17196
+ Domains?: Array<string>;
17197
+ /**
17198
+ * <p>加白生效模块type列表(Category=white时使用),表示该白名单规则命中后对哪些防护模块生效(放行)。取值:2-算力消耗规则,3-自定义防护规则,4-ToolCall防护,5-提示词攻击防护,6-内容合规检测,7-敏感数据检测。</p>
17199
+ */
17200
+ AppliedModules?: Array<number | bigint>;
17201
+ }
16173
17202
  /**
16174
17203
  * DeleteBatchIpAccessControl请求参数结构体
16175
17204
  */
@@ -16197,25 +17226,17 @@ export interface DescribeWebshellStatusResponse {
16197
17226
  RequestId?: string;
16198
17227
  }
16199
17228
  /**
16200
- * UpdateProtectionModes请求参数结构体
17229
+ * ModifyLLMContentRule返回参数结构体
16201
17230
  */
16202
- export interface UpdateProtectionModesRequest {
16203
- /**
16204
- * 域名
16205
- */
16206
- Domain: string;
17231
+ export interface ModifyLLMContentRuleResponse {
16207
17232
  /**
16208
- * 资源类型
16209
- */
16210
- Edition: string;
16211
- /**
16212
- * 大类规则ID
17233
+ * <p>操作的RuleId</p>
16213
17234
  */
16214
- TypeIDs: Array<string>;
17235
+ RuleId?: string;
16215
17236
  /**
16216
- * 0表示观察,1表示拦截
17237
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16217
17238
  */
16218
- Mode: number;
17239
+ RequestId?: string;
16219
17240
  }
16220
17241
  /**
16221
17242
  * 域名列表
@@ -16255,21 +17276,17 @@ export interface FindAllDomainDetail {
16255
17276
  IsWafDomain?: number;
16256
17277
  }
16257
17278
  /**
16258
- * DescribeProtectGroup返回参数结构体
17279
+ * DeleteAntiInfoLeakRule请求参数结构体
16259
17280
  */
16260
- export interface DescribeProtectGroupResponse {
16261
- /**
16262
- * 防护对象组的详情
16263
- */
16264
- Data?: Array<ProtectGroupInfo>;
17281
+ export interface DeleteAntiInfoLeakRuleRequest {
16265
17282
  /**
16266
- * 对象组的总数
17283
+ * 域名
16267
17284
  */
16268
- Total?: number;
17285
+ Domain: string;
16269
17286
  /**
16270
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17287
+ * 规则id
16271
17288
  */
16272
- RequestId?: string;
17289
+ RuleId: number;
16273
17290
  }
16274
17291
  /**
16275
17292
  * DescribeBotSceneOverview返回参数结构体
@@ -16318,65 +17335,17 @@ export interface DescribeVipInfoResponse {
16318
17335
  RequestId?: string;
16319
17336
  }
16320
17337
  /**
16321
- * DescribeApiDetail返回参数结构体
17338
+ * DescribeLLMKeywordLibrary返回参数结构体
16322
17339
  */
16323
- export interface DescribeApiDetailResponse {
16324
- /**
16325
- * 请求样例,json字符串格式
16326
- */
16327
- Log?: string;
16328
- /**
16329
- * 完整请求样例
16330
- */
16331
- FullReqLog?: string;
16332
- /**
16333
- * 请求参数样例列表
16334
- */
16335
- ParameterList?: Array<ApiParameterType>;
16336
- /**
16337
- * 当前场景标签
16338
- */
16339
- Scene?: string;
16340
- /**
16341
- * 敏感字段
16342
- */
16343
- SensitiveFields?: Array<string>;
16344
- /**
16345
- * 7天内是否活跃
16346
- */
16347
- IsActive?: boolean;
16348
- /**
16349
- * 访问ip数
16350
- */
16351
- IpCount?: number;
16352
- /**
16353
- * 访问地域数量
16354
- */
16355
- RegionCount?: number;
16356
- /**
16357
- * 关联事件数
16358
- */
16359
- EventCount?: number;
16360
- /**
16361
- * 涉敏数据条数
16362
- */
16363
- SensitiveCount?: number;
17340
+ export interface DescribeLLMKeywordLibraryResponse {
16364
17341
  /**
16365
- * 风险等级
16366
- */
16367
- Level?: number;
16368
- /**
16369
- * 响应体
16370
- */
16371
- RspLog?: string;
16372
- /**
16373
- * 昨日访问峰值QPS
17342
+ * 关键词库列表
16374
17343
  */
16375
- MaxQPS?: number;
17344
+ LibList?: Array<LLMKeywordLibrary>;
16376
17345
  /**
16377
- * 历史样例
17346
+ * 词库总数
16378
17347
  */
16379
- ApiDetailSampleHistory?: Array<ApiDetailSampleHistory>;
17348
+ Total?: number;
16380
17349
  /**
16381
17350
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16382
17351
  */
@@ -16996,41 +17965,17 @@ export interface DescribeObjectsResponse {
16996
17965
  RequestId?: string;
16997
17966
  }
16998
17967
  /**
16999
- * SearchAccessLog请求参数结构体
17968
+ * ExportLLMKeywordLib返回参数结构体
17000
17969
  */
17001
- export interface SearchAccessLogRequest {
17002
- /**
17003
- * 客户要查询的日志主题ID,每个客户都有对应的一个主题,新版本此字段填空字符串
17004
- */
17005
- TopicId: string;
17006
- /**
17007
- * 要查询的日志的起始时间,Unix时间戳,单位ms
17008
- */
17009
- From: number;
17970
+ export interface ExportLLMKeywordLibResponse {
17010
17971
  /**
17011
- * 要查询的日志的结束时间,Unix时间戳,单位ms
17012
- */
17013
- To: number;
17014
- /**
17015
- * 查询语句,语句长度最大为4096
17016
- */
17017
- Query: string;
17018
- /**
17019
- * 单次查询返回的日志条数,最大值为100
17972
+ * 导出的文件url
17020
17973
  */
17021
- Limit?: number;
17022
- /**
17023
- * 新版本此字段失效,填空字符串,翻页使用Page
17024
- */
17025
- Context?: string;
17026
- /**
17027
- * 日志接口是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
17028
- */
17029
- Sort?: string;
17974
+ Url?: string;
17030
17975
  /**
17031
- * 第几页,从0开始。新版本接口字段
17976
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17032
17977
  */
17033
- Page?: number;
17978
+ RequestId?: string;
17034
17979
  }
17035
17980
  /**
17036
17981
  * 小程序安全接入ID扩展资源信息