@alicloud/apig20240327 11.3.2 → 11.3.3

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 (66) hide show
  1. package/dist/client.d.ts +24 -24
  2. package/dist/client.js +32 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddGatewayQuotaRuleRequest.d.ts +16 -16
  5. package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +6 -11
  6. package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
  7. package/dist/models/CreateConsumerRequest.d.ts +16 -4
  8. package/dist/models/CreateConsumerRequest.js +4 -0
  9. package/dist/models/CreateConsumerRequest.js.map +1 -1
  10. package/dist/models/CreateHttpApiRequest.d.ts +28 -14
  11. package/dist/models/CreateHttpApiRequest.js.map +1 -1
  12. package/dist/models/CreateHttpApiRouteRequest.d.ts +8 -8
  13. package/dist/models/CreatePluginAttachmentRequest.d.ts +2 -2
  14. package/dist/models/CreatePolicyAttachmentRequest.d.ts +2 -2
  15. package/dist/models/CreatePolicyAttachmentResponseBody.d.ts +1 -1
  16. package/dist/models/CreatePolicyRequest.d.ts +21 -21
  17. package/dist/models/DeleteGatewayQuotaRuleResponseBody.d.ts +1 -1
  18. package/dist/models/DeployHttpApiRequest.d.ts +11 -11
  19. package/dist/models/GetDashboardRequest.d.ts +6 -6
  20. package/dist/models/GetDashboardResponseBody.d.ts +1 -1
  21. package/dist/models/GetDashboardShrinkRequest.d.ts +6 -6
  22. package/dist/models/GetHttpApiOperationResponseBody.d.ts +1 -1
  23. package/dist/models/GetHttpApiRequest.d.ts +1 -1
  24. package/dist/models/HttpApiDeployConfig.d.ts +25 -9
  25. package/dist/models/HttpApiDeployConfig.js +7 -0
  26. package/dist/models/HttpApiDeployConfig.js.map +1 -1
  27. package/dist/models/ImportHttpApiRequest.d.ts +14 -9
  28. package/dist/models/ImportHttpApiRequest.js.map +1 -1
  29. package/dist/models/ImportHttpApiResponseBody.d.ts +12 -8
  30. package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
  31. package/dist/models/ListConsumerAuthorizationRulesRequest.d.ts +1 -1
  32. package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +2 -4
  33. package/dist/models/ListConsumerAuthorizationRulesResponseBody.js.map +1 -1
  34. package/dist/models/ListHttpApiOperationsRequest.d.ts +10 -10
  35. package/dist/models/ListHttpApiOperationsResponseBody.d.ts +3 -3
  36. package/dist/models/ListPluginAttachmentsRequest.d.ts +4 -4
  37. package/dist/models/ListPluginAttachmentsResponseBody.d.ts +7 -7
  38. package/dist/models/UpdatePluginAttachmentRequest.d.ts +2 -2
  39. package/package.json +1 -1
  40. package/src/client.ts +34 -24
  41. package/src/models/AddGatewayQuotaRuleRequest.ts +16 -16
  42. package/src/models/AddGatewayQuotaRuleResponseBody.ts +6 -11
  43. package/src/models/CreateConsumerRequest.ts +20 -4
  44. package/src/models/CreateHttpApiRequest.ts +28 -14
  45. package/src/models/CreateHttpApiRouteRequest.ts +8 -8
  46. package/src/models/CreatePluginAttachmentRequest.ts +2 -2
  47. package/src/models/CreatePolicyAttachmentRequest.ts +2 -2
  48. package/src/models/CreatePolicyAttachmentResponseBody.ts +1 -1
  49. package/src/models/CreatePolicyRequest.ts +21 -21
  50. package/src/models/DeleteGatewayQuotaRuleResponseBody.ts +1 -1
  51. package/src/models/DeployHttpApiRequest.ts +11 -11
  52. package/src/models/GetDashboardRequest.ts +6 -6
  53. package/src/models/GetDashboardResponseBody.ts +1 -1
  54. package/src/models/GetDashboardShrinkRequest.ts +6 -6
  55. package/src/models/GetHttpApiOperationResponseBody.ts +1 -1
  56. package/src/models/GetHttpApiRequest.ts +1 -1
  57. package/src/models/HttpApiDeployConfig.ts +32 -9
  58. package/src/models/ImportHttpApiRequest.ts +14 -9
  59. package/src/models/ImportHttpApiResponseBody.ts +12 -8
  60. package/src/models/ListConsumerAuthorizationRulesRequest.ts +1 -1
  61. package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +2 -4
  62. package/src/models/ListHttpApiOperationsRequest.ts +10 -10
  63. package/src/models/ListHttpApiOperationsResponseBody.ts +3 -3
  64. package/src/models/ListPluginAttachmentsRequest.ts +4 -4
  65. package/src/models/ListPluginAttachmentsResponseBody.ts +7 -7
  66. package/src/models/UpdatePluginAttachmentRequest.ts +2 -2
