@alicloud/apig20240327 7.0.4 → 7.1.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 (397) hide show
  1. package/dist/client.d.ts +292 -30
  2. package/dist/client.js +569 -30
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddGatewayQuotaRuleRequest.d.ts +80 -0
  5. package/dist/models/AddGatewayQuotaRuleRequest.js +84 -0
  6. package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -0
  7. package/dist/models/AddGatewayQuotaRuleResponse.d.ts +19 -0
  8. package/dist/models/AddGatewayQuotaRuleResponse.js +69 -0
  9. package/dist/models/AddGatewayQuotaRuleResponse.js.map +1 -0
  10. package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +106 -0
  11. package/dist/models/AddGatewayQuotaRuleResponseBody.js +142 -0
  12. package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -0
  13. package/dist/models/AddGatewaySecurityGroupRuleRequest.d.ts +1 -1
  14. package/dist/models/AgentServiceConfig.d.ts +3 -3
  15. package/dist/models/AiCacheConfig.d.ts +66 -0
  16. package/dist/models/AiCacheConfig.js.map +1 -1
  17. package/dist/models/AiFallbackConfig.d.ts +24 -0
  18. package/dist/models/AiFallbackConfig.js.map +1 -1
  19. package/dist/models/AiNetworkConfigSearchEngine.d.ts +40 -0
  20. package/dist/models/AiNetworkConfigSearchEngine.js.map +1 -1
  21. package/dist/models/AiNetworkSearchConfig.d.ts +55 -0
  22. package/dist/models/AiNetworkSearchConfig.js.map +1 -1
  23. package/dist/models/AiPluginStatus.d.ts +12 -0
  24. package/dist/models/AiPluginStatus.js.map +1 -1
  25. package/dist/models/AiPolicyRedisConfig.d.ts +24 -0
  26. package/dist/models/AiPolicyRedisConfig.js.map +1 -1
  27. package/dist/models/AiSecurityGuardConfig.d.ts +139 -0
  28. package/dist/models/AiSecurityGuardConfig.js.map +1 -1
  29. package/dist/models/AiServiceConfig.d.ts +30 -10
  30. package/dist/models/AiServiceConfig.js.map +1 -1
  31. package/dist/models/AiStatisticsConfig.d.ts +20 -0
  32. package/dist/models/AiStatisticsConfig.js.map +1 -1
  33. package/dist/models/AiStatisticsPathField.d.ts +40 -0
  34. package/dist/models/AiStatisticsPathField.js.map +1 -1
  35. package/dist/models/AiTokenRateLimitConfig.d.ts +18 -0
  36. package/dist/models/AiTokenRateLimitConfig.js.map +1 -1
  37. package/dist/models/AiTokenRateLimitConfigRule.d.ts +24 -0
  38. package/dist/models/AiTokenRateLimitConfigRule.js.map +1 -1
  39. package/dist/models/AiToolSelectionConfig.d.ts +115 -0
  40. package/dist/models/AiToolSelectionConfig.js.map +1 -1
  41. package/dist/models/Attachment.d.ts +26 -12
  42. package/dist/models/Attachment.js.map +1 -1
  43. package/dist/models/AuthorizationResourceInfo.d.ts +9 -0
  44. package/dist/models/AuthorizationResourceInfo.js.map +1 -1
  45. package/dist/models/CreateAndAttachPolicyRequest.d.ts +1 -1
  46. package/dist/models/CreateConsumerAuthorizationRulesRequest.d.ts +2 -2
  47. package/dist/models/CreateConsumerRequest.d.ts +11 -7
  48. package/dist/models/CreateConsumerRequest.js.map +1 -1
  49. package/dist/models/CreateConsumerResponseBody.d.ts +3 -3
  50. package/dist/models/CreateDomainRequest.d.ts +1 -1
  51. package/dist/models/CreateEnvironmentRequest.d.ts +2 -2
  52. package/dist/models/CreateGatewayRequest.d.ts +44 -0
  53. package/dist/models/CreateGatewayRequest.js.map +1 -1
  54. package/dist/models/CreateGatewayResponseBody.d.ts +13 -0
  55. package/dist/models/CreateGatewayResponseBody.js.map +1 -1
  56. package/dist/models/CreateHttpApiRequest.d.ts +21 -1
  57. package/dist/models/CreateHttpApiRequest.js.map +1 -1
  58. package/dist/models/CreateHttpApiRouteRequest.d.ts +1 -1
  59. package/dist/models/CreateMcpServerResponseBody.d.ts +1 -1
  60. package/dist/models/CreatePolicyRequest.d.ts +1 -1
  61. package/dist/models/CreateSourceRequest.d.ts +3 -0
  62. package/dist/models/CreateSourceRequest.js.map +1 -1
  63. package/dist/models/CreateSourceResponseBody.d.ts +16 -0
  64. package/dist/models/CreateSourceResponseBody.js.map +1 -1
  65. package/dist/models/DeleteGatewayQuotaRuleRequest.d.ts +13 -0
  66. package/dist/models/DeleteGatewayQuotaRuleRequest.js +54 -0
  67. package/dist/models/DeleteGatewayQuotaRuleRequest.js.map +1 -0
  68. package/dist/models/DeleteGatewayQuotaRuleResponse.d.ts +19 -0
  69. package/dist/models/DeleteGatewayQuotaRuleResponse.js +69 -0
  70. package/dist/models/DeleteGatewayQuotaRuleResponse.js.map +1 -0
  71. package/dist/models/DeleteGatewayQuotaRuleResponseBody.d.ts +28 -0
  72. package/dist/models/DeleteGatewayQuotaRuleResponseBody.js +62 -0
  73. package/dist/models/DeleteGatewayQuotaRuleResponseBody.js.map +1 -0
  74. package/dist/models/DeleteSourceResponseBody.d.ts +9 -0
  75. package/dist/models/DeleteSourceResponseBody.js.map +1 -1
  76. package/dist/models/DeployHttpApiRequest.d.ts +23 -29
  77. package/dist/models/DeployHttpApiRequest.js.map +1 -1
  78. package/dist/models/DeployHttpApiResponseBody.d.ts +11 -3
  79. package/dist/models/DeployHttpApiResponseBody.js.map +1 -1
  80. package/dist/models/EnvironmentInfo.d.ts +2 -2
  81. package/dist/models/ExportHttpApiResponseBody.d.ts +2 -2
  82. package/dist/models/GatewayInfo.d.ts +1 -1
  83. package/dist/models/GetConsumerResponseBody.d.ts +1 -1
  84. package/dist/models/GetDashboardRequest.d.ts +1 -1
  85. package/dist/models/GetDashboardShrinkRequest.d.ts +1 -1
  86. package/dist/models/GetDomainResponseBody.d.ts +4 -4
  87. package/dist/models/GetEnvironmentResponseBody.d.ts +2 -2
  88. package/dist/models/GetGatewayQuotaRuleRequest.d.ts +24 -0
  89. package/dist/models/GetGatewayQuotaRuleRequest.js +62 -0
  90. package/dist/models/GetGatewayQuotaRuleRequest.js.map +1 -0
  91. package/dist/models/GetGatewayQuotaRuleResponse.d.ts +19 -0
  92. package/dist/models/GetGatewayQuotaRuleResponse.js +69 -0
  93. package/dist/models/GetGatewayQuotaRuleResponse.js.map +1 -0
  94. package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +95 -0
  95. package/dist/models/GetGatewayQuotaRuleResponseBody.js +104 -0
  96. package/dist/models/GetGatewayQuotaRuleResponseBody.js.map +1 -0
  97. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +23 -0
  98. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.js +60 -0
  99. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.js.map +1 -0
  100. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponse.d.ts +19 -0
  101. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponse.js +69 -0
  102. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponse.js.map +1 -0
  103. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +154 -0
  104. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.js +158 -0
  105. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.js.map +1 -0
  106. package/dist/models/GetGatewayResponseBody.d.ts +5 -8
  107. package/dist/models/GetGatewayResponseBody.js.map +1 -1
  108. package/dist/models/GetMcpServerResponseBody.d.ts +46 -49
  109. package/dist/models/GetMcpServerResponseBody.js +2 -0
  110. package/dist/models/GetMcpServerResponseBody.js.map +1 -1
  111. package/dist/models/HiMarketAgentConfig.d.ts +12 -0
  112. package/dist/models/HiMarketAgentConfig.js.map +1 -1
  113. package/dist/models/HiMarketApiKeyConfig.d.ts +20 -0
  114. package/dist/models/HiMarketApiKeyConfig.js.map +1 -1
  115. package/dist/models/HiMarketAuthCodeConfig.d.ts +36 -0
  116. package/dist/models/HiMarketAuthCodeConfig.js.map +1 -1
  117. package/dist/models/HiMarketDomain.d.ts +16 -0
  118. package/dist/models/HiMarketDomain.js.map +1 -1
  119. package/dist/models/HiMarketHmacConfig.d.ts +16 -0
  120. package/dist/models/HiMarketHmacConfig.js.map +1 -1
  121. package/dist/models/HiMarketHttpRoute.d.ts +96 -0
  122. package/dist/models/HiMarketHttpRoute.js.map +1 -1
  123. package/dist/models/HiMarketIcon.d.ts +8 -0
  124. package/dist/models/HiMarketIcon.js.map +1 -1
  125. package/dist/models/HiMarketIdentityMapping.d.ts +12 -0
  126. package/dist/models/HiMarketIdentityMapping.js.map +1 -1
  127. package/dist/models/HiMarketMcpConfig.d.ts +28 -0
  128. package/dist/models/HiMarketMcpConfig.js.map +1 -1
  129. package/dist/models/HiMarketModelConfig.d.ts +16 -0
  130. package/dist/models/HiMarketModelConfig.js.map +1 -1
  131. package/dist/models/HiMarketModelFeature.d.ts +28 -0
  132. package/dist/models/HiMarketModelFeature.js.map +1 -1
  133. package/dist/models/HiMarketOidcConfig.d.ts +80 -0
  134. package/dist/models/HiMarketOidcConfig.js.map +1 -1
  135. package/dist/models/HiMarketPortalDeployConfig.d.ts +48 -0
  136. package/dist/models/HiMarketPortalDeployConfig.js.map +1 -1
  137. package/dist/models/HiMarketPortalDomainConfig.d.ts +12 -0
  138. package/dist/models/HiMarketPortalDomainConfig.js.map +1 -1
  139. package/dist/models/HiMarketPortalSettingConfig.d.ts +21 -0
  140. package/dist/models/HiMarketPortalSettingConfig.js.map +1 -1
  141. package/dist/models/HiMarketProductCategory.d.ts +16 -0
  142. package/dist/models/HiMarketProductCategory.js.map +1 -1
  143. package/dist/models/HiMarketProductFeature.d.ts +4 -0
  144. package/dist/models/HiMarketProductFeature.js.map +1 -1
  145. package/dist/models/HiMarketProductPublicationConifg.d.ts +4 -0
  146. package/dist/models/HiMarketProductPublicationConifg.js.map +1 -1
  147. package/dist/models/HiMarketProductPublicationDetail.d.ts +24 -0
  148. package/dist/models/HiMarketProductPublicationDetail.js.map +1 -1
  149. package/dist/models/HiMarketProductRefConfig.d.ts +36 -0
  150. package/dist/models/HiMarketProductRefConfig.js.map +1 -1
  151. package/dist/models/HttpApiApiInfo.d.ts +4 -1
  152. package/dist/models/HttpApiApiInfo.js.map +1 -1
  153. package/dist/models/HttpApiDeployConfig.d.ts +39 -39
  154. package/dist/models/HttpApiInfoByName.d.ts +3 -0
  155. package/dist/models/HttpApiInfoByName.js.map +1 -1
  156. package/dist/models/HttpApiMockContract.d.ts +1 -1
  157. package/dist/models/HttpApiOperation.d.ts +1 -1
  158. package/dist/models/HttpApiOperationInfo.d.ts +1 -1
  159. package/dist/models/HttpApiParameter.d.ts +1 -1
  160. package/dist/models/HttpApiPolicyConfigs.d.ts +2 -2
  161. package/dist/models/HttpApiPublishRevisionInfo.d.ts +2 -2
  162. package/dist/models/HttpApiRequestContract.d.ts +12 -12
  163. package/dist/models/HttpApiResponseContract.d.ts +2 -2
  164. package/dist/models/HttpRoute.d.ts +2 -2
  165. package/dist/models/ImportHttpApiRequest.d.ts +23 -24
  166. package/dist/models/ImportHttpApiRequest.js.map +1 -1
  167. package/dist/models/ImportHttpApiResponseBody.d.ts +28 -26
  168. package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
  169. package/dist/models/ListConsumersResponseBody.d.ts +1 -1
  170. package/dist/models/ListDomainsRequest.d.ts +2 -2
  171. package/dist/models/ListEnvironmentsRequest.d.ts +2 -2
  172. package/dist/models/ListExternalServicesRequest.d.ts +20 -0
  173. package/dist/models/ListExternalServicesRequest.js.map +1 -1
  174. package/dist/models/ListExternalServicesResponseBody.d.ts +27 -0
  175. package/dist/models/ListExternalServicesResponseBody.js.map +1 -1
  176. package/dist/models/ListGatewayFeaturesResponseBody.d.ts +6 -0
  177. package/dist/models/ListGatewayFeaturesResponseBody.js.map +1 -1
  178. package/dist/models/ListGatewayQuotaRulesRequest.d.ts +38 -0
  179. package/dist/models/ListGatewayQuotaRulesRequest.js +66 -0
  180. package/dist/models/ListGatewayQuotaRulesRequest.js.map +1 -0
  181. package/dist/models/ListGatewayQuotaRulesResponse.d.ts +19 -0
  182. package/dist/models/ListGatewayQuotaRulesResponse.js +69 -0
  183. package/dist/models/ListGatewayQuotaRulesResponse.js.map +1 -0
  184. package/dist/models/ListGatewayQuotaRulesResponseBody.d.ts +127 -0
  185. package/dist/models/ListGatewayQuotaRulesResponseBody.js +132 -0
  186. package/dist/models/ListGatewayQuotaRulesResponseBody.js.map +1 -0
  187. package/dist/models/ListHttpApiRoutesRequest.d.ts +13 -23
  188. package/dist/models/ListHttpApiRoutesRequest.js.map +1 -1
  189. package/dist/models/ListHttpApiRoutesResponseBody.d.ts +7 -7
  190. package/dist/models/ListHttpApisResponseBody.d.ts +1 -1
  191. package/dist/models/ListMcpServersResponseBody.d.ts +4 -4
  192. package/dist/models/ListPluginAttachmentsResponseBody.d.ts +5 -0
  193. package/dist/models/ListPluginAttachmentsResponseBody.js.map +1 -1
  194. package/dist/models/ListPluginClassesRequest.d.ts +3 -0
  195. package/dist/models/ListPluginClassesRequest.js.map +1 -1
  196. package/dist/models/ListPluginClassesResponseBody.d.ts +6 -0
  197. package/dist/models/ListPluginClassesResponseBody.js.map +1 -1
  198. package/dist/models/ListPluginsResponseBody.d.ts +2 -2
  199. package/dist/models/ListPoliciesRequest.d.ts +6 -0
  200. package/dist/models/ListPoliciesRequest.js.map +1 -1
  201. package/dist/models/ListSecretsRequest.d.ts +2 -2
  202. package/dist/models/ListSecretsResponseBody.d.ts +8 -8
  203. package/dist/models/PolicyClassInfo.d.ts +2 -2
  204. package/dist/models/PolicyInfo.d.ts +9 -0
  205. package/dist/models/PolicyInfo.js.map +1 -1
  206. package/dist/models/ResetGatewayQuotaRuleRequest.d.ts +42 -0
  207. package/dist/models/ResetGatewayQuotaRuleRequest.js +68 -0
  208. package/dist/models/ResetGatewayQuotaRuleRequest.js.map +1 -0
  209. package/dist/models/ResetGatewayQuotaRuleResponse.d.ts +19 -0
  210. package/dist/models/ResetGatewayQuotaRuleResponse.js +69 -0
  211. package/dist/models/ResetGatewayQuotaRuleResponse.js.map +1 -0
  212. package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +106 -0
  213. package/dist/models/ResetGatewayQuotaRuleResponseBody.js +142 -0
  214. package/dist/models/ResetGatewayQuotaRuleResponseBody.js.map +1 -0
  215. package/dist/models/RiskCheckResults.d.ts +4 -4
  216. package/dist/models/Service.d.ts +39 -24
  217. package/dist/models/Service.js.map +1 -1
  218. package/dist/models/UpdateAndAttachPolicyRequest.d.ts +1 -1
  219. package/dist/models/UpdateConsumerRequest.d.ts +1 -1
  220. package/dist/models/UpdateDomainResponseBody.d.ts +1 -1
  221. package/dist/models/UpdateEnvironmentRequest.d.ts +2 -2
  222. package/dist/models/UpdateEnvironmentResponseBody.d.ts +9 -0
  223. package/dist/models/UpdateEnvironmentResponseBody.js.map +1 -1
  224. package/dist/models/UpdateGatewayNameRequest.d.ts +3 -0
  225. package/dist/models/UpdateGatewayNameRequest.js.map +1 -1
  226. package/dist/models/UpdateGatewayNameResponseBody.d.ts +9 -0
  227. package/dist/models/UpdateGatewayNameResponseBody.js.map +1 -1
  228. package/dist/models/UpdateGatewayQuotaRuleRequest.d.ts +55 -0
  229. package/dist/models/UpdateGatewayQuotaRuleRequest.js +81 -0
  230. package/dist/models/UpdateGatewayQuotaRuleRequest.js.map +1 -0
  231. package/dist/models/UpdateGatewayQuotaRuleResponse.d.ts +19 -0
  232. package/dist/models/UpdateGatewayQuotaRuleResponse.js +69 -0
  233. package/dist/models/UpdateGatewayQuotaRuleResponse.js.map +1 -0
  234. package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +102 -0
  235. package/dist/models/UpdateGatewayQuotaRuleResponseBody.js +142 -0
  236. package/dist/models/UpdateGatewayQuotaRuleResponseBody.js.map +1 -0
  237. package/dist/models/UpdateGatewayQuotaRuleStatusRequest.d.ts +23 -0
  238. package/dist/models/UpdateGatewayQuotaRuleStatusRequest.js +60 -0
  239. package/dist/models/UpdateGatewayQuotaRuleStatusRequest.js.map +1 -0
  240. package/dist/models/UpdateGatewayQuotaRuleStatusResponse.d.ts +19 -0
  241. package/dist/models/UpdateGatewayQuotaRuleStatusResponse.js +69 -0
  242. package/dist/models/UpdateGatewayQuotaRuleStatusResponse.js.map +1 -0
  243. package/dist/models/UpdateGatewayQuotaRuleStatusResponseBody.d.ts +28 -0
  244. package/dist/models/UpdateGatewayQuotaRuleStatusResponseBody.js +62 -0
  245. package/dist/models/UpdateGatewayQuotaRuleStatusResponseBody.js.map +1 -0
  246. package/dist/models/UpdateHttpApiRequest.d.ts +1 -1
  247. package/dist/models/UpdateHttpApiResponseBody.d.ts +1 -1
  248. package/dist/models/UpdateHttpApiRouteRequest.d.ts +12 -16
  249. package/dist/models/UpdateHttpApiRouteRequest.js.map +1 -1
  250. package/dist/models/UpdateHttpApiRouteResponseBody.d.ts +2 -2
  251. package/dist/models/UpdateMcpServerRequest.d.ts +1 -1
  252. package/dist/models/UpdatePolicyRequest.d.ts +1 -1
  253. package/dist/models/UpdateServiceResponseBody.d.ts +9 -0
  254. package/dist/models/UpdateServiceResponseBody.js.map +1 -1
  255. package/dist/models/model.d.ts +39 -0
  256. package/dist/models/model.js +91 -12
  257. package/dist/models/model.js.map +1 -1
  258. package/package.json +1 -1
  259. package/src/client.ts +622 -30
  260. package/src/models/AddGatewayQuotaRuleRequest.ts +119 -0
  261. package/src/models/AddGatewayQuotaRuleResponse.ts +40 -0
  262. package/src/models/AddGatewayQuotaRuleResponseBody.ts +176 -0
  263. package/src/models/AddGatewaySecurityGroupRuleRequest.ts +1 -1
  264. package/src/models/AgentServiceConfig.ts +3 -3
  265. package/src/models/AiCacheConfig.ts +66 -0
  266. package/src/models/AiFallbackConfig.ts +24 -0
  267. package/src/models/AiNetworkConfigSearchEngine.ts +40 -0
  268. package/src/models/AiNetworkSearchConfig.ts +55 -0
  269. package/src/models/AiPluginStatus.ts +12 -0
  270. package/src/models/AiPolicyRedisConfig.ts +24 -0
  271. package/src/models/AiSecurityGuardConfig.ts +139 -0
  272. package/src/models/AiServiceConfig.ts +30 -10
  273. package/src/models/AiStatisticsConfig.ts +20 -0
  274. package/src/models/AiStatisticsPathField.ts +40 -0
  275. package/src/models/AiTokenRateLimitConfig.ts +18 -0
  276. package/src/models/AiTokenRateLimitConfigRule.ts +24 -0
  277. package/src/models/AiToolSelectionConfig.ts +115 -0
  278. package/src/models/Attachment.ts +26 -12
  279. package/src/models/AuthorizationResourceInfo.ts +9 -0
  280. package/src/models/CreateAndAttachPolicyRequest.ts +1 -1
  281. package/src/models/CreateConsumerAuthorizationRulesRequest.ts +2 -2
  282. package/src/models/CreateConsumerRequest.ts +11 -7
  283. package/src/models/CreateConsumerResponseBody.ts +3 -3
  284. package/src/models/CreateDomainRequest.ts +1 -1
  285. package/src/models/CreateEnvironmentRequest.ts +2 -2
  286. package/src/models/CreateGatewayRequest.ts +44 -0
  287. package/src/models/CreateGatewayResponseBody.ts +13 -0
  288. package/src/models/CreateHttpApiRequest.ts +21 -1
  289. package/src/models/CreateHttpApiRouteRequest.ts +1 -1
  290. package/src/models/CreateMcpServerResponseBody.ts +1 -1
  291. package/src/models/CreatePolicyRequest.ts +1 -1
  292. package/src/models/CreateSourceRequest.ts +3 -0
  293. package/src/models/CreateSourceResponseBody.ts +16 -0
  294. package/src/models/DeleteGatewayQuotaRuleRequest.ts +24 -0
  295. package/src/models/DeleteGatewayQuotaRuleResponse.ts +40 -0
  296. package/src/models/DeleteGatewayQuotaRuleResponseBody.ts +45 -0
  297. package/src/models/DeleteSourceResponseBody.ts +9 -0
  298. package/src/models/DeployHttpApiRequest.ts +23 -29
  299. package/src/models/DeployHttpApiResponseBody.ts +11 -3
  300. package/src/models/EnvironmentInfo.ts +2 -2
  301. package/src/models/ExportHttpApiResponseBody.ts +2 -2
  302. package/src/models/GatewayInfo.ts +1 -1
  303. package/src/models/GetConsumerResponseBody.ts +1 -1
  304. package/src/models/GetDashboardRequest.ts +1 -1
  305. package/src/models/GetDashboardShrinkRequest.ts +1 -1
  306. package/src/models/GetDomainResponseBody.ts +4 -4
  307. package/src/models/GetEnvironmentResponseBody.ts +2 -2
  308. package/src/models/GetGatewayQuotaRuleRequest.ts +41 -0
  309. package/src/models/GetGatewayQuotaRuleResponse.ts +40 -0
  310. package/src/models/GetGatewayQuotaRuleResponseBody.ts +145 -0
  311. package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +38 -0
  312. package/src/models/GetGatewayQuotaRuleSubjectUsageResponse.ts +40 -0
  313. package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +240 -0
  314. package/src/models/GetGatewayResponseBody.ts +5 -8
  315. package/src/models/GetMcpServerResponseBody.ts +48 -49
  316. package/src/models/HiMarketAgentConfig.ts +12 -0
  317. package/src/models/HiMarketApiKeyConfig.ts +20 -0
  318. package/src/models/HiMarketAuthCodeConfig.ts +36 -0
  319. package/src/models/HiMarketDomain.ts +16 -0
  320. package/src/models/HiMarketHmacConfig.ts +16 -0
  321. package/src/models/HiMarketHttpRoute.ts +96 -0
  322. package/src/models/HiMarketIcon.ts +8 -0
  323. package/src/models/HiMarketIdentityMapping.ts +12 -0
  324. package/src/models/HiMarketMcpConfig.ts +28 -0
  325. package/src/models/HiMarketModelConfig.ts +16 -0
  326. package/src/models/HiMarketModelFeature.ts +28 -0
  327. package/src/models/HiMarketOidcConfig.ts +80 -0
  328. package/src/models/HiMarketPortalDeployConfig.ts +48 -0
  329. package/src/models/HiMarketPortalDomainConfig.ts +12 -0
  330. package/src/models/HiMarketPortalSettingConfig.ts +21 -0
  331. package/src/models/HiMarketProductCategory.ts +16 -0
  332. package/src/models/HiMarketProductFeature.ts +4 -0
  333. package/src/models/HiMarketProductPublicationConifg.ts +4 -0
  334. package/src/models/HiMarketProductPublicationDetail.ts +24 -0
  335. package/src/models/HiMarketProductRefConfig.ts +36 -0
  336. package/src/models/HttpApiApiInfo.ts +4 -1
  337. package/src/models/HttpApiDeployConfig.ts +39 -39
  338. package/src/models/HttpApiInfoByName.ts +3 -0
  339. package/src/models/HttpApiMockContract.ts +1 -1
  340. package/src/models/HttpApiOperation.ts +1 -1
  341. package/src/models/HttpApiOperationInfo.ts +1 -1
  342. package/src/models/HttpApiParameter.ts +1 -1
  343. package/src/models/HttpApiPolicyConfigs.ts +2 -2
  344. package/src/models/HttpApiPublishRevisionInfo.ts +2 -2
  345. package/src/models/HttpApiRequestContract.ts +12 -12
  346. package/src/models/HttpApiResponseContract.ts +2 -2
  347. package/src/models/HttpRoute.ts +2 -2
  348. package/src/models/ImportHttpApiRequest.ts +23 -24
  349. package/src/models/ImportHttpApiResponseBody.ts +28 -26
  350. package/src/models/ListConsumersResponseBody.ts +1 -1
  351. package/src/models/ListDomainsRequest.ts +2 -2
  352. package/src/models/ListEnvironmentsRequest.ts +2 -2
  353. package/src/models/ListExternalServicesRequest.ts +20 -0
  354. package/src/models/ListExternalServicesResponseBody.ts +27 -0
  355. package/src/models/ListGatewayFeaturesResponseBody.ts +6 -0
  356. package/src/models/ListGatewayQuotaRulesRequest.ts +59 -0
  357. package/src/models/ListGatewayQuotaRulesResponse.ts +40 -0
  358. package/src/models/ListGatewayQuotaRulesResponseBody.ts +196 -0
  359. package/src/models/ListHttpApiRoutesRequest.ts +13 -23
  360. package/src/models/ListHttpApiRoutesResponseBody.ts +7 -7
  361. package/src/models/ListHttpApisResponseBody.ts +1 -1
  362. package/src/models/ListMcpServersResponseBody.ts +4 -4
  363. package/src/models/ListPluginAttachmentsResponseBody.ts +5 -0
  364. package/src/models/ListPluginClassesRequest.ts +3 -0
  365. package/src/models/ListPluginClassesResponseBody.ts +6 -0
  366. package/src/models/ListPluginsResponseBody.ts +2 -2
  367. package/src/models/ListPoliciesRequest.ts +7 -1
  368. package/src/models/ListSecretsRequest.ts +2 -2
  369. package/src/models/ListSecretsResponseBody.ts +8 -8
  370. package/src/models/PolicyClassInfo.ts +2 -2
  371. package/src/models/PolicyInfo.ts +9 -0
  372. package/src/models/ResetGatewayQuotaRuleRequest.ts +65 -0
  373. package/src/models/ResetGatewayQuotaRuleResponse.ts +40 -0
  374. package/src/models/ResetGatewayQuotaRuleResponseBody.ts +176 -0
  375. package/src/models/RiskCheckResults.ts +4 -4
  376. package/src/models/Service.ts +39 -24
  377. package/src/models/UpdateAndAttachPolicyRequest.ts +1 -1
  378. package/src/models/UpdateConsumerRequest.ts +1 -1
  379. package/src/models/UpdateDomainResponseBody.ts +1 -1
  380. package/src/models/UpdateEnvironmentRequest.ts +2 -2
  381. package/src/models/UpdateEnvironmentResponseBody.ts +9 -0
  382. package/src/models/UpdateGatewayNameRequest.ts +3 -0
  383. package/src/models/UpdateGatewayNameResponseBody.ts +9 -0
  384. package/src/models/UpdateGatewayQuotaRuleRequest.ts +91 -0
  385. package/src/models/UpdateGatewayQuotaRuleResponse.ts +40 -0
  386. package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +172 -0
  387. package/src/models/UpdateGatewayQuotaRuleStatusRequest.ts +38 -0
  388. package/src/models/UpdateGatewayQuotaRuleStatusResponse.ts +40 -0
  389. package/src/models/UpdateGatewayQuotaRuleStatusResponseBody.ts +45 -0
  390. package/src/models/UpdateHttpApiRequest.ts +1 -1
  391. package/src/models/UpdateHttpApiResponseBody.ts +1 -1
  392. package/src/models/UpdateHttpApiRouteRequest.ts +12 -16
  393. package/src/models/UpdateHttpApiRouteResponseBody.ts +2 -2
  394. package/src/models/UpdateMcpServerRequest.ts +1 -1
  395. package/src/models/UpdatePolicyRequest.ts +1 -1
  396. package/src/models/UpdateServiceResponseBody.ts +9 -0
  397. package/src/models/model.ts +39 -0
