@alicloud/apig20240327 9.3.0 → 10.0.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 (228) hide show
  1. package/dist/client.d.ts +81 -60
  2. package/dist/client.js +107 -61
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddGatewayQuotaRuleRequest.d.ts +15 -12
  5. package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
  6. package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +6 -11
  7. package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
  8. package/dist/models/Backend.d.ts +5 -5
  9. package/dist/models/CreateAiModelProviderRequest.d.ts +9 -0
  10. package/dist/models/CreateAiModelProviderRequest.js.map +1 -1
  11. package/dist/models/CreateAiModelProviderResponseBody.d.ts +104 -0
  12. package/dist/models/CreateAiModelProviderResponseBody.js.map +1 -1
  13. package/dist/models/CreateConsumerAuthorizationRulesRequest.d.ts +9 -3
  14. package/dist/models/CreateConsumerAuthorizationRulesRequest.js.map +1 -1
  15. package/dist/models/CreateDomainRequest.d.ts +3 -6
  16. package/dist/models/CreateDomainRequest.js.map +1 -1
  17. package/dist/models/CreateHttpApiRequest.d.ts +19 -18
  18. package/dist/models/CreateHttpApiRequest.js.map +1 -1
  19. package/dist/models/CreateHttpApiResponseBody.d.ts +1 -1
  20. package/dist/models/CreateMcpServerRequest.d.ts +9 -9
  21. package/dist/models/CreatePluginClassRequest.d.ts +56 -0
  22. package/dist/models/CreatePluginClassRequest.js.map +1 -1
  23. package/dist/models/CreatePluginClassResponseBody.d.ts +28 -0
  24. package/dist/models/CreatePluginClassResponseBody.js.map +1 -1
  25. package/dist/models/CreatePolicyAttachmentRequest.d.ts +5 -5
  26. package/dist/models/CreatePolicyAttachmentResponseBody.d.ts +5 -5
  27. package/dist/models/CreatePolicyRequest.d.ts +33 -2
  28. package/dist/models/CreatePolicyRequest.js.map +1 -1
  29. package/dist/models/CreateSecretRequest.d.ts +3 -3
  30. package/dist/models/CreateServiceRequest.d.ts +9 -2
  31. package/dist/models/CreateServiceRequest.js.map +1 -1
  32. package/dist/models/CreateSourceRequest.d.ts +5 -5
  33. package/dist/models/DeleteGatewaySecurityGroupRuleRequest.d.ts +3 -1
  34. package/dist/models/DeleteGatewaySecurityGroupRuleRequest.js.map +1 -1
  35. package/dist/models/DeletePluginClassRequest.d.ts +13 -0
  36. package/dist/models/DeletePluginClassRequest.js +54 -0
  37. package/dist/models/DeletePluginClassRequest.js.map +1 -0
  38. package/dist/models/DeletePluginClassResponse.d.ts +19 -0
  39. package/dist/models/DeletePluginClassResponse.js +69 -0
  40. package/dist/models/DeletePluginClassResponse.js.map +1 -0
  41. package/dist/models/DeletePluginClassResponseBody.d.ts +31 -0
  42. package/dist/models/DeletePluginClassResponseBody.js +62 -0
  43. package/dist/models/DeletePluginClassResponseBody.js.map +1 -0
  44. package/dist/models/DeployHttpApiRequest.d.ts +3 -3
  45. package/dist/models/DomainInfo.d.ts +6 -4
  46. package/dist/models/DomainInfo.js +4 -0
  47. package/dist/models/DomainInfo.js.map +1 -1
  48. package/dist/models/GetConsumerResponseBody.d.ts +20 -4
  49. package/dist/models/GetConsumerResponseBody.js.map +1 -1
  50. package/dist/models/GetDomainResponseBody.d.ts +32 -5
  51. package/dist/models/GetDomainResponseBody.js +6 -0
  52. package/dist/models/GetDomainResponseBody.js.map +1 -1
  53. package/dist/models/GetGatewayQuotaRuleRequest.d.ts +2 -2
  54. package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +4 -4
  55. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +2 -2
  56. package/dist/models/GetGatewayResponseBody.d.ts +89 -73
  57. package/dist/models/GetGatewayResponseBody.js.map +1 -1
  58. package/dist/models/GetPluginClassResponseBody.d.ts +70 -0
  59. package/dist/models/GetPluginClassResponseBody.js.map +1 -1
  60. package/dist/models/GetSourceResponseBody.d.ts +6 -0
  61. package/dist/models/GetSourceResponseBody.js.map +1 -1
  62. package/dist/models/GetTraceConfigRequest.d.ts +1 -2
  63. package/dist/models/GetTraceConfigRequest.js.map +1 -1
  64. package/dist/models/GetTraceConfigResponseBody.d.ts +2 -2
  65. package/dist/models/HiMarketAgentConfig.d.ts +3 -3
  66. package/dist/models/HiMarketDomain.d.ts +16 -4
  67. package/dist/models/HiMarketDomain.js.map +1 -1
  68. package/dist/models/HiMarketHmacConfig.d.ts +13 -4
  69. package/dist/models/HiMarketHmacConfig.js.map +1 -1
  70. package/dist/models/HiMarketHttpRoute.d.ts +75 -24
  71. package/dist/models/HiMarketHttpRoute.js.map +1 -1
  72. package/dist/models/HiMarketIcon.d.ts +8 -2
  73. package/dist/models/HiMarketIcon.js.map +1 -1
  74. package/dist/models/HiMarketIdentityMapping.d.ts +12 -3
  75. package/dist/models/HiMarketIdentityMapping.js.map +1 -1
  76. package/dist/models/HiMarketMcpConfig.d.ts +19 -7
  77. package/dist/models/HiMarketMcpConfig.js.map +1 -1
  78. package/dist/models/HiMarketModelConfig.d.ts +7 -4
  79. package/dist/models/HiMarketModelConfig.js.map +1 -1
  80. package/dist/models/HiMarketModelFeature.d.ts +28 -7
  81. package/dist/models/HiMarketModelFeature.js.map +1 -1
  82. package/dist/models/HiMarketOidcConfig.d.ts +71 -20
  83. package/dist/models/HiMarketOidcConfig.js.map +1 -1
  84. package/dist/models/HiMarketPortalDeployConfig.d.ts +45 -12
  85. package/dist/models/HiMarketPortalDeployConfig.js.map +1 -1
  86. package/dist/models/HiMarketPortalDomainConfig.d.ts +12 -3
  87. package/dist/models/HiMarketPortalDomainConfig.js.map +1 -1
  88. package/dist/models/HiMarketPortalSettingConfig.d.ts +12 -12
  89. package/dist/models/HiMarketProductFeature.d.ts +1 -1
  90. package/dist/models/HiMarketProductPublicationConifg.d.ts +4 -1
  91. package/dist/models/HiMarketProductPublicationConifg.js.map +1 -1
  92. package/dist/models/HiMarketProductPublicationDetail.d.ts +24 -6
  93. package/dist/models/HiMarketProductPublicationDetail.js.map +1 -1
  94. package/dist/models/HiMarketProductRefConfig.d.ts +33 -9
  95. package/dist/models/HiMarketProductRefConfig.js.map +1 -1
  96. package/dist/models/HttpApiDeployConfig.d.ts +6 -6
  97. package/dist/models/HttpApiVersionConfig.d.ts +4 -10
  98. package/dist/models/HttpApiVersionConfig.js.map +1 -1
  99. package/dist/models/ImportHttpApiRequest.d.ts +18 -10
  100. package/dist/models/ImportHttpApiRequest.js.map +1 -1
  101. package/dist/models/ImportHttpApiResponseBody.d.ts +51 -6
  102. package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
  103. package/dist/models/ListConsumerQuotaRulesResponseBody.d.ts +3 -3
  104. package/dist/models/ListExternalServicesRequest.d.ts +6 -6
  105. package/dist/models/ListGatewayQuotaRulesRequest.d.ts +2 -2
  106. package/dist/models/ListGatewayQuotaRulesResponseBody.d.ts +3 -3
  107. package/dist/models/ListGatewaysRequest.d.ts +1 -1
  108. package/dist/models/ListGatewaysResponseBody.d.ts +15 -15
  109. package/dist/models/ListGatewaysShrinkRequest.d.ts +1 -1
  110. package/dist/models/ListPoliciesRequest.d.ts +2 -1
  111. package/dist/models/ListPoliciesRequest.js.map +1 -1
  112. package/dist/models/ListSecretsResponseBody.d.ts +1 -1
  113. package/dist/models/ListTagResourcesRequest.d.ts +1 -1
  114. package/dist/models/ListTagResourcesResponseBody.d.ts +1 -1
  115. package/dist/models/ListTagResourcesShrinkRequest.d.ts +1 -1
  116. package/dist/models/ListZonesRequest.d.ts +25 -0
  117. package/dist/models/ListZonesRequest.js +58 -0
  118. package/dist/models/ListZonesRequest.js.map +1 -0
  119. package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +6 -0
  120. package/dist/models/QueryConsumerAuthorizationRulesRequest.js.map +1 -1
  121. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +11 -1
  122. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.js.map +1 -1
  123. package/dist/models/ResetGatewayQuotaRuleRequest.d.ts +11 -9
  124. package/dist/models/ResetGatewayQuotaRuleRequest.js.map +1 -1
  125. package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +10 -5
  126. package/dist/models/ResetGatewayQuotaRuleResponseBody.js.map +1 -1
  127. package/dist/models/Service.d.ts +18 -6
  128. package/dist/models/Service.js +4 -0
  129. package/dist/models/Service.js.map +1 -1
  130. package/dist/models/ServiceInfo.d.ts +124 -0
  131. package/dist/models/ServiceInfo.js.map +1 -1
  132. package/dist/models/TagResourcesRequest.d.ts +1 -1
  133. package/dist/models/UntagResourcesRequest.d.ts +1 -1
  134. package/dist/models/UntagResourcesShrinkRequest.d.ts +1 -1
  135. package/dist/models/UpdateDomainRequest.d.ts +5 -5
  136. package/dist/models/UpdateDomainResponseBody.d.ts +1 -1
  137. package/dist/models/UpdateHttpApiRequest.d.ts +10 -10
  138. package/dist/models/UpdateMcpServerRequest.d.ts +1 -1
  139. package/dist/models/UpdateServiceRequest.d.ts +11 -4
  140. package/dist/models/UpdateServiceRequest.js.map +1 -1
  141. package/dist/models/model.d.ts +4 -0
  142. package/dist/models/model.js +14 -6
  143. package/dist/models/model.js.map +1 -1
  144. package/package.json +1 -1
  145. package/src/client.ts +110 -61
  146. package/src/models/AddGatewayQuotaRuleRequest.ts +15 -12
  147. package/src/models/AddGatewayQuotaRuleResponseBody.ts +6 -11
  148. package/src/models/Backend.ts +5 -5
  149. package/src/models/CreateAiModelProviderRequest.ts +9 -0
  150. package/src/models/CreateAiModelProviderResponseBody.ts +104 -0
  151. package/src/models/CreateConsumerAuthorizationRulesRequest.ts +9 -3
  152. package/src/models/CreateDomainRequest.ts +3 -6
  153. package/src/models/CreateHttpApiRequest.ts +19 -18
  154. package/src/models/CreateHttpApiResponseBody.ts +1 -1
  155. package/src/models/CreateMcpServerRequest.ts +9 -9
  156. package/src/models/CreatePluginClassRequest.ts +56 -0
  157. package/src/models/CreatePluginClassResponseBody.ts +28 -0
  158. package/src/models/CreatePolicyAttachmentRequest.ts +5 -5
  159. package/src/models/CreatePolicyAttachmentResponseBody.ts +5 -5
  160. package/src/models/CreatePolicyRequest.ts +33 -2
  161. package/src/models/CreateSecretRequest.ts +3 -3
  162. package/src/models/CreateServiceRequest.ts +9 -2
  163. package/src/models/CreateSourceRequest.ts +5 -5
  164. package/src/models/DeleteGatewaySecurityGroupRuleRequest.ts +3 -1
  165. package/src/models/DeletePluginClassRequest.ts +24 -0
  166. package/src/models/DeletePluginClassResponse.ts +40 -0
  167. package/src/models/DeletePluginClassResponseBody.ts +48 -0
  168. package/src/models/DeployHttpApiRequest.ts +3 -3
  169. package/src/models/DomainInfo.ts +10 -4
  170. package/src/models/GetConsumerResponseBody.ts +20 -4
  171. package/src/models/GetDomainResponseBody.ts +38 -5
  172. package/src/models/GetGatewayQuotaRuleRequest.ts +2 -2
  173. package/src/models/GetGatewayQuotaRuleResponseBody.ts +4 -4
  174. package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +2 -2
  175. package/src/models/GetGatewayResponseBody.ts +89 -73
  176. package/src/models/GetPluginClassResponseBody.ts +70 -0
  177. package/src/models/GetSourceResponseBody.ts +6 -0
  178. package/src/models/GetTraceConfigRequest.ts +1 -2
  179. package/src/models/GetTraceConfigResponseBody.ts +2 -2
  180. package/src/models/HiMarketAgentConfig.ts +3 -3
  181. package/src/models/HiMarketDomain.ts +16 -4
  182. package/src/models/HiMarketHmacConfig.ts +13 -4
  183. package/src/models/HiMarketHttpRoute.ts +75 -24
  184. package/src/models/HiMarketIcon.ts +8 -2
  185. package/src/models/HiMarketIdentityMapping.ts +12 -3
  186. package/src/models/HiMarketMcpConfig.ts +19 -7
  187. package/src/models/HiMarketModelConfig.ts +7 -4
  188. package/src/models/HiMarketModelFeature.ts +28 -7
  189. package/src/models/HiMarketOidcConfig.ts +71 -20
  190. package/src/models/HiMarketPortalDeployConfig.ts +45 -12
  191. package/src/models/HiMarketPortalDomainConfig.ts +12 -3
  192. package/src/models/HiMarketPortalSettingConfig.ts +12 -12
  193. package/src/models/HiMarketProductFeature.ts +1 -1
  194. package/src/models/HiMarketProductPublicationConifg.ts +4 -1
  195. package/src/models/HiMarketProductPublicationDetail.ts +24 -6
  196. package/src/models/HiMarketProductRefConfig.ts +33 -9
  197. package/src/models/HttpApiDeployConfig.ts +6 -6
  198. package/src/models/HttpApiVersionConfig.ts +4 -10
  199. package/src/models/ImportHttpApiRequest.ts +18 -10
  200. package/src/models/ImportHttpApiResponseBody.ts +51 -6
  201. package/src/models/ListConsumerQuotaRulesResponseBody.ts +3 -3
  202. package/src/models/ListExternalServicesRequest.ts +6 -6
  203. package/src/models/ListGatewayQuotaRulesRequest.ts +2 -2
  204. package/src/models/ListGatewayQuotaRulesResponseBody.ts +3 -3
  205. package/src/models/ListGatewaysRequest.ts +1 -1
  206. package/src/models/ListGatewaysResponseBody.ts +15 -15
  207. package/src/models/ListGatewaysShrinkRequest.ts +1 -1
  208. package/src/models/ListPoliciesRequest.ts +2 -1
  209. package/src/models/ListSecretsResponseBody.ts +1 -1
  210. package/src/models/ListTagResourcesRequest.ts +1 -1
  211. package/src/models/ListTagResourcesResponseBody.ts +1 -1
  212. package/src/models/ListTagResourcesShrinkRequest.ts +1 -1
  213. package/src/models/ListZonesRequest.ts +38 -0
  214. package/src/models/QueryConsumerAuthorizationRulesRequest.ts +6 -0
  215. package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +11 -1
  216. package/src/models/ResetGatewayQuotaRuleRequest.ts +11 -9
  217. package/src/models/ResetGatewayQuotaRuleResponseBody.ts +10 -5
  218. package/src/models/Service.ts +22 -6
  219. package/src/models/ServiceInfo.ts +124 -0
  220. package/src/models/TagResourcesRequest.ts +1 -1
  221. package/src/models/UntagResourcesRequest.ts +1 -1
  222. package/src/models/UntagResourcesShrinkRequest.ts +1 -1
  223. package/src/models/UpdateDomainRequest.ts +5 -5
  224. package/src/models/UpdateDomainResponseBody.ts +1 -1
  225. package/src/models/UpdateHttpApiRequest.ts +10 -10
  226. package/src/models/UpdateMcpServerRequest.ts +1 -1
  227. package/src/models/UpdateServiceRequest.ts +11 -4
  228. package/src/models/model.ts +4 -0