package/dist/client.d.ts CHANGED
@@ -17,8 +17,8 @@ export default class Client extends OpenApi {
17
17
  * > Recommended call sequence:
18
18
  * > - Step 1: Perform a dry run to check for rule conflicts.
19
19
  * > - - Set dryRun to true.
20
- * > - - The response returns a conflict preview that contains the conflictHash value.
21
- * > - Step 2: Submit the request after confirmation.
20
+ * > - - The response returns a conflict preview that contains conflictHash.
21
+ * > - Step 2: Submit the rule after confirmation.
22
22
  * > - - No conflicts: Set dryRun to false and overwrite to false.
23
23
  * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
24
24
  *
@@ -39,8 +39,8 @@ export default class Client extends OpenApi {
39
39
  * > Recommended call sequence:
40
40
  * > - Step 1: Perform a dry run to check for rule conflicts.
41
41
  * > - - Set dryRun to true.
42
- * > - - The response returns a conflict preview that contains the conflictHash value.
43
- * > - Step 2: Submit the request after confirmation.
42
+ * > - - The response returns a conflict preview that contains conflictHash.
43
+ * > - Step 2: Submit the rule after confirmation.
44
44
  * > - - No conflicts: Set dryRun to false and overwrite to false.
45
45
  * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
46
46
  *
@@ -419,7 +419,7 @@ export default class Client extends OpenApi {
419
419
  */
420
420
  createHttpApi(request: $_model.CreateHttpApiRequest): Promise<$_model.CreateHttpApiResponse>;
421
421
  /**
422
- * Creates operations for an HTTP API.
422
+ * Creates an operation for an HTTP API.
423
423
  *
424
424
  * @param request - CreateHttpApiOperationRequest
425
425
  * @param headers - map
@@ -430,7 +430,7 @@ export default class Client extends OpenApi {
430
430
  [key: string]: string;
431
431
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateHttpApiOperationResponse>;
432
432
  /**
433
- * Creates operations for an HTTP API.
433
+ * Creates an operation for an HTTP API.
434
434
  *
435
435
  * @param request - CreateHttpApiOperationRequest
436
436
  * @returns CreateHttpApiOperationResponse
@@ -587,7 +587,7 @@ export default class Client extends OpenApi {
587
587
  */
588
588
  createPolicy(request: $_model.CreatePolicyRequest): Promise<$_model.CreatePolicyResponse>;
589
589
  /**
590
- * Creates a policy attachment to a resource.
590
+ * Creates a policy resource mount.
591
591
  *
592
592
  * @param request - CreatePolicyAttachmentRequest
593
593
  * @param headers - map
@@ -598,7 +598,7 @@ export default class Client extends OpenApi {
598
598
  [key: string]: string;
599
599
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePolicyAttachmentResponse>;
600
600
  /**
601
- * Creates a policy attachment to a resource.
601
+ * Creates a policy resource mount.
602
602
  *
603
603
  * @param request - CreatePolicyAttachmentRequest
604
604
  * @returns CreatePolicyAttachmentResponse
@@ -834,10 +834,10 @@ export default class Client extends OpenApi {
834
834
  */
835
835
  deleteGateway(gatewayId: string): Promise<$_model.DeleteGatewayResponse>;
836
836
  /**
837
- * Deletes a quota throttling rule from a gateway.
837
+ * Deletes a quota throttling rule for a gateway.
838
838
  *
839
839
  * @remarks
840
- * This operation deletes a consumer-based or consumer group-based quota rule from an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
840
+ * Deletes a quota rule based on an API consumer or consumer group for an AI gateway. This operation only takes effect on AI gateways with a version later than 2.1.19.
841
841
  *
842
842
  * @param request - DeleteGatewayQuotaRuleRequest
843
843
  * @param headers - map
@@ -848,10 +848,10 @@ export default class Client extends OpenApi {
848
848
  [key: string]: string;
849
849
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteGatewayQuotaRuleResponse>;
850
850
  /**
851
- * Deletes a quota throttling rule from a gateway.
851
+ * Deletes a quota throttling rule for a gateway.
852
852
  *
853
853
  * @remarks
854
- * This operation deletes a consumer-based or consumer group-based quota rule from an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
854
+ * Deletes a quota rule based on an API consumer or consumer group for an AI gateway. This operation only takes effect on AI gateways with a version later than 2.1.19.
855
855
  *
856
856
  * @param request - DeleteGatewayQuotaRuleRequest
857
857
  * @returns DeleteGatewayQuotaRuleResponse
@@ -1438,7 +1438,7 @@ export default class Client extends OpenApi {
1438
1438
  */
1439
1439
  getGatewayQuotaRuleSubjectUsage(gatewayId: string, ruleId: string, subjectId: string, request: $_model.GetGatewayQuotaRuleSubjectUsageRequest): Promise<$_model.GetGatewayQuotaRuleSubjectUsageResponse>;
1440
1440
  /**
1441
- * Retrieves HTTP API information.
1441
+ * Retrieves the information of an HTTP API.
1442
1442
  *
1443
1443
  * @param request - GetHttpApiRequest
1444
1444
  * @param headers - map
@@ -1449,14 +1449,14 @@ export default class Client extends OpenApi {
1449
1449
  [key: string]: string;
1450
1450
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetHttpApiResponse>;
1451
1451
  /**
1452
- * Retrieves HTTP API information.
1452
+ * Retrieves the information of an HTTP API.
1453
1453
  *
1454
1454
  * @param request - GetHttpApiRequest
1455
1455
  * @returns GetHttpApiResponse
1456
1456
  */
1457
1457
  getHttpApi(httpApiId: string, request: $_model.GetHttpApiRequest): Promise<$_model.GetHttpApiResponse>;
1458
1458
  /**
1459
- * Retrieves operation information.
1459
+ * Retrieves the API operation information.
1460
1460
  *
1461
1461
  * @param headers - map
1462
1462
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1466,7 +1466,7 @@ export default class Client extends OpenApi {
1466
1466
  [key: string]: string;
1467
1467
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetHttpApiOperationResponse>;
1468
1468
  /**
1469
- * Retrieves operation information.
1469
+ * Retrieves the API operation information.
1470
1470
  * @returns GetHttpApiOperationResponse
1471
1471
  */
1472
1472
  getHttpApiOperation(httpApiId: string, operationId: string): Promise<$_model.GetHttpApiOperationResponse>;
@@ -1750,7 +1750,7 @@ export default class Client extends OpenApi {
1750
1750
  */
1751
1751
  getTraceConfig(gatewayId: string, request: $_model.GetTraceConfigRequest): Promise<$_model.GetTraceConfigResponse>;
1752
1752
  /**
1753
- * Imports an HTTP API. You can import an OpenAPI 2.0 or OpenAPI 3.0.x definition file as a REST API.
1753
+ * Imports an HTTP API. Supports importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST-type APIs.
1754
1754
  *
1755
1755
  * @param request - ImportHttpApiRequest
1756
1756
  * @param headers - map
@@ -1761,7 +1761,7 @@ export default class Client extends OpenApi {
1761
1761
  [key: string]: string;
1762
1762
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ImportHttpApiResponse>;
1763
1763
  /**
1764
- * Imports an HTTP API. You can import an OpenAPI 2.0 or OpenAPI 3.0.x definition file as a REST API.
1764
+ * Imports an HTTP API. Supports importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST-type APIs.
1765
1765
  *
1766
1766
  * @param request - ImportHttpApiRequest
1767
1767
  * @returns ImportHttpApiResponse
@@ -1869,7 +1869,7 @@ export default class Client extends OpenApi {
1869
1869
  */
1870
1870
  listBatchExportTasks(request: $_model.ListBatchExportTasksRequest): Promise<$_model.ListBatchExportTasksResponse>;
1871
1871
  /**
1872
- * Retrieves the list of consumer authorization rules.
1872
+ * Retrieves a list of consumer authorization rules.
1873
1873
  *
1874
1874
  * @param request - ListConsumerAuthorizationRulesRequest
1875
1875
  * @param headers - map
@@ -1880,7 +1880,7 @@ export default class Client extends OpenApi {
1880
1880
  [key: string]: string;
1881
1881
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListConsumerAuthorizationRulesResponse>;
1882
1882
  /**
1883
- * Retrieves the list of consumer authorization rules.
1883
+ * Retrieves a list of consumer authorization rules.
1884
1884
  *
1885
1885
  * @param request - ListConsumerAuthorizationRulesRequest
1886
1886
  * @returns ListConsumerAuthorizationRulesResponse
@@ -2344,7 +2344,7 @@ export default class Client extends OpenApi {
2344
2344
  */
2345
2345
  listMseNacosSources(gatewayId: string, request: $_model.ListMseNacosSourcesRequest): Promise<$_model.ListMseNacosSourcesResponse>;
2346
2346
  /**
2347
- * Retrieves the list of plugin mounts.
2347
+ * Retrieves the plug-in mount list.
2348
2348
  *
2349
2349
  * @param request - ListPluginAttachmentsRequest
2350
2350
  * @param headers - map
@@ -2355,7 +2355,7 @@ export default class Client extends OpenApi {
2355
2355
  [key: string]: string;
2356
2356
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListPluginAttachmentsResponse>;
2357
2357
  /**
2358
- * Retrieves the list of plugin mounts.
2358
+ * Retrieves the plug-in mount list.
2359
2359
  *
2360
2360
  * @param request - ListPluginAttachmentsRequest
2361
2361
  * @returns ListPluginAttachmentsResponse
@@ -2969,7 +2969,7 @@ export default class Client extends OpenApi {
2969
2969
  * Updates a consumer authorization rule.
2970
2970
  *
2971
2971
  * @remarks
2972
- * 该 API 已被 UpdateAuthorizationRule 替代,新路径为 /v1/authorization-rules/{consumerAuthorizationRuleId}
2972
+ * This API has been replaced by UpdateAuthorizationRule. The new operation path is /v1/authorization-rules/{consumerAuthorizationRuleId}. When calling the new 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.
2973
2973
  *
2974
2974
  * @param request - UpdateConsumerAuthorizationRuleRequest
2975
2975
  * @param headers - map
@@ -2983,7 +2983,7 @@ export default class Client extends OpenApi {
2983
2983
  * Updates a consumer authorization rule.
2984
2984
  *
2985
2985
  * @remarks
2986
- * 该 API 已被 UpdateAuthorizationRule 替代,新路径为 /v1/authorization-rules/{consumerAuthorizationRuleId}
2986
+ * This API has been replaced by UpdateAuthorizationRule. The new operation path is /v1/authorization-rules/{consumerAuthorizationRuleId}. When calling the new 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.
2987
2987
  *
2988
2988
  * @param request - UpdateConsumerAuthorizationRuleRequest
2989
2989
  * @returns UpdateConsumerAuthorizationRuleResponse
package/dist/client.js CHANGED
@@ -90,8 +90,8 @@ class Client extends openapi_core_1.default {
90
90
  * > Recommended call sequence:
91
91
  * > - Step 1: Perform a dry run to check for rule conflicts.
92
92
  * > - - Set dryRun to true.
93
- * > - - The response returns a conflict preview that contains the conflictHash value.
94
- * > - Step 2: Submit the request after confirmation.
93
+ * > - - The response returns a conflict preview that contains conflictHash.
94
+ * > - Step 2: Submit the rule after confirmation.
95
95
  * > - - No conflicts: Set dryRun to false and overwrite to false.
96
96
  * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
97
97
  *
@@ -168,8 +168,8 @@ class Client extends openapi_core_1.default {
168
168
  * > Recommended call sequence:
169
169
  * > - Step 1: Perform a dry run to check for rule conflicts.
170
170
  * > - - Set dryRun to true.
171
- * > - - The response returns a conflict preview that contains the conflictHash value.
172
- * > - Step 2: Submit the request after confirmation.
171
+ * > - - The response returns a conflict preview that contains conflictHash.
172
+ * > - Step 2: Submit the rule after confirmation.
173
173
  * > - - No conflicts: Set dryRun to false and overwrite to false.
174
174
  * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
175
175
  *
@@ -774,6 +774,13 @@ class Client extends openapi_core_1.default {
774
774
  */
775
775
  async createConsumerWithOptions(request, headers, runtime) {
776
776
  request.validate();
777
+ let query = {};
778
+ if (!$dara.isNull(request.clientToken)) {
779
+ query["clientToken"] = request.clientToken;
780
+ }
781
+ if (!$dara.isNull(request.dryRun)) {
782
+ query["dryRun"] = request.dryRun;
783
+ }
777
784
  let body = {};
778
785
  if (!$dara.isNull(request.akSkIdentityConfigs)) {
779
786
  body["akSkIdentityConfigs"] = request.akSkIdentityConfigs;
@@ -798,6 +805,7 @@ class Client extends openapi_core_1.default {
798
805
  }
799
806
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
800
807
  headers: headers,
808
+ query: openapi_core_2.OpenApiUtil.query(query),
801
809
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
802
810
  });
803
811
  let params = new openapi_core_2.$OpenApiUtil.Params({
@@ -1307,7 +1315,7 @@ class Client extends openapi_core_1.default {
1307
1315
  return await this.createHttpApiWithOptions(request, headers, runtime);
1308
1316
  }
1309
1317
  /**
1310
- * Creates operations for an HTTP API.
1318
+ * Creates an operation for an HTTP API.
1311
1319
  *
1312
1320
  * @param request - CreateHttpApiOperationRequest
1313
1321
  * @param headers - map
@@ -1338,7 +1346,7 @@ class Client extends openapi_core_1.default {
1338
1346
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateHttpApiOperationResponse({}));
1339
1347
  }
1340
1348
  /**
1341
- * Creates operations for an HTTP API.
1349
+ * Creates an operation for an HTTP API.
1342
1350
  *
1343
1351
  * @param request - CreateHttpApiOperationRequest
1344
1352
  * @returns CreateHttpApiOperationResponse
@@ -1838,7 +1846,7 @@ class Client extends openapi_core_1.default {
1838
1846
  return await this.createPolicyWithOptions(request, headers, runtime);
1839
1847
  }
1840
1848
  /**
1841
- * Creates a policy attachment to a resource.
1849
+ * Creates a policy resource mount.
1842
1850
  *
1843
1851
  * @param request - CreatePolicyAttachmentRequest
1844
1852
  * @param headers - map
@@ -1881,7 +1889,7 @@ class Client extends openapi_core_1.default {
1881
1889
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePolicyAttachmentResponse({}));
1882
1890
  }
1883
1891
  /**
1884
- * Creates a policy attachment to a resource.
1892
+ * Creates a policy resource mount.
1885
1893
  *
1886
1894
  * @param request - CreatePolicyAttachmentRequest
1887
1895
  * @returns CreatePolicyAttachmentResponse
@@ -2428,10 +2436,10 @@ class Client extends openapi_core_1.default {
2428
2436
  return await this.deleteGatewayWithOptions(gatewayId, headers, runtime);
2429
2437
  }
2430
2438
  /**
2431
- * Deletes a quota throttling rule from a gateway.
2439
+ * Deletes a quota throttling rule for a gateway.
2432
2440
  *
2433
2441
  * @remarks
2434
- * This operation deletes a consumer-based or consumer group-based quota rule from an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
2442
+ * Deletes a quota rule based on an API consumer or consumer group for an AI gateway. This operation only takes effect on AI gateways with a version later than 2.1.19.
2435
2443
  *
2436
2444
  * @param request - DeleteGatewayQuotaRuleRequest
2437
2445
  * @param headers - map
@@ -2457,10 +2465,10 @@ class Client extends openapi_core_1.default {
2457
2465
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGatewayQuotaRuleResponse({}));
2458
2466
  }
2459
2467
  /**
2460
- * Deletes a quota throttling rule from a gateway.
2468
+ * Deletes a quota throttling rule for a gateway.
2461
2469
  *
2462
2470
  * @remarks
2463
- * This operation deletes a consumer-based or consumer group-based quota rule from an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
2471
+ * Deletes a quota rule based on an API consumer or consumer group for an AI gateway. This operation only takes effect on AI gateways with a version later than 2.1.19.
2464
2472
  *
2465
2473
  * @param request - DeleteGatewayQuotaRuleRequest
2466
2474
  * @returns DeleteGatewayQuotaRuleResponse
@@ -3788,7 +3796,7 @@ class Client extends openapi_core_1.default {
3788
3796
  return await this.getGatewayQuotaRuleSubjectUsageWithOptions(gatewayId, ruleId, subjectId, request, headers, runtime);
3789
3797
  }
3790
3798
  /**
3791
- * Retrieves HTTP API information.
3799
+ * Retrieves the information of an HTTP API.
3792
3800
  *
3793
3801
  * @param request - GetHttpApiRequest
3794
3802
  * @param headers - map
@@ -3819,7 +3827,7 @@ class Client extends openapi_core_1.default {
3819
3827
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHttpApiResponse({}));
3820
3828
  }
3821
3829
  /**
3822
- * Retrieves HTTP API information.
3830
+ * Retrieves the information of an HTTP API.
3823
3831
  *
3824
3832
  * @param request - GetHttpApiRequest
3825
3833
  * @returns GetHttpApiResponse
@@ -3830,7 +3838,7 @@ class Client extends openapi_core_1.default {
3830
3838
  return await this.getHttpApiWithOptions(httpApiId, request, headers, runtime);
3831
3839
  }
3832
3840
  /**
3833
- * Retrieves operation information.
3841
+ * Retrieves the API operation information.
3834
3842
  *
3835
3843
  * @param headers - map
3836
3844
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3854,7 +3862,7 @@ class Client extends openapi_core_1.default {
3854
3862
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHttpApiOperationResponse({}));
3855
3863
  }
3856
3864
  /**
3857
- * Retrieves operation information.
3865
+ * Retrieves the API operation information.
3858
3866
  * @returns GetHttpApiOperationResponse
3859
3867
  */
3860
3868
  async getHttpApiOperation(httpApiId, operationId) {
@@ -4452,7 +4460,7 @@ class Client extends openapi_core_1.default {
4452
4460
  return await this.getTraceConfigWithOptions(gatewayId, request, headers, runtime);
4453
4461
  }
4454
4462
  /**
4455
- * Imports an HTTP API. You can import an OpenAPI 2.0 or OpenAPI 3.0.x definition file as a REST API.
4463
+ * Imports an HTTP API. Supports importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST-type APIs.
4456
4464
  *
4457
4465
  * @param request - ImportHttpApiRequest
4458
4466
  * @param headers - map
@@ -4522,7 +4530,7 @@ class Client extends openapi_core_1.default {
4522
4530
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportHttpApiResponse({}));
4523
4531
  }
4524
4532
  /**
4525
- * Imports an HTTP API. You can import an OpenAPI 2.0 or OpenAPI 3.0.x definition file as a REST API.
4533
+ * Imports an HTTP API. Supports importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST-type APIs.
4526
4534
  *
4527
4535
  * @param request - ImportHttpApiRequest
4528
4536
  * @returns ImportHttpApiResponse
@@ -4867,7 +4875,7 @@ class Client extends openapi_core_1.default {
4867
4875
  return await this.listBatchExportTasksWithOptions(request, headers, runtime);
4868
4876
  }
4869
4877
  /**
4870
- * Retrieves the list of consumer authorization rules.
4878
+ * Retrieves a list of consumer authorization rules.
4871
4879
  *
4872
4880
  * @param request - ListConsumerAuthorizationRulesRequest
4873
4881
  * @param headers - map
@@ -4904,7 +4912,7 @@ class Client extends openapi_core_1.default {
4904
4912
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerAuthorizationRulesResponse({}));
4905
4913
  }
4906
4914
  /**
4907
- * Retrieves the list of consumer authorization rules.
4915
+ * Retrieves a list of consumer authorization rules.
4908
4916
  *
4909
4917
  * @param request - ListConsumerAuthorizationRulesRequest
4910
4918
  * @returns ListConsumerAuthorizationRulesResponse
@@ -6289,7 +6297,7 @@ class Client extends openapi_core_1.default {
6289
6297
  return await this.listMseNacosSourcesWithOptions(gatewayId, request, headers, runtime);
6290
6298
  }
6291
6299
  /**
6292
- * Retrieves the list of plugin mounts.
6300
+ * Retrieves the plug-in mount list.
6293
6301
  *
6294
6302
  * @param request - ListPluginAttachmentsRequest
6295
6303
  * @param headers - map
@@ -6344,7 +6352,7 @@ class Client extends openapi_core_1.default {
6344
6352
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginAttachmentsResponse({}));
6345
6353
  }
6346
6354
  /**
6347
- * Retrieves the list of plugin mounts.
6355
+ * Retrieves the plug-in mount list.
6348
6356
  *
6349
6357
  * @param request - ListPluginAttachmentsRequest
6350
6358
  * @returns ListPluginAttachmentsResponse
@@ -8021,7 +8029,7 @@ class Client extends openapi_core_1.default {
8021
8029
  * Updates a consumer authorization rule.
8022
8030
  *
8023
8031
  * @remarks
8024
- * 该 API 已被 UpdateAuthorizationRule 替代,新路径为 /v1/authorization-rules/{consumerAuthorizationRuleId}
8032
+ * This API has been replaced by UpdateAuthorizationRule. The new operation path is /v1/authorization-rules/{consumerAuthorizationRuleId}. When calling the new 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.
8025
8033
  *
8026
8034
  * @param request - UpdateConsumerAuthorizationRuleRequest
8027
8035
  * @param headers - map
@@ -8061,7 +8069,7 @@ class Client extends openapi_core_1.default {
8061
8069
  * Updates a consumer authorization rule.
8062
8070
  *
8063
8071
  * @remarks
8064
- * 该 API 已被 UpdateAuthorizationRule 替代,新路径为 /v1/authorization-rules/{consumerAuthorizationRuleId}
8072
+ * This API has been replaced by UpdateAuthorizationRule. The new operation path is /v1/authorization-rules/{consumerAuthorizationRuleId}. When calling the new 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.
8065
8073
  *
8066
8074
  * @param request - UpdateConsumerAuthorizationRuleRequest
8067
8075
  * @returns UpdateConsumerAuthorizationRuleResponse