package/dist/client.js CHANGED
@@ -61,6 +61,100 @@ class Client extends openapi_core_1.default {
61
61
  }
62
62
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
63
63
  }
64
+ /**
65
+ * 新增网关配额限流规则
66
+ *
67
+ * @remarks
68
+ * 该接口用于对AI网关增加基于消费者的配额规则。注意,只针对于版本大于2.1.19的AI网关生效。
69
+ * >
70
+ * > 推荐调用逻辑:
71
+ * > - 一、先 dryRun 预检检验是否存在规则冲突
72
+ * > - - 传dryRun=true
73
+ * > - - 返回含conflictHash的冲突预览
74
+ * > - 二、确认后正式提交
75
+ * > - - 无冲突:dryRun=false,overwrite=false
76
+ * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
77
+ *
78
+ * @param request - AddGatewayQuotaRuleRequest
79
+ * @param headers - map
80
+ * @param runtime - runtime options for this request RuntimeOptions
81
+ * @returns AddGatewayQuotaRuleResponse
82
+ */
83
+ async addGatewayQuotaRuleWithOptions(gatewayId, request, headers, runtime) {
84
+ request.validate();
85
+ let body = {};
86
+ if (!$dara.isNull(request.conflictHash)) {
87
+ body["conflictHash"] = request.conflictHash;
88
+ }
89
+ if (!$dara.isNull(request.consumerGroupIds)) {
90
+ body["consumerGroupIds"] = request.consumerGroupIds;
91
+ }
92
+ if (!$dara.isNull(request.consumerIds)) {
93
+ body["consumerIds"] = request.consumerIds;
94
+ }
95
+ if (!$dara.isNull(request.dryRun)) {
96
+ body["dryRun"] = request.dryRun;
97
+ }
98
+ if (!$dara.isNull(request.overwrite)) {
99
+ body["overwrite"] = request.overwrite;
100
+ }
101
+ if (!$dara.isNull(request.periodType)) {
102
+ body["periodType"] = request.periodType;
103
+ }
104
+ if (!$dara.isNull(request.quotaDimension)) {
105
+ body["quotaDimension"] = request.quotaDimension;
106
+ }
107
+ if (!$dara.isNull(request.quotaLimit)) {
108
+ body["quotaLimit"] = request.quotaLimit;
109
+ }
110
+ if (!$dara.isNull(request.ruleName)) {
111
+ body["ruleName"] = request.ruleName;
112
+ }
113
+ if (!$dara.isNull(request.timezone)) {
114
+ body["timezone"] = request.timezone;
115
+ }
116
+ if (!$dara.isNull(request.windowAlignment)) {
117
+ body["windowAlignment"] = request.windowAlignment;
118
+ }
119
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
120
+ headers: headers,
121
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
122
+ });
123
+ let params = new openapi_core_2.$OpenApiUtil.Params({
124
+ action: "AddGatewayQuotaRule",
125
+ version: "2024-03-27",
126
+ protocol: "HTTPS",
127
+ pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/quota-rules`,
128
+ method: "POST",
129
+ authType: "AK",
130
+ style: "ROA",
131
+ reqBodyType: "json",
132
+ bodyType: "json",
133
+ });
134
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddGatewayQuotaRuleResponse({}));
135
+ }
136
+ /**
137
+ * 新增网关配额限流规则
138
+ *
139
+ * @remarks
140
+ * 该接口用于对AI网关增加基于消费者的配额规则。注意,只针对于版本大于2.1.19的AI网关生效。
141
+ * >
142
+ * > 推荐调用逻辑:
143
+ * > - 一、先 dryRun 预检检验是否存在规则冲突
144
+ * > - - 传dryRun=true
145
+ * > - - 返回含conflictHash的冲突预览
146
+ * > - 二、确认后正式提交
147
+ * > - - 无冲突:dryRun=false,overwrite=false
148
+ * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
149
+ *
150
+ * @param request - AddGatewayQuotaRuleRequest
151
+ * @returns AddGatewayQuotaRuleResponse
152
+ */
153
+ async addGatewayQuotaRule(gatewayId, request) {
154
+ let runtime = new $dara.RuntimeOptions({});
155
+ let headers = {};
156
+ return await this.addGatewayQuotaRuleWithOptions(gatewayId, request, headers, runtime);
157
+ }
64
158
  /**
65
159
  * Adds a security group that authorizes an instance to access services.
66
160
  *
@@ -565,7 +659,7 @@ class Client extends openapi_core_1.default {
565
659
  return await this.createEnvironmentWithOptions(request, headers, runtime);
566
660
  }
567
661
  /**
568
- * Creates a cloud-native gateway.
662
+ * The zone information.
569
663
  *
570
664
  * @param request - CreateGatewayRequest
571
665
  * @param headers - map
@@ -626,7 +720,7 @@ class Client extends openapi_core_1.default {
626
720
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateGatewayResponse({}));
627
721
  }
628
722
  /**
629
- * Creates a cloud-native gateway.
723
+ * The zone information.
630
724
  *
631
725
  * @param request - CreateGatewayRequest
632
726
  * @returns CreateGatewayResponse
@@ -637,7 +731,7 @@ class Client extends openapi_core_1.default {
637
731
  return await this.createGatewayWithOptions(request, headers, runtime);
638
732
  }
639
733
  /**
640
- * Creates an HTTP API.
734
+ * $.parameters[0].schema.properties.ingressConfig.example
641
735
  *
642
736
  * @param request - CreateHttpApiRequest
643
737
  * @param headers - map
@@ -722,7 +816,7 @@ class Client extends openapi_core_1.default {
722
816
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateHttpApiResponse({}));
723
817
  }
724
818
  /**
725
- * Creates an HTTP API.
819
+ * $.parameters[0].schema.properties.ingressConfig.example
726
820
  *
727
821
  * @param request - CreateHttpApiRequest
728
822
  * @returns CreateHttpApiResponse
@@ -1251,7 +1345,7 @@ class Client extends openapi_core_1.default {
1251
1345
  return await this.createServiceVersionWithOptions(serviceId, request, headers, runtime);
1252
1346
  }
1253
1347
  /**
1254
- * Creates a service source.
1348
+ * Create a source.
1255
1349
  *
1256
1350
  * @param request - CreateSourceRequest
1257
1351
  * @param headers - map
@@ -1294,7 +1388,7 @@ class Client extends openapi_core_1.default {
1294
1388
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateSourceResponse({}));
1295
1389
  }
1296
1390
  /**
1297
- * Creates a service source.
1391
+ * Create a source.
1298
1392
  *
1299
1393
  * @param request - CreateSourceRequest
1300
1394
  * @returns CreateSourceResponse
@@ -1474,6 +1568,49 @@ class Client extends openapi_core_1.default {
1474
1568
  let headers = {};
1475
1569
  return await this.deleteGatewayWithOptions(gatewayId, headers, runtime);
1476
1570
  }
1571
+ /**
1572
+ * 删除网关配额限流规则
1573
+ *
1574
+ * @remarks
1575
+ * 该接口用于对 AI 网关删除某条基于消费者的配额规则。注意,只针对于版本大于 2.1.19 的 AI 网关生效。
1576
+ *
1577
+ * @param request - DeleteGatewayQuotaRuleRequest
1578
+ * @param headers - map
1579
+ * @param runtime - runtime options for this request RuntimeOptions
1580
+ * @returns DeleteGatewayQuotaRuleResponse
1581
+ */
1582
+ async deleteGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime) {
1583
+ request.validate();
1584
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1585
+ headers: headers,
1586
+ });
1587
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1588
+ action: "DeleteGatewayQuotaRule",
1589
+ version: "2024-03-27",
1590
+ protocol: "HTTPS",
1591
+ pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/quota-rules/${$dara.URL.percentEncode(ruleId)}`,
1592
+ method: "DELETE",
1593
+ authType: "AK",
1594
+ style: "ROA",
1595
+ reqBodyType: "json",
1596
+ bodyType: "json",
1597
+ });
1598
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGatewayQuotaRuleResponse({}));
1599
+ }
1600
+ /**
1601
+ * 删除网关配额限流规则
1602
+ *
1603
+ * @remarks
1604
+ * 该接口用于对 AI 网关删除某条基于消费者的配额规则。注意,只针对于版本大于 2.1.19 的 AI 网关生效。
1605
+ *
1606
+ * @param request - DeleteGatewayQuotaRuleRequest
1607
+ * @returns DeleteGatewayQuotaRuleResponse
1608
+ */
1609
+ async deleteGatewayQuotaRule(gatewayId, ruleId, request) {
1610
+ let runtime = new $dara.RuntimeOptions({});
1611
+ let headers = {};
1612
+ return await this.deleteGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
1613
+ }
1477
1614
  /**
1478
1615
  * Deletes a security group rule from a Cloud-native API Gateway instance.
1479
1616
  *
@@ -1750,6 +1887,9 @@ class Client extends openapi_core_1.default {
1750
1887
  /**
1751
1888
  * Deletes a key value.
1752
1889
  *
1890
+ * @remarks
1891
+ * 接口支持创建多个服务。
1892
+ *
1753
1893
  * @param headers - map
1754
1894
  * @param runtime - runtime options for this request RuntimeOptions
1755
1895
  * @returns DeleteSecretResponse
@@ -1773,6 +1913,9 @@ class Client extends openapi_core_1.default {
1773
1913
  }
1774
1914
  /**
1775
1915
  * Deletes a key value.
1916
+ *
1917
+ * @remarks
1918
+ * 接口支持创建多个服务。
1776
1919
  * @returns DeleteSecretResponse
1777
1920
  */
