@alicloud/apig20240327 10.1.0 → 10.1.2

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 (175) hide show
  1. package/dist/client.d.ts +60 -44
  2. package/dist/client.js +74 -44
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AgentAccessConfig.d.ts +48 -0
  5. package/dist/models/AgentAccessConfig.js +101 -0
  6. package/dist/models/AgentAccessConfig.js.map +1 -0
  7. package/dist/models/AgentAuthorizationPrincipal.d.ts +23 -0
  8. package/dist/models/AgentAuthorizationPrincipal.js +60 -0
  9. package/dist/models/AgentAuthorizationPrincipal.js.map +1 -0
  10. package/dist/models/AgentInfo.d.ts +60 -0
  11. package/dist/models/AgentInfo.js +132 -0
  12. package/dist/models/AgentInfo.js.map +1 -0
  13. package/dist/models/AgentModelAccessConfig.d.ts +23 -0
  14. package/dist/models/AgentModelAccessConfig.js +63 -0
  15. package/dist/models/AgentModelAccessConfig.js.map +1 -0
  16. package/dist/models/AgentServiceConfig.d.ts +8 -10
  17. package/dist/models/AgentServiceConfig.js +0 -2
  18. package/dist/models/AgentServiceConfig.js.map +1 -1
  19. package/dist/models/BatchAddConsumerGroupConsumersRequest.d.ts +3 -0
  20. package/dist/models/BatchAddConsumerGroupConsumersRequest.js.map +1 -1
  21. package/dist/models/BatchAddConsumerGroupConsumersResponseBody.d.ts +25 -0
  22. package/dist/models/BatchAddConsumerGroupConsumersResponseBody.js.map +1 -1
  23. package/dist/models/BatchRemoveConsumerGroupConsumersRequest.d.ts +3 -0
  24. package/dist/models/BatchRemoveConsumerGroupConsumersRequest.js.map +1 -1
  25. package/dist/models/BatchRemoveConsumerGroupConsumersResponseBody.d.ts +25 -0
  26. package/dist/models/BatchRemoveConsumerGroupConsumersResponseBody.js.map +1 -1
  27. package/dist/models/ChangeResourceGroupRequest.d.ts +8 -8
  28. package/dist/models/ConsumerGroupInfo.d.ts +9 -0
  29. package/dist/models/ConsumerGroupInfo.js.map +1 -1
  30. package/dist/models/CreateAiModelCardRequest.d.ts +51 -0
  31. package/dist/models/CreateAiModelCardRequest.js.map +1 -1
  32. package/dist/models/CreateAiModelCardResponseBody.d.ts +75 -0
  33. package/dist/models/CreateAiModelCardResponseBody.js.map +1 -1
  34. package/dist/models/CreateAiModelProviderRequest.d.ts +18 -0
  35. package/dist/models/CreateAiModelProviderRequest.js +2 -0
  36. package/dist/models/CreateAiModelProviderRequest.js.map +1 -1
  37. package/dist/models/CreateAiModelProviderResponseBody.d.ts +118 -0
  38. package/dist/models/CreateAiModelProviderResponseBody.js +2 -0
  39. package/dist/models/CreateAiModelProviderResponseBody.js.map +1 -1
  40. package/dist/models/CreateAndAttachPolicyRequest.d.ts +3 -1
  41. package/dist/models/CreateAndAttachPolicyRequest.js.map +1 -1
  42. package/dist/models/CreateConsumerAuthorizationRulesRequest.d.ts +4 -4
  43. package/dist/models/CreateConsumerGroupRequest.d.ts +13 -1
  44. package/dist/models/CreateConsumerGroupRequest.js.map +1 -1
  45. package/dist/models/CreateConsumerGroupResponseBody.d.ts +19 -0
  46. package/dist/models/CreateConsumerGroupResponseBody.js.map +1 -1
  47. package/dist/models/CreateDomainRequest.d.ts +12 -12
  48. package/dist/models/CreateGatewayRequest.d.ts +5 -13
  49. package/dist/models/CreateGatewayRequest.js +2 -0
  50. package/dist/models/CreateGatewayRequest.js.map +1 -1
  51. package/dist/models/CreateHttpApiRequest.d.ts +1 -1
  52. package/dist/models/CreateServiceRequest.d.ts +6 -6
  53. package/dist/models/DeleteAiModelCardResponseBody.d.ts +9 -0
  54. package/dist/models/DeleteAiModelCardResponseBody.js.map +1 -1
  55. package/dist/models/DeleteAiModelProviderResponseBody.d.ts +9 -0
  56. package/dist/models/DeleteAiModelProviderResponseBody.js.map +1 -1
  57. package/dist/models/DeleteConsumerGroupResponseBody.d.ts +9 -0
  58. package/dist/models/DeleteConsumerGroupResponseBody.js.map +1 -1
  59. package/dist/models/GetAiModelCardResponseBody.d.ts +81 -0
  60. package/dist/models/GetAiModelCardResponseBody.js.map +1 -1
  61. package/dist/models/GetAiModelProviderResponseBody.d.ts +114 -1
  62. package/dist/models/GetAiModelProviderResponseBody.js.map +1 -1
  63. package/dist/models/GetConsumerGroupResponseBody.d.ts +35 -1
  64. package/dist/models/GetConsumerGroupResponseBody.js.map +1 -1
  65. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +1 -0
  66. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.js +2 -0
  67. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.js.map +1 -1
  68. package/dist/models/GetGatewayResponseBody.d.ts +13 -41
  69. package/dist/models/GetGatewayResponseBody.js +4 -0
  70. package/dist/models/GetGatewayResponseBody.js.map +1 -1
  71. package/dist/models/ListAiModelCardsRequest.d.ts +11 -0
  72. package/dist/models/ListAiModelCardsRequest.js.map +1 -1
  73. package/dist/models/ListAiModelCardsResponseBody.d.ts +97 -0
  74. package/dist/models/ListAiModelCardsResponseBody.js.map +1 -1
  75. package/dist/models/ListAiModelProvidersRequest.d.ts +11 -0
  76. package/dist/models/ListAiModelProvidersRequest.js.map +1 -1
  77. package/dist/models/ListAiModelProvidersResponseBody.d.ts +127 -1
  78. package/dist/models/ListAiModelProvidersResponseBody.js.map +1 -1
  79. package/dist/models/ListConsumerGroupConsumersRequest.d.ts +9 -0
  80. package/dist/models/ListConsumerGroupConsumersRequest.js.map +1 -1
  81. package/dist/models/ListConsumerGroupConsumersResponseBody.d.ts +45 -1
  82. package/dist/models/ListConsumerGroupConsumersResponseBody.js.map +1 -1
  83. package/dist/models/ListConsumerGroupsRequest.d.ts +12 -0
  84. package/dist/models/ListConsumerGroupsRequest.js.map +1 -1
  85. package/dist/models/ListConsumerGroupsResponseBody.d.ts +45 -1
  86. package/dist/models/ListConsumerGroupsResponseBody.js.map +1 -1
  87. package/dist/models/ListGatewaysRequest.d.ts +9 -1
  88. package/dist/models/ListGatewaysRequest.js +2 -0
  89. package/dist/models/ListGatewaysRequest.js.map +1 -1
  90. package/dist/models/ListGatewaysResponseBody.d.ts +16 -40
  91. package/dist/models/ListGatewaysResponseBody.js +2 -0
  92. package/dist/models/ListGatewaysResponseBody.js.map +1 -1
  93. package/dist/models/ListGatewaysShrinkRequest.d.ts +9 -1
  94. package/dist/models/ListGatewaysShrinkRequest.js +2 -0
  95. package/dist/models/ListGatewaysShrinkRequest.js.map +1 -1
  96. package/dist/models/ListPoliciesRequest.d.ts +8 -10
  97. package/dist/models/ListPoliciesRequest.js.map +1 -1
  98. package/dist/models/ListServicesRequest.d.ts +6 -5
  99. package/dist/models/ListServicesRequest.js.map +1 -1
  100. package/dist/models/Service.d.ts +26 -8
  101. package/dist/models/Service.js +40 -1
  102. package/dist/models/Service.js.map +1 -1
  103. package/dist/models/UpdateAiModelCardRequest.d.ts +54 -0
  104. package/dist/models/UpdateAiModelCardRequest.js.map +1 -1
  105. package/dist/models/UpdateAiModelCardResponseBody.d.ts +81 -0
  106. package/dist/models/UpdateAiModelCardResponseBody.js.map +1 -1
  107. package/dist/models/UpdateAiModelProviderRequest.d.ts +7 -1
  108. package/dist/models/UpdateAiModelProviderRequest.js.map +1 -1
  109. package/dist/models/UpdateAiModelProviderResponseBody.d.ts +114 -1
  110. package/dist/models/UpdateAiModelProviderResponseBody.js.map +1 -1
  111. package/dist/models/UpdateAndAttachPolicyRequest.d.ts +2 -2
  112. package/dist/models/UpdateConsumerGroupRequest.d.ts +7 -1
  113. package/dist/models/UpdateConsumerGroupRequest.js.map +1 -1
  114. package/dist/models/UpdateConsumerGroupResponseBody.d.ts +9 -0
  115. package/dist/models/UpdateConsumerGroupResponseBody.js.map +1 -1
  116. package/dist/models/UpdateServiceRequest.d.ts +3 -3
  117. package/dist/models/model.d.ts +8 -0
  118. package/dist/models/model.js +38 -22
  119. package/dist/models/model.js.map +1 -1
  120. package/package.json +2 -2
  121. package/src/client.ts +78 -44
  122. package/src/models/AgentAccessConfig.ts +92 -0
  123. package/src/models/AgentAuthorizationPrincipal.ts +38 -0
  124. package/src/models/AgentInfo.ts +129 -0
  125. package/src/models/AgentModelAccessConfig.ts +41 -0
  126. package/src/models/AgentServiceConfig.ts +8 -10
  127. package/src/models/BatchAddConsumerGroupConsumersRequest.ts +3 -0
  128. package/src/models/BatchAddConsumerGroupConsumersResponseBody.ts +25 -0
  129. package/src/models/BatchRemoveConsumerGroupConsumersRequest.ts +3 -0
  130. package/src/models/BatchRemoveConsumerGroupConsumersResponseBody.ts +25 -0
  131. package/src/models/ChangeResourceGroupRequest.ts +8 -8
  132. package/src/models/ConsumerGroupInfo.ts +9 -0
  133. package/src/models/CreateAiModelCardRequest.ts +51 -0
  134. package/src/models/CreateAiModelCardResponseBody.ts +75 -0
  135. package/src/models/CreateAiModelProviderRequest.ts +20 -0
  136. package/src/models/CreateAiModelProviderResponseBody.ts +120 -0
  137. package/src/models/CreateAndAttachPolicyRequest.ts +3 -1
  138. package/src/models/CreateConsumerAuthorizationRulesRequest.ts +4 -4
  139. package/src/models/CreateConsumerGroupRequest.ts +13 -1
  140. package/src/models/CreateConsumerGroupResponseBody.ts +19 -0
  141. package/src/models/CreateDomainRequest.ts +12 -12
  142. package/src/models/CreateGatewayRequest.ts +7 -13
  143. package/src/models/CreateHttpApiRequest.ts +1 -1
  144. package/src/models/CreateServiceRequest.ts +6 -6
  145. package/src/models/DeleteAiModelCardResponseBody.ts +9 -0
  146. package/src/models/DeleteAiModelProviderResponseBody.ts +9 -0
  147. package/src/models/DeleteConsumerGroupResponseBody.ts +9 -0
  148. package/src/models/GetAiModelCardResponseBody.ts +81 -0
  149. package/src/models/GetAiModelProviderResponseBody.ts +114 -1
  150. package/src/models/GetConsumerGroupResponseBody.ts +35 -1
  151. package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +3 -0
  152. package/src/models/GetGatewayResponseBody.ts +17 -41
  153. package/src/models/ListAiModelCardsRequest.ts +11 -0
  154. package/src/models/ListAiModelCardsResponseBody.ts +97 -0
  155. package/src/models/ListAiModelProvidersRequest.ts +11 -0
  156. package/src/models/ListAiModelProvidersResponseBody.ts +127 -1
  157. package/src/models/ListConsumerGroupConsumersRequest.ts +9 -0
  158. package/src/models/ListConsumerGroupConsumersResponseBody.ts +45 -1
  159. package/src/models/ListConsumerGroupsRequest.ts +12 -0
  160. package/src/models/ListConsumerGroupsResponseBody.ts +45 -1
  161. package/src/models/ListGatewaysRequest.ts +11 -1
  162. package/src/models/ListGatewaysResponseBody.ts +18 -40
  163. package/src/models/ListGatewaysShrinkRequest.ts +11 -1
  164. package/src/models/ListPoliciesRequest.ts +8 -10
  165. package/src/models/ListServicesRequest.ts +6 -5
  166. package/src/models/Service.ts +56 -8
  167. package/src/models/UpdateAiModelCardRequest.ts +54 -0
  168. package/src/models/UpdateAiModelCardResponseBody.ts +81 -0
  169. package/src/models/UpdateAiModelProviderRequest.ts +7 -1
  170. package/src/models/UpdateAiModelProviderResponseBody.ts +114 -1
  171. package/src/models/UpdateAndAttachPolicyRequest.ts +2 -2
  172. package/src/models/UpdateConsumerGroupRequest.ts +7 -1
  173. package/src/models/UpdateConsumerGroupResponseBody.ts +9 -0
  174. package/src/models/UpdateServiceRequest.ts +3 -3
  175. package/src/models/model.ts +8 -0