package/dist/client.js CHANGED
@@ -92,15 +92,15 @@ class Client extends openapi_core_1.default {
92
92
  * Creates a gateway quota throttling rule.
93
93
  *
94
94
  * @remarks
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.
95
+ * Creates a consumer-based quota rule for an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
96
96
  * >
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>
97
+ * > Recommended call sequence:
98
+ * > - Step 1: Perform a dry run to check for rule conflicts.
99
+ * > - - Set dryRun to true.
100
+ * > - - The response contains a conflict preview with a conflictHash value.
101
+ * > - Step 2: Submit the request after confirmation.
102
+ * > - - No conflicts: Set dryRun to false and overwrite to false.
103
+ * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
104
104
  *
105
105
  * @param request - AddGatewayQuotaRuleRequest
106
106
  * @param headers - map
@@ -167,15 +167,15 @@ class Client extends openapi_core_1.default {
167
167
  * Creates a gateway quota throttling rule.
168
168
  *
169
169
  * @remarks
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.
170
+ * Creates a consumer-based quota rule for an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
171
171
  * >
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>
172
+ * > Recommended call sequence:
173
+ * > - Step 1: Perform a dry run to check for rule conflicts.
174
+ * > - - Set dryRun to true.
175
+ * > - - The response contains a conflict preview with a conflictHash value.
176
+ * > - Step 2: Submit the request after confirmation.
177
+ * > - - No conflicts: Set dryRun to false and overwrite to false.
178
+ * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
179
179
  *
180
180
  * @param request - AddGatewayQuotaRuleRequest
181
181
  * @returns AddGatewayQuotaRuleResponse
@@ -186,7 +186,7 @@ class Client extends openapi_core_1.default {
186
186
  return await this.addGatewayQuotaRuleWithOptions(gatewayId, request, headers, runtime);
187
187
  }
188
188
  /**
189
- * Authorizes a security group to allow gateway access to services.
189
+ * Authorizes a security group that allows a gateway to access services.
190
190
  *
191
191
  * @param request - AddGatewaySecurityGroupRuleRequest
192
192
  * @param headers - map
@@ -223,7 +223,7 @@ class Client extends openapi_core_1.default {
223
223
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddGatewaySecurityGroupRuleResponse({}));
224
224
  }
225
225
  /**
226
- * Authorizes a security group to allow gateway access to services.
226
+ * Authorizes a security group that allows a gateway to access services.
227
227
  *
228
228
  * @param request - AddGatewaySecurityGroupRuleRequest
229
229
  * @returns AddGatewaySecurityGroupRuleResponse
@@ -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
- * Transfers a resource to a different resource group.
279
+ * Moves 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
- * Transfers a resource to a different resource group.
319
+ * Moves a resource to a different resource group.
320
320
  *
321
321
  * @param request - ChangeResourceGroupRequest
322
322
  * @returns ChangeResourceGroupResponse
@@ -1274,7 +1274,7 @@ class Client extends openapi_core_1.default {
1274
1274
  return await this.createPolicyWithOptions(request, headers, runtime);
1275
1275
  }
1276
1276
  /**
1277
- * Creates a policy attachment.
1277
+ * Creates a policy attachment to a resource.
1278
1278
  *
1279
1279
  * @param request - CreatePolicyAttachmentRequest
1280
1280
  * @param headers - map
@@ -1317,7 +1317,7 @@ class Client extends openapi_core_1.default {
1317
1317
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePolicyAttachmentResponse({}));
1318
1318
  }
1319
1319
  /**
1320
- * Creates a policy attachment.
1320
+ * Creates a policy attachment to a resource.
1321
1321
  *
1322
1322
  * @param request - CreatePolicyAttachmentRequest
1323
1323
  * @returns CreatePolicyAttachmentResponse
@@ -1719,7 +1719,7 @@ class Client extends openapi_core_1.default {
1719
1719
  * Deletes a quota throttling rule from a gateway.
1720
1720
  *
1721
1721
  * @remarks
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.
1722
+ * Deletes a consumer-based quota rule from an AI gateway. This operation takes effect only for AI gateways of version 2.1.19 or later.
1723
1723
  *
1724
1724
  * @param request - DeleteGatewayQuotaRuleRequest
1725
1725
  * @param headers - map
@@ -1748,7 +1748,7 @@ class Client extends openapi_core_1.default {
1748
1748
  * Deletes a quota throttling rule from a gateway.
1749
1749
  *
1750
1750
  * @remarks
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.
1751
+ * Deletes a consumer-based quota rule from an AI gateway. This operation takes effect only for AI gateways of version 2.1.19 or later.
1752
1752
  *
1753
1753
  * @param request - DeleteGatewayQuotaRuleRequest
1754
1754
  * @returns DeleteGatewayQuotaRuleResponse
@@ -1759,7 +1759,7 @@ class Client extends openapi_core_1.default {
1759
1759
  return await this.deleteGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
1760
1760
  }
1761
1761
  /**
1762
- * Deletes a gateway security group rule.
1762
+ * Deletes a security group rule from a gateway.
1763
1763
  *
1764
1764
  * @param request - DeleteGatewaySecurityGroupRuleRequest
1765
1765
  * @param headers - map
@@ -1790,7 +1790,7 @@ class Client extends openapi_core_1.default {
1790
1790
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGatewaySecurityGroupRuleResponse({}));
1791
1791
  }
1792
1792
  /**
1793
- * Deletes a gateway security group rule.
1793
+ * Deletes a security group rule from a gateway.
1794
1794
  *
1795
1795
  * @param request - DeleteGatewaySecurityGroupRuleRequest
1796
1796
  * @returns DeleteGatewaySecurityGroupRuleResponse
@@ -1965,6 +1965,43 @@ class Client extends openapi_core_1.default {
1965
1965
  let headers = {};
1966
1966
  return await this.deletePluginAttachmentWithOptions(pluginAttachmentId, headers, runtime);
1967
1967
  }
1968
+ /**
1969
+ * DeletePluginClass
1970
+ *
1971
+ * @param request - DeletePluginClassRequest
1972
+ * @param headers - map
1973
+ * @param runtime - runtime options for this request RuntimeOptions
1974
+ * @returns DeletePluginClassResponse
1975
+ */
1976
+ async deletePluginClassWithOptions(pluginClassId, request, headers, runtime) {
1977
+ request.validate();
1978
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1979
+ headers: headers,
1980
+ });
1981
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1982
+ action: "DeletePluginClass",
1983
+ version: "2024-03-27",
1984
+ protocol: "HTTPS",
1985
+ pathname: `/v1/plugin-classes/${$dara.URL.percentEncode(pluginClassId)}`,
1986
+ method: "DELETE",
1987
+ authType: "AK",
1988
+ style: "ROA",
1989
+ reqBodyType: "json",
1990
+ bodyType: "json",
1991
+ });
1992
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePluginClassResponse({}));
1993
+ }
1994
+ /**
1995
+ * DeletePluginClass
1996
+ *
1997
+ * @param request - DeletePluginClassRequest
1998
+ * @returns DeletePluginClassResponse
1999
+ */
2000
+ async deletePluginClass(pluginClassId, request) {
2001
+ let runtime = new $dara.RuntimeOptions({});
2002
+ let headers = {};
2003
+ return await this.deletePluginClassWithOptions(pluginClassId, request, headers, runtime);
2004
+ }
1968
2005
  /**
1969
2006
  * Deletes a policy.
1970
2007
  *
@@ -2570,7 +2607,7 @@ class Client extends openapi_core_1.default {
2570
2607
  return await this.getEnvironmentWithOptions(environmentId, request, headers, runtime);
2571
2608
  }
2572
2609
  /**
2573
- * Queries the basic information about an instance, such as the virtual private cloud (VPC) and vSwitch to which the instance belongs and its ingress.
2610
+ * Retrieves basic information about a gateway, including the associated VPC, vSwitch, and gateway ingress.
2574
2611
  *
2575
2612
  * @param headers - map
2576
2613
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2594,7 +2631,7 @@ class Client extends openapi_core_1.default {
2594
2631
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayResponse({}));
2595
2632
  }
2596
2633
  /**
2597
- * Queries the basic information about an instance, such as the virtual private cloud (VPC) and vSwitch to which the instance belongs and its ingress.
2634
+ * Retrieves basic information about a gateway, including the associated VPC, vSwitch, and gateway ingress.
2598
2635
  * @returns GetGatewayResponse
2599
2636
  */