1778
1921
  async deleteSecret(secretId) {
@@ -1847,7 +1990,7 @@ class Client extends openapi_core_1.default {
1847
1990
  return await this.deleteServiceVersionWithOptions(serviceId, name, headers, runtime);
1848
1991
  }
1849
1992
  /**
1850
- * Deletes a service source.
1993
+ * Delete a service source.
1851
1994
  *
1852
1995
  * @param headers - map
1853
1996
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1871,7 +2014,7 @@ class Client extends openapi_core_1.default {
1871
2014
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteSourceResponse({}));
1872
2015
  }
1873
2016
  /**
1874
- * Deletes a service source.
2017
+ * Delete a service source.
1875
2018
  * @returns DeleteSourceResponse
1876
2019
  */
1877
2020
  async deleteSource(sourceId) {
@@ -1880,7 +2023,7 @@ class Client extends openapi_core_1.default {
1880
2023
  return await this.deleteSourceWithOptions(sourceId, headers, runtime);
1881
2024
  }
1882
2025
  /**
1883
- * Deploy HttpApi
2026
+ * Deploy an HTTP API, including REST and HTTP API routes.
1884
2027
  *
1885
2028
  * @param request - DeployHttpApiRequest
1886
2029
  * @param headers - map
@@ -1917,7 +2060,7 @@ class Client extends openapi_core_1.default {
1917
2060
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeployHttpApiResponse({}));
1918
2061
  }
1919
2062
  /**
1920
- * Deploy HttpApi
2063
+ * Deploy an HTTP API, including REST and HTTP API routes.
1921
2064
  *
1922
2065
  * @param request - DeployHttpApiRequest
1923
2066
  * @returns DeployHttpApiResponse
@@ -1961,7 +2104,7 @@ class Client extends openapi_core_1.default {
1961
2104
  return await this.deployMcpServerWithOptions(mcpServerId, headers, runtime);
1962
2105
  }
1963
2106
  /**
1964
- * Exports an HTTP API.
2107
+ * Exports the specified HTTP API.
1965
2108
  *
1966
2109
  * @param request - ExportHttpApiRequest
1967
2110
  * @param headers - map
@@ -1998,7 +2141,7 @@ class Client extends openapi_core_1.default {
1998
2141
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ExportHttpApiResponse({}));
1999
2142
  }
2000
2143
  /**
2001
- * Exports an HTTP API.
2144
+ * Exports the specified HTTP API.
2002
2145
  *
2003
2146
  * @param request - ExportHttpApiRequest
2004
2147
  * @returns ExportHttpApiResponse
@@ -2270,6 +2413,111 @@ class Client extends openapi_core_1.default {
2270
2413
  let headers = {};
2271
2414
  return await this.getGatewayWithOptions(gatewayId, headers, runtime);
2272
2415
  }
2416
+ /**
2417
+ * 查询网关配额限流规则详情
2418
+ *
2419
+ * @remarks
2420
+ * 该接口用于查询 AI 网关上某条消费者配额规则。
2421
+ *
2422
+ * @param request - GetGatewayQuotaRuleRequest
2423
+ * @param headers - map
2424
+ * @param runtime - runtime options for this request RuntimeOptions
2425
+ * @returns GetGatewayQuotaRuleResponse
2426
+ */
2427
+ async getGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime) {
2428
+ request.validate();
2429
+ let query = {};
2430
+ if (!$dara.isNull(request.consumerPageNumber)) {
2431
+ query["consumerPageNumber"] = request.consumerPageNumber;
2432
+ }
2433
+ if (!$dara.isNull(request.consumerPageSize)) {
2434
+ query["consumerPageSize"] = request.consumerPageSize;
2435
+ }
2436
+ if (!$dara.isNull(request.withConsumers)) {
2437
+ query["withConsumers"] = request.withConsumers;
2438
+ }
2439
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2440
+ headers: headers,
2441
+ query: openapi_core_2.OpenApiUtil.query(query),
2442
+ });
2443
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2444
+ action: "GetGatewayQuotaRule",
2445
+ version: "2024-03-27",
2446
+ protocol: "HTTPS",
2447
+ pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/quota-rules/${$dara.URL.percentEncode(ruleId)}`,
2448
+ method: "GET",
2449
+ authType: "AK",
2450
+ style: "ROA",
2451
+ reqBodyType: "json",
2452
+ bodyType: "json",
2453
+ });
2454
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayQuotaRuleResponse({}));
2455
+ }
2456
+ /**
2457
+ * 查询网关配额限流规则详情
2458
+ *
2459
+ * @remarks
2460
+ * 该接口用于查询 AI 网关上某条消费者配额规则。
2461
+ *
2462
+ * @param request - GetGatewayQuotaRuleRequest
2463
+ * @returns GetGatewayQuotaRuleResponse
2464
+ */
2465
+ async getGatewayQuotaRule(gatewayId, ruleId, request) {
2466
+ let runtime = new $dara.RuntimeOptions({});
2467
+ let headers = {};
2468
+ return await this.getGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
2469
+ }
2470
+ /**
2471
+ * 查询网关配额限流规则主体用量详情
2472
+ *
2473
+ * @remarks
2474
+ * 该接口用于获取配额规则下的某个消费者用量详情。注意,只针对于版本大于 2.1.19 的 AI 网关生效。
2475
+ *
2476
+ * @param request - GetGatewayQuotaRuleSubjectUsageRequest
2477
+ * @param headers - map
2478
+ * @param runtime - runtime options for this request RuntimeOptions
2479
+ * @returns GetGatewayQuotaRuleSubjectUsageResponse
2480
+ */
2481
+ async getGatewayQuotaRuleSubjectUsageWithOptions(gatewayId, ruleId, subjectId, request, headers, runtime) {
2482
+ request.validate();
2483
+ let query = {};
2484
+ if (!$dara.isNull(request.pageNumber)) {
2485
+ query["pageNumber"] = request.pageNumber;
2486
+ }
2487
+ if (!$dara.isNull(request.pageSize)) {
2488
+ query["pageSize"] = request.pageSize;
2489
+ }
2490
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2491
+ headers: headers,
2492
+ query: openapi_core_2.OpenApiUtil.query(query),
2493
+ });
2494
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2495
+ action: "GetGatewayQuotaRuleSubjectUsage",
2496
+ version: "2024-03-27",
2497
+ protocol: "HTTPS",
2498
+ pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/quota-rules/${$dara.URL.percentEncode(ruleId)}/subjects/${$dara.URL.percentEncode(subjectId)}/usage`,
2499
+ method: "GET",
2500
+ authType: "AK",
2501
+ style: "ROA",
2502
+ reqBodyType: "json",
2503
+ bodyType: "json",
2504
+ });
2505
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayQuotaRuleSubjectUsageResponse({}));
2506
+ }
2507
+ /**
2508
+ * 查询网关配额限流规则主体用量详情
2509
+ *
2510
+ * @remarks
2511
+ * 该接口用于获取配额规则下的某个消费者用量详情。注意,只针对于版本大于 2.1.19 的 AI 网关生效。
2512
+ *
2513
+ * @param request - GetGatewayQuotaRuleSubjectUsageRequest
2514
+ * @returns GetGatewayQuotaRuleSubjectUsageResponse
2515
+ */
2516
+ async getGatewayQuotaRuleSubjectUsage(gatewayId, ruleId, subjectId, request) {
2517
+ let runtime = new $dara.RuntimeOptions({});
2518
+ let headers = {};
2519
+ return await this.getGatewayQuotaRuleSubjectUsageWithOptions(gatewayId, ruleId, subjectId, request, headers, runtime);
2520
+ }
2273
2521
  /**
2274
2522
  * Read HttpApi
2275
2523
  *
@@ -2370,10 +2618,10 @@ class Client extends openapi_core_1.default {
2370
2618
  return await this.getHttpApiRouteWithOptions(httpApiId, routeId, headers, runtime);
2371
2619
  }
2372
2620
  /**
2373
- * Queries the detailed information of an MCP server.
2621
+ * Get the MCP server.
2374
2622
  *
2375
2623
  * @remarks
2376
- * You can call this operation to create multiple services at a time.
2624
+ * This API supports creating multiple services.
2377
2625
  *
2378
2626
  * @param headers - map
2379
2627
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2397,10 +2645,10 @@ class Client extends openapi_core_1.default {
2397
2645
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMcpServerResponse({}));
2398
2646
  }
2399
2647
  /**
2400
- * Queries the detailed information of an MCP server.
2648
+ * Get the MCP server.
2401
2649
  *
2402
2650
  * @remarks
2403
- * You can call this operation to create multiple services at a time.
2651
+ * This API supports creating multiple services.
2404
2652
  * @returns GetMcpServerResponse
2405
2653
  */
