@alicloud/apig20240327 9.2.0 → 9.3.0

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 (443) hide show
  1. package/dist/client.d.ts +248 -194
  2. package/dist/client.js +360 -194
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddGatewayQuotaRuleRequest.d.ts +36 -0
  5. package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
  6. package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +60 -0
  7. package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
  8. package/dist/models/AddGatewaySecurityGroupRuleRequest.d.ts +1 -1
  9. package/dist/models/Attachment.d.ts +17 -20
  10. package/dist/models/Attachment.js.map +1 -1
  11. package/dist/models/BatchDeleteConsumerAuthorizationRuleRequest.d.ts +1 -1
  12. package/dist/models/ChangeResourceGroupRequest.d.ts +4 -4
  13. package/dist/models/ChangeResourceGroupResponseBody.d.ts +1 -1
  14. package/dist/models/ConsumerGroupInfo.d.ts +28 -0
  15. package/dist/models/ConsumerGroupInfo.js +62 -0
  16. package/dist/models/ConsumerGroupInfo.js.map +1 -0
  17. package/dist/models/CreateAiModelProviderRequest.d.ts +29 -0
  18. package/dist/models/CreateAiModelProviderRequest.js +67 -0
  19. package/dist/models/CreateAiModelProviderRequest.js.map +1 -0
  20. package/dist/models/CreateAiModelProviderResponse.d.ts +19 -0
  21. package/dist/models/CreateAiModelProviderResponse.js +69 -0
  22. package/dist/models/CreateAiModelProviderResponse.js.map +1 -0
  23. package/dist/models/CreateAiModelProviderResponseBody.d.ts +110 -0
  24. package/dist/models/CreateAiModelProviderResponseBody.js +237 -0
  25. package/dist/models/CreateAiModelProviderResponseBody.js.map +1 -0
  26. package/dist/models/CreateAndAttachPolicyRequest.d.ts +15 -45
  27. package/dist/models/CreateAndAttachPolicyRequest.js.map +1 -1
  28. package/dist/models/CreateAndAttachPolicyResponseBody.d.ts +8 -8
  29. package/dist/models/CreateConsumerAuthorizationRuleResponseBody.d.ts +1 -1
  30. package/dist/models/CreateConsumerAuthorizationRulesRequest.d.ts +10 -0
  31. package/dist/models/CreateConsumerAuthorizationRulesRequest.js +4 -0
  32. package/dist/models/CreateConsumerAuthorizationRulesRequest.js.map +1 -1
  33. package/dist/models/CreateConsumerRequest.d.ts +4 -5
  34. package/dist/models/CreateConsumerRequest.js.map +1 -1
  35. package/dist/models/CreateConsumerResponseBody.d.ts +1 -1
  36. package/dist/models/CreateDomainRequest.d.ts +8 -5
  37. package/dist/models/CreateDomainRequest.js.map +1 -1
  38. package/dist/models/CreateEnvironmentRequest.d.ts +5 -5
  39. package/dist/models/CreateEnvironmentResponseBody.d.ts +5 -5
  40. package/dist/models/CreateGatewayRequest.d.ts +16 -7
  41. package/dist/models/CreateGatewayRequest.js.map +1 -1
  42. package/dist/models/CreateHttpApiOperationRequest.d.ts +1 -1
  43. package/dist/models/CreateHttpApiOperationResponseBody.d.ts +6 -6
  44. package/dist/models/CreateHttpApiRequest.d.ts +7 -7
  45. package/dist/models/CreateHttpApiResponseBody.d.ts +1 -1
  46. package/dist/models/CreateHttpApiRouteRequest.d.ts +4 -4
  47. package/dist/models/CreateMcpServerRequest.d.ts +7 -7
  48. package/dist/models/CreatePluginAttachmentResponseBody.d.ts +1 -1
  49. package/dist/models/CreatePluginClassRequest.d.ts +51 -0
  50. package/dist/models/CreatePluginClassRequest.js +76 -0
  51. package/dist/models/CreatePluginClassRequest.js.map +1 -0
  52. package/dist/models/CreatePluginClassResponse.d.ts +19 -0
  53. package/dist/models/CreatePluginClassResponse.js +69 -0
  54. package/dist/models/CreatePluginClassResponse.js.map +1 -0
  55. package/dist/models/CreatePluginClassResponseBody.d.ts +34 -0
  56. package/dist/models/CreatePluginClassResponseBody.js +86 -0
  57. package/dist/models/CreatePluginClassResponseBody.js.map +1 -0
  58. package/dist/models/CreatePolicyRequest.d.ts +4 -4
  59. package/dist/models/CreatePolicyResponseBody.d.ts +5 -5
  60. package/dist/models/CreateSecretRequest.d.ts +5 -5
  61. package/dist/models/CreateSecretResponseBody.d.ts +4 -4
  62. package/dist/models/CreateServiceRequest.d.ts +5 -4
  63. package/dist/models/CreateServiceRequest.js +2 -0
  64. package/dist/models/CreateServiceRequest.js.map +1 -1
  65. package/dist/models/CreateServiceVersionRequest.d.ts +3 -3
  66. package/dist/models/CreateServiceVersionResponseBody.d.ts +2 -2
  67. package/dist/models/CreateSourceRequest.d.ts +4 -4
  68. package/dist/models/DeleteEnvironmentResponseBody.d.ts +1 -1
  69. package/dist/models/DeleteGatewayQuotaRuleResponseBody.d.ts +9 -0
  70. package/dist/models/DeleteGatewayQuotaRuleResponseBody.js.map +1 -1
  71. package/dist/models/DeleteHttpApiResponseBody.d.ts +2 -2
  72. package/dist/models/DeleteHttpApiRouteResponseBody.d.ts +2 -2
  73. package/dist/models/DeleteMcpServerResponseBody.d.ts +3 -3
  74. package/dist/models/DeletePolicyAttachmentResponseBody.d.ts +3 -3
  75. package/dist/models/DeletePolicyResponseBody.d.ts +3 -3
  76. package/dist/models/DeleteSecretResponseBody.d.ts +3 -3
  77. package/dist/models/DeleteServiceVersionResponseBody.d.ts +2 -2
  78. package/dist/models/DeployHttpApiRequest.d.ts +3 -3
  79. package/dist/models/DeployMcpServerResponseBody.d.ts +3 -3
  80. package/dist/models/DescribeRegionsRequest.d.ts +3 -0
  81. package/dist/models/DescribeRegionsRequest.js.map +1 -1
  82. package/dist/models/DescribeRegionsResponseBody.d.ts +19 -0
  83. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  84. package/dist/models/DomainInfo.d.ts +13 -6
  85. package/dist/models/DomainInfo.js.map +1 -1
  86. package/dist/models/ExportHttpApiRequest.d.ts +7 -7
  87. package/dist/models/GatewayInfo.d.ts +9 -1
  88. package/dist/models/GatewayInfo.js.map +1 -1
  89. package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +2 -2
  90. package/dist/models/GetConsumerResponseBody.d.ts +39 -6
  91. package/dist/models/GetConsumerResponseBody.js +31 -1
  92. package/dist/models/GetConsumerResponseBody.js.map +1 -1
  93. package/dist/models/GetDomainResponseBody.d.ts +3 -4
  94. package/dist/models/GetDomainResponseBody.js.map +1 -1
  95. package/dist/models/GetEnvironmentResponseBody.d.ts +1 -1
  96. package/dist/models/GetGatewayQuotaRuleRequest.d.ts +10 -0
  97. package/dist/models/GetGatewayQuotaRuleRequest.js.map +1 -1
  98. package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +60 -0
  99. package/dist/models/GetGatewayQuotaRuleResponseBody.js.map +1 -1
  100. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +6 -0
  101. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.js.map +1 -1
  102. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +63 -0
  103. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.js.map +1 -1
  104. package/dist/models/GetHttpApiResponseBody.d.ts +3 -3
  105. package/dist/models/GetMcpServerResponseBody.d.ts +49 -49
  106. package/dist/models/GetPluginAttachmentResponseBody.d.ts +4 -4
  107. package/dist/models/GetPluginClassRequest.d.ts +13 -0
  108. package/dist/models/GetPluginClassRequest.js +54 -0
  109. package/dist/models/GetPluginClassRequest.js.map +1 -0
  110. package/dist/models/GetPluginClassResponse.d.ts +19 -0
  111. package/dist/models/GetPluginClassResponse.js +69 -0
  112. package/dist/models/GetPluginClassResponse.js.map +1 -0
  113. package/dist/models/GetPluginClassResponseBody.d.ts +40 -0
  114. package/dist/models/GetPluginClassResponseBody.js +98 -0
  115. package/dist/models/GetPluginClassResponseBody.js.map +1 -0
  116. package/dist/models/GetPolicyAttachmentResponseBody.d.ts +11 -11
  117. package/dist/models/GetResourceOverviewResponseBody.d.ts +12 -12
  118. package/dist/models/GetSecretResponseBody.d.ts +11 -13
  119. package/dist/models/GetSecretResponseBody.js.map +1 -1
  120. package/dist/models/GetSecretValueResponseBody.d.ts +4 -4
  121. package/dist/models/GetServiceResponseBody.d.ts +1 -1
  122. package/dist/models/GetSourceResponseBody.d.ts +2 -2
  123. package/dist/models/HiMarketApiKeyConfig.d.ts +17 -5
  124. package/dist/models/HiMarketApiKeyConfig.js.map +1 -1
  125. package/dist/models/HiMarketAuthCodeConfig.d.ts +36 -9
  126. package/dist/models/HiMarketAuthCodeConfig.js.map +1 -1
  127. package/dist/models/HiMarketProductCategory.d.ts +13 -4
  128. package/dist/models/HiMarketProductCategory.js.map +1 -1
  129. package/dist/models/ImportHttpApiRequest.d.ts +8 -8
  130. package/dist/models/ImportHttpApiResponseBody.d.ts +6 -6
  131. package/dist/models/InstallPluginResponseBody.d.ts +5 -5
  132. package/dist/models/JwtIdentityConfig.d.ts +21 -9
  133. package/dist/models/JwtIdentityConfig.js.map +1 -1
  134. package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +16 -14
  135. package/dist/models/ListConsumerAuthorizationRulesResponseBody.js.map +1 -1
  136. package/dist/models/ListConsumerQuotaRulesRequest.d.ts +12 -0
  137. package/dist/models/ListConsumerQuotaRulesRequest.js.map +1 -1
  138. package/dist/models/ListConsumerQuotaRulesResponseBody.d.ts +59 -0
  139. package/dist/models/ListConsumerQuotaRulesResponseBody.js.map +1 -1
  140. package/dist/models/ListConsumersRequest.d.ts +3 -3
  141. package/dist/models/ListConsumersResponseBody.d.ts +10 -10
  142. package/dist/models/ListDomainsRequest.d.ts +3 -0
  143. package/dist/models/ListDomainsRequest.js.map +1 -1
  144. package/dist/models/ListEnvironmentsResponseBody.d.ts +1 -1
  145. package/dist/models/ListExternalServicesRequest.d.ts +20 -0
  146. package/dist/models/ListExternalServicesRequest.js.map +1 -1
  147. package/dist/models/ListExternalServicesResponseBody.d.ts +30 -0
  148. package/dist/models/ListExternalServicesResponseBody.js.map +1 -1
  149. package/dist/models/ListGatewayFeaturesResponseBody.d.ts +27 -30
  150. package/dist/models/ListGatewayFeaturesResponseBody.js.map +1 -1
  151. package/dist/models/ListGatewayQuotaRulesRequest.d.ts +15 -0
  152. package/dist/models/ListGatewayQuotaRulesRequest.js.map +1 -1
  153. package/dist/models/ListGatewayQuotaRulesResponseBody.d.ts +54 -0
  154. package/dist/models/ListGatewayQuotaRulesResponseBody.js.map +1 -1
  155. package/dist/models/ListGatewaysRequest.d.ts +10 -10
  156. package/dist/models/ListGatewaysResponseBody.d.ts +81 -76
  157. package/dist/models/ListGatewaysResponseBody.js.map +1 -1
  158. package/dist/models/ListGatewaysShrinkRequest.d.ts +8 -8
  159. package/dist/models/ListHttpApiOperationsRequest.d.ts +13 -13
  160. package/dist/models/ListHttpApiOperationsResponseBody.d.ts +8 -8
  161. package/dist/models/ListHttpApisRequest.d.ts +21 -17
  162. package/dist/models/ListHttpApisRequest.js.map +1 -1
  163. package/dist/models/ListHttpApisResponseBody.d.ts +8 -8
  164. package/dist/models/ListMcpServersRequest.d.ts +5 -5
  165. package/dist/models/ListMcpServersResponseBody.d.ts +26 -26
  166. package/dist/models/ListPluginAttachmentsRequest.d.ts +6 -6
  167. package/dist/models/ListPluginAttachmentsResponseBody.d.ts +15 -25
  168. package/dist/models/ListPluginAttachmentsResponseBody.js.map +1 -1
  169. package/dist/models/ListPluginClassesRequest.d.ts +14 -16
  170. package/dist/models/ListPluginClassesRequest.js.map +1 -1
  171. package/dist/models/ListPluginClassesResponseBody.d.ts +16 -16
  172. package/dist/models/ListPluginsRequest.d.ts +15 -15
  173. package/dist/models/ListPluginsResponseBody.d.ts +17 -17
  174. package/dist/models/ListPoliciesRequest.d.ts +11 -16
  175. package/dist/models/ListPoliciesRequest.js.map +1 -1
  176. package/dist/models/ListPoliciesResponseBody.d.ts +6 -6
  177. package/dist/models/ListPolicyClassesRequest.d.ts +1 -1
  178. package/dist/models/ListSecretReferencesRequest.d.ts +1 -1
  179. package/dist/models/ListSecretReferencesResponseBody.d.ts +9 -9
  180. package/dist/models/ListSecretsRequest.d.ts +4 -4
  181. package/dist/models/ListSecretsResponseBody.d.ts +19 -16
  182. package/dist/models/ListSecretsResponseBody.js.map +1 -1
  183. package/dist/models/ListServicesRequest.d.ts +5 -5
  184. package/dist/models/ListSslCertsResponseBody.d.ts +1 -1
  185. package/dist/models/ListTagResourcesRequest.d.ts +18 -0
  186. package/dist/models/ListTagResourcesRequest.js.map +1 -1
  187. package/dist/models/ListTagResourcesResponseBody.d.ts +22 -0
  188. package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
  189. package/dist/models/ListTagResourcesShrinkRequest.d.ts +12 -0
  190. package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
  191. package/dist/models/ListZonesResponseBody.d.ts +7 -7
  192. package/dist/models/PluginClassInfo.d.ts +119 -0
  193. package/dist/models/PluginClassInfo.js.map +1 -1
  194. package/dist/models/PolicyDetailInfo.d.ts +42 -0
  195. package/dist/models/PolicyDetailInfo.js.map +1 -1
  196. package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +10 -0
  197. package/dist/models/QueryConsumerAuthorizationRulesRequest.js +4 -0
  198. package/dist/models/QueryConsumerAuthorizationRulesRequest.js.map +1 -1
  199. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +32 -18
  200. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.js +10 -0
  201. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.js.map +1 -1
  202. package/dist/models/RemoveConsumerAuthorizationRuleResponseBody.d.ts +2 -2
  203. package/dist/models/ResetGatewayQuotaRuleRequest.d.ts +28 -0
  204. package/dist/models/ResetGatewayQuotaRuleRequest.js.map +1 -1
  205. package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +47 -0
  206. package/dist/models/ResetGatewayQuotaRuleResponseBody.js.map +1 -1
  207. package/dist/models/RestartGatewayResponseBody.d.ts +2 -2
  208. package/dist/models/Service.d.ts +30 -16
  209. package/dist/models/Service.js +2 -0
  210. package/dist/models/Service.js.map +1 -1
  211. package/dist/models/ServiceHealthCheck.d.ts +48 -0
  212. package/dist/models/ServiceHealthCheck.js.map +1 -1
  213. package/dist/models/ServiceInfo.d.ts +68 -0
  214. package/dist/models/ServiceInfo.js +154 -0
  215. package/dist/models/ServiceInfo.js.map +1 -0
  216. package/dist/models/SyncMcpserversRequest.d.ts +7 -7
  217. package/dist/models/SyncMcpserversResponseBody.d.ts +7 -7
  218. package/dist/models/TagResourcesRequest.d.ts +17 -0
  219. package/dist/models/TagResourcesRequest.js.map +1 -1
  220. package/dist/models/UnDeployMcpServerResponseBody.d.ts +3 -3
  221. package/dist/models/UndeployHttpApiRequest.d.ts +2 -2
  222. package/dist/models/UndeployHttpApiResponseBody.d.ts +3 -3
  223. package/dist/models/UntagResourcesRequest.d.ts +19 -0
  224. package/dist/models/UntagResourcesRequest.js.map +1 -1
  225. package/dist/models/UntagResourcesShrinkRequest.d.ts +19 -0
  226. package/dist/models/UntagResourcesShrinkRequest.js.map +1 -1
  227. package/dist/models/UpdateAndAttachPolicyRequest.d.ts +3 -1
  228. package/dist/models/UpdateAndAttachPolicyRequest.js.map +1 -1
  229. package/dist/models/UpdateConsumerAuthorizationRuleRequest.d.ts +3 -1
  230. package/dist/models/UpdateConsumerAuthorizationRuleRequest.js.map +1 -1
  231. package/dist/models/UpdateConsumerAuthorizationRuleResponseBody.d.ts +3 -3
  232. package/dist/models/UpdateConsumerRequest.d.ts +3 -3
  233. package/dist/models/UpdateConsumerResponseBody.d.ts +3 -3
  234. package/dist/models/UpdateEnvironmentRequest.d.ts +2 -2
  235. package/dist/models/UpdateEnvironmentResponseBody.d.ts +3 -3
  236. package/dist/models/UpdateGatewayFeatureResponseBody.d.ts +2 -2
  237. package/dist/models/UpdateGatewayQuotaRuleRequest.d.ts +29 -0
  238. package/dist/models/UpdateGatewayQuotaRuleRequest.js.map +1 -1
  239. package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +59 -0
  240. package/dist/models/UpdateGatewayQuotaRuleResponseBody.js.map +1 -1
  241. package/dist/models/UpdateGatewayQuotaRuleStatusRequest.d.ts +6 -0
  242. package/dist/models/UpdateGatewayQuotaRuleStatusRequest.js.map +1 -1
  243. package/dist/models/UpdateGatewayQuotaRuleStatusResponseBody.d.ts +9 -0
  244. package/dist/models/UpdateGatewayQuotaRuleStatusResponseBody.js.map +1 -1
  245. package/dist/models/UpdateHttpApiOperationRequest.d.ts +1 -1
  246. package/dist/models/UpdateHttpApiRequest.d.ts +18 -18
  247. package/dist/models/UpdateHttpApiResponseBody.d.ts +3 -3
  248. package/dist/models/UpdateHttpApiRouteRequest.d.ts +36 -9
  249. package/dist/models/UpdateHttpApiRouteRequest.js.map +1 -1
  250. package/dist/models/UpdateHttpApiRouteResponseBody.d.ts +1 -1
  251. package/dist/models/UpdateMcpServerRequest.d.ts +41 -31
  252. package/dist/models/UpdateMcpServerRequest.js.map +1 -1
  253. package/dist/models/UpdateMcpServerResponseBody.d.ts +3 -3
  254. package/dist/models/UpdatePluginAttachmentRequest.d.ts +3 -3
  255. package/dist/models/UpdatePluginAttachmentResponseBody.d.ts +3 -3
  256. package/dist/models/UpdatePolicyRequest.d.ts +3 -3
  257. package/dist/models/UpdatePolicyResponseBody.d.ts +3 -3
  258. package/dist/models/UpdateSecretRequest.d.ts +1 -1
  259. package/dist/models/UpdateSecretResponseBody.d.ts +2 -2
  260. package/dist/models/UpdateServiceRequest.d.ts +20 -24
  261. package/dist/models/UpdateServiceRequest.js +2 -0
  262. package/dist/models/UpdateServiceRequest.js.map +1 -1
  263. package/dist/models/UpdateServiceVersionRequest.d.ts +3 -3
  264. package/dist/models/UpdateServiceVersionResponseBody.d.ts +2 -2
  265. package/dist/models/UpgradeGatewayRequest.d.ts +1 -1
  266. package/dist/models/UpgradeGatewayResponseBody.d.ts +2 -2
  267. package/dist/models/model.d.ts +22 -0
  268. package/dist/models/model.js +61 -17
  269. package/dist/models/model.js.map +1 -1
  270. package/package.json +1 -1
  271. package/src/client.ts +383 -194
  272. package/src/models/AddGatewayQuotaRuleRequest.ts +36 -0
  273. package/src/models/AddGatewayQuotaRuleResponseBody.ts +60 -0
  274. package/src/models/AddGatewaySecurityGroupRuleRequest.ts +1 -1
  275. package/src/models/Attachment.ts +17 -20
  276. package/src/models/BatchDeleteConsumerAuthorizationRuleRequest.ts +1 -1
  277. package/src/models/ChangeResourceGroupRequest.ts +4 -4
  278. package/src/models/ChangeResourceGroupResponseBody.ts +1 -1
  279. package/src/models/ConsumerGroupInfo.ts +45 -0
  280. package/src/models/CreateAiModelProviderRequest.ts +51 -0
  281. package/src/models/CreateAiModelProviderResponse.ts +40 -0
  282. package/src/models/CreateAiModelProviderResponseBody.ts +254 -0
  283. package/src/models/CreateAndAttachPolicyRequest.ts +15 -45
  284. package/src/models/CreateAndAttachPolicyResponseBody.ts +8 -8
  285. package/src/models/CreateConsumerAuthorizationRuleResponseBody.ts +1 -1
  286. package/src/models/CreateConsumerAuthorizationRulesRequest.ts +14 -0
  287. package/src/models/CreateConsumerRequest.ts +4 -5
  288. package/src/models/CreateConsumerResponseBody.ts +1 -1
  289. package/src/models/CreateDomainRequest.ts +8 -5
  290. package/src/models/CreateEnvironmentRequest.ts +5 -5
  291. package/src/models/CreateEnvironmentResponseBody.ts +5 -5
  292. package/src/models/CreateGatewayRequest.ts +16 -7
  293. package/src/models/CreateHttpApiOperationRequest.ts +1 -1
  294. package/src/models/CreateHttpApiOperationResponseBody.ts +6 -6
  295. package/src/models/CreateHttpApiRequest.ts +7 -7
  296. package/src/models/CreateHttpApiResponseBody.ts +1 -1
  297. package/src/models/CreateHttpApiRouteRequest.ts +4 -4
  298. package/src/models/CreateMcpServerRequest.ts +7 -7
  299. package/src/models/CreatePluginAttachmentResponseBody.ts +1 -1
  300. package/src/models/CreatePluginClassRequest.ts +82 -0
  301. package/src/models/CreatePluginClassResponse.ts +40 -0
  302. package/src/models/CreatePluginClassResponseBody.ts +66 -0
  303. package/src/models/CreatePolicyRequest.ts +4 -4
  304. package/src/models/CreatePolicyResponseBody.ts +5 -5
  305. package/src/models/CreateSecretRequest.ts +5 -5
  306. package/src/models/CreateSecretResponseBody.ts +4 -4
  307. package/src/models/CreateServiceRequest.ts +7 -4
  308. package/src/models/CreateServiceVersionRequest.ts +3 -3
  309. package/src/models/CreateServiceVersionResponseBody.ts +2 -2
  310. package/src/models/CreateSourceRequest.ts +4 -4
  311. package/src/models/DeleteEnvironmentResponseBody.ts +1 -1
  312. package/src/models/DeleteGatewayQuotaRuleResponseBody.ts +9 -0
  313. package/src/models/DeleteHttpApiResponseBody.ts +2 -2
  314. package/src/models/DeleteHttpApiRouteResponseBody.ts +2 -2
  315. package/src/models/DeleteMcpServerResponseBody.ts +3 -3
  316. package/src/models/DeletePolicyAttachmentResponseBody.ts +3 -3
  317. package/src/models/DeletePolicyResponseBody.ts +3 -3
  318. package/src/models/DeleteSecretResponseBody.ts +3 -3
  319. package/src/models/DeleteServiceVersionResponseBody.ts +2 -2
  320. package/src/models/DeployHttpApiRequest.ts +3 -3
  321. package/src/models/DeployMcpServerResponseBody.ts +3 -3
  322. package/src/models/DescribeRegionsRequest.ts +3 -0
  323. package/src/models/DescribeRegionsResponseBody.ts +19 -0
  324. package/src/models/DomainInfo.ts +13 -6
  325. package/src/models/ExportHttpApiRequest.ts +7 -7
  326. package/src/models/GatewayInfo.ts +9 -1
  327. package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +2 -2
  328. package/src/models/GetConsumerResponseBody.ts +60 -6
  329. package/src/models/GetDomainResponseBody.ts +3 -4
  330. package/src/models/GetEnvironmentResponseBody.ts +1 -1
  331. package/src/models/GetGatewayQuotaRuleRequest.ts +10 -0
  332. package/src/models/GetGatewayQuotaRuleResponseBody.ts +60 -0
  333. package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +6 -0
  334. package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +63 -0
  335. package/src/models/GetHttpApiResponseBody.ts +3 -3
  336. package/src/models/GetMcpServerResponseBody.ts +49 -49
  337. package/src/models/GetPluginAttachmentResponseBody.ts +4 -4
  338. package/src/models/GetPluginClassRequest.ts +24 -0
  339. package/src/models/GetPluginClassResponse.ts +40 -0
  340. package/src/models/GetPluginClassResponseBody.ts +84 -0
  341. package/src/models/GetPolicyAttachmentResponseBody.ts +11 -11
  342. package/src/models/GetResourceOverviewResponseBody.ts +12 -12
  343. package/src/models/GetSecretResponseBody.ts +11 -13
  344. package/src/models/GetSecretValueResponseBody.ts +4 -4
  345. package/src/models/GetServiceResponseBody.ts +1 -1
  346. package/src/models/GetSourceResponseBody.ts +2 -2
  347. package/src/models/HiMarketApiKeyConfig.ts +17 -5
  348. package/src/models/HiMarketAuthCodeConfig.ts +36 -9
  349. package/src/models/HiMarketProductCategory.ts +13 -4
  350. package/src/models/ImportHttpApiRequest.ts +8 -8
  351. package/src/models/ImportHttpApiResponseBody.ts +6 -6
  352. package/src/models/InstallPluginResponseBody.ts +5 -5
  353. package/src/models/JwtIdentityConfig.ts +21 -9
  354. package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +16 -14
  355. package/src/models/ListConsumerQuotaRulesRequest.ts +12 -0
  356. package/src/models/ListConsumerQuotaRulesResponseBody.ts +59 -0
  357. package/src/models/ListConsumersRequest.ts +3 -3
  358. package/src/models/ListConsumersResponseBody.ts +10 -10
  359. package/src/models/ListDomainsRequest.ts +3 -0
  360. package/src/models/ListEnvironmentsResponseBody.ts +1 -1
  361. package/src/models/ListExternalServicesRequest.ts +20 -0
  362. package/src/models/ListExternalServicesResponseBody.ts +30 -0
  363. package/src/models/ListGatewayFeaturesResponseBody.ts +27 -30
  364. package/src/models/ListGatewayQuotaRulesRequest.ts +15 -0
  365. package/src/models/ListGatewayQuotaRulesResponseBody.ts +54 -0
  366. package/src/models/ListGatewaysRequest.ts +10 -10
  367. package/src/models/ListGatewaysResponseBody.ts +81 -76
  368. package/src/models/ListGatewaysShrinkRequest.ts +8 -8
  369. package/src/models/ListHttpApiOperationsRequest.ts +13 -13
  370. package/src/models/ListHttpApiOperationsResponseBody.ts +8 -8
  371. package/src/models/ListHttpApisRequest.ts +21 -17
  372. package/src/models/ListHttpApisResponseBody.ts +8 -8
  373. package/src/models/ListMcpServersRequest.ts +5 -5
  374. package/src/models/ListMcpServersResponseBody.ts +26 -26
  375. package/src/models/ListPluginAttachmentsRequest.ts +6 -6
  376. package/src/models/ListPluginAttachmentsResponseBody.ts +15 -25
  377. package/src/models/ListPluginClassesRequest.ts +14 -16
  378. package/src/models/ListPluginClassesResponseBody.ts +16 -16
  379. package/src/models/ListPluginsRequest.ts +15 -15
  380. package/src/models/ListPluginsResponseBody.ts +17 -17
  381. package/src/models/ListPoliciesRequest.ts +11 -16
  382. package/src/models/ListPoliciesResponseBody.ts +6 -6
  383. package/src/models/ListPolicyClassesRequest.ts +1 -1
  384. package/src/models/ListSecretReferencesRequest.ts +1 -1
  385. package/src/models/ListSecretReferencesResponseBody.ts +9 -9
  386. package/src/models/ListSecretsRequest.ts +4 -4
  387. package/src/models/ListSecretsResponseBody.ts +19 -16
  388. package/src/models/ListServicesRequest.ts +5 -5
  389. package/src/models/ListSslCertsResponseBody.ts +1 -1
  390. package/src/models/ListTagResourcesRequest.ts +18 -0
  391. package/src/models/ListTagResourcesResponseBody.ts +22 -0
  392. package/src/models/ListTagResourcesShrinkRequest.ts +12 -0
  393. package/src/models/ListZonesResponseBody.ts +7 -7
  394. package/src/models/PluginClassInfo.ts +119 -0
  395. package/src/models/PolicyDetailInfo.ts +42 -0
  396. package/src/models/QueryConsumerAuthorizationRulesRequest.ts +14 -0
  397. package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +41 -18
  398. package/src/models/RemoveConsumerAuthorizationRuleResponseBody.ts +2 -2
  399. package/src/models/ResetGatewayQuotaRuleRequest.ts +28 -0
  400. package/src/models/ResetGatewayQuotaRuleResponseBody.ts +47 -0
  401. package/src/models/RestartGatewayResponseBody.ts +2 -2
  402. package/src/models/Service.ts +32 -16
  403. package/src/models/ServiceHealthCheck.ts +48 -0
  404. package/src/models/ServiceInfo.ts +150 -0
  405. package/src/models/SyncMcpserversRequest.ts +7 -7
  406. package/src/models/SyncMcpserversResponseBody.ts +7 -7
  407. package/src/models/TagResourcesRequest.ts +17 -0
  408. package/src/models/UnDeployMcpServerResponseBody.ts +3 -3
  409. package/src/models/UndeployHttpApiRequest.ts +2 -2
  410. package/src/models/UndeployHttpApiResponseBody.ts +3 -3
  411. package/src/models/UntagResourcesRequest.ts +19 -0
  412. package/src/models/UntagResourcesShrinkRequest.ts +19 -0
  413. package/src/models/UpdateAndAttachPolicyRequest.ts +3 -1
  414. package/src/models/UpdateConsumerAuthorizationRuleRequest.ts +3 -1
  415. package/src/models/UpdateConsumerAuthorizationRuleResponseBody.ts +3 -3
  416. package/src/models/UpdateConsumerRequest.ts +3 -3
  417. package/src/models/UpdateConsumerResponseBody.ts +3 -3
  418. package/src/models/UpdateEnvironmentRequest.ts +2 -2
  419. package/src/models/UpdateEnvironmentResponseBody.ts +3 -3
  420. package/src/models/UpdateGatewayFeatureResponseBody.ts +2 -2
  421. package/src/models/UpdateGatewayQuotaRuleRequest.ts +29 -0
  422. package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +59 -0
  423. package/src/models/UpdateGatewayQuotaRuleStatusRequest.ts +6 -0
  424. package/src/models/UpdateGatewayQuotaRuleStatusResponseBody.ts +9 -0
  425. package/src/models/UpdateHttpApiOperationRequest.ts +1 -1
  426. package/src/models/UpdateHttpApiRequest.ts +18 -18
  427. package/src/models/UpdateHttpApiResponseBody.ts +3 -3
  428. package/src/models/UpdateHttpApiRouteRequest.ts +36 -9
  429. package/src/models/UpdateHttpApiRouteResponseBody.ts +1 -1
  430. package/src/models/UpdateMcpServerRequest.ts +41 -31
  431. package/src/models/UpdateMcpServerResponseBody.ts +3 -3
  432. package/src/models/UpdatePluginAttachmentRequest.ts +3 -3
  433. package/src/models/UpdatePluginAttachmentResponseBody.ts +3 -3
  434. package/src/models/UpdatePolicyRequest.ts +3 -3
  435. package/src/models/UpdatePolicyResponseBody.ts +3 -3
  436. package/src/models/UpdateSecretRequest.ts +1 -1
  437. package/src/models/UpdateSecretResponseBody.ts +2 -2
  438. package/src/models/UpdateServiceRequest.ts +22 -24
  439. package/src/models/UpdateServiceVersionRequest.ts +3 -3
  440. package/src/models/UpdateServiceVersionResponseBody.ts +2 -2
  441. package/src/models/UpgradeGatewayRequest.ts +1 -1
  442. package/src/models/UpgradeGatewayResponseBody.ts +2 -2
  443. package/src/models/model.ts +22 -0