2600
2637
  async getGateway(gatewayId) {
@@ -2606,7 +2643,7 @@ class Client extends openapi_core_1.default {
2606
2643
  * Queries the details of a gateway quota rate limiting rule.
2607
2644
  *
2608
2645
  * @remarks
2609
- * This operation queries a specific consumer quota rule on an AI gateway.
2646
+ * Queries the details of a consumer quota rule on an AI gateway.
2610
2647
  *
2611
2648
  * @param request - GetGatewayQuotaRuleRequest
2612
2649
  * @param headers - map
@@ -2646,7 +2683,7 @@ class Client extends openapi_core_1.default {
2646
2683
  * Queries the details of a gateway quota rate limiting rule.
2647
2684
  *
2648
2685
  * @remarks
2649
- * This operation queries a specific consumer quota rule on an AI gateway.
2686
+ * Queries the details of a consumer quota rule on an AI gateway.
2650
2687
  *
2651
2688
  * @param request - GetGatewayQuotaRuleRequest
2652
2689
  * @returns GetGatewayQuotaRuleResponse
@@ -2657,7 +2694,7 @@ class Client extends openapi_core_1.default {
2657
2694
  return await this.getGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
2658
2695
  }
2659
2696
  /**
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.
2697
+ * Queries the usage details of a subject under a gateway quota throttling rule, including used quota, total quota, whether the limit is exceeded, usage details, and consumption records.
2661
2698
  *
2662
2699
  * @remarks
2663
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.
@@ -2694,7 +2731,7 @@ class Client extends openapi_core_1.default {
2694
2731
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayQuotaRuleSubjectUsageResponse({}));
2695
2732
  }
2696
2733
  /**
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.
2734
+ * Queries the usage details of a subject under a gateway quota throttling rule, including used quota, total quota, whether the limit is exceeded, usage details, and consumption records.
2698
2735
  *
2699
2736
  * @remarks
2700
2737
  * 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.
@@ -2879,7 +2916,7 @@ class Client extends openapi_core_1.default {
2879
2916
  return await this.getPluginAttachmentWithOptions(pluginAttachmentId, headers, runtime);
2880
2917
  }
2881
2918
  /**
2882
- * Retrieves a custom plugin class.
2919
+ * Retrieves a custom plug-in class.
2883
2920
  *
2884
2921
  * @param request - GetPluginClassRequest
2885
2922
  * @param headers - map
@@ -2905,7 +2942,7 @@ class Client extends openapi_core_1.default {
2905
2942
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPluginClassResponse({}));
2906
2943
  }
2907
2944
  /**
2908
- * Retrieves a custom plugin class.
2945
+ * Retrieves a custom plug-in class.
2909
2946
  *
2910
2947
  * @param request - GetPluginClassRequest
2911
2948
  * @returns GetPluginClassResponse
@@ -3210,7 +3247,7 @@ class Client extends openapi_core_1.default {
3210
3247
  return await this.getTraceConfigWithOptions(gatewayId, request, headers, runtime);
3211
3248
  }
3212
3249
  /**
3213
- * Imports an HTTP API. You can import an OpenAPI 2.0 or OpenAPI 3.0.x definition file as a REST API.
3250
+ * Imports an HTTP API. This operation supports importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST-type APIs.
3214
3251
  *
3215
3252
  * @param request - ImportHttpApiRequest
3216
3253
  * @param headers - map
@@ -3280,7 +3317,7 @@ class Client extends openapi_core_1.default {
3280
3317
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportHttpApiResponse({}));
3281
3318
  }
3282
3319
  /**
3283
- * Imports an HTTP API. You can import an OpenAPI 2.0 or OpenAPI 3.0.x definition file as a REST API.
3320
+ * Imports an HTTP API. This operation supports importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST-type APIs.
3284
3321
  *
3285
3322
  * @param request - ImportHttpApiRequest
3286
3323
  * @returns ImportHttpApiResponse
@@ -3707,10 +3744,10 @@ class Client extends openapi_core_1.default {
3707
3744
  return await this.listGatewayFeaturesWithOptions(gatewayId, headers, runtime);
3708
3745
  }
3709
3746
  /**
3710
- * Queries the list of API consumer quota rules bound to a gateway.
3747
+ * Queries the list of consumer quota rules bound to a gateway.
3711
3748
  *
3712
3749
  * @remarks
3713
- * Queries the list of API consumer quota rules bound to a gateway.
3750
+ * Queries the list of consumer quota rules bound to a gateway.
3714
3751
  *
3715
3752
  * @param request - ListGatewayQuotaRulesRequest
3716
3753
  * @param headers - map
@@ -3753,10 +3790,10 @@ class Client extends openapi_core_1.default {
3753
3790
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayQuotaRulesResponse({}));
3754
3791
  }
3755
3792
  /**
3756
- * Queries the list of API consumer quota rules bound to a gateway.
3793
+ * Queries the list of consumer quota rules bound to a gateway.
3757
3794
  *
3758
3795
  * @remarks
3759
- * Queries the list of API consumer quota rules bound to a gateway.
3796
+ * Queries the list of consumer quota rules bound to a gateway.
3760
3797
  *
3761
3798
  * @param request - ListGatewayQuotaRulesRequest
3762
3799
  * @returns ListGatewayQuotaRulesResponse
@@ -4761,15 +4798,22 @@ class Client extends openapi_core_1.default {
4761
4798
  return await this.listTagResourcesWithOptions(request, headers, runtime);
4762
4799
  }
4763
4800
  /**
4764
- * Retrieves the zones available for a cloud-native API gateway in a specified region.
4801
+ * Retrieves the zones available for a cloud-native API gateway in a specific region.
4765
4802
  *
4803
+ * @param request - ListZonesRequest
4766
4804
  * @param headers - map
4767
4805
  * @param runtime - runtime options for this request RuntimeOptions
4768
4806
  * @returns ListZonesResponse
4769
4807
  */
4770
- async listZonesWithOptions(headers, runtime) {
4808
+ async listZonesWithOptions(request, headers, runtime) {
4809
+ request.validate();
4810
+ let query = {};
4811
+ if (!$dara.isNull(request.gatewayEdition)) {
4812
+ query["gatewayEdition"] = request.gatewayEdition;
4813
+ }
4771
4814
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4772
4815
  headers: headers,
4816
+ query: openapi_core_2.OpenApiUtil.query(query),
4773
4817
  });
4774
4818
  let params = new openapi_core_2.$OpenApiUtil.Params({
4775
4819
  action: "ListZones",
@@ -4785,16 +4829,18 @@ class Client extends openapi_core_1.default {
4785
4829
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListZonesResponse({}));
4786
4830
  }
4787
4831
  /**
4788
- * Retrieves the zones available for a cloud-native API gateway in a specified region.
4832
+ * Retrieves the zones available for a cloud-native API gateway in a specific region.
4833
+ *
4834
+ * @param request - ListZonesRequest
4789
4835
  * @returns ListZonesResponse
4790
4836
  */
4791
- async listZones() {
4837
+ async listZones(request) {
4792
4838
  let runtime = new $dara.RuntimeOptions({});
4793
4839
  let headers = {};
4794
- return await this.listZonesWithOptions(headers, runtime);
4840
+ return await this.listZonesWithOptions(request, headers, runtime);
4795
4841
  }
4796
4842
  /**
4797
- * Queries a list of consumer authorization rules.
4843
+ * Queries the list of consumer authorization rules.
4798
4844
  *
4799
4845
  * @param request - QueryConsumerAuthorizationRulesRequest
4800
4846
  * @param headers - map
@@ -4861,7 +4907,7 @@ class Client extends openapi_core_1.default {
4861
4907
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryConsumerAuthorizationRulesResponse({}));
4862
4908
  }
4863
4909
  /**
4864
- * Queries a list of consumer authorization rules.
4910
+ * Queries the list of consumer authorization rules.
4865
4911
  *
4866
4912
  * @param request - QueryConsumerAuthorizationRulesRequest
4867
4913
  * @returns QueryConsumerAuthorizationRulesResponse
@@ -4905,18 +4951,18 @@ class Client extends openapi_core_1.default {
4905
4951
  return await this.removeConsumerAuthorizationRuleWithOptions(consumerAuthorizationRuleId, headers, runtime);
4906
4952
  }
4907
4953
  /**
4908
- * Resets a quota rate limiting rule on a gateway.
4954
+ * Resets a quota throttling rule on a gateway.
4909
4955
  *
4910
4956
  * @remarks
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.
4957
+ * Resets a quota throttling rule on a gateway. This operation takes effect only on AI gateways running version 2.1.19 or later. Resetting a rule clears the historical usage of consumers associated with the rule.
4912
4958
  * >
4913
- * > Recommended call logic:
4959
+ * > Recommended call sequence:
4914
4960
  * > - 1. Perform a dry run to check for rule conflicts.
4915
- * > - - Set dryRun=true.
4961
+ * > - - Set dryRun to true.
4916
4962
  * > - - The response contains a conflict preview with conflictHash.
4917
4963
  * > - 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>
4964
+ * > - - No conflicts: Set dryRun to false and overwrite to false.
4965
+ * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
4920
4966
  *
4921
4967
  * @param request - ResetGatewayQuotaRuleRequest
4922
4968
  * @param headers - map
@@ -4968,18 +5014,18 @@ class Client extends openapi_core_1.default {
4968
5014
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetGatewayQuotaRuleResponse({}));
4969
5015
  }
4970
5016
  /**
4971
- * Resets a quota rate limiting rule on a gateway.
5017
+ * Resets a quota throttling rule on a gateway.
4972
5018
  *
4973
5019
  * @remarks
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.
5020
+ * Resets a quota throttling rule on a gateway. This operation takes effect only on AI gateways running version 2.1.19 or later. Resetting a rule clears the historical usage of consumers associated with the rule.
4975
5021
  * >
4976
- * > Recommended call logic:
5022
+ * > Recommended call sequence:
4977
5023
  * > - 1. Perform a dry run to check for rule conflicts.
4978
- * > - - Set dryRun=true.
5024
+ * > - - Set dryRun to true.
4979
5025
  * > - - The response contains a conflict preview with conflictHash.
4980
5026
  * > - 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>
5027
+ * > - - No conflicts: Set dryRun to false and overwrite to false.
5028
+ * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
4983
5029
  *
4984
5030
  * @param request - ResetGatewayQuotaRuleRequest
4985
5031
  * @returns ResetGatewayQuotaRuleResponse
@@ -5997,7 +6043,7 @@ class Client extends openapi_core_1.default {
5997
6043
  * Updates an MCP server.
5998
6044
  *
5999
6045
  * @remarks
6000
- * Only sources of the **Container Service** type are allowed to update the listener Ingress configuration.
6046
+ * Only sources of the **Container Service** type can update the Ingress listener configuration.
6001
6047
  *
6002
6048
  * @param request - UpdateMcpServerRequest
6003
6049
  * @param headers - map
@@ -6064,7 +6110,7 @@ class Client extends openapi_core_1.default {
6064
6110
  * Updates an MCP server.
6065
6111
  *
6066
6112
  * @remarks
6067
- * Only sources of the **Container Service** type are allowed to update the listener Ingress configuration.
6113
+ * Only sources of the **Container Service** type can update the Ingress listener configuration.
6068
6114
  *
6069
6115
  * @param request - UpdateMcpServerRequest
6070
6116
  * @returns UpdateMcpServerResponse