2406
2654
  async getMcpServer(mcpServerId) {
@@ -2591,6 +2839,9 @@ class Client extends openapi_core_1.default {
2591
2839
  /**
2592
2840
  * Gets the key value.
2593
2841
  *
2842
+ * @remarks
2843
+ * 接口支持创建多个服务。
2844
+ *
2594
2845
  * @param headers - map
2595
2846
  * @param runtime - runtime options for this request RuntimeOptions
2596
2847
  * @returns GetSecretValueResponse
@@ -2614,6 +2865,9 @@ class Client extends openapi_core_1.default {
2614
2865
  }
2615
2866
  /**
2616
2867
  * Gets the key value.
2868
+ *
2869
+ * @remarks
2870
+ * 接口支持创建多个服务。
2617
2871
  * @returns GetSecretValueResponse
2618
2872
  */
2619
2873
  async getSecretValue(name) {
@@ -2730,7 +2984,7 @@ class Client extends openapi_core_1.default {
2730
2984
  return await this.getTraceConfigWithOptions(gatewayId, request, headers, runtime);
2731
2985
  }
2732
2986
  /**
2733
- * Imports HTTP APIs. You can call this operation to import OpenAPI 2.0 and OpenAPI 3.0.x definition files to create REST APIs.
2987
+ * Import an OpenAPI 2.0 or 3.0.x definition file to create a REST API.
2734
2988
  *
2735
2989
  * @param request - ImportHttpApiRequest
2736
2990
  * @param headers - map
@@ -2797,7 +3051,7 @@ class Client extends openapi_core_1.default {
2797
3051
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportHttpApiResponse({}));
2798
3052
  }
2799
3053
  /**
2800
- * Imports HTTP APIs. You can call this operation to import OpenAPI 2.0 and OpenAPI 3.0.x definition files to create REST APIs.
3054
+ * Import an OpenAPI 2.0 or 3.0.x definition file to create a REST API.
2801
3055
  *
2802
3056
  * @param request - ImportHttpApiRequest
2803
3057
  * @returns ImportHttpApiResponse
@@ -3079,6 +3333,9 @@ class Client extends openapi_core_1.default {
3079
3333
  /**
3080
3334
  * 获取网关外的服务信息
3081
3335
  *
3336
+ * @remarks
3337
+ * 接口支持创建多个服务。
3338
+ *
3082
3339
  * @param request - ListExternalServicesRequest
3083
3340
  * @param headers - map
3084
3341
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3122,6 +3379,9 @@ class Client extends openapi_core_1.default {
3122
3379
  /**
3123
3380
  * 获取网关外的服务信息
3124
3381
  *
3382
+ * @remarks
3383
+ * 接口支持创建多个服务。
3384
+ *
3125
3385
  * @param request - ListExternalServicesRequest
3126
3386
  * @returns ListExternalServicesResponse
3127
3387
  */
@@ -3163,6 +3423,66 @@ class Client extends openapi_core_1.default {
3163
3423
  let headers = {};
3164
3424
  return await this.listGatewayFeaturesWithOptions(gatewayId, headers, runtime);
3165
3425
  }
3426
+ /**
3427
+ * 查询网关周期配额规则列表
3428
+ *
3429
+ * @remarks
3430
+ * 该接口用于查询网关上绑定的消费者配额规则列表
3431
+ *
3432
+ * @param request - ListGatewayQuotaRulesRequest
3433
+ * @param headers - map
3434
+ * @param runtime - runtime options for this request RuntimeOptions
3435
+ * @returns ListGatewayQuotaRulesResponse
3436
+ */
3437
+ async listGatewayQuotaRulesWithOptions(gatewayId, request, headers, runtime) {
3438
+ request.validate();
3439
+ let query = {};
3440
+ if (!$dara.isNull(request.keyword)) {
3441
+ query["keyword"] = request.keyword;
3442
+ }
3443
+ if (!$dara.isNull(request.maxResults)) {
3444
+ query["maxResults"] = request.maxResults;
3445
+ }
3446
+ if (!$dara.isNull(request.nextToken)) {
3447
+ query["nextToken"] = request.nextToken;
3448
+ }
3449
+ if (!$dara.isNull(request.pageNumber)) {
3450
+ query["pageNumber"] = request.pageNumber;
3451
+ }
3452
+ if (!$dara.isNull(request.pageSize)) {
3453
+ query["pageSize"] = request.pageSize;
3454
+ }
3455
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3456
+ headers: headers,
3457
+ query: openapi_core_2.OpenApiUtil.query(query),
3458
+ });
3459
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3460
+ action: "ListGatewayQuotaRules",
3461
+ version: "2024-03-27",
3462
+ protocol: "HTTPS",
3463
+ pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/quota-rules`,
3464
+ method: "GET",
3465
+ authType: "AK",
3466
+ style: "ROA",
3467
+ reqBodyType: "json",
3468
+ bodyType: "json",
3469
+ });
3470
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayQuotaRulesResponse({}));
3471
+ }
3472
+ /**
3473
+ * 查询网关周期配额规则列表
3474
+ *
3475
+ * @remarks
3476
+ * 该接口用于查询网关上绑定的消费者配额规则列表
3477
+ *
3478
+ * @param request - ListGatewayQuotaRulesRequest
3479
+ * @returns ListGatewayQuotaRulesResponse
3480
+ */
3481
+ async listGatewayQuotaRules(gatewayId, request) {
3482
+ let runtime = new $dara.RuntimeOptions({});
3483
+ let headers = {};
3484
+ return await this.listGatewayQuotaRulesWithOptions(gatewayId, request, headers, runtime);
3485
+ }
3166
3486
  /**
3167
3487
  * Queries a list of instances.
3168
3488
  *
@@ -3310,7 +3630,7 @@ class Client extends openapi_core_1.default {
3310
3630
  return await this.listHttpApiOperationsWithOptions(httpApiId, request, headers, runtime);
3311
3631
  }
3312
3632
  /**
3313
- * Queries the routes of an HTTP API.
3633
+ * Gets the route list for an HTTP API.
3314
3634
  *
3315
3635
  * @param request - ListHttpApiRoutesRequest
3316
3636
  * @param headers - map
@@ -3383,7 +3703,7 @@ class Client extends openapi_core_1.default {
3383
3703
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHttpApiRoutesResponse({}));
3384
3704
  }
3385
3705
  /**
3386
- * Queries the routes of an HTTP API.
3706
+ * Gets the route list for an HTTP API.
3387
3707
  *
3388
3708
  * @param request - ListHttpApiRoutesRequest
3389
3709
  * @returns ListHttpApiRoutesResponse
@@ -3931,7 +4251,10 @@ class Client extends openapi_core_1.default {
3931
4251
  return await this.listSecretReferencesWithOptions(secretId, request, headers, runtime);
3932
4252
  }
3933
4253
  /**
3934
- * 查询密钥列表
4254
+ * List keys.
4255
+ *
4256
+ * @remarks
4257
+ * The API supports creating multiple services.
3935
4258
  *
3936
4259
  * @param request - ListSecretsRequest
3937
4260
  * @param headers - map
@@ -3971,7 +4294,10 @@ class Client extends openapi_core_1.default {
3971
4294
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSecretsResponse({}));
3972
4295
  }
3973
4296
  /**
3974
- * 查询密钥列表
4297
+ * List keys.
4298
+ *
4299
+ * @remarks
4300
+ * The API supports creating multiple services.
3975
4301
  *
3976
4302
  * @param request - ListSecretsRequest
3977
4303
  * @returns ListSecretsResponse
@@ -4230,6 +4556,85 @@ class Client extends openapi_core_1.default {
4230
4556
  let headers = {};
4231
4557
  return await this.removeConsumerAuthorizationRuleWithOptions(consumerAuthorizationRuleId, headers, runtime);
4232
4558
  }
4559
+ /**
4560
+ * 重置网关配额限流规则
4561
+ *
4562
+ * @remarks
4563
+ * 该接口用于重置网关上某条配额限流规则。注意,只针对于版本大于 2.1.19 的 AI 网关生效;重置将清零规则上消费者历史用量。
4564
+ * >
4565
+ * > 推荐调用逻辑:
4566
+ * > - 一、先 dryRun 预检检验是否存在规则冲突
4567
+ * > - - 传dryRun=true
4568
+ * > - - 返回含conflictHash的冲突预览
4569
+ * > - 二、确认后正式提交
4570
+ * > - - 无冲突:dryRun=false,overwrite=false
4571
+ * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
4572
+ *
4573
+ * @param request - ResetGatewayQuotaRuleRequest
4574
+ * @param headers - map
4575
+ * @param runtime - runtime options for this request RuntimeOptions
4576
+ * @returns ResetGatewayQuotaRuleResponse
4577
+ */
4578
+ async resetGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime) {
4579
+ request.validate();
4580
+ let body = {};
4581
+ if (!$dara.isNull(request.conflictHash)) {
4582
+ body["conflictHash"] = request.conflictHash;
4583
+ }
4584
+ if (!$dara.isNull(request.dryRun)) {
4585
+ body["dryRun"] = request.dryRun;
4586
+ }
4587
+ if (!$dara.isNull(request.overwrite)) {
4588
+ body["overwrite"] = request.overwrite;
4589
+ }
4590
+ if (!$dara.isNull(request.periodType)) {
4591
+ body["periodType"] = request.periodType;
4592
+ }
4593
+ if (!$dara.isNull(request.quotaLimit)) {
4594
+ body["quotaLimit"] = request.quotaLimit;
4595
+ }
4596
+ if (!$dara.isNull(request.timezone)) {
4597
+ body["timezone"] = request.timezone;
4598
+ }
4599
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4600
+ headers: headers,
4601
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
4602
+ });
4603
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4604
+ action: "ResetGatewayQuotaRule",
4605
+ version: "2024-03-27",
4606
+ protocol: "HTTPS",
4607
+ pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/quota-rules/${$dara.URL.percentEncode(ruleId)}/reset`,
4608
+ method: "POST",
4609
+ authType: "AK",
4610
+ style: "ROA",
4611
+ reqBodyType: "json",
4612
+ bodyType: "json",
4613
+ });
4614
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetGatewayQuotaRuleResponse({}));
4615
+ }
4616
+ /**
4617
+ * 重置网关配额限流规则
4618
+ *
4619
+ * @remarks
4620
+ * 该接口用于重置网关上某条配额限流规则。注意,只针对于版本大于 2.1.19 的 AI 网关生效;重置将清零规则上消费者历史用量。
4621
+ * >
4622
+ * > 推荐调用逻辑:
4623
+ * > - 一、先 dryRun 预检检验是否存在规则冲突
4624
+ * > - - 传dryRun=true
4625
+ * > - - 返回含conflictHash的冲突预览
4626
+ * > - 二、确认后正式提交
4627
+ * > - - 无冲突:dryRun=false,overwrite=false
4628
+ * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
4629
+ *
4630
+ * @param request - ResetGatewayQuotaRuleRequest
4631
+ * @returns ResetGatewayQuotaRuleResponse
4632
+ */
4633
+ async resetGatewayQuotaRule(gatewayId, ruleId, request) {
4634
+ let runtime = new $dara.RuntimeOptions({});
4635
+ let headers = {};
4636
+ return await this.resetGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
4637
+ }
4233
4638
  /**
4234
4639
  * Restarts an instance.
4235
4640
  *
@@ -4672,7 +5077,7 @@ class Client extends openapi_core_1.default {
4672
5077
  return await this.updateDomainWithOptions(domainId, request, headers, runtime);
4673
5078
  }
4674
5079
  /**
4675
- * Modifies an environment.
5080
+ * UpdateEnvironment
4676
5081
  *
4677
5082
  * @deprecated OpenAPI UpdateEnvironment is deprecated
4678
5083
  *
@@ -4708,7 +5113,7 @@ class Client extends openapi_core_1.default {
4708
5113
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateEnvironmentResponse({}));
4709
5114
  }
4710
5115
  /**
4711
- * Modifies an environment.
5116
+ * UpdateEnvironment
4712
5117
  *
4713
5118
  * @deprecated OpenAPI UpdateEnvironment is deprecated
4714
5119
  *
@@ -4764,7 +5169,7 @@ class Client extends openapi_core_1.default {
4764
5169
  return await this.updateGatewayFeatureWithOptions(gatewayId, name, request, headers, runtime);
4765
5170
  }
4766
5171
  /**
4767
- * Changes the name of a Cloud-native API Gateway instance.
5172
+ * The response message returned.
4768
5173
  *
4769
5174
  * @param request - UpdateGatewayNameRequest
4770
5175
  * @param headers - map
@@ -4795,7 +5200,7 @@ class Client extends openapi_core_1.default {
4795
5200
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayNameResponse({}));
4796
5201
  }
4797
5202
  /**
4798
- * Changes the name of a Cloud-native API Gateway instance.
5203
+ * The response message returned.
4799
5204
  *
4800
5205
  * @param request - UpdateGatewayNameRequest
4801
5206
  * @returns UpdateGatewayNameResponse
@@ -4805,6 +5210,140 @@ class Client extends openapi_core_1.default {
4805
5210
  let headers = {};
4806
5211
  return await this.updateGatewayNameWithOptions(gatewayId, request, headers, runtime);
4807
5212
  }
5213
+ /**
5214
+ * 更新网关配额限流规则
5215
+ *
5216
+ * @remarks
5217
+ * 该接口用于编辑网关上某条配额规则。注意,只针对于版本大于2.1.19的AI网关生效;编辑将保留规则上消费者历史用量。
5218
+ * > 推荐调用逻辑:
5219
+ * > - 一、先 dryRun 预检检验是否存在规则冲突
5220
+ * > - - 传dryRun=true
5221
+ * > - - 返回含conflictHash的冲突预览
5222
+ * > - 二、确认后正式提交
5223
+ * > - - 无冲突:dryRun=false,overwrite=false
5224
+ * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
5225
+ *
5226
+ * @param request - UpdateGatewayQuotaRuleRequest
5227
+ * @param headers - map
5228
+ * @param runtime - runtime options for this request RuntimeOptions
5229
+ * @returns UpdateGatewayQuotaRuleResponse
5230
+ */
5231
+ async updateGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime) {
5232
+ request.validate();
5233
+ let body = {};
5234
+ if (!$dara.isNull(request.addIds)) {
5235
+ body["addIds"] = request.addIds;
5236
+ }
5237
+ if (!$dara.isNull(request.conflictHash)) {
5238
+ body["conflictHash"] = request.conflictHash;
5239
+ }
5240
+ if (!$dara.isNull(request.consumerGroupIds)) {
5241
+ body["consumerGroupIds"] = request.consumerGroupIds;
5242
+ }
5243
+ if (!$dara.isNull(request.dryRun)) {
5244
+ body["dryRun"] = request.dryRun;
5245
+ }
5246
+ if (!$dara.isNull(request.overwrite)) {
5247
+ body["overwrite"] = request.overwrite;
5248
+ }
5249
+ if (!$dara.isNull(request.quotaLimit)) {
5250
+ body["quotaLimit"] = request.quotaLimit;
5251
+ }
5252
+ if (!$dara.isNull(request.removeIds)) {
5253
+ body["removeIds"] = request.removeIds;
5254
+ }
5255
+ if (!$dara.isNull(request.ruleName)) {
5256
+ body["ruleName"] = request.ruleName;
5257
+ }
5258
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5259
+ headers: headers,
5260
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
5261
+ });
5262
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5263
+ action: "UpdateGatewayQuotaRule",
5264
+ version: "2024-03-27",
5265
+ protocol: "HTTPS",
5266
+ pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/quota-rules/${$dara.URL.percentEncode(ruleId)}`,
5267
+ method: "PUT",
5268
+ authType: "AK",
5269
+ style: "ROA",
5270
+ reqBodyType: "json",
5271
+ bodyType: "json",
5272
+ });
5273
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayQuotaRuleResponse({}));
5274
+ }
5275
+ /**
5276
+ * 更新网关配额限流规则
5277
+ *
5278
+ * @remarks
5279
+ * 该接口用于编辑网关上某条配额规则。注意,只针对于版本大于2.1.19的AI网关生效;编辑将保留规则上消费者历史用量。
5280
+ * > 推荐调用逻辑:
5281
+ * > - 一、先 dryRun 预检检验是否存在规则冲突
5282
+ * > - - 传dryRun=true
5283
+ * > - - 返回含conflictHash的冲突预览
5284
+ * > - 二、确认后正式提交
5285
+ * > - - 无冲突:dryRun=false,overwrite=false
5286
+ * > - - 有冲突且确认覆盖:dryRun=false,overwrite=true, conflictHash=<上一步返回的值>
5287
+ *
5288
+ * @param request - UpdateGatewayQuotaRuleRequest
5289
+ * @returns UpdateGatewayQuotaRuleResponse
5290
+ */
5291
+ async updateGatewayQuotaRule(gatewayId, ruleId, request) {
5292
+ let runtime = new $dara.RuntimeOptions({});
5293
+ let headers = {};
5294
+ return await this.updateGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
5295
+ }
5296
+ /**
5297
+ * 启/停用网关配额限流规则
5298
+ *
5299
+ * @remarks
5300
+ * 该接口用于启用或者停用网关上某个配额规则。注意,只针对于版本大于2.1.19的AI网关生效。
5301
+ *
5302
+ * @param request - UpdateGatewayQuotaRuleStatusRequest
5303
+ * @param headers - map
5304
+ * @param runtime - runtime options for this request RuntimeOptions
5305
+ * @returns UpdateGatewayQuotaRuleStatusResponse
5306
+ */
5307
+ async updateGatewayQuotaRuleStatusWithOptions(gatewayId, ruleId, request, headers, runtime) {
5308
+ request.validate();
5309
+ let body = {};
5310
+ if (!$dara.isNull(request.clearHistory)) {
5311
+ body["clearHistory"] = request.clearHistory;
5312
+ }
5313
+ if (!$dara.isNull(request.enable)) {
5314
+ body["enable"] = request.enable;
5315
+ }
5316
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5317
+ headers: headers,
5318
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
5319
+ });
5320
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5321
+ action: "UpdateGatewayQuotaRuleStatus",
5322
+ version: "2024-03-27",
5323
+ protocol: "HTTPS",
5324
+ pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/quota-rules/${$dara.URL.percentEncode(ruleId)}/status`,
5325
+ method: "POST",
5326
+ authType: "AK",
5327
+ style: "ROA",
5328
+ reqBodyType: "json",
5329
+ bodyType: "json",
5330
+ });
5331
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayQuotaRuleStatusResponse({}));
5332
+ }
5333
+ /**
5334
+ * 启/停用网关配额限流规则
5335
+ *
5336
+ * @remarks
5337
+ * 该接口用于启用或者停用网关上某个配额规则。注意,只针对于版本大于2.1.19的AI网关生效。
5338
+ *
5339
+ * @param request - UpdateGatewayQuotaRuleStatusRequest
5340
+ * @returns UpdateGatewayQuotaRuleStatusResponse
5341
+ */
5342
+ async updateGatewayQuotaRuleStatus(gatewayId, ruleId, request) {
5343
+ let runtime = new $dara.RuntimeOptions({});
5344
+ let headers = {};
5345
+ return await this.updateGatewayQuotaRuleStatusWithOptions(gatewayId, ruleId, request, headers, runtime);
5346
+ }
4808
5347
  /**
4809
5348
  * Updates an HTTP API.
4810
5349
  *
@@ -4926,7 +5465,7 @@ class Client extends openapi_core_1.default {
4926
5465
  return await this.updateHttpApiOperationWithOptions(httpApiId, operationId, request, headers, runtime);
4927
5466
  }
4928
5467
  /**
4929
- * Updates the route of an HTTP API.
5468
+ * Updates a route of an HTTP API.
4930
5469
  *
4931
5470
  * @param request - UpdateHttpApiRouteRequest
4932
5471
  * @param headers - map
@@ -4975,7 +5514,7 @@ class Client extends openapi_core_1.default {
4975
5514
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateHttpApiRouteResponse({}));
4976
5515
  }
4977
5516
  /**
4978
- * Updates the route of an HTTP API.
5517
+ * Updates a route of an HTTP API.
4979
5518
  *
4980
5519
  * @param request - UpdateHttpApiRouteRequest
4981
5520
  * @returns UpdateHttpApiRouteResponse
@@ -5211,7 +5750,7 @@ class Client extends openapi_core_1.default {
5211
5750
  return await this.updateSecretWithOptions(secretId, request, headers, runtime);
5212
5751
  }
5213
5752
  /**
5214
- * Updates a service. You can call this operation to update the health check, DNS domain name, and fixed address configurations of a service.
5753
+ * Update a service. You can update the health check configuration of the service, and the configuration information of DNS domain names and static addresses.
5215
5754
  *
5216
5755
  * @param request - UpdateServiceRequest
5217
5756
  * @param headers - map
@@ -5266,7 +5805,7 @@ class Client extends openapi_core_1.default {
5266
5805
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateServiceResponse({}));
5267
5806
  }
5268
5807
  /**
5269
- * Updates a service. You can call this operation to update the health check, DNS domain name, and fixed address configurations of a service.
5808
+ * Update a service. You can update the health check configuration of the service, and the configuration information of DNS domain names and static addresses.
5270
5809
  *
5271
5810
  * @param request - UpdateServiceRequest
5272
5811
  * @returns UpdateServiceResponse