@alicloud/apig20240327 11.7.1 → 11.8.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 (109) hide show
  1. package/dist/client.d.ts +143 -33
  2. package/dist/client.js +203 -33
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AiCacheConfig.d.ts +10 -10
  5. package/dist/models/AkSkIdentityConfig.d.ts +2 -2
  6. package/dist/models/ApiKeyIdentityConfig.d.ts +4 -4
  7. package/dist/models/CreateConsumerAuthorizationRuleRequest.d.ts +3 -3
  8. package/dist/models/CreateConsumerAuthorizationRuleResponseBody.d.ts +1 -1
  9. package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskRequest.d.ts +38 -0
  10. package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskRequest.js +66 -0
  11. package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskRequest.js.map +1 -0
  12. package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponse.d.ts +19 -0
  13. package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponse.js +69 -0
  14. package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponse.js.map +1 -0
  15. package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponseBody.d.ts +58 -0
  16. package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponseBody.js +88 -0
  17. package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponseBody.js.map +1 -0
  18. package/dist/models/CreateServiceRequest.d.ts +16 -14
  19. package/dist/models/CreateServiceRequest.js.map +1 -1
  20. package/dist/models/DataPathConfigsFieldPathsValue.d.ts +2 -2
  21. package/dist/models/GetApiPathFieldConfigResponseBody.d.ts +3 -0
  22. package/dist/models/GetApiPathFieldConfigResponseBody.js.map +1 -1
  23. package/dist/models/GetApiPathFieldTemplateRequest.d.ts +1 -1
  24. package/dist/models/GetApiPathFieldTemplateResponseBody.d.ts +4 -1
  25. package/dist/models/GetApiPathFieldTemplateResponseBody.js.map +1 -1
  26. package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +3 -3
  27. package/dist/models/GetDomainRequest.d.ts +1 -1
  28. package/dist/models/GetDomainResponseBody.d.ts +14 -13
  29. package/dist/models/GetDomainResponseBody.js.map +1 -1
  30. package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskRequest.d.ts +13 -0
  31. package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskRequest.js +54 -0
  32. package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskRequest.js.map +1 -0
  33. package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponse.d.ts +19 -0
  34. package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponse.js +69 -0
  35. package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponse.js.map +1 -0
  36. package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponseBody.d.ts +253 -0
  37. package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponseBody.js +150 -0
  38. package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponseBody.js.map +1 -0
  39. package/dist/models/ImportHttpApiRequest.d.ts +8 -8
  40. package/dist/models/ImportHttpApiResponseBody.d.ts +5 -5
  41. package/dist/models/InvokeAiagentRequest.d.ts +9 -6
  42. package/dist/models/InvokeAiagentRequest.js.map +1 -1
  43. package/dist/models/InvokeAiagentResponseBody.d.ts +6 -3
  44. package/dist/models/InvokeAiagentResponseBody.js.map +1 -1
  45. package/dist/models/JwtIdentityConfig.d.ts +6 -6
  46. package/dist/models/ListConsumerQuotaRulesRequest.d.ts +2 -2
  47. package/dist/models/ListConsumerQuotaRulesResponseBody.d.ts +4 -6
  48. package/dist/models/ListConsumerQuotaRulesResponseBody.js.map +1 -1
  49. package/dist/models/ListGatewayErrorAccessLogsRequest.d.ts +5 -5
  50. package/dist/models/ListGatewayErrorAccessLogsResponseBody.d.ts +1 -1
  51. package/dist/models/ListGatewayLoadBalancersRequest.d.ts +6 -10
  52. package/dist/models/ListGatewayLoadBalancersRequest.js.map +1 -1
  53. package/dist/models/ListGatewayLoadBalancersResponseBody.d.ts +14 -14
  54. package/dist/models/ListMcpProductToolsResponseBody.d.ts +16 -4
  55. package/dist/models/ListMcpProductToolsResponseBody.js.map +1 -1
  56. package/dist/models/ListModelCardsRequest.d.ts +1 -1
  57. package/dist/models/ListModelCardsResponseBody.d.ts +10 -4
  58. package/dist/models/ListModelCardsResponseBody.js.map +1 -1
  59. package/dist/models/RevealServiceCredentialResponseBody.d.ts +17 -17
  60. package/dist/models/TagResourcesRequest.d.ts +5 -5
  61. package/dist/models/TagResourcesResponseBody.d.ts +1 -1
  62. package/dist/models/UpdateDomainRequest.d.ts +8 -8
  63. package/dist/models/UpdateDomainResponseBody.d.ts +2 -2
  64. package/dist/models/UpdateHttpApiRequest.d.ts +6 -6
  65. package/dist/models/model.d.ts +9 -0
  66. package/dist/models/model.js +42 -23
  67. package/dist/models/model.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/client.ts +212 -33
  70. package/src/models/AiCacheConfig.ts +10 -10
  71. package/src/models/AkSkIdentityConfig.ts +2 -2
  72. package/src/models/ApiKeyIdentityConfig.ts +4 -4
  73. package/src/models/CreateConsumerAuthorizationRuleRequest.ts +3 -3
  74. package/src/models/CreateConsumerAuthorizationRuleResponseBody.ts +1 -1
  75. package/src/models/CreateGatewayQuotaRuleSubjectUsageExportTaskRequest.ts +59 -0
  76. package/src/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponse.ts +40 -0
  77. package/src/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponseBody.ts +92 -0
  78. package/src/models/CreateServiceRequest.ts +16 -14
  79. package/src/models/DataPathConfigsFieldPathsValue.ts +2 -2
  80. package/src/models/GetApiPathFieldConfigResponseBody.ts +3 -0
  81. package/src/models/GetApiPathFieldTemplateRequest.ts +1 -1
  82. package/src/models/GetApiPathFieldTemplateResponseBody.ts +4 -1
  83. package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +3 -3
  84. package/src/models/GetDomainRequest.ts +1 -1
  85. package/src/models/GetDomainResponseBody.ts +14 -13
  86. package/src/models/GetGatewayQuotaRuleSubjectUsageExportTaskRequest.ts +24 -0
  87. package/src/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponse.ts +40 -0
  88. package/src/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponseBody.ts +340 -0
  89. package/src/models/ImportHttpApiRequest.ts +8 -8
  90. package/src/models/ImportHttpApiResponseBody.ts +5 -5
  91. package/src/models/InvokeAiagentRequest.ts +9 -6
  92. package/src/models/InvokeAiagentResponseBody.ts +6 -3
  93. package/src/models/JwtIdentityConfig.ts +6 -6
  94. package/src/models/ListConsumerQuotaRulesRequest.ts +2 -2
  95. package/src/models/ListConsumerQuotaRulesResponseBody.ts +4 -6
  96. package/src/models/ListGatewayErrorAccessLogsRequest.ts +5 -5
  97. package/src/models/ListGatewayErrorAccessLogsResponseBody.ts +1 -1
  98. package/src/models/ListGatewayLoadBalancersRequest.ts +6 -10
  99. package/src/models/ListGatewayLoadBalancersResponseBody.ts +14 -14
  100. package/src/models/ListMcpProductToolsResponseBody.ts +16 -4
  101. package/src/models/ListModelCardsRequest.ts +1 -1
  102. package/src/models/ListModelCardsResponseBody.ts +10 -4
  103. package/src/models/RevealServiceCredentialResponseBody.ts +17 -17
  104. package/src/models/TagResourcesRequest.ts +5 -5
  105. package/src/models/TagResourcesResponseBody.ts +1 -1
  106. package/src/models/UpdateDomainRequest.ts +8 -8
  107. package/src/models/UpdateDomainResponseBody.ts +2 -2
  108. package/src/models/UpdateHttpApiRequest.ts +6 -6
  109. package/src/models/model.ts +9 -0