package/dist/client.js CHANGED
@@ -234,7 +234,7 @@ class Client extends openapi_core_1.default {
234
234
  return await this.addGatewaySecurityGroupRuleWithOptions(gatewayId, request, headers, runtime);
235
235
  }
236
236
  /**
237
- * 批量添加消费者组成员
237
+ * Adds members to a consumer group in batches.
238
238
  *
239
239
  * @param request - BatchAddConsumerGroupConsumersRequest
240
240
  * @param headers - map
@@ -265,7 +265,7 @@ class Client extends openapi_core_1.default {
265
265
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchAddConsumerGroupConsumersResponse({}));
266
266
  }
267
267
  /**
268
- * 批量添加消费者组成员
268
+ * Adds members to a consumer group in batches.
269
269
  *
270
270
  * @param request - BatchAddConsumerGroupConsumersRequest
271
271
  * @returns BatchAddConsumerGroupConsumersResponse
@@ -318,7 +318,7 @@ class Client extends openapi_core_1.default {
318
318
  return await this.batchDeleteConsumerAuthorizationRuleWithOptions(request, headers, runtime);
319
319
  }
320
320
  /**
321
- * 批量移除消费者组成员
321
+ * Removes consumer group members in batches.
322
322
  *
323
323
  * @param request - BatchRemoveConsumerGroupConsumersRequest
324
324
  * @param headers - map
@@ -349,7 +349,7 @@ class Client extends openapi_core_1.default {
349
349
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchRemoveConsumerGroupConsumersResponse({}));
350
350
  }
351
351
  /**
352
- * 批量移除消费者组成员
352
+ * Removes consumer group members in batches.
353
353
  *
354
354
  * @param request - BatchRemoveConsumerGroupConsumersRequest
355
355
  * @returns BatchRemoveConsumerGroupConsumersResponse
@@ -411,11 +411,11 @@ class Client extends openapi_core_1.default {
411
411
  return await this.changeResourceGroupWithOptions(request, headers, runtime);
412
412
  }
413
413
  /**
414
- * 创建AI模型卡片
414
+ * Creates an AI model card.
415
415
  *
416
416
  * @remarks
417
- * 在指定AI网关实例的已有模型供应商下创建模型卡片。目标网关必须存在、属于当前账号且类型为AI网关,modelProvider必须引用该网关中已存在的模型供应商。
418
- * 同一AI网关实例、同一模型供应商下的modelName必须唯一;单个网关实例最多可创建1000张模型卡片。credit当前仅支持fixed类型,费用单位为Credits/百万Token;未传时type默认为fixed,各项费用默认为0。availablePaths中的每一项必须同时包含path和type。
417
+ * Performs model creation for a model card under an existing model provider in a specified AI gateway instance. The target gateway must exist, belong to the current account, and be of the AI gateway type. The modelProvider must reference an existing model provider in the gateway.
418
+ * The modelName must be unique within the same AI gateway instance and the same model provider. A maximum of 1000 model cards can be created per gateway instance. The credit parameter currently supports only the fixed type, and the cost unit is Credits per million tokens. If not specified, type defaults to fixed and all cost values default to 0. Each item in availablePaths must include both path and type.
419
419
  *
420
420
  * @param request - CreateAiModelCardRequest
421
421
  * @param headers - map
@@ -464,11 +464,11 @@ class Client extends openapi_core_1.default {
464
464
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAiModelCardResponse({}));
465
465
  }
466
466
  /**
467
- * 创建AI模型卡片
467
+ * Creates an AI model card.
468
468
  *
469
469
  * @remarks
470
- * 在指定AI网关实例的已有模型供应商下创建模型卡片。目标网关必须存在、属于当前账号且类型为AI网关,modelProvider必须引用该网关中已存在的模型供应商。
471
- * 同一AI网关实例、同一模型供应商下的modelName必须唯一;单个网关实例最多可创建1000张模型卡片。credit当前仅支持fixed类型,费用单位为Credits/百万Token;未传时type默认为fixed,各项费用默认为0。availablePaths中的每一项必须同时包含path和type。
470
+ * Performs model creation for a model card under an existing model provider in a specified AI gateway instance. The target gateway must exist, belong to the current account, and be of the AI gateway type. The modelProvider must reference an existing model provider in the gateway.
471
+ * The modelName must be unique within the same AI gateway instance and the same model provider. A maximum of 1000 model cards can be created per gateway instance. The credit parameter currently supports only the fixed type, and the cost unit is Credits per million tokens. If not specified, type defaults to fixed and all cost values default to 0. Each item in availablePaths must include both path and type.
472
472
  *
473
473
  * @param request - CreateAiModelCardRequest
474
474
  * @returns CreateAiModelCardResponse
@@ -479,7 +479,7 @@ class Client extends openapi_core_1.default {
479
479
  return await this.createAiModelCardWithOptions(request, headers, runtime);
480
480
  }
481
481
  /**
482
- * 创建AI模型供应商
482
+ * Creates an AI model provider.
483
483
  *
484
484
  * @param request - CreateAiModelProviderRequest
485
485
  * @param headers - map
@@ -488,6 +488,10 @@ class Client extends openapi_core_1.default {
488
488
  */