package/dist/client.js CHANGED
@@ -89,18 +89,18 @@ class Client extends openapi_core_1.default {
89
89
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
90
90
  }
91
91
  /**
92
- * 新增网关配额限流规则
92
+ * Creates a gateway quota throttling rule.
93
93
  *
94
94
  * @remarks
95
- * 该接口用于对AI网关增加基于消费者的配额规则。注意,只针对于版本大于2.1.19的AI网关生效。
95
+ * This operation adds a consumer-based quota rule to an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
96
96
  * >
97
- * > 推荐调用逻辑:
98
- * > - 一、先 dryRun 预检检验是否存在规则冲突
99
- * > - - dryRun=true
100
- * > - - 返回含conflictHash的冲突预览
101
- * > - 二、确认后正式提交
102
- * > - - 无冲突:dryRun=false,overwrite=false
103
- * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
97
+ * > Recommended call logic:
98
+ * > - 1. Perform a dry run to check for rule conflicts.
99
+ * > - - Set dryRun=true.
100
+ * > - - The response contains a conflict preview with conflictHash.
101
+ * > - 2. Submit the request after confirmation.
102
+ * > - - No conflict: dryRun=false, overwrite=false.
103
+ * > - - Conflict exists and overwrite confirmed: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
104
104
  *
105
105
  * @param request - AddGatewayQuotaRuleRequest
106
106
  * @param headers - map
@@ -164,18 +164,18 @@ class Client extends openapi_core_1.default {
164
164
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddGatewayQuotaRuleResponse({}));
165
165
  }
166
166
  /**
167
- * 新增网关配额限流规则
167
+ * Creates a gateway quota throttling rule.
168
168
  *
169
169
  * @remarks
170
- * 该接口用于对AI网关增加基于消费者的配额规则。注意,只针对于版本大于2.1.19的AI网关生效。
170
+ * This operation adds a consumer-based quota rule to an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
171
171
  * >
172
- * > 推荐调用逻辑:
173
- * > - 一、先 dryRun 预检检验是否存在规则冲突
174
- * > - - dryRun=true
175
- * > - - 返回含conflictHash的冲突预览
176
- * > - 二、确认后正式提交
177
- * > - - 无冲突:dryRun=false,overwrite=false
178
- * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
172
+ * > Recommended call logic:
173
+ * > - 1. Perform a dry run to check for rule conflicts.
174
+ * > - - Set dryRun=true.
175
+ * > - - The response contains a conflict preview with conflictHash.
176
+ * > - 2. Submit the request after confirmation.
177
+ * > - - No conflict: dryRun=false, overwrite=false.
178
+ * > - - Conflict exists and overwrite confirmed: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
179
179
  *
180
180
  * @param request - AddGatewayQuotaRuleRequest
181
181
  * @returns AddGatewayQuotaRuleResponse
@@ -234,7 +234,7 @@ class Client extends openapi_core_1.default {
234
234
  return await this.addGatewaySecurityGroupRuleWithOptions(gatewayId, request, headers, runtime);
235
235
  }
236
236
  /**
237
- * Revokes API consumer authorization rules in batches.
237
+ * Revokes consumer authorization rules in batches.
238
238
  *
239
239
  * @param request - BatchDeleteConsumerAuthorizationRuleRequest
240
240
  * @param headers - map
@@ -265,7 +265,7 @@ class Client extends openapi_core_1.default {
265
265
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchDeleteConsumerAuthorizationRuleResponse({}));
266
266
  }
267
267
  /**
268
- * Revokes API consumer authorization rules in batches.
268
+ * Revokes consumer authorization rules in batches.
269
269
  *
270
270
  * @param request - BatchDeleteConsumerAuthorizationRuleRequest
271
271
  * @returns BatchDeleteConsumerAuthorizationRuleResponse
@@ -276,7 +276,7 @@ class Client extends openapi_core_1.default {
276
276
  return await this.batchDeleteConsumerAuthorizationRuleWithOptions(request, headers, runtime);
277
277
  }
278
278
  /**
279
- * Moves a resource from one resource group to another.
279
+ * Transfers a resource to a different resource group.
280
280
  *
281
281
  * @param request - ChangeResourceGroupRequest
282
282
  * @param headers - map
@@ -316,7 +316,7 @@ class Client extends openapi_core_1.default {
316
316
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChangeResourceGroupResponse({}));
317
317
  }
318
318
  /**
319
- * Moves a resource from one resource group to another.
319
+ * Transfers a resource to a different resource group.
320
320
  *
321
321
  * @param request - ChangeResourceGroupRequest
322
322
  * @returns ChangeResourceGroupResponse
@@ -326,6 +326,57 @@ class Client extends openapi_core_1.default {
326
326
  let headers = {};
327
327
  return await this.changeResourceGroupWithOptions(request, headers, runtime);
328
328
  }
329
+ /**
330
+ * 创建AI模型供应商
331
+ *
332
+ * @param request - CreateAiModelProviderRequest
333
+ * @param headers - map
334
+ * @param runtime - runtime options for this request RuntimeOptions
335
+ * @returns CreateAiModelProviderResponse
336
+ */
337
+ async createAiModelProviderWithOptions(request, headers, runtime) {
338
+ request.validate();
339
+ let body = {};
340
+ if (!$dara.isNull(request.displayName)) {
341
+ body["displayName"] = request.displayName;
342
+ }
343
+ if (!$dara.isNull(request.gatewayId)) {
344
+ body["gatewayId"] = request.gatewayId;
345
+ }
346
+ if (!$dara.isNull(request.provider)) {
347
+ body["provider"] = request.provider;
348
+ }
349
+ if (!$dara.isNull(request.serviceIds)) {
350
+ body["serviceIds"] = request.serviceIds;
351
+ }
352
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
353
+ headers: headers,
354
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
355
+ });
356
+ let params = new openapi_core_2.$OpenApiUtil.Params({
357
+ action: "CreateAiModelProvider",
358
+ version: "2024-03-27",
359
+ protocol: "HTTPS",
360
+ pathname: `/v1/ai-model-providers`,
361
+ method: "POST",
362
+ authType: "AK",
363
+ style: "ROA",
364
+ reqBodyType: "json",
365
+ bodyType: "json",
366
+ });
367
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAiModelProviderResponse({}));
368
+ }
369
+ /**
370
+ * 创建AI模型供应商
371
+ *
372
+ * @param request - CreateAiModelProviderRequest
373
+ * @returns CreateAiModelProviderResponse
374
+ */
375
+ async createAiModelProvider(request) {
376
+ let runtime = new $dara.RuntimeOptions({});
377
+ let headers = {};
378
+ return await this.createAiModelProviderWithOptions(request, headers, runtime);
379
+ }
329
380
  /**
330
381
  * Creates and attaches a policy.
331
382
  *
@@ -854,7 +905,7 @@ class Client extends openapi_core_1.default {
854
905
  return await this.createHttpApiWithOptions(request, headers, runtime);
855
906
  }
856
907
  /**
857
- * Create an Operation for HTTP API
908
+ * Creates operations for an HTTP API.
858
909
  *
859
910
  * @param request - CreateHttpApiOperationRequest
860
911
  * @param headers - map
@@ -885,7 +936,7 @@ class Client extends openapi_core_1.default {
885
936
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateHttpApiOperationResponse({}));
886
937
  }
887
938
  /**
888
- * Create an Operation for HTTP API
939
+ * Creates operations for an HTTP API.
889
940
  *
890
941
  * @param request - CreateHttpApiOperationRequest
891
942
  * @returns CreateHttpApiOperationResponse
@@ -1102,6 +1153,75 @@ class Client extends openapi_core_1.default {
1102
1153
  let headers = {};
1103
1154
  return await this.createPluginAttachmentWithOptions(request, headers, runtime);
1104
1155
  }
1156
+ /**
1157
+ * Creates a custom plugin class.
1158
+ *
1159
+ * @param request - CreatePluginClassRequest
1160
+ * @param headers - map
1161
+ * @param runtime - runtime options for this request RuntimeOptions
1162
+ * @returns CreatePluginClassResponse
1163
+ */
1164
+ async createPluginClassWithOptions(request, headers, runtime) {
1165
+ request.validate();
1166
+ let body = {};
1167
+ if (!$dara.isNull(request.alias)) {
1168
+ body["alias"] = request.alias;
1169
+ }
1170
+ if (!$dara.isNull(request.description)) {
1171
+ body["description"] = request.description;
1172
+ }
1173
+ if (!$dara.isNull(request.executePriority)) {
1174
+ body["executePriority"] = request.executePriority;
1175
+ }
1176
+ if (!$dara.isNull(request.executeStage)) {
1177
+ body["executeStage"] = request.executeStage;
1178
+ }
1179
+ if (!$dara.isNull(request.name)) {
1180
+ body["name"] = request.name;
1181
+ }
1182
+ if (!$dara.isNull(request.supportedMinGatewayVersion)) {
1183
+ body["supportedMinGatewayVersion"] = request.supportedMinGatewayVersion;
1184
+ }
1185
+ if (!$dara.isNull(request.version)) {
1186
+ body["version"] = request.version;
1187
+ }
1188
+ if (!$dara.isNull(request.versionDescription)) {
1189
+ body["versionDescription"] = request.versionDescription;
1190
+ }
1191
+ if (!$dara.isNull(request.wasmLanguage)) {
1192
+ body["wasmLanguage"] = request.wasmLanguage;
1193
+ }
1194
+ if (!$dara.isNull(request.wasmUrl)) {
1195
+ body["wasmUrl"] = request.wasmUrl;
1196
+ }
1197
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1198
+ headers: headers,
1199
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
1200
+ });
1201
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1202
+ action: "CreatePluginClass",
1203
+ version: "2024-03-27",
1204
+ protocol: "HTTPS",
1205
+ pathname: `/v1/plugin-classes`,
1206
+ method: "POST",
1207
+ authType: "AK",
1208
+ style: "ROA",
1209
+ reqBodyType: "json",
1210
+ bodyType: "json",
1211
+ });
1212
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePluginClassResponse({}));
1213
+ }
1214
+ /**
1215
+ * Creates a custom plugin class.
1216
+ *
1217
+ * @param request - CreatePluginClassRequest
1218
+ * @returns CreatePluginClassResponse
1219
+ */
1220
+ async createPluginClass(request) {
1221
+ let runtime = new $dara.RuntimeOptions({});
1222
+ let headers = {};
1223
+ return await this.createPluginClassWithOptions(request, headers, runtime);
1224
+ }
1105
1225
  /**
1106
1226
  * Creates a policy.
1107
1227
  *
@@ -1265,7 +1385,7 @@ class Client extends openapi_core_1.default {
1265
1385
  return await this.createSecretWithOptions(request, headers, runtime);
1266
1386
  }
1267
1387
  /**
1268
- * Creates a service.
1388
+ * Creates services.
1269
1389
  *
1270
1390
  * @remarks
1271
1391
  * This operation supports creating multiple services.
@@ -1313,7 +1433,7 @@ class Client extends openapi_core_1.default {
1313
1433
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateServiceResponse({}));
1314
1434
  }
1315
1435
  /**
1316
- * Creates a service.
1436
+ * Creates services.
1317
1437
  *
1318
1438
  * @remarks
1319
1439
  * This operation supports creating multiple services.
@@ -1596,10 +1716,10 @@ class Client extends openapi_core_1.default {
1596
1716
  return await this.deleteGatewayWithOptions(gatewayId, headers, runtime);
1597
1717
  }
1598
1718
  /**
1599
- * 删除网关配额限流规则
1719
+ * Deletes a quota throttling rule from a gateway.
1600
1720
  *
1601
1721
  * @remarks
1602
- * 该接口用于对 AI 网关删除某条基于消费者的配额规则。注意,只针对于版本大于 2.1.19 AI 网关生效。
1722
+ * Deletes a consumer-based quota rule from an AI gateway. This operation applies only to AI gateways of version 2.1.19 or later.
1603
1723
  *
1604
1724
  * @param request - DeleteGatewayQuotaRuleRequest
1605
1725
  * @param headers - map
@@ -1625,10 +1745,10 @@ class Client extends openapi_core_1.default {
1625
1745
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGatewayQuotaRuleResponse({}));
1626
1746
  }
1627
1747
  /**
1628
- * 删除网关配额限流规则
1748
+ * Deletes a quota throttling rule from a gateway.
1629
1749
  *
1630
1750
  * @remarks
1631
- * 该接口用于对 AI 网关删除某条基于消费者的配额规则。注意,只针对于版本大于 2.1.19 AI 网关生效。
1751
+ * Deletes a consumer-based quota rule from an AI gateway. This operation applies only to AI gateways of version 2.1.19 or later.
1632
1752
  *
1633
1753
  * @param request - DeleteGatewayQuotaRuleRequest
1634
1754
  * @returns DeleteGatewayQuotaRuleResponse
@@ -1681,7 +1801,7 @@ class Client extends openapi_core_1.default {
1681
1801
  return await this.deleteGatewaySecurityGroupRuleWithOptions(gatewayId, securityGroupRuleId, request, headers, runtime);
1682
1802
  }
1683
1803
  /**
1684
- * Deletes an HTTP API.
1804
+ * Deletes a specified HTTP API.
1685
1805
  *
1686
1806
  * @param headers - map
1687
1807
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1705,7 +1825,7 @@ class Client extends openapi_core_1.default {
1705
1825
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteHttpApiResponse({}));
1706
1826
  }
1707
1827
  /**
1708
- * Deletes an HTTP API.
1828
+ * Deletes a specified HTTP API.
1709
1829
  * @returns DeleteHttpApiResponse
1710
1830
  */