package/dist/client.d.ts CHANGED
@@ -309,6 +309,8 @@ export default class Client extends OpenApi {
309
309
  /**
310
310
  * Creates a consumer authorization rule.
311
311
  *
312
+ * @deprecated OpenAPI CreateConsumerAuthorizationRule is deprecated
313
+ *
312
314
  * @param request - CreateConsumerAuthorizationRuleRequest
313
315
  * @param headers - map
314
316
  * @param runtime - runtime options for this request RuntimeOptions
@@ -320,6 +322,8 @@ export default class Client extends OpenApi {
320
322
  /**
321
323
  * Creates a consumer authorization rule.
322
324
  *
325
+ * @deprecated OpenAPI CreateConsumerAuthorizationRule is deprecated
326
+ *
323
327
  * @param request - CreateConsumerAuthorizationRuleRequest
324
328
  * @returns CreateConsumerAuthorizationRuleResponse
325
329
  */
@@ -452,6 +456,52 @@ export default class Client extends OpenApi {
452
456
  * @returns CreateGatewayResponse
453
457
  */
454
458
  createGateway(request: $_model.CreateGatewayRequest): Promise<$_model.CreateGatewayResponse>;
459
+ /**
460
+ * 创建网关配额限流规则主体用量明细导出任务
461
+ *
462
+ * @remarks
463
+ * ## 调用流程
464
+ * 本接口为指定网关配额规则下的一个消费者或消费者组创建消费明细导出任务,导出内容来自网关访问日志。
465
+ * 1. 调用本接口获取 taskId。新任务返回 Pending,表示已提交,文件尚未生成。
466
+ * 2. 使用相同的 gatewayId、ruleId、subjectId 和返回的 taskId 调用 GetGatewayQuotaRuleSubjectUsageExportTask,轮询任务状态。
467
+ * 3. 当轮询状态为 Success 且文件未过期时,通过GetGatewayQuotaRuleSubjectUsageExportTask下载 csv.gz 文件;状态为 Failed 时,根据 errorMessage 排查后重新创建任务。
468
+ * ## 使用条件与限制
469
+ * - 创建任务时,配额规则必须存在,且目标主体已绑定到该规则。消费者规则使用消费者 ID,消费者组规则使用消费者组 ID。
470
+ * - 有效导出时间范围内的明细依赖网关访问日志投递,请先启用日志投递并确认所需时段的日志可查询。
471
+ * - 单次导出时间跨度不得超过一个规则周期。单次最多导出 100000 条明细;后台统计结果超过上限时任务失败,请缩小时间范围后重试。
472
+ * - 同一用户在当前地域对同一网关、规则和主体在最近 10 分钟内已有 Pending 或 Running 任务时,重复创建会被拒绝;最近 10 分钟内创建且仍为 Pending 或 Running 的导出任务总数达到 3 个时也会被拒绝。请等待已有任务结束。相同 clientToken、相同参数的幂等重试可复用已有任务。
473
+ * - 任务自创建起的处理超时为 10 分钟。超时后任务按 Failed 处理;这不是任务必定成功完成的时限承诺。
474
+ * - 创建时确定导出时间范围、计量维度和主体名称,后续查询不会重新计算这些条件。文件成功生成后可在 24 小时内获取下载链接;每次查询生成的签名链接有效期为 10 分钟,具体时间以查询结果为准。
475
+ *
476
+ * @param request - CreateGatewayQuotaRuleSubjectUsageExportTaskRequest
477
+ * @param headers - map
478
+ * @param runtime - runtime options for this request RuntimeOptions
479
+ * @returns CreateGatewayQuotaRuleSubjectUsageExportTaskResponse
480
+ */
481
+ createGatewayQuotaRuleSubjectUsageExportTaskWithOptions(gatewayId: string, ruleId: string, subjectId: string, request: $_model.CreateGatewayQuotaRuleSubjectUsageExportTaskRequest, headers: {
482
+ [key: string]: string;
483
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGatewayQuotaRuleSubjectUsageExportTaskResponse>;
484
+ /**
485
+ * 创建网关配额限流规则主体用量明细导出任务
486
+ *
487
+ * @remarks
488
+ * ## 调用流程
489
+ * 本接口为指定网关配额规则下的一个消费者或消费者组创建消费明细导出任务,导出内容来自网关访问日志。
490
+ * 1. 调用本接口获取 taskId。新任务返回 Pending,表示已提交,文件尚未生成。
491
+ * 2. 使用相同的 gatewayId、ruleId、subjectId 和返回的 taskId 调用 GetGatewayQuotaRuleSubjectUsageExportTask,轮询任务状态。
492
+ * 3. 当轮询状态为 Success 且文件未过期时,通过GetGatewayQuotaRuleSubjectUsageExportTask下载 csv.gz 文件;状态为 Failed 时,根据 errorMessage 排查后重新创建任务。
493
+ * ## 使用条件与限制
494
+ * - 创建任务时,配额规则必须存在,且目标主体已绑定到该规则。消费者规则使用消费者 ID,消费者组规则使用消费者组 ID。
495
+ * - 有效导出时间范围内的明细依赖网关访问日志投递,请先启用日志投递并确认所需时段的日志可查询。
496
+ * - 单次导出时间跨度不得超过一个规则周期。单次最多导出 100000 条明细;后台统计结果超过上限时任务失败,请缩小时间范围后重试。
497
+ * - 同一用户在当前地域对同一网关、规则和主体在最近 10 分钟内已有 Pending 或 Running 任务时,重复创建会被拒绝;最近 10 分钟内创建且仍为 Pending 或 Running 的导出任务总数达到 3 个时也会被拒绝。请等待已有任务结束。相同 clientToken、相同参数的幂等重试可复用已有任务。
498
+ * - 任务自创建起的处理超时为 10 分钟。超时后任务按 Failed 处理;这不是任务必定成功完成的时限承诺。
499
+ * - 创建时确定导出时间范围、计量维度和主体名称,后续查询不会重新计算这些条件。文件成功生成后可在 24 小时内获取下载链接;每次查询生成的签名链接有效期为 10 分钟,具体时间以查询结果为准。
500
+ *
501
+ * @param request - CreateGatewayQuotaRuleSubjectUsageExportTaskRequest
502
+ * @returns CreateGatewayQuotaRuleSubjectUsageExportTaskResponse
503
+ */
504
+ createGatewayQuotaRuleSubjectUsageExportTask(gatewayId: string, ruleId: string, subjectId: string, request: $_model.CreateGatewayQuotaRuleSubjectUsageExportTaskRequest): Promise<$_model.CreateGatewayQuotaRuleSubjectUsageExportTaskResponse>;
455
505
  /**
456
506
  * Creates an HTTP API.
457
507
  *
@@ -768,7 +818,7 @@ export default class Client extends OpenApi {
768
818
  * Creates a service.
769
819
  *
770
820
  * @remarks
771
- * Creates multiple services.
821
+ * This operation supports creating multiple services.
772
822
  *
773
823
  * @param request - CreateServiceRequest
774
824
  * @param headers - map
@@ -782,7 +832,7 @@ export default class Client extends OpenApi {
782
832
  * Creates a service.
783
833
  *
784
834
  * @remarks
785
- * Creates multiple services.
835
+ * This operation supports creating multiple services.
786
836
  *
787
837
  * @param request - CreateServiceRequest
788
838
  * @returns CreateServiceResponse
@@ -882,7 +932,9 @@ export default class Client extends OpenApi {
882
932
  */
883
933
  deleteConsumer(consumerId: string): Promise<$_model.DeleteConsumerResponse>;
884
934
  /**
885
- * Deletes an API consumer authorization rule.
935
+ * Deletes a consumer authorization rule.
936
+ *
937
+ * @deprecated OpenAPI DeleteConsumerAuthorizationRule is deprecated
886
938
  *
887
939
  * @param headers - map
888
940
  * @param runtime - runtime options for this request RuntimeOptions
@@ -892,7 +944,9 @@ export default class Client extends OpenApi {
892
944
  [key: string]: string;
893
945
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteConsumerAuthorizationRuleResponse>;
894
946
  /**
895
- * Deletes an API consumer authorization rule.
947
+ * Deletes a consumer authorization rule.
948
+ *
949
+ * @deprecated OpenAPI DeleteConsumerAuthorizationRule is deprecated
896
950
  * @returns DeleteConsumerAuthorizationRuleResponse
897
951
  */
898
952
  deleteConsumerAuthorizationRule(consumerAuthorizationRuleId: string, consumerId: string): Promise<$_model.DeleteConsumerAuthorizationRuleResponse>;
@@ -1423,7 +1477,7 @@ export default class Client extends OpenApi {
1423
1477
  */
1424
1478
  getAiModelProvider(modelProviderId: string, request: $_model.GetAiModelProviderRequest): Promise<$_model.GetAiModelProviderResponse>;
1425
1479
  /**
1426
- * Queries the effective field collection configurations for each request path of an HTTP API under a specified cloud-native API gateway, including the field source, JSONPath, collection status, switch permission, and template origin.
1480
+ * Queries the effective field collection configurations for each request path of an HTTP API in a specified cloud-native API gateway, including the field source, JSONPath, collection status, switch permission, and template origin.
1427
1481
  *
1428
1482
  * @param request - GetApiPathFieldConfigRequest
1429
1483
  * @param headers - map
@@ -1434,14 +1488,14 @@ export default class Client extends OpenApi {
1434
1488
  [key: string]: string;
1435
1489
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetApiPathFieldConfigResponse>;
1436
1490
  /**
1437
- * Queries the effective field collection configurations for each request path of an HTTP API under a specified cloud-native API gateway, including the field source, JSONPath, collection status, switch permission, and template origin.
1491
+ * Queries the effective field collection configurations for each request path of an HTTP API in a specified cloud-native API gateway, including the field source, JSONPath, collection status, switch permission, and template origin.
1438
1492
  *
1439
1493
  * @param request - GetApiPathFieldConfigRequest
1440
1494
  * @returns GetApiPathFieldConfigResponse
1441
1495
  */
1442
1496
  getApiPathFieldConfig(request: $_model.GetApiPathFieldConfigRequest): Promise<$_model.GetApiPathFieldConfigResponse>;
1443
1497
  /**
1444
- * Queries the field template corresponding to a URI of the request and returns the template name, applicable protocol, template description, and the set of fields defined by the template, including field keys, JSONPaths, value sources, and statistical categories.
1498
+ * Queries the field template corresponding to the API request path and returns the template name, applicable protocol, template description, and the set of fields defined by the template, including field keys, JSONPaths, value sources, and statistical categories.
1445
1499
  *
1446
1500
  * @param request - GetApiPathFieldTemplateRequest
1447
1501
  * @param headers - map
@@ -1452,7 +1506,7 @@ export default class Client extends OpenApi {
1452
1506
  [key: string]: string;
1453
1507
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetApiPathFieldTemplateResponse>;
1454
1508
  /**
1455
- * Queries the field template corresponding to a URI of the request and returns the template name, applicable protocol, template description, and the set of fields defined by the template, including field keys, JSONPaths, value sources, and statistical categories.
1509
+ * Queries the field template corresponding to the API request path and returns the template name, applicable protocol, template description, and the set of fields defined by the template, including field keys, JSONPaths, value sources, and statistical categories.
1456
1510
  *
1457
1511
  * @param request - GetApiPathFieldTemplateRequest
1458
1512
  * @returns GetApiPathFieldTemplateResponse
@@ -1510,7 +1564,9 @@ export default class Client extends OpenApi {
1510
1564
  */
1511
1565
  getConsumer(consumerId: string): Promise<$_model.GetConsumerResponse>;
1512
1566
  /**
1513
- * Retrieves a consumer authorization rule.
1567
+ * Retrieves consumer authorization rules.
1568
+ *
1569
+ * @deprecated OpenAPI GetConsumerAuthorizationRule is deprecated
1514
1570
  *
1515
1571
  * @param headers - map
1516
1572
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1520,7 +1576,9 @@ export default class Client extends OpenApi {
1520
1576
  [key: string]: string;
1521
1577
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetConsumerAuthorizationRuleResponse>;
1522
1578
  /**
1523
- * Retrieves a consumer authorization rule.
1579
+ * Retrieves consumer authorization rules.
1580
+ *
1581
+ * @deprecated OpenAPI GetConsumerAuthorizationRule is deprecated
1524
1582
  * @returns GetConsumerAuthorizationRuleResponse
1525
1583
  */
1526
1584
  getConsumerAuthorizationRule(consumerAuthorizationRuleId: string, consumerId: string): Promise<$_model.GetConsumerAuthorizationRuleResponse>;
@@ -1723,6 +1781,50 @@ export default class Client extends OpenApi {
1723
1781
  * @returns GetGatewayQuotaRuleSubjectUsageResponse
1724
1782
  */
1725
1783
  getGatewayQuotaRuleSubjectUsage(gatewayId: string, ruleId: string, subjectId: string, request: $_model.GetGatewayQuotaRuleSubjectUsageRequest): Promise<$_model.GetGatewayQuotaRuleSubjectUsageResponse>;
1784
+ /**
1785
+ * Queries the status, processing progress, failure cause, and file download information of an export task for quota rule subject consumption details.
1786
+ *
1787
+ * @remarks
1788
+ * ## Call flow
1789
+ * First, call CreateGatewayQuotaRuleSubjectUsageExportTask to create a task. Then, use the returned taskId along with the same gatewayId, ruleId, and subjectId to call this operation in the same region.
1790
+ * - Pending or Running: The task is not completed. You can query again after a period of time.
1791
+ * - Success: Check result.fileExpired and result.downloadUrl. If the file is not expired and a link is returned, you can download the file.
1792
+ * - Failed: Troubleshoot the issue based on errorMessage. To re-export, call the create operation and use a new clientToken.
1793
+ * ## Download link and file validity period
1794
+ * For each successful query where the file is not expired, a signed link with a validity period of 10 minutes is generated. Download the file promptly based on downloadUrlExpiredAt. If the link expires but the file has not reached fileExpiredAt, you can query again to obtain a new link. Querying again does not regenerate the file or extend the 24-hour validity period of the file.
1795
+ * After the file reaches fileExpiredAt, this operation no longer issues new links, returns fileExpired=true, and omits downloadUrl and downloadUrlExpiredAt. The task status remains Success. To export again, create a new task.
1796
+ * ## Query scope and task progress
1797
+ * This operation returns only the export tasks of the current user in the current region that match the gateway, rule, and subject paths. If the paths do not match or the task does not exist, a not found error is returned. Existing tasks are queried based on the information recorded at creation. The export conditions are not recalculated due to subsequent rule resets or subject name changes.
1798
+ * If a task remains in the Pending or Running state for more than 10 minutes after creation, the query treats it as a timeout failure. Determine whether the task is completed based on the status, not just totalCount or processedCount.
1799
+ *
1800
+ * @param request - GetGatewayQuotaRuleSubjectUsageExportTaskRequest
1801
+ * @param headers - map
1802
+ * @param runtime - runtime options for this request RuntimeOptions
1803
+ * @returns GetGatewayQuotaRuleSubjectUsageExportTaskResponse
1804
+ */
1805
+ getGatewayQuotaRuleSubjectUsageExportTaskWithOptions(gatewayId: string, ruleId: string, subjectId: string, taskId: string, request: $_model.GetGatewayQuotaRuleSubjectUsageExportTaskRequest, headers: {
1806
+ [key: string]: string;
1807
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetGatewayQuotaRuleSubjectUsageExportTaskResponse>;
1808
+ /**
1809
+ * Queries the status, processing progress, failure cause, and file download information of an export task for quota rule subject consumption details.
1810
+ *
1811
+ * @remarks
1812
+ * ## Call flow
1813
+ * First, call CreateGatewayQuotaRuleSubjectUsageExportTask to create a task. Then, use the returned taskId along with the same gatewayId, ruleId, and subjectId to call this operation in the same region.
1814
+ * - Pending or Running: The task is not completed. You can query again after a period of time.
1815
+ * - Success: Check result.fileExpired and result.downloadUrl. If the file is not expired and a link is returned, you can download the file.
1816
+ * - Failed: Troubleshoot the issue based on errorMessage. To re-export, call the create operation and use a new clientToken.
1817
+ * ## Download link and file validity period
1818
+ * For each successful query where the file is not expired, a signed link with a validity period of 10 minutes is generated. Download the file promptly based on downloadUrlExpiredAt. If the link expires but the file has not reached fileExpiredAt, you can query again to obtain a new link. Querying again does not regenerate the file or extend the 24-hour validity period of the file.
1819
+ * After the file reaches fileExpiredAt, this operation no longer issues new links, returns fileExpired=true, and omits downloadUrl and downloadUrlExpiredAt. The task status remains Success. To export again, create a new task.
1820
+ * ## Query scope and task progress
1821
+ * This operation returns only the export tasks of the current user in the current region that match the gateway, rule, and subject paths. If the paths do not match or the task does not exist, a not found error is returned. Existing tasks are queried based on the information recorded at creation. The export conditions are not recalculated due to subsequent rule resets or subject name changes.
1822
+ * If a task remains in the Pending or Running state for more than 10 minutes after creation, the query treats it as a timeout failure. Determine whether the task is completed based on the status, not just totalCount or processedCount.
1823
+ *
1824
+ * @param request - GetGatewayQuotaRuleSubjectUsageExportTaskRequest
1825
+ * @returns GetGatewayQuotaRuleSubjectUsageExportTaskResponse
1826
+ */
1827
+ getGatewayQuotaRuleSubjectUsageExportTask(gatewayId: string, ruleId: string, subjectId: string, taskId: string, request: $_model.GetGatewayQuotaRuleSubjectUsageExportTaskRequest): Promise<$_model.GetGatewayQuotaRuleSubjectUsageExportTaskResponse>;
1726
1828
  /**
1727
1829
  * Queries the resource quotas and usage of a gateway.
1728
1830
  *
@@ -2240,7 +2342,7 @@ export default class Client extends OpenApi {
2240
2342
  */
2241
2343
  installPlugin(request: $_model.InstallPluginRequest): Promise<$_model.InstallPluginResponse>;
2242
2344
  /**
2243
- * Calls an AI agent.
2345
+ * Invokes an AI agent.
2244
2346
  *
2245
2347
  * @param request - InvokeAIAgentRequest
2246
2348
  * @param headers - map
@@ -2251,7 +2353,7 @@ export default class Client extends OpenApi {
2251
2353
  [key: string]: string;
2252
2354
  }, runtime: $dara.RuntimeOptions): AsyncGenerator<$_model.InvokeAIAgentResponse, any, unknown>;
2253
2355
  /**
2254
- * Calls an AI agent.
2356
+ * Invokes an AI agent.
2255
2357
  *
2256
2358
  * @param request - InvokeAIAgentRequest
2257
2359
  * @param headers - map
@@ -2262,7 +2364,7 @@ export default class Client extends OpenApi {
2262
2364
  [key: string]: string;
2263
2365
  }, runtime: $dara.RuntimeOptions): Promise<$_model.InvokeAIAgentResponse>;
2264
2366
  /**
2265
- * Calls an AI agent.
2367
+ * Invokes an AI agent.
2266
2368
  *
2267
2369
  * @param request - InvokeAIAgentRequest
2268
2370
  * @returns InvokeAIAgentResponse
@@ -2361,6 +2463,8 @@ export default class Client extends OpenApi {
2361
2463
  /**
2362
2464
  * Retrieves a list of consumer authorization rules.
2363
2465
  *
2466
+ * @deprecated OpenAPI ListConsumerAuthorizationRules is deprecated
2467
+ *
2364
2468
  * @param request - ListConsumerAuthorizationRulesRequest
2365
2469
  * @param headers - map
2366
2470
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2372,6 +2476,8 @@ export default class Client extends OpenApi {
2372
2476
  /**
2373
2477
  * Retrieves a list of consumer authorization rules.
2374
2478
  *
2479
+ * @deprecated OpenAPI ListConsumerAuthorizationRules is deprecated
2480
+ *
2375
2481
  * @param request - ListConsumerAuthorizationRulesRequest
2376
2482
  * @returns ListConsumerAuthorizationRulesResponse
2377
2483
  */
@@ -2437,7 +2543,7 @@ export default class Client extends OpenApi {
2437
2543
  */
2438
2544
  listConsumerGroups(request: $_model.ListConsumerGroupsRequest): Promise<$_model.ListConsumerGroupsResponse>;
2439
2545
  /**
2440
- * Queries the list of quota rules configured for a specific consumer.
2546
+ * Queries the list of configured quota rules for a consumer.
2441
2547
  *
2442
2548
  * @param request - ListConsumerQuotaRulesRequest
2443
2549
  * @param headers - map
@@ -2448,7 +2554,7 @@ export default class Client extends OpenApi {
2448
2554
  [key: string]: string;
2449
2555
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListConsumerQuotaRulesResponse>;
2450
2556
  /**
2451
- * Queries the list of quota rules configured for a specific consumer.
2557
+ * Queries the list of configured quota rules for a consumer.
2452
2558
  *
2453
2559
  * @param request - ListConsumerQuotaRulesRequest
2454
2560
  * @returns ListConsumerQuotaRulesResponse
@@ -2624,7 +2730,7 @@ export default class Client extends OpenApi {
2624
2730
  */
2625
2731
  listGatewayFeatures(gatewayId: string): Promise<$_model.ListGatewayFeaturesResponse>;
2626
2732
  /**
2627
- * Retrieves the list of load balancers for a gateway.
2733
+ * Retrieves the list of gateway load balancers.
2628
2734
  *
2629
2735
  * @param request - ListGatewayLoadBalancersRequest
2630
2736
  * @param headers - map
@@ -2635,7 +2741,7 @@ export default class Client extends OpenApi {
2635
2741
  [key: string]: string;
2636
2742
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListGatewayLoadBalancersResponse>;
2637
2743
  /**
2638
- * Retrieves the list of load balancers for a gateway.
2744
+ * Retrieves the list of gateway load balancers.
2639
2745
  *
2640
2746
  * @param request - ListGatewayLoadBalancersRequest
2641
2747
  * @returns ListGatewayLoadBalancersResponse
@@ -2828,7 +2934,7 @@ export default class Client extends OpenApi {
2828
2934
  */
2829
2935
  listK8sClusterSources(gatewayId: string, request: $_model.ListK8sClusterSourcesRequest): Promise<$_model.ListK8sClusterSourcesResponse>;
2830
2936
  /**
2831
- * Queries the details of Model Context Protocol (MCP) tools in an API product of the MCP Server type. The response returns a list of tools. Each tool includes three text members (name, title, and description) and four map members (inputSchema, outputSchema, annotations, and meta).
2937
+ * Queries the details of Model Context Protocol (MCP) tools in an MCP Server-type API product and returns a list of tools. Each tool contains three text fields: name, title, and description, and four map fields: inputSchema, outputSchema, annotations, and meta.
2832
2938
  *
2833
2939
  * @param request - ListMcpProductToolsRequest
2834
2940
  * @param headers - map
@@ -2839,7 +2945,7 @@ export default class Client extends OpenApi {
2839
2945
  [key: string]: string;
2840
2946
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListMcpProductToolsResponse>;
2841
2947
  /**
2842
- * Queries the details of Model Context Protocol (MCP) tools in an API product of the MCP Server type. The response returns a list of tools. Each tool includes three text members (name, title, and description) and four map members (inputSchema, outputSchema, annotations, and meta).
2948
+ * Queries the details of Model Context Protocol (MCP) tools in an MCP Server-type API product and returns a list of tools. Each tool contains three text fields: name, title, and description, and four map fields: inputSchema, outputSchema, annotations, and meta.
2843
2949
  *
2844
2950
  * @param request - ListMcpProductToolsRequest
2845
2951
  * @returns ListMcpProductToolsResponse
@@ -2888,7 +2994,7 @@ export default class Client extends OpenApi {
2888
2994
  */
2889
2995
  listMigrationTasks(request: $_model.ListMigrationTasksRequest): Promise<$_model.ListMigrationTasksResponse>;
2890
2996
  /**
2891
- * Queries a list of model cards and returns the model name, provider, and source identifier for each card, along with the features, pricing, meta, availablePaths, and snapshots structures. The only request parameter is the provider identifier.
2997
+ * Queries a list of model cards and returns the model name, provider, and source identifier of each card, along with its features, pricing, meta, availablePaths, and snapshots structures. The only business request parameter is the provider identifier.
2892
2998
  *
2893
2999
  * @param request - ListModelCardsRequest
2894
3000
  * @param headers - map
@@ -2899,7 +3005,7 @@ export default class Client extends OpenApi {
2899
3005
  [key: string]: string;
2900
3006
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListModelCardsResponse>;
2901
3007
  /**
2902
- * Queries a list of model cards and returns the model name, provider, and source identifier for each card, along with the features, pricing, meta, availablePaths, and snapshots structures. The only request parameter is the provider identifier.
3008
+ * Queries a list of model cards and returns the model name, provider, and source identifier of each card, along with its features, pricing, meta, availablePaths, and snapshots structures. The only business request parameter is the provider identifier.
2903
3009
  *
2904
3010
  * @param request - ListModelCardsRequest
2905
3011
  * @returns ListModelCardsResponse
@@ -3540,10 +3646,10 @@ export default class Client extends OpenApi {
3540
3646
  */
3541
3647
  restartGateway(gatewayId: string): Promise<$_model.RestartGatewayResponse>;
3542
3648
  /**
3543
- * Queries the currently active credentials for an AI service.
3649
+ * Queries the currently active credentials for the AI service.
3544
3650
  *
3545
3651
  * @remarks
3546
- * Queries the currently active credentials for an AI service.
3652
+ * Queries the currently active credentials for the AI service.
3547
3653
  *
3548
3654
  * @param request - RevealServiceCredentialRequest
3549
3655
  * @param headers - map
@@ -3554,10 +3660,10 @@ export default class Client extends OpenApi {
3554
3660
  [key: string]: string;
3555
3661
  }, runtime: $dara.RuntimeOptions): Promise<$_model.RevealServiceCredentialResponse>;
3556
3662
  /**
3557
- * Queries the currently active credentials for an AI service.
3663
+ * Queries the currently active credentials for the AI service.
3558
3664
  *
3559
3665
  * @remarks
3560
- * Queries the currently active credentials for an AI service.
3666
+ * Queries the currently active credentials for the AI service.
3561
3667
  *
3562
3668
  * @param request - RevealServiceCredentialRequest
3563
3669
  * @returns RevealServiceCredentialResponse
@@ -3618,7 +3724,7 @@ export default class Client extends OpenApi {
3618
3724
  */
3619
3725
  syncMCPServers(request: $_model.SyncMCPServersRequest): Promise<$_model.SyncMCPServersResponse>;
3620
3726
  /**
3621
- * Tags resources.
3727
+ * Adds tags to resources.
3622
3728
  *
3623
3729
  * @param request - TagResourcesRequest
3624
3730
  * @param headers - map
@@ -3629,7 +3735,7 @@ export default class Client extends OpenApi {
3629
3735
  [key: string]: string;
3630
3736
  }, runtime: $dara.RuntimeOptions): Promise<$_model.TagResourcesResponse>;
3631
3737
  /**
3632
- * Tags resources.
3738
+ * Adds tags to resources.
3633
3739
  *
3634
3740
  * @param request - TagResourcesRequest
3635
3741
  * @returns TagResourcesResponse
@@ -3828,10 +3934,12 @@ export default class Client extends OpenApi {
3828
3934
  */
3829
3935
  updateConsumer(consumerId: string, request: $_model.UpdateConsumerRequest): Promise<$_model.UpdateConsumerResponse>;
3830
3936
  /**
3831
- * Updates consumer authorization rules.
3937
+ * Updates the consumer authorization rule.
3832
3938
  *
3833
3939
  * @remarks
3834
- * This API operation is replaced by UpdateAuthorizationRule. The new API path is /v1/authorization-rules/{consumerAuthorizationRuleId}. When you call the new API operation, you only need to provide consumerAuthorizationRuleId in the path and the resources array in the request body. The consumerId parameter is no longer required.
3940
+ * This API operation has been replaced by UpdateAuthorizationRule. The new API path is /v1/authorization-rules/{consumerAuthorizationRuleId}. When you call the new API operation, you only need to provide consumerAuthorizationRuleId in the path and the resources array in the request body. The consumerId parameter is no longer required.
3941
+ *
3942
+ * @deprecated OpenAPI UpdateConsumerAuthorizationRule is deprecated
3835
3943
  *
3836
3944
  * @param request - UpdateConsumerAuthorizationRuleRequest
3837
3945
  * @param headers - map
@@ -3842,10 +3950,12 @@ export default class Client extends OpenApi {
3842
3950
  [key: string]: string;
3843
3951
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateConsumerAuthorizationRuleResponse>;
3844
3952
  /**
3845
- * Updates consumer authorization rules.
3953
+ * Updates the consumer authorization rule.
3846
3954
  *
3847
3955
  * @remarks
3848
- * This API operation is replaced by UpdateAuthorizationRule. The new API path is /v1/authorization-rules/{consumerAuthorizationRuleId}. When you call the new API operation, you only need to provide consumerAuthorizationRuleId in the path and the resources array in the request body. The consumerId parameter is no longer required.
3956
+ * This API operation has been replaced by UpdateAuthorizationRule. The new API path is /v1/authorization-rules/{consumerAuthorizationRuleId}. When you call the new API operation, you only need to provide consumerAuthorizationRuleId in the path and the resources array in the request body. The consumerId parameter is no longer required.
3957
+ *
3958
+ * @deprecated OpenAPI UpdateConsumerAuthorizationRule is deprecated
3849
3959
  *
3850
3960
  * @param request - UpdateConsumerAuthorizationRuleRequest
3851
3961
  * @returns UpdateConsumerAuthorizationRuleResponse
@@ -3891,7 +4001,7 @@ export default class Client extends OpenApi {
3891
4001
  * Updates a domain name.
3892
4002
  *
3893
4003
  * @remarks
3894
- * Only sources of the **Container Service** type can update the listener Ingress configuration.
4004
+ * Only sources of the **container service** type are allowed to update the listener Ingress configurations.
3895
4005
  *
3896
4006
  * @param request - UpdateDomainRequest
3897
4007
  * @param headers - map
@@ -3905,7 +4015,7 @@ export default class Client extends OpenApi {
3905
4015
  * Updates a domain name.
3906
4016
  *
3907
4017
  * @remarks
3908
- * Only sources of the **Container Service** type can update the listener Ingress configuration.
4018
+ * Only sources of the **container service** type are allowed to update the listener Ingress configurations.
3909
4019
  *
3910
4020
  * @param request - UpdateDomainRequest
3911
4021
  * @returns UpdateDomainResponse