489
489
  async createAiModelProviderWithOptions(request, headers, runtime) {
490
490
  request.validate();
491
+ let query = {};
492
+ if (!$dara.isNull(request.clientToken)) {
493
+ query["clientToken"] = request.clientToken;
494
+ }
491
495
  let body = {};
492
496
  if (!$dara.isNull(request.displayName)) {
493
497
  body["displayName"] = request.displayName;
@@ -503,6 +507,7 @@ class Client extends openapi_core_1.default {
503
507
  }
504
508
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
505
509
  headers: headers,
510
+ query: openapi_core_2.OpenApiUtil.query(query),
506
511
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
507
512
  });
508
513
  let params = new openapi_core_2.$OpenApiUtil.Params({
@@ -519,7 +524,7 @@ class Client extends openapi_core_1.default {
519
524
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAiModelProviderResponse({}));
520
525
  }
521
526
  /**
522
- * 创建AI模型供应商
527
+ * Creates an AI model provider.
523
528
  *
524
529
  * @param request - CreateAiModelProviderRequest
525
530
  * @returns CreateAiModelProviderResponse
@@ -709,6 +714,14 @@ class Client extends openapi_core_1.default {
709
714
  /**
710
715
  * Creates consumer authorization rules.
711
716
  *
717
+ * @remarks
718
+ * Prerequisites: Before creating consumer authorization rules, prepare resources according to the following dependency chain (the corresponding creation API and ID passing relationships are shown in parentheses):
719
+ * Gateway instance (CreateGateway → gatewayId, gw- prefix)
720
+ * Environment (A default environment is automatically created with the gateway. You can also use CreateEnvironment → environmentId, env- prefix, which requires the gatewayId from step 1)
721
+ * HTTP API (CreateHttpApi → httpApiId, api- prefix)
722
+ * Route and publish (CreateHttpApiRoute → routeId, hr- prefix, belongs to the API in step 3. Then publish to the environment in step 2 by using DeployHttpApi. Unpublished routes cannot be authorized)
723
+ * Consumer (CreateConsumer → consumerId, cs- prefix. Or consumer group consumerGroupId, csg- prefix. Use either consumerId or consumerGroupId)
724
+ *
712
725
  * @param request - CreateConsumerAuthorizationRulesRequest
713
726
  * @param headers - map
714
727
  * @param runtime - runtime options for this request RuntimeOptions
@@ -740,6 +753,14 @@ class Client extends openapi_core_1.default {
740
753
  /**
741
754
  * Creates consumer authorization rules.
742
755
  *
756
+ * @remarks
757
+ * Prerequisites: Before creating consumer authorization rules, prepare resources according to the following dependency chain (the corresponding creation API and ID passing relationships are shown in parentheses):
758
+ * Gateway instance (CreateGateway → gatewayId, gw- prefix)
759
+ * Environment (A default environment is automatically created with the gateway. You can also use CreateEnvironment → environmentId, env- prefix, which requires the gatewayId from step 1)
760
+ * HTTP API (CreateHttpApi → httpApiId, api- prefix)
761
+ * Route and publish (CreateHttpApiRoute → routeId, hr- prefix, belongs to the API in step 3. Then publish to the environment in step 2 by using DeployHttpApi. Unpublished routes cannot be authorized)
762
+ * Consumer (CreateConsumer → consumerId, cs- prefix. Or consumer group consumerGroupId, csg- prefix. Use either consumerId or consumerGroupId)
763
+ *
743
764
  * @param request - CreateConsumerAuthorizationRulesRequest
744
765
  * @returns CreateConsumerAuthorizationRulesResponse
745
766
  */
@@ -749,7 +770,7 @@ class Client extends openapi_core_1.default {
749
770
  return await this.createConsumerAuthorizationRulesWithOptions(request, headers, runtime);
750
771
  }
751
772
  /**
752
- * 创建消费者组
773
+ * Creates a consumer group.
753
774
  *
754
775
  * @param request - CreateConsumerGroupRequest
755
776
  * @param headers - map
@@ -789,7 +810,7 @@ class Client extends openapi_core_1.default {
789
810
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateConsumerGroupResponse({}));
790
811
  }
791
812
  /**
792
- * 创建消费者组
813
+ * Creates a consumer group.
793
814
  *
794
815
  * @param request - CreateConsumerGroupRequest
795
816
  * @returns CreateConsumerGroupResponse
@@ -956,6 +977,9 @@ class Client extends openapi_core_1.default {
956
977
  if (!$dara.isNull(request.gatewayEdition)) {
957
978
  body["gatewayEdition"] = request.gatewayEdition;
958
979
  }
980
+ if (!$dara.isNull(request.gatewayMode)) {
981
+ body["gatewayMode"] = request.gatewayMode;
982
+ }
959
983
  if (!$dara.isNull(request.gatewayType)) {
960
984
  body["gatewayType"] = request.gatewayType;
961
985
  }
@@ -1749,7 +1773,7 @@ class Client extends openapi_core_1.default {
1749
1773
  return await this.createSourceWithOptions(request, headers, runtime);
1750
1774
  }
1751
1775
  /**
1752
- * 删除AI模型卡片
1776
+ * Deletes an AI model card.
1753
1777
  *
1754
1778
  * @param request - DeleteAiModelCardRequest
1755
1779
  * @param headers - map
@@ -1775,7 +1799,7 @@ class Client extends openapi_core_1.default {
1775
1799
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAiModelCardResponse({}));
1776
1800
  }
1777
1801
  /**
1778
- * 删除AI模型卡片
1802
+ * Deletes an AI model card.
1779
1803
  *
1780
1804
  * @param request - DeleteAiModelCardRequest
1781
1805
  * @returns DeleteAiModelCardResponse
@@ -1786,7 +1810,7 @@ class Client extends openapi_core_1.default {
1786
1810
  return await this.deleteAiModelCardWithOptions(modelCardId, request, headers, runtime);
1787
1811
  }
1788
1812
  /**
1789
- * 删除AI模型供应商
1813
+ * Deletes an AI model provider.
1790
1814
  *
1791
1815
  * @param request - DeleteAiModelProviderRequest
1792
1816
  * @param headers - map
@@ -1812,7 +1836,7 @@ class Client extends openapi_core_1.default {
1812
1836
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAiModelProviderResponse({}));
1813
1837
  }
1814
1838
  /**
1815
- * 删除AI模型供应商
1839
+ * Deletes an AI model provider.
1816
1840
  *
1817
1841
  * @param request - DeleteAiModelProviderRequest
1818
1842
  * @returns DeleteAiModelProviderResponse
@@ -1889,7 +1913,7 @@ class Client extends openapi_core_1.default {
1889
1913
  return await this.deleteConsumerAuthorizationRuleWithOptions(consumerAuthorizationRuleId, consumerId, headers, runtime);
1890
1914
  }
1891
1915
  /**
1892
- * 删除消费者组
1916
+ * Deletes a consumer group.
1893
1917
  *
1894
1918
  * @param request - DeleteConsumerGroupRequest
1895
1919
  * @param headers - map
@@ -1915,7 +1939,7 @@ class Client extends openapi_core_1.default {
1915
1939
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteConsumerGroupResponse({}));
1916
1940
  }
1917
1941
  /**
1918
- * 删除消费者组
1942
+ * Deletes a consumer group.
1919
1943
  *
1920
1944
  * @param request - DeleteConsumerGroupRequest
1921
1945
  * @returns DeleteConsumerGroupResponse
@@ -2692,7 +2716,7 @@ class Client extends openapi_core_1.default {
2692
2716
  return await this.exportHttpApiWithOptions(httpApiId, request, headers, runtime);
2693
2717
  }
2694
2718
  /**
2695
- * 查询AI模型卡片详情
2719
+ * Queries the details of an AI model card.
2696
2720
  *
2697
2721
  * @param request - GetAiModelCardRequest
2698
2722
  * @param headers - map
@@ -2718,7 +2742,7 @@ class Client extends openapi_core_1.default {
2718
2742
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAiModelCardResponse({}));
2719
2743
  }
2720
2744
  /**
2721
- * 查询AI模型卡片详情
2745
+ * Queries the details of an AI model card.
2722
2746
  *
2723
2747
  * @param request - GetAiModelCardRequest
2724
2748
  * @returns GetAiModelCardResponse
@@ -2729,7 +2753,7 @@ class Client extends openapi_core_1.default {
2729
2753
  return await this.getAiModelCardWithOptions(modelCardId, request, headers, runtime);
2730
2754
  }
2731
2755
  /**
2732
- * 查询AI模型供应商详情
2756
+ * Queries the details of an AI model provider.
2733
2757
  *
2734
2758
  * @param request - GetAiModelProviderRequest
2735
2759
  * @param headers - map
@@ -2755,7 +2779,7 @@ class Client extends openapi_core_1.default {
2755
2779
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAiModelProviderResponse({}));
2756
2780
  }
2757
2781
  /**
2758
- * 查询AI模型供应商详情
2782
+ * Queries the details of an AI model provider.
2759
2783
  *
2760
2784
  * @param request - GetAiModelProviderRequest
2761
2785
  * @returns GetAiModelProviderResponse
@@ -2832,7 +2856,7 @@ class Client extends openapi_core_1.default {
2832
2856
  return await this.getConsumerAuthorizationRuleWithOptions(consumerAuthorizationRuleId, consumerId, headers, runtime);
2833
2857
  }
2834
2858
  /**
2835
- * 查询消费者组
2859
+ * Queries a consumer group.
2836
2860
  *
2837
2861
  * @param request - GetConsumerGroupRequest
2838
2862
  * @param headers - map
@@ -2858,7 +2882,7 @@ class Client extends openapi_core_1.default {
2858
2882
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConsumerGroupResponse({}));
2859
2883
  }
2860
2884
  /**
2861
- * 查询消费者组
2885
+ * Queries a consumer group.
2862
2886
  *
2863
2887
  * @param request - GetConsumerGroupRequest
2864
2888
  * @returns GetConsumerGroupResponse
@@ -3032,7 +3056,7 @@ class Client extends openapi_core_1.default {
3032
3056
  return await this.getEnvironmentWithOptions(environmentId, request, headers, runtime);
3033
3057
  }
3034
3058
  /**
3035
- * Retrieves basic information about a gateway, including the associated VPC, vSwitch, and gateway ingress.
3059
+ * Retrieves basic information about a gateway, including the VPC, vSwitch, and gateway ingress.
3036
3060
  *
3037
3061
  * @param headers - map
3038
3062
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3056,7 +3080,7 @@ class Client extends openapi_core_1.default {
3056
3080
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayResponse({}));
3057
3081
  }
3058
3082
  /**
3059
- * Retrieves basic information about a gateway, including the associated VPC, vSwitch, and gateway ingress.
3083
+ * Retrieves basic information about a gateway, including the VPC, vSwitch, and gateway ingress.
3060
3084
  * @returns GetGatewayResponse
3061
3085
  */
3062
3086
  async getGateway(gatewayId) {
@@ -3132,6 +3156,9 @@ class Client extends openapi_core_1.default {
3132
3156
  async getGatewayQuotaRuleSubjectUsageWithOptions(gatewayId, ruleId, subjectId, request, headers, runtime) {
3133
3157
  request.validate();
3134
3158
  let query = {};
3159
+ if (!$dara.isNull(request.filterFailedRequests)) {
3160
+ query["filterFailedRequests"] = request.filterFailedRequests;
3161
+ }
3135
3162
  if (!$dara.isNull(request.pageNumber)) {
3136
3163
  query["pageNumber"] = request.pageNumber;
3137
3164
  }
@@ -3564,7 +3591,7 @@ class Client extends openapi_core_1.default {
3564
3591
  return await this.getSecretValueWithOptions(name, headers, runtime);
3565
3592
  }
3566
3593
  /**
3567
- * Retrieves the details of a service.
3594
+ * Gets service details.
3568
3595
  *
3569
3596
  * @param headers - map
3570
3597
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3588,7 +3615,7 @@ class Client extends openapi_core_1.default {
3588
3615
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetServiceResponse({}));
3589
3616
  }
3590
3617
  /**
3591
- * Retrieves the details of a service.
3618
+ * Gets service details.
3592
3619
  * @returns GetServiceResponse
3593
3620
  */
3594
3621
  async getService(serviceId) {
@@ -3798,7 +3825,7 @@ class Client extends openapi_core_1.default {
3798
3825
  return await this.installPluginWithOptions(request, headers, runtime);
3799
3826
  }
3800
3827
  /**
3801
- * 查询AI模型卡片列表
3828
+ * Queries the list of AI model cards.
3802
3829
  *
3803
3830
  * @param request - ListAiModelCardsRequest
3804
3831
  * @param headers - map
@@ -3838,7 +3865,7 @@ class Client extends openapi_core_1.default {
3838
3865
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAiModelCardsResponse({}));
3839
3866
  }
3840
3867
  /**
3841
- * 查询AI模型卡片列表
3868
+ * Queries the list of AI model cards.
3842
3869
  *
3843
3870
  * @param request - ListAiModelCardsRequest
3844
3871
  * @returns ListAiModelCardsResponse
@@ -3849,7 +3876,7 @@ class Client extends openapi_core_1.default {
3849
3876
  return await this.listAiModelCardsWithOptions(request, headers, runtime);
3850
3877
  }
3851
3878
  /**
3852
- * 查询AI模型供应商列表
3879
+ * Queries the list of AI model providers.
3853
3880
  *
3854
3881
  * @param request - ListAiModelProvidersRequest
3855
3882
  * @param headers - map
@@ -3889,7 +3916,7 @@ class Client extends openapi_core_1.default {
3889
3916
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAiModelProvidersResponse({}));
3890
3917
  }
3891
3918
  /**
3892
- * 查询AI模型供应商列表
3919
+ * Queries the list of AI model providers.
3893
3920
  *
3894
3921
  * @param request - ListAiModelProvidersRequest
3895
3922
  * @returns ListAiModelProvidersResponse
@@ -3948,7 +3975,7 @@ class Client extends openapi_core_1.default {
3948
3975
  return await this.listConsumerAuthorizationRulesWithOptions(consumerId, request, headers, runtime);
3949
3976
  }
3950
3977
  /**
3951
- * 查询消费者组成员列表
3978
+ * Queries the member list of a consumer group.
3952
3979
  *
3953
3980
  * @param request - ListConsumerGroupConsumersRequest
3954
3981
  * @param headers - map
@@ -3985,7 +4012,7 @@ class Client extends openapi_core_1.default {
3985
4012
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerGroupConsumersResponse({}));
3986
4013
  }
3987
4014
  /**
3988
- * 查询消费者组成员列表
4015
+ * Queries the member list of a consumer group.
3989
4016
  *
3990
4017
  * @param request - ListConsumerGroupConsumersRequest
3991
4018
  * @returns ListConsumerGroupConsumersResponse
@@ -3996,7 +4023,7 @@ class Client extends openapi_core_1.default {
3996
4023
  return await this.listConsumerGroupConsumersWithOptions(consumerGroupId, request, headers, runtime);
3997
4024
  }
3998
4025
  /**
3999
- * 查询消费者组列表
4026
+ * Queries the list of consumer groups.
4000
4027
  *
4001
4028
  * @param request - ListConsumerGroupsRequest
4002
4029
  * @param headers - map
@@ -4036,7 +4063,7 @@ class Client extends openapi_core_1.default {
4036
4063
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerGroupsResponse({}));
4037
4064
  }
4038
4065
  /**
4039
- * 查询消费者组列表
4066
+ * Queries the list of consumer groups.
4040
4067
  *
4041
4068
  * @param request - ListConsumerGroupsRequest
4042
4069
  * @returns ListConsumerGroupsResponse
@@ -4469,6 +4496,9 @@ class Client extends openapi_core_1.default {
4469
4496
  if (!$dara.isNull(request.tagShrink)) {
4470
4497
  query["tag"] = request.tagShrink;
4471
4498
  }
4499
+ if (!$dara.isNull(request.vpcId)) {
4500
+ query["vpcId"] = request.vpcId;
4501
+ }
4472
4502
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4473
4503
  headers: headers,
4474
4504
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -5973,7 +6003,7 @@ class Client extends openapi_core_1.default {
5973
6003
  return await this.untagResourcesWithOptions(request, headers, runtime);
5974
6004
  }
5975
6005
  /**
5976
- * 更新AI模型卡片
6006
+ * Updates an AI model card.
5977
6007
  *
5978
6008
  * @param request - UpdateAiModelCardRequest
5979
6009
  * @param headers - map
@@ -6019,7 +6049,7 @@ class Client extends openapi_core_1.default {
6019
6049
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAiModelCardResponse({}));
6020
6050
  }
6021
6051
  /**
6022
- * 更新AI模型卡片
6052
+ * Updates an AI model card.
6023
6053
  *
6024
6054
  * @param request - UpdateAiModelCardRequest
6025
6055
  * @returns UpdateAiModelCardResponse
@@ -6030,7 +6060,7 @@ class Client extends openapi_core_1.default {
6030
6060
  return await this.updateAiModelCardWithOptions(modelCardId, request, headers, runtime);
6031
6061
  }
6032
6062
  /**
6033
- * 更新AI模型供应商
6063
+ * Updates an AI model provider.
6034
6064
  *
6035
6065
  * @param request - UpdateAiModelProviderRequest
6036
6066
  * @param headers - map
@@ -6064,7 +6094,7 @@ class Client extends openapi_core_1.default {
6064
6094
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAiModelProviderResponse({}));
6065
6095
  }
6066
6096
  /**
6067
- * 更新AI模型供应商
6097
+ * Updates an AI model provider.
6068
6098
  *
6069
6099
  * @param request - UpdateAiModelProviderRequest
6070
6100
  * @returns UpdateAiModelProviderResponse
@@ -6237,7 +6267,7 @@ class Client extends openapi_core_1.default {
6237
6267
  return await this.updateConsumerAuthorizationRuleWithOptions(consumerId, consumerAuthorizationRuleId, request, headers, runtime);
6238
6268
  }
6239
6269
  /**
6240
- * 更新消费者组
6270
+ * Updates a consumer group.
6241
6271
  *
6242
6272
  * @param request - UpdateConsumerGroupRequest
6243
6273
  * @param headers - map
@@ -6271,7 +6301,7 @@ class Client extends openapi_core_1.default {
6271
6301
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConsumerGroupResponse({}));
6272
6302
  }
6273
6303
  /**
6274
- * 更新消费者组
6304
+ * Updates a consumer group.
6275
6305
  *
6276
6306
  * @param request - UpdateConsumerGroupRequest
6277
6307
  * @returns UpdateConsumerGroupResponse