1711
1831
  async deleteHttpApi(httpApiId) {
@@ -1747,7 +1867,7 @@ class Client extends openapi_core_1.default {
1747
1867
  return await this.deleteHttpApiOperationWithOptions(httpApiId, operationId, headers, runtime);
1748
1868
  }
1749
1869
  /**
1750
- * Deletes a route in an HTTP API.
1870
+ * Deletes a route of an HTTP API.
1751
1871
  *
1752
1872
  * @param headers - map
1753
1873
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1771,7 +1891,7 @@ class Client extends openapi_core_1.default {
1771
1891
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteHttpApiRouteResponse({}));
1772
1892
  }
1773
1893
  /**
1774
- * Deletes a route in an HTTP API.
1894
+ * Deletes a route of an HTTP API.
1775
1895
  * @returns DeleteHttpApiRouteResponse
1776
1896
  */
1777
1897
  async deleteHttpApiRoute(httpApiId, routeId) {
@@ -1915,7 +2035,7 @@ class Client extends openapi_core_1.default {
1915
2035
  * Deletes a key value.
1916
2036
  *
1917
2037
  * @remarks
1918
- * 接口支持创建多个服务。
2038
+ * The operation supports creating multiple services.
1919
2039
  *
1920
2040
  * @param headers - map
1921
2041
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1942,7 +2062,7 @@ class Client extends openapi_core_1.default {
1942
2062
  * Deletes a key value.
1943
2063
  *
1944
2064
  * @remarks
1945
- * 接口支持创建多个服务。
2065
+ * The operation supports creating multiple services.
1946
2066
  * @returns DeleteSecretResponse
1947
2067
  */
1948
2068
  async deleteSecret(secretId) {
@@ -2098,7 +2218,7 @@ class Client extends openapi_core_1.default {
2098
2218
  return await this.deployHttpApiWithOptions(httpApiId, request, headers, runtime);
2099
2219
  }
2100
2220
  /**
2101
- * Deploys an MCP server.
2221
+ * Publishes an MCP server.
2102
2222
  *
2103
2223
  * @param headers - map
2104
2224
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2122,7 +2242,7 @@ class Client extends openapi_core_1.default {
2122
2242
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeployMcpServerResponse({}));
2123
2243
  }
2124
2244
  /**
2125
- * Deploys an MCP server.
2245
+ * Publishes an MCP server.
2126
2246
  * @returns DeployMcpServerResponse
2127
2247
  */
2128
2248
  async deployMcpServer(mcpServerId) {
@@ -2131,7 +2251,7 @@ class Client extends openapi_core_1.default {
2131
2251
  return await this.deployMcpServerWithOptions(mcpServerId, headers, runtime);
2132
2252
  }
2133
2253
  /**
2134
- * 查询当前账号可见的云原生API网关开服地域
2254
+ * Queries the regions where the cloud-native API gateway is available for the current account.
2135
2255
  *
2136
2256
  * @param request - DescribeRegionsRequest
2137
2257
  * @param headers - map
@@ -2162,7 +2282,7 @@ class Client extends openapi_core_1.default {
2162
2282
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRegionsResponse({}));
2163
2283
  }
2164
2284
  /**
2165
- * 查询当前账号可见的云原生API网关开服地域
2285
+ * Queries the regions where the cloud-native API gateway is available for the current account.
2166
2286
  *
2167
2287
  * @param request - DescribeRegionsRequest
2168
2288
  * @returns DescribeRegionsResponse
@@ -2483,10 +2603,10 @@ class Client extends openapi_core_1.default {
2483
2603
  return await this.getGatewayWithOptions(gatewayId, headers, runtime);
2484
2604
  }
2485
2605
  /**
2486
- * 查询网关配额限流规则详情
2606
+ * Queries the details of a gateway quota rate limiting rule.
2487
2607
  *
2488
2608
  * @remarks
2489
- * 该接口用于查询 AI 网关上某条消费者配额规则。
2609
+ * This operation queries a specific consumer quota rule on an AI gateway.
2490
2610
  *
2491
2611
  * @param request - GetGatewayQuotaRuleRequest
2492
2612
  * @param headers - map
@@ -2523,10 +2643,10 @@ class Client extends openapi_core_1.default {
2523
2643
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayQuotaRuleResponse({}));
2524
2644
  }
2525
2645
  /**
2526
- * 查询网关配额限流规则详情
2646
+ * Queries the details of a gateway quota rate limiting rule.
2527
2647
  *
2528
2648
  * @remarks
2529
- * 该接口用于查询 AI 网关上某条消费者配额规则。
2649
+ * This operation queries a specific consumer quota rule on an AI gateway.
2530
2650
  *
2531
2651
  * @param request - GetGatewayQuotaRuleRequest
2532
2652
  * @returns GetGatewayQuotaRuleResponse
@@ -2537,10 +2657,10 @@ class Client extends openapi_core_1.default {
2537
2657
  return await this.getGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
2538
2658
  }
2539
2659
  /**
2540
- * 查询网关配额限流规则主体用量详情
2660
+ * Queries the usage details of a subject under a gateway quota rate-limiting rule, including used quota, total quota, whether the limit is exceeded, usage details, and consumption records.
2541
2661
  *
2542
2662
  * @remarks
2543
- * 该接口用于获取配额规则下的某个消费者用量详情。注意,只针对于版本大于 2.1.19 的 AI 网关生效。
2663
+ * Retrieves the usage details of a specific consumer under a quota rule. This operation takes effect only for AI gateways with a version later than 2.1.19.
2544
2664
  *
2545
2665
  * @param request - GetGatewayQuotaRuleSubjectUsageRequest
2546
2666
  * @param headers - map
@@ -2574,10 +2694,10 @@ class Client extends openapi_core_1.default {
2574
2694
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayQuotaRuleSubjectUsageResponse({}));
2575
2695
  }
2576
2696
  /**
2577
- * 查询网关配额限流规则主体用量详情
2697
+ * Queries the usage details of a subject under a gateway quota rate-limiting rule, including used quota, total quota, whether the limit is exceeded, usage details, and consumption records.
2578
2698
  *
2579
2699
  * @remarks
2580
- * 该接口用于获取配额规则下的某个消费者用量详情。注意,只针对于版本大于 2.1.19 的 AI 网关生效。
2700
+ * Retrieves the usage details of a specific consumer under a quota rule. This operation takes effect only for AI gateways with a version later than 2.1.19.
2581
2701
  *
2582
2702
  * @param request - GetGatewayQuotaRuleSubjectUsageRequest
2583
2703
  * @returns GetGatewayQuotaRuleSubjectUsageResponse
@@ -2588,7 +2708,7 @@ class Client extends openapi_core_1.default {
2588
2708
  return await this.getGatewayQuotaRuleSubjectUsageWithOptions(gatewayId, ruleId, subjectId, request, headers, runtime);
2589
2709
  }
2590
2710
  /**
2591
- * Read HttpApi
2711
+ * Retrieves HTTP API information.
2592
2712
  *
2593
2713
  * @param headers - map
2594
2714
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2612,7 +2732,7 @@ class Client extends openapi_core_1.default {
2612
2732
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHttpApiResponse({}));
2613
2733
  }
2614
2734
  /**
2615
- * Read HttpApi
2735
+ * Retrieves HTTP API information.
2616
2736
  * @returns GetHttpApiResponse
2617
2737
  */
2618
2738
  async getHttpApi(httpApiId) {
@@ -2687,10 +2807,10 @@ class Client extends openapi_core_1.default {
2687
2807
  return await this.getHttpApiRouteWithOptions(httpApiId, routeId, headers, runtime);
2688
2808
  }
2689
2809
  /**
2690
- * Get MCP Server.
2810
+ * Retrieves an MCP server.
2691
2811
  *
2692
2812
  * @remarks
2693
- * The API supports creating multiple services.
2813
+ * The operation supports creating multiple services.
2694
2814
  *
2695
2815
  * @param headers - map
2696
2816
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2714,10 +2834,10 @@ class Client extends openapi_core_1.default {
2714
2834
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMcpServerResponse({}));
2715
2835
  }
2716
2836
  /**
2717
- * Get MCP Server.
2837
+ * Retrieves an MCP server.
2718
2838
  *
2719
2839
  * @remarks
2720
- * The API supports creating multiple services.
2840
+ * The operation supports creating multiple services.
2721
2841
  * @returns GetMcpServerResponse
2722
2842
  */
2723
2843
  async getMcpServer(mcpServerId) {
@@ -2726,7 +2846,7 @@ class Client extends openapi_core_1.default {
2726
2846
  return await this.getMcpServerWithOptions(mcpServerId, headers, runtime);
2727
2847
  }
2728
2848
  /**
2729
- * Queries a plugin attachment.
2849
+ * Queries a plugin mount.
2730
2850
  *
2731
2851
  * @param headers - map
2732
2852
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2750,7 +2870,7 @@ class Client extends openapi_core_1.default {
2750
2870
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPluginAttachmentResponse({}));
2751
2871
  }
2752
2872
  /**
2753
- * Queries a plugin attachment.
2873
+ * Queries a plugin mount.
2754
2874
  * @returns GetPluginAttachmentResponse
2755
2875
  */
2756
2876
  async getPluginAttachment(pluginAttachmentId) {
@@ -2758,6 +2878,43 @@ class Client extends openapi_core_1.default {
2758
2878
  let headers = {};
2759
2879
  return await this.getPluginAttachmentWithOptions(pluginAttachmentId, headers, runtime);
2760
2880
  }
2881
+ /**
2882
+ * Retrieves a custom plugin class.
2883
+ *
2884
+ * @param request - GetPluginClassRequest
2885
+ * @param headers - map
2886
+ * @param runtime - runtime options for this request RuntimeOptions
2887
+ * @returns GetPluginClassResponse
2888
+ */
2889
+ async getPluginClassWithOptions(pluginClassId, request, headers, runtime) {
2890
+ request.validate();
2891
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2892
+ headers: headers,
2893
+ });
2894
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2895
+ action: "GetPluginClass",
2896
+ version: "2024-03-27",
2897
+ protocol: "HTTPS",
2898
+ pathname: `/v1/plugin-classes/${$dara.URL.percentEncode(pluginClassId)}`,
2899
+ method: "GET",
2900
+ authType: "AK",
2901
+ style: "ROA",
2902
+ reqBodyType: "json",
2903
+ bodyType: "json",
2904
+ });
2905
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPluginClassResponse({}));
2906
+ }
2907
+ /**
2908
+ * Retrieves a custom plugin class.
2909
+ *
2910
+ * @param request - GetPluginClassRequest
2911
+ * @returns GetPluginClassResponse
2912
+ */
2913
+ async getPluginClass(pluginClassId, request) {
2914
+ let runtime = new $dara.RuntimeOptions({});
2915
+ let headers = {};
2916
+ return await this.getPluginClassWithOptions(pluginClassId, request, headers, runtime);
2917
+ }
2761
2918
  /**
2762
2919
  * Retrieves a policy.
2763
2920
  *
@@ -2792,7 +2949,7 @@ class Client extends openapi_core_1.default {
2792
2949
  return await this.getPolicyWithOptions(policyId, headers, runtime);
2793
2950
  }
2794
2951
  /**
2795
- * Queries a policy attachment.
2952
+ * Queries the resource attachment of a policy.
2796
2953
  *
2797
2954
  * @param headers - map
2798
2955
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2816,7 +2973,7 @@ class Client extends openapi_core_1.default {
2816
2973
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPolicyAttachmentResponse({}));
2817
2974
  }
2818
2975
  /**
2819
- * Queries a policy attachment.
2976
+ * Queries the resource attachment of a policy.
2820
2977
  * @returns GetPolicyAttachmentResponse
2821
2978
  */
2822
2979
  async getPolicyAttachment(policyAttachmentId) {
@@ -2825,7 +2982,7 @@ class Client extends openapi_core_1.default {
2825
2982
  return await this.getPolicyAttachmentWithOptions(policyAttachmentId, headers, runtime);
2826
2983
  }
2827
2984
  /**
2828
- * Get resource overview information
2985
+ * Retrieves resource overview information.
2829
2986
  *
2830
2987
  * @param request - GetResourceOverviewRequest
2831
2988
  * @param headers - map
@@ -2856,7 +3013,7 @@ class Client extends openapi_core_1.default {
2856
3013
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceOverviewResponse({}));
2857
3014
  }
2858
3015
  /**
2859
- * Get resource overview information
3016
+ * Retrieves resource overview information.
2860
3017
  *
2861
3018
  * @param request - GetResourceOverviewRequest
2862
3019
  * @returns GetResourceOverviewResponse
@@ -2867,10 +3024,10 @@ class Client extends openapi_core_1.default {
2867
3024
  return await this.getResourceOverviewWithOptions(request, headers, runtime);
2868
3025
  }
2869
3026
  /**
2870
- * Obtains the key.
3027
+ * Retrieves a key.
2871
3028
  *
2872
3029
  * @remarks
2873
- * You can call this operation to create multiple services at a time.
3030
+ * The operation supports creating multiple services.
2874
3031
  *
2875
3032
  * @param headers - map
2876
3033
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2894,10 +3051,10 @@ class Client extends openapi_core_1.default {
2894
3051
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSecretResponse({}));
2895
3052
  }
2896
3053
  /**
2897
- * Obtains the key.
3054
+ * Retrieves a key.
2898
3055
  *
2899
3056
  * @remarks
2900
- * You can call this operation to create multiple services at a time.
3057
+ * The operation supports creating multiple services.
2901
3058
  * @returns GetSecretResponse
2902
3059
  */
2903
3060
  async getSecret(secretId) {
@@ -2906,10 +3063,10 @@ class Client extends openapi_core_1.default {
2906
3063
  return await this.getSecretWithOptions(secretId, headers, runtime);
2907
3064
  }
2908
3065
  /**
2909
- * Gets the key value.
3066
+ * Retrieves the value of a key.
2910
3067
  *
2911
3068
  * @remarks
2912
- * 接口支持创建多个服务。
3069
+ * The operation supports creating multiple services.
2913
3070
  *
2914
3071
  * @param headers - map
2915
3072
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2933,10 +3090,10 @@ class Client extends openapi_core_1.default {
2933
3090
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSecretValueResponse({}));
2934
3091
  }
2935
3092
  /**
2936
- * Gets the key value.
3093
+ * Retrieves the value of a key.
2937
3094
  *
2938
3095
  * @remarks
2939
- * 接口支持创建多个服务。
3096
+ * The operation supports creating multiple services.
2940
3097
  * @returns GetSecretValueResponse
2941
3098
  */
2942
3099
  async getSecretValue(name) {
@@ -2945,7 +3102,7 @@ class Client extends openapi_core_1.default {
2945
3102
  return await this.getSecretValueWithOptions(name, headers, runtime);
2946
3103
  }
2947
3104
  /**
2948
- * Gets service details.
3105
+ * Retrieves the details of a service.
2949
3106
  *
2950
3107
  * @param headers - map
2951
3108
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2969,7 +3126,7 @@ class Client extends openapi_core_1.default {
2969
3126
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetServiceResponse({}));
2970
3127
  }
2971
3128
  /**
2972
- * Gets service details.
3129
+ * Retrieves the details of a service.
2973
3130
  * @returns GetServiceResponse
2974
3131
  */
2975
3132
  async getService(serviceId) {
@@ -3227,7 +3384,7 @@ class Client extends openapi_core_1.default {
3227
3384
  return await this.listConsumerAuthorizationRulesWithOptions(consumerId, request, headers, runtime);
3228
3385
  }
3229
3386
  /**
3230
- * 查询消费者配额限流规则列表
3387
+ * Queries the list of quota rules configured for a specific consumer.
3231
3388
  *
3232
3389
  * @param request - ListConsumerQuotaRulesRequest
3233
3390
  * @param headers - map
@@ -3267,7 +3424,7 @@ class Client extends openapi_core_1.default {
3267
3424
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerQuotaRulesResponse({}));
3268
3425
  }
3269
3426
  /**
3270
- * 查询消费者配额限流规则列表
3427
+ * Queries the list of quota rules configured for a specific consumer.
3271
3428
  *
3272
3429
  * @param request - ListConsumerQuotaRulesRequest
3273
3430
  * @returns ListConsumerQuotaRulesResponse
@@ -3278,7 +3435,7 @@ class Client extends openapi_core_1.default {
3278
3435
  return await this.listConsumerQuotaRulesWithOptions(consumerId, request, headers, runtime);
3279
3436
  }
3280
3437
  /**
3281
- * Queries a list of consumers.
3438
+ * Retrieves a list of consumers.
3282
3439
  *
3283
3440
  * @param request - ListConsumersRequest
3284
3441
  * @param headers - map
@@ -3318,7 +3475,7 @@ class Client extends openapi_core_1.default {
3318
3475
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumersResponse({}));
3319
3476
  }
3320
3477
  /**
3321
- * Queries a list of consumers.
3478
+ * Retrieves a list of consumers.
3322
3479
  *
3323
3480
  * @param request - ListConsumersRequest
3324
3481
  * @returns ListConsumersResponse
@@ -3389,7 +3546,7 @@ class Client extends openapi_core_1.default {
3389
3546
  return await this.listDomainsWithOptions(request, headers, runtime);
3390
3547
  }
3391
3548
  /**
3392
- * Queries a list of environments.
3549
+ * Queries the list of environments.
3393
3550
  *
3394
3551
  * @deprecated OpenAPI ListEnvironments is deprecated
3395
3552
  *
@@ -3443,7 +3600,7 @@ class Client extends openapi_core_1.default {
3443
3600
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEnvironmentsResponse({}));
3444
3601
  }
3445
3602
  /**
3446
- * Queries a list of environments.
3603
+ * Queries the list of environments.
3447
3604
  *
3448
3605
  * @deprecated OpenAPI ListEnvironments is deprecated
3449
3606
  *
@@ -3457,10 +3614,10 @@ class Client extends openapi_core_1.default {
3457
3614
  return await this.listEnvironmentsWithOptions(request, headers, runtime);
3458
3615
  }
3459
3616
  /**
3460
- * 获取网关外的服务信息
3617
+ * Retrieves the external service information of a gateway.
3461
3618
  *
3462
3619
  * @remarks
3463
- * 接口支持创建多个服务。
3620
+ * This operation supports creating multiple services.
3464
3621
  *
3465
3622
  * @param request - ListExternalServicesRequest
3466
3623
  * @param headers - map
@@ -3503,10 +3660,10 @@ class Client extends openapi_core_1.default {
3503
3660
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListExternalServicesResponse({}));
3504
3661
  }
3505
3662
  /**
3506
- * 获取网关外的服务信息
3663
+ * Retrieves the external service information of a gateway.
3507
3664
  *
3508
3665
  * @remarks
3509
- * 接口支持创建多个服务。
3666
+ * This operation supports creating multiple services.
3510
3667
  *
3511
3668
  * @param request - ListExternalServicesRequest
3512
3669
  * @returns ListExternalServicesResponse
@@ -3517,7 +3674,7 @@ class Client extends openapi_core_1.default {
3517
3674
  return await this.listExternalServicesWithOptions(gatewayId, request, headers, runtime);
3518
3675
  }
3519
3676
  /**
3520
- * Queries the feature parameter configurations of an instance.
3677
+ * Queries the list of gateway attribute parameter settings.
3521
3678
  *
3522
3679
  * @param headers - map
3523
3680
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3541,7 +3698,7 @@ class Client extends openapi_core_1.default {
3541
3698
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayFeaturesResponse({}));
3542
3699
  }
3543
3700
  /**
3544
- * Queries the feature parameter configurations of an instance.
3701
+ * Queries the list of gateway attribute parameter settings.
3545
3702
  * @returns ListGatewayFeaturesResponse
3546
3703
  */
3547
3704
  async listGatewayFeatures(gatewayId) {
@@ -3550,10 +3707,10 @@ class Client extends openapi_core_1.default {
3550
3707
  return await this.listGatewayFeaturesWithOptions(gatewayId, headers, runtime);
3551
3708
  }
3552
3709
  /**
3553
- * 查询网关周期配额规则列表
3710
+ * Queries the list of API consumer quota rules bound to a gateway.
3554
3711
  *
3555
3712
  * @remarks
3556
- * 该接口用于查询网关上绑定的消费者配额规则列表
3713
+ * Queries the list of API consumer quota rules bound to a gateway.
3557
3714
  *
3558
3715
  * @param request - ListGatewayQuotaRulesRequest
3559
3716
  * @param headers - map
@@ -3596,10 +3753,10 @@ class Client extends openapi_core_1.default {
3596
3753
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayQuotaRulesResponse({}));
3597
3754
  }
3598
3755
  /**
3599
- * 查询网关周期配额规则列表
3756
+ * Queries the list of API consumer quota rules bound to a gateway.
3600
3757
  *
3601
3758
  * @remarks
3602
- * 该接口用于查询网关上绑定的消费者配额规则列表
3759
+ * Queries the list of API consumer quota rules bound to a gateway.
3603
3760
  *
3604
3761
  * @param request - ListGatewayQuotaRulesRequest
3605
3762
  * @returns ListGatewayQuotaRulesResponse
@@ -3610,7 +3767,7 @@ class Client extends openapi_core_1.default {
3610
3767
  return await this.listGatewayQuotaRulesWithOptions(gatewayId, request, headers, runtime);
3611
3768
  }
3612
3769
  /**
3613
- * Queries a list of instances.
3770
+ * Queries a list of gateways.
3614
3771
  *
3615
3772
  * @param tmpReq - ListGatewaysRequest
3616
3773
  * @param headers - map
@@ -3667,7 +3824,7 @@ class Client extends openapi_core_1.default {
3667
3824
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewaysResponse({}));
3668
3825
  }
3669
3826
  /**
3670
- * Queries a list of instances.
3827
+ * Queries a list of gateways.
3671
3828
  *
3672
3829
  * @param request - ListGatewaysRequest
3673
3830
  * @returns ListGatewaysResponse
@@ -3678,7 +3835,7 @@ class Client extends openapi_core_1.default {
3678
3835
  return await this.listGatewaysWithOptions(request, headers, runtime);
3679
3836
  }
3680
3837
  /**
3681
- * List Operations
3838
+ * Retrieves a list of API operations.
3682
3839
  *
3683
3840
  * @param request - ListHttpApiOperationsRequest
3684
3841
  * @param headers - map
@@ -3745,7 +3902,7 @@ class Client extends openapi_core_1.default {
3745
3902
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHttpApiOperationsResponse({}));
3746
3903
  }
3747
3904
  /**
3748
- * List Operations
3905
+ * Retrieves a list of API operations.
3749
3906
  *
3750
3907
  * @param request - ListHttpApiOperationsRequest
3751
3908
  * @returns ListHttpApiOperationsResponse
@@ -3840,7 +3997,7 @@ class Client extends openapi_core_1.default {
3840
3997
  return await this.listHttpApiRoutesWithOptions(httpApiId, request, headers, runtime);
3841
3998
  }
3842
3999
  /**
3843
- * Queries a list of HTTP APIs.
4000
+ * Retrieves a list of HTTP APIs.
3844
4001
  *
3845
4002
  * @param request - ListHttpApisRequest
3846
4003
  * @param headers - map
@@ -3919,7 +4076,7 @@ class Client extends openapi_core_1.default {
3919
4076
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHttpApisResponse({}));
3920
4077
  }
3921
4078
  /**
3922
- * Queries a list of HTTP APIs.
4079
+ * Retrieves a list of HTTP APIs.
3923
4080
  *
3924
4081
  * @param request - ListHttpApisRequest
3925
4082
  * @returns ListHttpApisResponse
@@ -3933,7 +4090,7 @@ class Client extends openapi_core_1.default {
3933
4090
  * Retrieves a list of MCP servers.
3934
4091
  *
3935
4092
  * @remarks
3936
- * You can call this operation to create multiple services at a time.
4093
+ * The operation supports creating multiple services.
3937
4094
  *
3938
4095
  * @param request - ListMcpServersRequest
3939
4096
  * @param headers - map
@@ -3985,7 +4142,7 @@ class Client extends openapi_core_1.default {
3985
4142
  * Retrieves a list of MCP servers.
3986
4143
  *
3987
4144
  * @remarks
3988
- * You can call this operation to create multiple services at a time.
4145
+ * The operation supports creating multiple services.
3989
4146
  *
3990
4147
  * @param request - ListMcpServersRequest
3991
4148
  * @returns ListMcpServersResponse
@@ -3996,7 +4153,7 @@ class Client extends openapi_core_1.default {
3996
4153
  return await this.listMcpServersWithOptions(request, headers, runtime);
3997
4154
  }
3998
4155
  /**
3999
- * Retrieves a list of plug-in attachments.
4156
+ * Retrieves the list of plug-in mounts.
4000
4157
  *
4001
4158
  * @param request - ListPluginAttachmentsRequest
4002
4159
  * @param headers - map
@@ -4051,7 +4208,7 @@ class Client extends openapi_core_1.default {
4051
4208
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginAttachmentsResponse({}));
4052
4209
  }
4053
4210
  /**
4054
- * Retrieves a list of plug-in attachments.
4211
+ * Retrieves the list of plug-in mounts.
4055
4212
  *
4056
4213
  * @param request - ListPluginAttachmentsRequest
4057
4214
  * @returns ListPluginAttachmentsResponse
@@ -4062,10 +4219,10 @@ class Client extends openapi_core_1.default {
4062
4219
  return await this.listPluginAttachmentsWithOptions(request, headers, runtime);
4063
4220
  }
4064
4221
  /**
4065
- * Obtains a plugin.
4222
+ * Retrieves plug-ins.
4066
4223
  *
4067
4224
  * @remarks
4068
- * You can call this operation to create multiple services at a time.
4225
+ * The operation supports creating multiple services.
4069
4226
  *
4070
4227
  * @param request - ListPluginClassesRequest
4071
4228
  * @param headers - map
@@ -4126,10 +4283,10 @@ class Client extends openapi_core_1.default {
4126
4283
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginClassesResponse({}));
4127
4284
  }
4128
4285
  /**
4129
- * Obtains a plugin.
4286
+ * Retrieves plug-ins.
4130
4287
  *
4131
4288
  * @remarks
4132
- * You can call this operation to create multiple services at a time.
4289
+ * The operation supports creating multiple services.
4133
4290
  *
4134
4291
  * @param request - ListPluginClassesRequest
4135
4292
  * @returns ListPluginClassesResponse
@@ -4140,7 +4297,7 @@ class Client extends openapi_core_1.default {
4140
4297
  return await this.listPluginClassesWithOptions(request, headers, runtime);
4141
4298
  }
4142
4299
  /**
4143
- * Queries plug-ins.
4300
+ * Retrieves a list of plugins.
4144
4301
  *
4145
4302
  * @param request - ListPluginsRequest
4146
4303
  * @param headers - map
@@ -4198,7 +4355,7 @@ class Client extends openapi_core_1.default {
4198
4355
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginsResponse({}));
4199
4356
  }
4200
4357
  /**
4201
- * Queries plug-ins.
4358
+ * Retrieves a list of plugins.
4202
4359
  *
4203
4360
  * @param request - ListPluginsRequest
4204
4361
  * @returns ListPluginsResponse
@@ -4209,7 +4366,7 @@ class Client extends openapi_core_1.default {
4209
4366
  return await this.listPluginsWithOptions(request, headers, runtime);
4210
4367
  }
4211
4368
  /**
4212
- * Queries policies.
4369
+ * Queries a list of policies.
4213
4370
  *
4214
4371
  * @param request - ListPoliciesRequest
4215
4372
  * @param headers - map
@@ -4255,7 +4412,7 @@ class Client extends openapi_core_1.default {
4255
4412
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPoliciesResponse({}));
4256
4413
  }
4257
4414
  /**
4258
- * Queries policies.
4415
+ * Queries a list of policies.
4259
4416
  *
4260
4417
  * @param request - ListPoliciesRequest
4261
4418
  * @returns ListPoliciesResponse
@@ -4326,10 +4483,10 @@ class Client extends openapi_core_1.default {
4326
4483
  return await this.listPolicyClassesWithOptions(request, headers, runtime);
4327
4484
  }
4328
4485
  /**
4329
- * Lists key references.
4486
+ * Lists secret references.
4330
4487
  *
4331
4488
  * @remarks
4332
- * You can call this operation to create multiple services at a time.
4489
+ * This operation supports creating multiple services.
4333
4490
  *
4334
4491
  * @param request - ListSecretReferencesRequest
4335
4492
  * @param headers - map
@@ -4363,10 +4520,10 @@ class Client extends openapi_core_1.default {
4363
4520
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSecretReferencesResponse({}));
4364
4521
  }
4365
4522
  /**
4366
- * Lists key references.
4523
+ * Lists secret references.
4367
4524
  *
4368
4525
  * @remarks
4369
- * You can call this operation to create multiple services at a time.
4526
+ * This operation supports creating multiple services.
4370
4527
  *
4371
4528
  * @param request - ListSecretReferencesRequest
4372
4529
  * @returns ListSecretReferencesResponse
@@ -4377,10 +4534,10 @@ class Client extends openapi_core_1.default {
4377
4534
  return await this.listSecretReferencesWithOptions(secretId, request, headers, runtime);
4378
4535
  }
4379
4536
  /**
4380
- * List keys.
4537
+ * Lists keys.
4381
4538
  *
4382
4539
  * @remarks
4383
- * The API supports creating multiple services.
4540
+ * The operation supports creating multiple services.
4384
4541
  *
4385
4542
  * @param request - ListSecretsRequest
4386
4543
  * @param headers - map
@@ -4420,10 +4577,10 @@ class Client extends openapi_core_1.default {
4420
4577
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSecretsResponse({}));
4421
4578
  }
4422
4579
  /**
4423
- * List keys.
4580
+ * Lists keys.
4424
4581
  *
4425
4582
  * @remarks
4426
- * The API supports creating multiple services.
4583
+ * The operation supports creating multiple services.
4427
4584
  *
4428
4585
  * @param request - ListSecretsRequest
4429
4586
  * @returns ListSecretsResponse
@@ -4545,7 +4702,7 @@ class Client extends openapi_core_1.default {
4545
4702
  return await this.listSslCertsWithOptions(request, headers, runtime);
4546
4703
  }
4547
4704
  /**
4548
- * 查标签接口
4705
+ * Retrieves the list of resource labels.
4549
4706
  *
4550
4707
  * @param tmpReq - ListTagResourcesRequest
4551
4708
  * @param headers - map
@@ -4593,7 +4750,7 @@ class Client extends openapi_core_1.default {
4593
4750
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
4594
4751
  }
4595
4752
  /**
4596
- * 查标签接口
4753
+ * Retrieves the list of resource labels.
4597
4754
  *
4598
4755
  * @param request - ListTagResourcesRequest
4599
4756
  * @returns ListTagResourcesResponse
@@ -4604,7 +4761,7 @@ class Client extends openapi_core_1.default {
4604
4761
  return await this.listTagResourcesWithOptions(request, headers, runtime);
4605
4762
  }
4606
4763
  /**
4607
- * Retrieve the availability zones under a cloud-native API gateway region
4764
+ * Retrieves the zones available for a cloud-native API gateway in a specified region.
4608
4765
  *
4609
4766
  * @param headers - map
4610
4767
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4628,7 +4785,7 @@ class Client extends openapi_core_1.default {
4628
4785
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListZonesResponse({}));
4629
4786
  }
4630
4787
  /**
4631
- * Retrieve the availability zones under a cloud-native API gateway region
4788
+ * Retrieves the zones available for a cloud-native API gateway in a specified region.
4632
4789
  * @returns ListZonesResponse
4633
4790
  */
4634
4791
  async listZones() {
@@ -4650,6 +4807,9 @@ class Client extends openapi_core_1.default {
4650
4807
  if (!$dara.isNull(request.apiNameLike)) {
4651
4808
  query["apiNameLike"] = request.apiNameLike;
4652
4809
  }
4810
+ if (!$dara.isNull(request.consumerGroupId)) {
4811
+ query["consumerGroupId"] = request.consumerGroupId;
4812
+ }
4653
4813
  if (!$dara.isNull(request.consumerId)) {
4654
4814
  query["consumerId"] = request.consumerId;
4655
4815
  }
@@ -4671,6 +4831,9 @@ class Client extends openapi_core_1.default {
4671
4831
  if (!$dara.isNull(request.parentResourceId)) {
4672
4832
  query["parentResourceId"] = request.parentResourceId;
4673
4833
  }
4834
+ if (!$dara.isNull(request.principalType)) {
4835
+ query["principalType"] = request.principalType;
4836
+ }
4674
4837
  if (!$dara.isNull(request.resourceId)) {
4675
4838
  query["resourceId"] = request.resourceId;
4676
4839
  }
@@ -4709,7 +4872,7 @@ class Client extends openapi_core_1.default {
4709
4872
  return await this.queryConsumerAuthorizationRulesWithOptions(request, headers, runtime);
4710
4873
  }
4711
4874
  /**
4712
- * Deletes a consumer authorization rule.
4875
+ * Deletes an API consumer authorization rule.
4713
4876
  *
4714
4877
  * @param headers - map
4715
4878
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4733,7 +4896,7 @@ class Client extends openapi_core_1.default {
4733
4896
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveConsumerAuthorizationRuleResponse({}));
4734
4897
  }
4735
4898
  /**
4736
- * Deletes a consumer authorization rule.
4899
+ * Deletes an API consumer authorization rule.
4737
4900
  * @returns RemoveConsumerAuthorizationRuleResponse
4738
4901
  */
4739
4902
  async removeConsumerAuthorizationRule(consumerAuthorizationRuleId) {
@@ -4742,18 +4905,18 @@ class Client extends openapi_core_1.default {
4742
4905
  return await this.removeConsumerAuthorizationRuleWithOptions(consumerAuthorizationRuleId, headers, runtime);
4743
4906
  }
4744
4907
  /**
4745
- * 重置网关配额限流规则
4908
+ * Resets a quota rate limiting rule on a gateway.
4746
4909
  *
4747
4910
  * @remarks
4748
- * 该接口用于重置网关上某条配额限流规则。注意,只针对于版本大于 2.1.19 AI 网关生效;重置将清零规则上消费者历史用量。
4911
+ * Resets a quota rate limiting rule on a gateway. This operation takes effect only for AI gateways with a version later than 2.1.19. The reset clears the historical usage of consumers on the rule.
4749
4912
  * >
4750
- * > 推荐调用逻辑:
4751
- * > - 一、先 dryRun 预检检验是否存在规则冲突
4752
- * > - - dryRun=true
4753
- * > - - 返回含conflictHash的冲突预览
4754
- * > - 二、确认后正式提交
4755
- * > - - 无冲突:dryRun=false,overwrite=false
4756
- * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
4913
+ * > Recommended call logic:
4914
+ * > - 1. Perform a dry run to check for rule conflicts.
4915
+ * > - - Set dryRun=true.
4916
+ * > - - The response contains a conflict preview with conflictHash.
4917
+ * > - 2. Submit the request after confirmation.
4918
+ * > - - No conflict: dryRun=false, overwrite=false.
4919
+ * > - - Conflict exists and overwrite confirmed: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
4757
4920
  *
4758
4921
  * @param request - ResetGatewayQuotaRuleRequest
4759
4922
  * @param headers - map
@@ -4805,18 +4968,18 @@ class Client extends openapi_core_1.default {
4805
4968
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetGatewayQuotaRuleResponse({}));
4806
4969
  }
4807
4970
  /**
4808
- * 重置网关配额限流规则
4971
+ * Resets a quota rate limiting rule on a gateway.
4809
4972
  *
4810
4973
  * @remarks
4811
- * 该接口用于重置网关上某条配额限流规则。注意,只针对于版本大于 2.1.19 AI 网关生效;重置将清零规则上消费者历史用量。
4974
+ * Resets a quota rate limiting rule on a gateway. This operation takes effect only for AI gateways with a version later than 2.1.19. The reset clears the historical usage of consumers on the rule.
4812
4975
  * >
4813
- * > 推荐调用逻辑:
4814
- * > - 一、先 dryRun 预检检验是否存在规则冲突
4815
- * > - - dryRun=true
4816
- * > - - 返回含conflictHash的冲突预览
4817
- * > - 二、确认后正式提交
4818
- * > - - 无冲突:dryRun=false,overwrite=false
4819
- * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
4976
+ * > Recommended call logic:
4977
+ * > - 1. Perform a dry run to check for rule conflicts.
4978
+ * > - - Set dryRun=true.
4979
+ * > - - The response contains a conflict preview with conflictHash.
4980
+ * > - 2. Submit the request after confirmation.
4981
+ * > - - No conflict: dryRun=false, overwrite=false.
4982
+ * > - - Conflict exists and overwrite confirmed: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
4820
4983
  *
4821
4984
  * @param request - ResetGatewayQuotaRuleRequest
4822
4985
  * @returns ResetGatewayQuotaRuleResponse
@@ -4827,7 +4990,7 @@ class Client extends openapi_core_1.default {
4827
4990
  return await this.resetGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
4828
4991
  }
4829
4992
  /**
4830
- * Restarts an instance.
4993
+ * Restarts a gateway.
4831
4994
  *
4832
4995
  * @param headers - map
4833
4996
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4851,7 +5014,7 @@ class Client extends openapi_core_1.default {
4851
5014
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartGatewayResponse({}));
4852
5015
  }
4853
5016
  /**
4854
- * Restarts an instance.
5017
+ * Restarts a gateway.
4855
5018
  * @returns RestartGatewayResponse
4856
5019
  */
4857
5020
  async restartGateway(gatewayId) {
@@ -4860,7 +5023,7 @@ class Client extends openapi_core_1.default {
4860
5023
  return await this.restartGatewayWithOptions(gatewayId, headers, runtime);
4861
5024
  }
4862
5025
  /**
4863
- * Synchronizes Nacos Model Context Protocol (MCP) server configurations to Cloud-native API Gateway.
5026
+ * Syncs an external MCP server.
4864
5027
  *
4865
5028
  * @param request - SyncMCPServersRequest
4866
5029
  * @param headers - map
@@ -4903,7 +5066,7 @@ class Client extends openapi_core_1.default {
4903
5066
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncMCPServersResponse({}));
4904
5067
  }
4905
5068
  /**
4906
- * Synchronizes Nacos Model Context Protocol (MCP) server configurations to Cloud-native API Gateway.
5069
+ * Syncs an external MCP server.
4907
5070
  *
4908
5071
  * @param request - SyncMCPServersRequest
4909
5072
  * @returns SyncMCPServersResponse
@@ -4914,7 +5077,7 @@ class Client extends openapi_core_1.default {
4914
5077
  return await this.syncMCPServersWithOptions(request, headers, runtime);
4915
5078
  }
4916
5079
  /**
4917
- * 打标签接口
5080
+ * Adds labels to resources.
4918
5081
  *
4919
5082
  * @param request - TagResourcesRequest
4920
5083
  * @param headers - map
@@ -4951,7 +5114,7 @@ class Client extends openapi_core_1.default {
4951
5114
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
4952
5115
  }
4953
5116
  /**
4954
- * 打标签接口
5117
+ * Adds labels to resources.
4955
5118
  *
4956
5119
  * @param request - TagResourcesRequest
4957
5120
  * @returns TagResourcesResponse
@@ -4962,7 +5125,7 @@ class Client extends openapi_core_1.default {
4962
5125
  return await this.tagResourcesWithOptions(request, headers, runtime);
4963
5126
  }
4964
5127
  /**
4965
- * Undeploys an MCP server.
5128
+ * Cancels the publication of an MCP server.
4966
5129
  *
4967
5130
  * @param headers - map
4968
5131
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4986,7 +5149,7 @@ class Client extends openapi_core_1.default {
4986
5149
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnDeployMcpServerResponse({}));
4987
5150
  }
4988
5151
  /**
4989
- * Undeploys an MCP server.
5152
+ * Cancels the publication of an MCP server.
4990
5153
  * @returns UnDeployMcpServerResponse
4991
5154
  */
4992
5155
  async unDeployMcpServer(mcpServerId) {
@@ -4995,7 +5158,7 @@ class Client extends openapi_core_1.default {
4995
5158
  return await this.unDeployMcpServerWithOptions(mcpServerId, headers, runtime);
4996
5159
  }
4997
5160
  /**
4998
- * Unpublishes an HTTP API.
5161
+ * Cancels the deployment of an HTTP API.
4999
5162
  *
5000
5163
  * @param request - UndeployHttpApiRequest
5001
5164
  * @param headers - map
@@ -5035,7 +5198,7 @@ class Client extends openapi_core_1.default {
5035
5198
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UndeployHttpApiResponse({}));
5036
5199
  }
5037
5200
  /**
5038
- * Unpublishes an HTTP API.
5201
+ * Cancels the deployment of an HTTP API.
5039
5202
  *
5040
5203
  * @param request - UndeployHttpApiRequest
5041
5204
  * @returns UndeployHttpApiResponse
@@ -5046,7 +5209,7 @@ class Client extends openapi_core_1.default {
5046
5209
  return await this.undeployHttpApiWithOptions(httpApiId, request, headers, runtime);
5047
5210
  }
5048
5211
  /**
5049
- * Uninstalls a plug-in.
5212
+ * Uninstalls a plugin.
5050
5213
  *
5051
5214
  * @param headers - map
5052
5215
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5070,7 +5233,7 @@ class Client extends openapi_core_1.default {
5070
5233
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UninstallPluginResponse({}));
5071
5234
  }
5072
5235
  /**
5073
- * Uninstalls a plug-in.
5236
+ * Uninstalls a plugin.
5074
5237
  * @returns UninstallPluginResponse
5075
5238
  */
5076
5239
  async uninstallPlugin(pluginId) {
@@ -5079,7 +5242,7 @@ class Client extends openapi_core_1.default {
5079
5242
  return await this.uninstallPluginWithOptions(pluginId, headers, runtime);
5080
5243
  }
5081
5244
  /**
5082
- * 删标签接口
5245
+ * Removes tags from resources.
5083
5246
  *
5084
5247
  * @param tmpReq - UntagResourcesRequest
5085
5248
  * @param headers - map
@@ -5127,7 +5290,7 @@ class Client extends openapi_core_1.default {
5127
5290
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
5128
5291
  }
5129
5292
  /**
5130
- * 删标签接口
5293
+ * Removes tags from resources.
5131
5294
  *
5132
5295
  * @param request - UntagResourcesRequest
5133
5296
  * @returns UntagResourcesResponse
@@ -5198,7 +5361,7 @@ class Client extends openapi_core_1.default {
5198
5361
  return await this.updateAndAttachPolicyWithOptions(policyId, request, headers, runtime);
5199
5362
  }
5200
5363
  /**
5201
- * Updates a consumer.
5364
+ * Updates an API consumer.
5202
5365
  *
5203
5366
  * @param request - UpdateConsumerRequest
5204
5367
  * @param headers - map
@@ -5241,7 +5404,7 @@ class Client extends openapi_core_1.default {
5241
5404
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConsumerResponse({}));
5242
5405
  }
5243
5406
  /**
5244
- * Updates a consumer.
5407
+ * Updates an API consumer.
5245
5408
  *
5246
5409
  * @param request - UpdateConsumerRequest
5247
5410
  * @returns UpdateConsumerResponse
@@ -5378,7 +5541,7 @@ class Client extends openapi_core_1.default {
5378
5541
  return await this.updateDomainWithOptions(domainId, request, headers, runtime);
5379
5542
  }
5380
5543
  /**
5381
- * UpdateEnvironment
5544
+ * Updates an environment.
5382
5545
  *
5383
5546
  * @deprecated OpenAPI UpdateEnvironment is deprecated
5384
5547
  *
@@ -5414,7 +5577,7 @@ class Client extends openapi_core_1.default {
5414
5577
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateEnvironmentResponse({}));
5415
5578
  }
5416
5579
  /**
5417
- * UpdateEnvironment
5580
+ * Updates an environment.
5418
5581
  *
5419
5582
  * @deprecated OpenAPI UpdateEnvironment is deprecated
5420
5583
  *
@@ -5428,7 +5591,7 @@ class Client extends openapi_core_1.default {
5428
5591
  return await this.updateEnvironmentWithOptions(environmentId, request, headers, runtime);
5429
5592
  }
5430
5593
  /**
5431
- * Updates the configuration of an instance feature parameter.
5594
+ * Updates the attribute parameters of a gateway.
5432
5595
  *
5433
5596
  * @param request - UpdateGatewayFeatureRequest
5434
5597
  * @param headers - map
@@ -5459,7 +5622,7 @@ class Client extends openapi_core_1.default {
5459
5622
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayFeatureResponse({}));
5460
5623
  }
5461
5624
  /**
5462
- * Updates the configuration of an instance feature parameter.
5625
+ * Updates the attribute parameters of a gateway.
5463
5626
  *
5464
5627
  * @param request - UpdateGatewayFeatureRequest
5465
5628
  * @returns UpdateGatewayFeatureResponse
@@ -5470,7 +5633,7 @@ class Client extends openapi_core_1.default {
5470
5633
  return await this.updateGatewayFeatureWithOptions(gatewayId, name, request, headers, runtime);
5471
5634
  }
5472
5635
  /**
5473
- * The response message returned.
5636
+ * Modifies the name of a gateway.
5474
5637
  *
5475
5638
  * @deprecated OpenAPI UpdateGatewayName is deprecated
5476
5639
  *
@@ -5503,7 +5666,7 @@ class Client extends openapi_core_1.default {
5503
5666
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayNameResponse({}));
5504
5667
  }
5505
5668
  /**
5506
- * The response message returned.
5669
+ * Modifies the name of a gateway.
5507
5670
  *
5508
5671
  * @deprecated OpenAPI UpdateGatewayName is deprecated
5509
5672
  *
@@ -5517,17 +5680,17 @@ class Client extends openapi_core_1.default {
5517
5680
  return await this.updateGatewayNameWithOptions(gatewayId, request, headers, runtime);
5518
5681
  }
5519
5682
  /**
5520
- * 更新网关配额限流规则
5683
+ * Edits a quota throttling rule on a gateway.
5521
5684
  *
5522
5685
  * @remarks
5523
- * 该接口用于编辑网关上某条配额规则。注意,只针对于版本大于2.1.19的AI网关生效;编辑将保留规则上消费者历史用量。
5524
- * > 推荐调用逻辑:
5525
- * > - 一、先 dryRun 预检检验是否存在规则冲突
5526
- * > - - dryRun=true
5527
- * > - - 返回含conflictHash的冲突预览
5528
- * > - 二、确认后正式提交
5529
- * > - - 无冲突:dryRun=false,overwrite=false
5530
- * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
5686
+ * Edits a quota rule on a gateway. This operation takes effect only on AI gateways with a version later than 2.1.19. Editing a rule preserves the historical usage of consumers on the rule.
5687
+ * > Recommended call logic:
5688
+ * > - Step 1: Perform a dry run to check for rule conflicts.
5689
+ * > - - Set dryRun to true.
5690
+ * > - - The response contains a conflict preview with conflictHash.
5691
+ * > - Step 2: Submit the request after confirmation.
5692
+ * > - - No conflicts: Set dryRun to false and overwrite to false.
5693
+ * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
5531
5694
  *
5532
5695
  * @param request - UpdateGatewayQuotaRuleRequest
5533
5696
  * @param headers - map
@@ -5579,17 +5742,17 @@ class Client extends openapi_core_1.default {
5579
5742
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayQuotaRuleResponse({}));
5580
5743
  }
5581
5744
  /**
5582
- * 更新网关配额限流规则
5745
+ * Edits a quota throttling rule on a gateway.
5583
5746
  *
5584
5747
  * @remarks
5585
- * 该接口用于编辑网关上某条配额规则。注意,只针对于版本大于2.1.19的AI网关生效;编辑将保留规则上消费者历史用量。
5586
- * > 推荐调用逻辑:
5587
- * > - 一、先 dryRun 预检检验是否存在规则冲突
5588
- * > - - dryRun=true
5589
- * > - - 返回含conflictHash的冲突预览
5590
- * > - 二、确认后正式提交
5591
- * > - - 无冲突:dryRun=false,overwrite=false
5592
- * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
5748
+ * Edits a quota rule on a gateway. This operation takes effect only on AI gateways with a version later than 2.1.19. Editing a rule preserves the historical usage of consumers on the rule.
5749
+ * > Recommended call logic:
5750
+ * > - Step 1: Perform a dry run to check for rule conflicts.
5751
+ * > - - Set dryRun to true.
5752
+ * > - - The response contains a conflict preview with conflictHash.
5753
+ * > - Step 2: Submit the request after confirmation.
5754
+ * > - - No conflicts: Set dryRun to false and overwrite to false.
5755
+ * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
5593
5756
  *
5594
5757
  * @param request - UpdateGatewayQuotaRuleRequest
5595
5758
  * @returns UpdateGatewayQuotaRuleResponse
@@ -5600,10 +5763,10 @@ class Client extends openapi_core_1.default {
5600
5763
  return await this.updateGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
5601
5764
  }
5602
5765
  /**
5603
- * 启/停用网关配额限流规则
5766
+ * Enables or disables a quota throttling rule for a gateway.
5604
5767
  *
5605
5768
  * @remarks
5606
- * 该接口用于启用或者停用网关上某个配额规则。注意,只针对于版本大于2.1.19的AI网关生效。
5769
+ * Enables or disables a quota rule on a gateway. This operation takes effect only for AI gateways with a version later than 2.1.19.
5607
5770
  *
5608
5771
  * @param request - UpdateGatewayQuotaRuleStatusRequest
5609
5772
  * @param headers - map
@@ -5637,10 +5800,10 @@ class Client extends openapi_core_1.default {
5637
5800
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayQuotaRuleStatusResponse({}));
5638
5801
  }
5639
5802
  /**
5640
- * 启/停用网关配额限流规则
5803
+ * Enables or disables a quota throttling rule for a gateway.
5641
5804
  *
5642
5805
  * @remarks
5643
- * 该接口用于启用或者停用网关上某个配额规则。注意,只针对于版本大于2.1.19的AI网关生效。
5806
+ * Enables or disables a quota rule on a gateway. This operation takes effect only for AI gateways with a version later than 2.1.19.
5644
5807
  *
5645
5808
  * @param request - UpdateGatewayQuotaRuleStatusRequest
5646
5809
  * @returns UpdateGatewayQuotaRuleStatusResponse
@@ -5771,7 +5934,7 @@ class Client extends openapi_core_1.default {
5771
5934
  return await this.updateHttpApiOperationWithOptions(httpApiId, operationId, request, headers, runtime);
5772
5935
  }
5773
5936
  /**
5774
- * Updates a route of an HTTP API.
5937
+ * Updates a route of an HttpApi.
5775
5938
  *
5776
5939
  * @param request - UpdateHttpApiRouteRequest
5777
5940
  * @param headers - map
@@ -5820,7 +5983,7 @@ class Client extends openapi_core_1.default {
5820
5983
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateHttpApiRouteResponse({}));
5821
5984
  }
5822
5985
  /**
5823
- * Updates a route of an HTTP API.
5986
+ * Updates a route of an HttpApi.
5824
5987
  *
5825
5988
  * @param request - UpdateHttpApiRouteRequest
5826
5989
  * @returns UpdateHttpApiRouteResponse
@@ -5834,7 +5997,7 @@ class Client extends openapi_core_1.default {
5834
5997
  * Updates an MCP server.
5835
5998
  *
5836
5999
  * @remarks
5837
- * You can only update the listening Ingress configuration for sources of the **ACK** type.
6000
+ * Only sources of the **Container Service** type are allowed to update the listener Ingress configuration.
5838
6001
  *
5839
6002
  * @param request - UpdateMcpServerRequest
5840
6003
  * @param headers - map
@@ -5901,7 +6064,7 @@ class Client extends openapi_core_1.default {
5901
6064
  * Updates an MCP server.
5902
6065
  *
5903
6066
  * @remarks
5904
- * You can only update the listening Ingress configuration for sources of the **ACK** type.
6067
+ * Only sources of the **Container Service** type are allowed to update the listener Ingress configuration.
5905
6068
  *
5906
6069
  * @param request - UpdateMcpServerRequest
5907
6070
  * @returns UpdateMcpServerResponse
@@ -5912,7 +6075,7 @@ class Client extends openapi_core_1.default {
5912
6075
  return await this.updateMcpServerWithOptions(mcpServerId, request, headers, runtime);
5913
6076
  }
5914
6077
  /**
5915
- * Updates a plug-in attachment.
6078
+ * Updates a plugin mount.
5916
6079
  *
5917
6080
  * @param request - UpdatePluginAttachmentRequest
5918
6081
  * @param headers - map
@@ -5949,7 +6112,7 @@ class Client extends openapi_core_1.default {
5949
6112
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePluginAttachmentResponse({}));
5950
6113
  }
5951
6114
  /**
5952
- * Updates a plug-in attachment.
6115
+ * Updates a plugin mount.
5953
6116
  *
5954
6117
  * @param request - UpdatePluginAttachmentRequest
5955
6118
  * @returns UpdatePluginAttachmentResponse
@@ -6008,10 +6171,10 @@ class Client extends openapi_core_1.default {
6008
6171
  return await this.updatePolicyWithOptions(policyId, request, headers, runtime);
6009
6172
  }
6010
6173
  /**
6011
- * Updates the key.
6174
+ * Updates a key pair.
6012
6175
  *
6013
6176
  * @remarks
6014
- * You can only update the listening Ingress configuration for sources of the **ACK** type.
6177
+ * Only sources of the **container service** type allow you to update the configuration for listening to Ingress.
6015
6178
  *
6016
6179
  * @param request - UpdateSecretRequest
6017
6180
  * @param headers - map
@@ -6042,10 +6205,10 @@ class Client extends openapi_core_1.default {
6042
6205
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSecretResponse({}));
6043
6206
  }
6044
6207
  /**
6045
- * Updates the key.
6208
+ * Updates a key pair.
6046
6209
  *
6047
6210
  * @remarks
6048
- * You can only update the listening Ingress configuration for sources of the **ACK** type.
6211
+ * Only sources of the **container service** type allow you to update the configuration for listening to Ingress.
6049
6212
  *
6050
6213
  * @param request - UpdateSecretRequest
6051
6214
  * @returns UpdateSecretResponse
@@ -6056,7 +6219,7 @@ class Client extends openapi_core_1.default {
6056
6219
  return await this.updateSecretWithOptions(secretId, request, headers, runtime);
6057
6220
  }
6058
6221
  /**
6059
- * Update a service. You can update the health check configuration of the service, and the configuration information of DNS domain names and static addresses.
6222
+ * Updates a service. You can update the health check configuration, DNS domain name, and address configuration of fixed addresses for the service.
6060
6223
  *
6061
6224
  * @param request - UpdateServiceRequest
6062
6225
  * @param headers - map
@@ -6084,6 +6247,9 @@ class Client extends openapi_core_1.default {
6084
6247
  if (!$dara.isNull(request.healthyPanicThreshold)) {
6085
6248
  body["healthyPanicThreshold"] = request.healthyPanicThreshold;
6086
6249
  }
6250
+ if (!$dara.isNull(request.modelProviderId)) {
6251
+ body["modelProviderId"] = request.modelProviderId;
6252
+ }
6087
6253
  if (!$dara.isNull(request.outlierDetectionConfig)) {
6088
6254
  body["outlierDetectionConfig"] = request.outlierDetectionConfig;
6089
6255
  }
@@ -6111,7 +6277,7 @@ class Client extends openapi_core_1.default {
6111
6277
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateServiceResponse({}));
6112
6278
  }
6113
6279
  /**
6114
- * Update a service. You can update the health check configuration of the service, and the configuration information of DNS domain names and static addresses.
6280
+ * Updates a service. You can update the health check configuration, DNS domain name, and address configuration of fixed addresses for the service.
6115
6281
  *
6116
6282
  * @param request - UpdateServiceRequest
6117
6283
  * @returns UpdateServiceResponse
@@ -6164,7 +6330,7 @@ class Client extends openapi_core_1.default {
6164
6330
  return await this.updateServiceVersionWithOptions(serviceId, name, request, headers, runtime);
6165
6331
  }
6166
6332
  /**
6167
- * Updates the version of a Cloud-native API Gateway instance.
6333
+ * Upgrades the gateway version.
6168
6334
  *
6169
6335
  * @param request - UpgradeGatewayRequest
6170
6336
  * @param headers - map
@@ -6195,7 +6361,7 @@ class Client extends openapi_core_1.default {
6195
6361
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeGatewayResponse({}));
6196
6362
  }
6197
6363
  /**
6198
- * Updates the version of a Cloud-native API Gateway instance.
6364
+ * Upgrades the gateway version.
6199
6365
  *
6200
6366
  * @param request - UpgradeGatewayRequest
6201
6367
  * @returns UpgradeGatewayResponse