@alicloud/apig20240327 9.3.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +81 -60
- package/dist/client.js +107 -61
- package/dist/client.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleRequest.d.ts +15 -12
- package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +6 -11
- package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/Backend.d.ts +5 -5
- package/dist/models/CreateAiModelProviderRequest.d.ts +9 -0
- package/dist/models/CreateAiModelProviderRequest.js.map +1 -1
- package/dist/models/CreateAiModelProviderResponseBody.d.ts +104 -0
- package/dist/models/CreateAiModelProviderResponseBody.js.map +1 -1
- package/dist/models/CreateConsumerAuthorizationRulesRequest.d.ts +9 -3
- package/dist/models/CreateConsumerAuthorizationRulesRequest.js.map +1 -1
- package/dist/models/CreateDomainRequest.d.ts +3 -6
- package/dist/models/CreateDomainRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRequest.d.ts +19 -18
- package/dist/models/CreateHttpApiRequest.js.map +1 -1
- package/dist/models/CreateHttpApiResponseBody.d.ts +1 -1
- package/dist/models/CreateMcpServerRequest.d.ts +9 -9
- package/dist/models/CreatePluginClassRequest.d.ts +56 -0
- package/dist/models/CreatePluginClassRequest.js.map +1 -1
- package/dist/models/CreatePluginClassResponseBody.d.ts +28 -0
- package/dist/models/CreatePluginClassResponseBody.js.map +1 -1
- package/dist/models/CreatePolicyAttachmentRequest.d.ts +5 -5
- package/dist/models/CreatePolicyAttachmentResponseBody.d.ts +5 -5
- package/dist/models/CreatePolicyRequest.d.ts +33 -2
- package/dist/models/CreatePolicyRequest.js.map +1 -1
- package/dist/models/CreateSecretRequest.d.ts +3 -3
- package/dist/models/CreateServiceRequest.d.ts +9 -2
- package/dist/models/CreateServiceRequest.js.map +1 -1
- package/dist/models/CreateSourceRequest.d.ts +5 -5
- package/dist/models/DeleteGatewaySecurityGroupRuleRequest.d.ts +3 -1
- package/dist/models/DeleteGatewaySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/DeletePluginClassRequest.d.ts +13 -0
- package/dist/models/DeletePluginClassRequest.js +54 -0
- package/dist/models/DeletePluginClassRequest.js.map +1 -0
- package/dist/models/DeletePluginClassResponse.d.ts +19 -0
- package/dist/models/DeletePluginClassResponse.js +69 -0
- package/dist/models/DeletePluginClassResponse.js.map +1 -0
- package/dist/models/DeletePluginClassResponseBody.d.ts +31 -0
- package/dist/models/DeletePluginClassResponseBody.js +62 -0
- package/dist/models/DeletePluginClassResponseBody.js.map +1 -0
- package/dist/models/DeployHttpApiRequest.d.ts +3 -3
- package/dist/models/DomainInfo.d.ts +6 -4
- package/dist/models/DomainInfo.js +4 -0
- package/dist/models/DomainInfo.js.map +1 -1
- package/dist/models/GetConsumerResponseBody.d.ts +20 -4
- package/dist/models/GetConsumerResponseBody.js.map +1 -1
- package/dist/models/GetDomainResponseBody.d.ts +32 -5
- package/dist/models/GetDomainResponseBody.js +6 -0
- package/dist/models/GetDomainResponseBody.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleRequest.d.ts +2 -2
- package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +4 -4
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +2 -2
- package/dist/models/GetGatewayResponseBody.d.ts +89 -73
- package/dist/models/GetGatewayResponseBody.js.map +1 -1
- package/dist/models/GetPluginClassResponseBody.d.ts +70 -0
- package/dist/models/GetPluginClassResponseBody.js.map +1 -1
- package/dist/models/GetSourceResponseBody.d.ts +6 -0
- package/dist/models/GetSourceResponseBody.js.map +1 -1
- package/dist/models/GetTraceConfigRequest.d.ts +1 -2
- package/dist/models/GetTraceConfigRequest.js.map +1 -1
- package/dist/models/GetTraceConfigResponseBody.d.ts +2 -2
- package/dist/models/HiMarketAgentConfig.d.ts +3 -3
- package/dist/models/HiMarketDomain.d.ts +16 -4
- package/dist/models/HiMarketDomain.js.map +1 -1
- package/dist/models/HiMarketHmacConfig.d.ts +13 -4
- package/dist/models/HiMarketHmacConfig.js.map +1 -1
- package/dist/models/HiMarketHttpRoute.d.ts +75 -24
- package/dist/models/HiMarketHttpRoute.js.map +1 -1
- package/dist/models/HiMarketIcon.d.ts +8 -2
- package/dist/models/HiMarketIcon.js.map +1 -1
- package/dist/models/HiMarketIdentityMapping.d.ts +12 -3
- package/dist/models/HiMarketIdentityMapping.js.map +1 -1
- package/dist/models/HiMarketMcpConfig.d.ts +19 -7
- package/dist/models/HiMarketMcpConfig.js.map +1 -1
- package/dist/models/HiMarketModelConfig.d.ts +7 -4
- package/dist/models/HiMarketModelConfig.js.map +1 -1
- package/dist/models/HiMarketModelFeature.d.ts +28 -7
- package/dist/models/HiMarketModelFeature.js.map +1 -1
- package/dist/models/HiMarketOidcConfig.d.ts +71 -20
- package/dist/models/HiMarketOidcConfig.js.map +1 -1
- package/dist/models/HiMarketPortalDeployConfig.d.ts +45 -12
- package/dist/models/HiMarketPortalDeployConfig.js.map +1 -1
- package/dist/models/HiMarketPortalDomainConfig.d.ts +12 -3
- package/dist/models/HiMarketPortalDomainConfig.js.map +1 -1
- package/dist/models/HiMarketPortalSettingConfig.d.ts +12 -12
- package/dist/models/HiMarketProductFeature.d.ts +1 -1
- package/dist/models/HiMarketProductPublicationConifg.d.ts +4 -1
- package/dist/models/HiMarketProductPublicationConifg.js.map +1 -1
- package/dist/models/HiMarketProductPublicationDetail.d.ts +24 -6
- package/dist/models/HiMarketProductPublicationDetail.js.map +1 -1
- package/dist/models/HiMarketProductRefConfig.d.ts +33 -9
- package/dist/models/HiMarketProductRefConfig.js.map +1 -1
- package/dist/models/HttpApiDeployConfig.d.ts +6 -6
- package/dist/models/HttpApiVersionConfig.d.ts +4 -10
- package/dist/models/HttpApiVersionConfig.js.map +1 -1
- package/dist/models/ImportHttpApiRequest.d.ts +18 -10
- package/dist/models/ImportHttpApiRequest.js.map +1 -1
- package/dist/models/ImportHttpApiResponseBody.d.ts +51 -6
- package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
- package/dist/models/ListConsumerQuotaRulesResponseBody.d.ts +3 -3
- package/dist/models/ListExternalServicesRequest.d.ts +6 -6
- package/dist/models/ListGatewayQuotaRulesRequest.d.ts +2 -2
- package/dist/models/ListGatewayQuotaRulesResponseBody.d.ts +3 -3
- package/dist/models/ListGatewaysRequest.d.ts +1 -1
- package/dist/models/ListGatewaysResponseBody.d.ts +15 -15
- package/dist/models/ListGatewaysShrinkRequest.d.ts +1 -1
- package/dist/models/ListPoliciesRequest.d.ts +2 -1
- package/dist/models/ListPoliciesRequest.js.map +1 -1
- package/dist/models/ListSecretsResponseBody.d.ts +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +1 -1
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +1 -1
- package/dist/models/ListZonesRequest.d.ts +25 -0
- package/dist/models/ListZonesRequest.js +58 -0
- package/dist/models/ListZonesRequest.js.map +1 -0
- package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +6 -0
- package/dist/models/QueryConsumerAuthorizationRulesRequest.js.map +1 -1
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +11 -1
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.js.map +1 -1
- package/dist/models/ResetGatewayQuotaRuleRequest.d.ts +11 -9
- package/dist/models/ResetGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +10 -5
- package/dist/models/ResetGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/Service.d.ts +18 -6
- package/dist/models/Service.js +4 -0
- package/dist/models/Service.js.map +1 -1
- package/dist/models/ServiceInfo.d.ts +124 -0
- package/dist/models/ServiceInfo.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +1 -1
- package/dist/models/UntagResourcesShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateDomainRequest.d.ts +5 -5
- package/dist/models/UpdateDomainResponseBody.d.ts +1 -1
- package/dist/models/UpdateHttpApiRequest.d.ts +10 -10
- package/dist/models/UpdateMcpServerRequest.d.ts +1 -1
- package/dist/models/UpdateServiceRequest.d.ts +11 -4
- package/dist/models/UpdateServiceRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +14 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +110 -61
- package/src/models/AddGatewayQuotaRuleRequest.ts +15 -12
- package/src/models/AddGatewayQuotaRuleResponseBody.ts +6 -11
- package/src/models/Backend.ts +5 -5
- package/src/models/CreateAiModelProviderRequest.ts +9 -0
- package/src/models/CreateAiModelProviderResponseBody.ts +104 -0
- package/src/models/CreateConsumerAuthorizationRulesRequest.ts +9 -3
- package/src/models/CreateDomainRequest.ts +3 -6
- package/src/models/CreateHttpApiRequest.ts +19 -18
- package/src/models/CreateHttpApiResponseBody.ts +1 -1
- package/src/models/CreateMcpServerRequest.ts +9 -9
- package/src/models/CreatePluginClassRequest.ts +56 -0
- package/src/models/CreatePluginClassResponseBody.ts +28 -0
- package/src/models/CreatePolicyAttachmentRequest.ts +5 -5
- package/src/models/CreatePolicyAttachmentResponseBody.ts +5 -5
- package/src/models/CreatePolicyRequest.ts +33 -2
- package/src/models/CreateSecretRequest.ts +3 -3
- package/src/models/CreateServiceRequest.ts +9 -2
- package/src/models/CreateSourceRequest.ts +5 -5
- package/src/models/DeleteGatewaySecurityGroupRuleRequest.ts +3 -1
- package/src/models/DeletePluginClassRequest.ts +24 -0
- package/src/models/DeletePluginClassResponse.ts +40 -0
- package/src/models/DeletePluginClassResponseBody.ts +48 -0
- package/src/models/DeployHttpApiRequest.ts +3 -3
- package/src/models/DomainInfo.ts +10 -4
- package/src/models/GetConsumerResponseBody.ts +20 -4
- package/src/models/GetDomainResponseBody.ts +38 -5
- package/src/models/GetGatewayQuotaRuleRequest.ts +2 -2
- package/src/models/GetGatewayQuotaRuleResponseBody.ts +4 -4
- package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +2 -2
- package/src/models/GetGatewayResponseBody.ts +89 -73
- package/src/models/GetPluginClassResponseBody.ts +70 -0
- package/src/models/GetSourceResponseBody.ts +6 -0
- package/src/models/GetTraceConfigRequest.ts +1 -2
- package/src/models/GetTraceConfigResponseBody.ts +2 -2
- package/src/models/HiMarketAgentConfig.ts +3 -3
- package/src/models/HiMarketDomain.ts +16 -4
- package/src/models/HiMarketHmacConfig.ts +13 -4
- package/src/models/HiMarketHttpRoute.ts +75 -24
- package/src/models/HiMarketIcon.ts +8 -2
- package/src/models/HiMarketIdentityMapping.ts +12 -3
- package/src/models/HiMarketMcpConfig.ts +19 -7
- package/src/models/HiMarketModelConfig.ts +7 -4
- package/src/models/HiMarketModelFeature.ts +28 -7
- package/src/models/HiMarketOidcConfig.ts +71 -20
- package/src/models/HiMarketPortalDeployConfig.ts +45 -12
- package/src/models/HiMarketPortalDomainConfig.ts +12 -3
- package/src/models/HiMarketPortalSettingConfig.ts +12 -12
- package/src/models/HiMarketProductFeature.ts +1 -1
- package/src/models/HiMarketProductPublicationConifg.ts +4 -1
- package/src/models/HiMarketProductPublicationDetail.ts +24 -6
- package/src/models/HiMarketProductRefConfig.ts +33 -9
- package/src/models/HttpApiDeployConfig.ts +6 -6
- package/src/models/HttpApiVersionConfig.ts +4 -10
- package/src/models/ImportHttpApiRequest.ts +18 -10
- package/src/models/ImportHttpApiResponseBody.ts +51 -6
- package/src/models/ListConsumerQuotaRulesResponseBody.ts +3 -3
- package/src/models/ListExternalServicesRequest.ts +6 -6
- package/src/models/ListGatewayQuotaRulesRequest.ts +2 -2
- package/src/models/ListGatewayQuotaRulesResponseBody.ts +3 -3
- package/src/models/ListGatewaysRequest.ts +1 -1
- package/src/models/ListGatewaysResponseBody.ts +15 -15
- package/src/models/ListGatewaysShrinkRequest.ts +1 -1
- package/src/models/ListPoliciesRequest.ts +2 -1
- package/src/models/ListSecretsResponseBody.ts +1 -1
- package/src/models/ListTagResourcesRequest.ts +1 -1
- package/src/models/ListTagResourcesResponseBody.ts +1 -1
- package/src/models/ListTagResourcesShrinkRequest.ts +1 -1
- package/src/models/ListZonesRequest.ts +38 -0
- package/src/models/QueryConsumerAuthorizationRulesRequest.ts +6 -0
- package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +11 -1
- package/src/models/ResetGatewayQuotaRuleRequest.ts +11 -9
- package/src/models/ResetGatewayQuotaRuleResponseBody.ts +10 -5
- package/src/models/Service.ts +22 -6
- package/src/models/ServiceInfo.ts +124 -0
- package/src/models/TagResourcesRequest.ts +1 -1
- package/src/models/UntagResourcesRequest.ts +1 -1
- package/src/models/UntagResourcesShrinkRequest.ts +1 -1
- package/src/models/UpdateDomainRequest.ts +5 -5
- package/src/models/UpdateDomainResponseBody.ts +1 -1
- package/src/models/UpdateHttpApiRequest.ts +10 -10
- package/src/models/UpdateMcpServerRequest.ts +1 -1
- package/src/models/UpdateServiceRequest.ts +11 -4
- package/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -12,15 +12,15 @@ export default class Client extends OpenApi {
|
|
|
12
12
|
* Creates a gateway quota throttling rule.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* Creates a consumer-based quota rule for an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
|
|
16
16
|
* >
|
|
17
|
-
* > Recommended call
|
|
18
|
-
* > - 1
|
|
19
|
-
* > - - Set dryRun
|
|
20
|
-
* > - - The response contains a conflict preview with conflictHash.
|
|
21
|
-
* > - 2
|
|
22
|
-
* > - - No
|
|
23
|
-
* > - -
|
|
17
|
+
* > Recommended call sequence:
|
|
18
|
+
* > - Step 1: Perform a dry run to check for rule conflicts.
|
|
19
|
+
* > - - Set dryRun to true.
|
|
20
|
+
* > - - The response contains a conflict preview with a conflictHash value.
|
|
21
|
+
* > - Step 2: Submit the request after confirmation.
|
|
22
|
+
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
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
|
*
|
|
25
25
|
* @param request - AddGatewayQuotaRuleRequest
|
|
26
26
|
* @param headers - map
|
|
@@ -34,22 +34,22 @@ export default class Client extends OpenApi {
|
|
|
34
34
|
* Creates a gateway quota throttling rule.
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
*
|
|
37
|
+
* Creates a consumer-based quota rule for an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
|
|
38
38
|
* >
|
|
39
|
-
* > Recommended call
|
|
40
|
-
* > - 1
|
|
41
|
-
* > - - Set dryRun
|
|
42
|
-
* > - - The response contains a conflict preview with conflictHash.
|
|
43
|
-
* > - 2
|
|
44
|
-
* > - - No
|
|
45
|
-
* > - -
|
|
39
|
+
* > Recommended call sequence:
|
|
40
|
+
* > - Step 1: Perform a dry run to check for rule conflicts.
|
|
41
|
+
* > - - Set dryRun to true.
|
|
42
|
+
* > - - The response contains a conflict preview with a conflictHash value.
|
|
43
|
+
* > - Step 2: Submit the request after confirmation.
|
|
44
|
+
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
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
|
*
|
|
47
47
|
* @param request - AddGatewayQuotaRuleRequest
|
|
48
48
|
* @returns AddGatewayQuotaRuleResponse
|
|
49
49
|
*/
|
|
50
50
|
addGatewayQuotaRule(gatewayId: string, request: $_model.AddGatewayQuotaRuleRequest): Promise<$_model.AddGatewayQuotaRuleResponse>;
|
|
51
51
|
/**
|
|
52
|
-
* Authorizes a security group
|
|
52
|
+
* Authorizes a security group that allows a gateway to access services.
|
|
53
53
|
*
|
|
54
54
|
* @param request - AddGatewaySecurityGroupRuleRequest
|
|
55
55
|
* @param headers - map
|
|
@@ -60,7 +60,7 @@ export default class Client extends OpenApi {
|
|
|
60
60
|
[key: string]: string;
|
|
61
61
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.AddGatewaySecurityGroupRuleResponse>;
|
|
62
62
|
/**
|
|
63
|
-
* Authorizes a security group
|
|
63
|
+
* Authorizes a security group that allows a gateway to access services.
|
|
64
64
|
*
|
|
65
65
|
* @param request - AddGatewaySecurityGroupRuleRequest
|
|
66
66
|
* @returns AddGatewaySecurityGroupRuleResponse
|
|
@@ -85,7 +85,7 @@ export default class Client extends OpenApi {
|
|
|
85
85
|
*/
|
|
86
86
|
batchDeleteConsumerAuthorizationRule(request: $_model.BatchDeleteConsumerAuthorizationRuleRequest): Promise<$_model.BatchDeleteConsumerAuthorizationRuleResponse>;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* Moves a resource to a different resource group.
|
|
89
89
|
*
|
|
90
90
|
* @param request - ChangeResourceGroupRequest
|
|
91
91
|
* @param headers - map
|
|
@@ -96,7 +96,7 @@ export default class Client extends OpenApi {
|
|
|
96
96
|
[key: string]: string;
|
|
97
97
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ChangeResourceGroupResponse>;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Moves a resource to a different resource group.
|
|
100
100
|
*
|
|
101
101
|
* @param request - ChangeResourceGroupRequest
|
|
102
102
|
* @returns ChangeResourceGroupResponse
|
|
@@ -377,7 +377,7 @@ export default class Client extends OpenApi {
|
|
|
377
377
|
*/
|
|
378
378
|
createPolicy(request: $_model.CreatePolicyRequest): Promise<$_model.CreatePolicyResponse>;
|
|
379
379
|
/**
|
|
380
|
-
* Creates a policy attachment.
|
|
380
|
+
* Creates a policy attachment to a resource.
|
|
381
381
|
*
|
|
382
382
|
* @param request - CreatePolicyAttachmentRequest
|
|
383
383
|
* @param headers - map
|
|
@@ -388,7 +388,7 @@ export default class Client extends OpenApi {
|
|
|
388
388
|
[key: string]: string;
|
|
389
389
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePolicyAttachmentResponse>;
|
|
390
390
|
/**
|
|
391
|
-
* Creates a policy attachment.
|
|
391
|
+
* Creates a policy attachment to a resource.
|
|
392
392
|
*
|
|
393
393
|
* @param request - CreatePolicyAttachmentRequest
|
|
394
394
|
* @returns CreatePolicyAttachmentResponse
|
|
@@ -555,7 +555,7 @@ export default class Client extends OpenApi {
|
|
|
555
555
|
* Deletes a quota throttling rule from a gateway.
|
|
556
556
|
*
|
|
557
557
|
* @remarks
|
|
558
|
-
* Deletes a consumer-based quota rule from an AI gateway. This operation
|
|
558
|
+
* Deletes a consumer-based quota rule from an AI gateway. This operation takes effect only for AI gateways of version 2.1.19 or later.
|
|
559
559
|
*
|
|
560
560
|
* @param request - DeleteGatewayQuotaRuleRequest
|
|
561
561
|
* @param headers - map
|
|
@@ -569,14 +569,14 @@ export default class Client extends OpenApi {
|
|
|
569
569
|
* Deletes a quota throttling rule from a gateway.
|
|
570
570
|
*
|
|
571
571
|
* @remarks
|
|
572
|
-
* Deletes a consumer-based quota rule from an AI gateway. This operation
|
|
572
|
+
* Deletes a consumer-based quota rule from an AI gateway. This operation takes effect only for AI gateways of version 2.1.19 or later.
|
|
573
573
|
*
|
|
574
574
|
* @param request - DeleteGatewayQuotaRuleRequest
|
|
575
575
|
* @returns DeleteGatewayQuotaRuleResponse
|
|
576
576
|
*/
|
|
577
577
|
deleteGatewayQuotaRule(gatewayId: string, ruleId: string, request: $_model.DeleteGatewayQuotaRuleRequest): Promise<$_model.DeleteGatewayQuotaRuleResponse>;
|
|
578
578
|
/**
|
|
579
|
-
* Deletes a
|
|
579
|
+
* Deletes a security group rule from a gateway.
|
|
580
580
|
*
|
|
581
581
|
* @param request - DeleteGatewaySecurityGroupRuleRequest
|
|
582
582
|
* @param headers - map
|
|
@@ -587,7 +587,7 @@ export default class Client extends OpenApi {
|
|
|
587
587
|
[key: string]: string;
|
|
588
588
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteGatewaySecurityGroupRuleResponse>;
|
|
589
589
|
/**
|
|
590
|
-
* Deletes a
|
|
590
|
+
* Deletes a security group rule from a gateway.
|
|
591
591
|
*
|
|
592
592
|
* @param request - DeleteGatewaySecurityGroupRuleRequest
|
|
593
593
|
* @returns DeleteGatewaySecurityGroupRuleResponse
|
|
@@ -668,6 +668,24 @@ export default class Client extends OpenApi {
|
|
|
668
668
|
* @returns DeletePluginAttachmentResponse
|
|
669
669
|
*/
|
|
670
670
|
deletePluginAttachment(pluginAttachmentId: string): Promise<$_model.DeletePluginAttachmentResponse>;
|
|
671
|
+
/**
|
|
672
|
+
* DeletePluginClass
|
|
673
|
+
*
|
|
674
|
+
* @param request - DeletePluginClassRequest
|
|
675
|
+
* @param headers - map
|
|
676
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
677
|
+
* @returns DeletePluginClassResponse
|
|
678
|
+
*/
|
|
679
|
+
deletePluginClassWithOptions(pluginClassId: string, request: $_model.DeletePluginClassRequest, headers: {
|
|
680
|
+
[key: string]: string;
|
|
681
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeletePluginClassResponse>;
|
|
682
|
+
/**
|
|
683
|
+
* DeletePluginClass
|
|
684
|
+
*
|
|
685
|
+
* @param request - DeletePluginClassRequest
|
|
686
|
+
* @returns DeletePluginClassResponse
|
|
687
|
+
*/
|
|
688
|
+
deletePluginClass(pluginClassId: string, request: $_model.DeletePluginClassRequest): Promise<$_model.DeletePluginClassResponse>;
|
|
671
689
|
/**
|
|
672
690
|
* Deletes a policy.
|
|
673
691
|
*
|
|
@@ -922,7 +940,7 @@ export default class Client extends OpenApi {
|
|
|
922
940
|
*/
|
|
923
941
|
getEnvironment(environmentId: string, request: $_model.GetEnvironmentRequest): Promise<$_model.GetEnvironmentResponse>;
|
|
924
942
|
/**
|
|
925
|
-
*
|
|
943
|
+
* Retrieves basic information about a gateway, including the associated VPC, vSwitch, and gateway ingress.
|
|
926
944
|
*
|
|
927
945
|
* @param headers - map
|
|
928
946
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -932,7 +950,7 @@ export default class Client extends OpenApi {
|
|
|
932
950
|
[key: string]: string;
|
|
933
951
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetGatewayResponse>;
|
|
934
952
|
/**
|
|
935
|
-
*
|
|
953
|
+
* Retrieves basic information about a gateway, including the associated VPC, vSwitch, and gateway ingress.
|
|
936
954
|
* @returns GetGatewayResponse
|
|
937
955
|
*/
|
|
938
956
|
getGateway(gatewayId: string): Promise<$_model.GetGatewayResponse>;
|
|
@@ -940,7 +958,7 @@ export default class Client extends OpenApi {
|
|
|
940
958
|
* Queries the details of a gateway quota rate limiting rule.
|
|
941
959
|
*
|
|
942
960
|
* @remarks
|
|
943
|
-
*
|
|
961
|
+
* Queries the details of a consumer quota rule on an AI gateway.
|
|
944
962
|
*
|
|
945
963
|
* @param request - GetGatewayQuotaRuleRequest
|
|
946
964
|
* @param headers - map
|
|
@@ -954,14 +972,14 @@ export default class Client extends OpenApi {
|
|
|
954
972
|
* Queries the details of a gateway quota rate limiting rule.
|
|
955
973
|
*
|
|
956
974
|
* @remarks
|
|
957
|
-
*
|
|
975
|
+
* Queries the details of a consumer quota rule on an AI gateway.
|
|
958
976
|
*
|
|
959
977
|
* @param request - GetGatewayQuotaRuleRequest
|
|
960
978
|
* @returns GetGatewayQuotaRuleResponse
|
|
961
979
|
*/
|
|
962
980
|
getGatewayQuotaRule(gatewayId: string, ruleId: string, request: $_model.GetGatewayQuotaRuleRequest): Promise<$_model.GetGatewayQuotaRuleResponse>;
|
|
963
981
|
/**
|
|
964
|
-
* Queries the usage details of a subject under a gateway quota
|
|
982
|
+
* Queries the usage details of a subject under a gateway quota throttling rule, including used quota, total quota, whether the limit is exceeded, usage details, and consumption records.
|
|
965
983
|
*
|
|
966
984
|
* @remarks
|
|
967
985
|
* Retrieves the usage details of a specific consumer under a quota rule. This operation takes effect only for AI gateways with a version later than 2.1.19.
|
|
@@ -975,7 +993,7 @@ export default class Client extends OpenApi {
|
|
|
975
993
|
[key: string]: string;
|
|
976
994
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetGatewayQuotaRuleSubjectUsageResponse>;
|
|
977
995
|
/**
|
|
978
|
-
* Queries the usage details of a subject under a gateway quota
|
|
996
|
+
* Queries the usage details of a subject under a gateway quota throttling rule, including used quota, total quota, whether the limit is exceeded, usage details, and consumption records.
|
|
979
997
|
*
|
|
980
998
|
* @remarks
|
|
981
999
|
* Retrieves the usage details of a specific consumer under a quota rule. This operation takes effect only for AI gateways with a version later than 2.1.19.
|
|
@@ -1066,7 +1084,7 @@ export default class Client extends OpenApi {
|
|
|
1066
1084
|
*/
|
|
1067
1085
|
getPluginAttachment(pluginAttachmentId: string): Promise<$_model.GetPluginAttachmentResponse>;
|
|
1068
1086
|
/**
|
|
1069
|
-
* Retrieves a custom
|
|
1087
|
+
* Retrieves a custom plug-in class.
|
|
1070
1088
|
*
|
|
1071
1089
|
* @param request - GetPluginClassRequest
|
|
1072
1090
|
* @param headers - map
|
|
@@ -1077,7 +1095,7 @@ export default class Client extends OpenApi {
|
|
|
1077
1095
|
[key: string]: string;
|
|
1078
1096
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetPluginClassResponse>;
|
|
1079
1097
|
/**
|
|
1080
|
-
* Retrieves a custom
|
|
1098
|
+
* Retrieves a custom plug-in class.
|
|
1081
1099
|
*
|
|
1082
1100
|
* @param request - GetPluginClassRequest
|
|
1083
1101
|
* @returns GetPluginClassResponse
|
|
@@ -1222,7 +1240,7 @@ export default class Client extends OpenApi {
|
|
|
1222
1240
|
*/
|
|
1223
1241
|
getTraceConfig(gatewayId: string, request: $_model.GetTraceConfigRequest): Promise<$_model.GetTraceConfigResponse>;
|
|
1224
1242
|
/**
|
|
1225
|
-
* Imports an HTTP API.
|
|
1243
|
+
* Imports an HTTP API. This operation supports importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST-type APIs.
|
|
1226
1244
|
*
|
|
1227
1245
|
* @param request - ImportHttpApiRequest
|
|
1228
1246
|
* @param headers - map
|
|
@@ -1233,7 +1251,7 @@ export default class Client extends OpenApi {
|
|
|
1233
1251
|
[key: string]: string;
|
|
1234
1252
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ImportHttpApiResponse>;
|
|
1235
1253
|
/**
|
|
1236
|
-
* Imports an HTTP API.
|
|
1254
|
+
* Imports an HTTP API. This operation supports importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST-type APIs.
|
|
1237
1255
|
*
|
|
1238
1256
|
* @param request - ImportHttpApiRequest
|
|
1239
1257
|
* @returns ImportHttpApiResponse
|
|
@@ -1391,10 +1409,10 @@ export default class Client extends OpenApi {
|
|
|
1391
1409
|
*/
|
|
1392
1410
|
listGatewayFeatures(gatewayId: string): Promise<$_model.ListGatewayFeaturesResponse>;
|
|
1393
1411
|
/**
|
|
1394
|
-
* Queries the list of
|
|
1412
|
+
* Queries the list of consumer quota rules bound to a gateway.
|
|
1395
1413
|
*
|
|
1396
1414
|
* @remarks
|
|
1397
|
-
* Queries the list of
|
|
1415
|
+
* Queries the list of consumer quota rules bound to a gateway.
|
|
1398
1416
|
*
|
|
1399
1417
|
* @param request - ListGatewayQuotaRulesRequest
|
|
1400
1418
|
* @param headers - map
|
|
@@ -1405,10 +1423,10 @@ export default class Client extends OpenApi {
|
|
|
1405
1423
|
[key: string]: string;
|
|
1406
1424
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListGatewayQuotaRulesResponse>;
|
|
1407
1425
|
/**
|
|
1408
|
-
* Queries the list of
|
|
1426
|
+
* Queries the list of consumer quota rules bound to a gateway.
|
|
1409
1427
|
*
|
|
1410
1428
|
* @remarks
|
|
1411
|
-
* Queries the list of
|
|
1429
|
+
* Queries the list of consumer quota rules bound to a gateway.
|
|
1412
1430
|
*
|
|
1413
1431
|
* @param request - ListGatewayQuotaRulesRequest
|
|
1414
1432
|
* @returns ListGatewayQuotaRulesResponse
|
|
@@ -1709,22 +1727,25 @@ export default class Client extends OpenApi {
|
|
|
1709
1727
|
*/
|
|
1710
1728
|
listTagResources(request: $_model.ListTagResourcesRequest): Promise<$_model.ListTagResourcesResponse>;
|
|
1711
1729
|
/**
|
|
1712
|
-
* Retrieves the zones available for a cloud-native API gateway in a
|
|
1730
|
+
* Retrieves the zones available for a cloud-native API gateway in a specific region.
|
|
1713
1731
|
*
|
|
1732
|
+
* @param request - ListZonesRequest
|
|
1714
1733
|
* @param headers - map
|
|
1715
1734
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1716
1735
|
* @returns ListZonesResponse
|
|
1717
1736
|
*/
|
|
1718
|
-
listZonesWithOptions(headers: {
|
|
1737
|
+
listZonesWithOptions(request: $_model.ListZonesRequest, headers: {
|
|
1719
1738
|
[key: string]: string;
|
|
1720
1739
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListZonesResponse>;
|
|
1721
1740
|
/**
|
|
1722
|
-
* Retrieves the zones available for a cloud-native API gateway in a
|
|
1741
|
+
* Retrieves the zones available for a cloud-native API gateway in a specific region.
|
|
1742
|
+
*
|
|
1743
|
+
* @param request - ListZonesRequest
|
|
1723
1744
|
* @returns ListZonesResponse
|
|
1724
1745
|
*/
|
|
1725
|
-
listZones(): Promise<$_model.ListZonesResponse>;
|
|
1746
|
+
listZones(request: $_model.ListZonesRequest): Promise<$_model.ListZonesResponse>;
|
|
1726
1747
|
/**
|
|
1727
|
-
* Queries
|
|
1748
|
+
* Queries the list of consumer authorization rules.
|
|
1728
1749
|
*
|
|
1729
1750
|
* @param request - QueryConsumerAuthorizationRulesRequest
|
|
1730
1751
|
* @param headers - map
|
|
@@ -1735,7 +1756,7 @@ export default class Client extends OpenApi {
|
|
|
1735
1756
|
[key: string]: string;
|
|
1736
1757
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.QueryConsumerAuthorizationRulesResponse>;
|
|
1737
1758
|
/**
|
|
1738
|
-
* Queries
|
|
1759
|
+
* Queries the list of consumer authorization rules.
|
|
1739
1760
|
*
|
|
1740
1761
|
* @param request - QueryConsumerAuthorizationRulesRequest
|
|
1741
1762
|
* @returns QueryConsumerAuthorizationRulesResponse
|
|
@@ -1757,18 +1778,18 @@ export default class Client extends OpenApi {
|
|
|
1757
1778
|
*/
|
|
1758
1779
|
removeConsumerAuthorizationRule(consumerAuthorizationRuleId: string): Promise<$_model.RemoveConsumerAuthorizationRuleResponse>;
|
|
1759
1780
|
/**
|
|
1760
|
-
* Resets a quota
|
|
1781
|
+
* Resets a quota throttling rule on a gateway.
|
|
1761
1782
|
*
|
|
1762
1783
|
* @remarks
|
|
1763
|
-
* Resets a quota
|
|
1784
|
+
* Resets a quota throttling rule on a gateway. This operation takes effect only on AI gateways running version 2.1.19 or later. Resetting a rule clears the historical usage of consumers associated with the rule.
|
|
1764
1785
|
* >
|
|
1765
|
-
* > Recommended call
|
|
1786
|
+
* > Recommended call sequence:
|
|
1766
1787
|
* > - 1. Perform a dry run to check for rule conflicts.
|
|
1767
|
-
* > - - Set dryRun
|
|
1788
|
+
* > - - Set dryRun to true.
|
|
1768
1789
|
* > - - The response contains a conflict preview with conflictHash.
|
|
1769
1790
|
* > - 2. Submit the request after confirmation.
|
|
1770
|
-
* > - - No
|
|
1771
|
-
* > - -
|
|
1791
|
+
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
1792
|
+
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
1772
1793
|
*
|
|
1773
1794
|
* @param request - ResetGatewayQuotaRuleRequest
|
|
1774
1795
|
* @param headers - map
|
|
@@ -1779,18 +1800,18 @@ export default class Client extends OpenApi {
|
|
|
1779
1800
|
[key: string]: string;
|
|
1780
1801
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ResetGatewayQuotaRuleResponse>;
|
|
1781
1802
|
/**
|
|
1782
|
-
* Resets a quota
|
|
1803
|
+
* Resets a quota throttling rule on a gateway.
|
|
1783
1804
|
*
|
|
1784
1805
|
* @remarks
|
|
1785
|
-
* Resets a quota
|
|
1806
|
+
* Resets a quota throttling rule on a gateway. This operation takes effect only on AI gateways running version 2.1.19 or later. Resetting a rule clears the historical usage of consumers associated with the rule.
|
|
1786
1807
|
* >
|
|
1787
|
-
* > Recommended call
|
|
1808
|
+
* > Recommended call sequence:
|
|
1788
1809
|
* > - 1. Perform a dry run to check for rule conflicts.
|
|
1789
|
-
* > - - Set dryRun
|
|
1810
|
+
* > - - Set dryRun to true.
|
|
1790
1811
|
* > - - The response contains a conflict preview with conflictHash.
|
|
1791
1812
|
* > - 2. Submit the request after confirmation.
|
|
1792
|
-
* > - - No
|
|
1793
|
-
* > - -
|
|
1813
|
+
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
1814
|
+
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
1794
1815
|
*
|
|
1795
1816
|
* @param request - ResetGatewayQuotaRuleRequest
|
|
1796
1817
|
* @returns ResetGatewayQuotaRuleResponse
|
|
@@ -2173,7 +2194,7 @@ export default class Client extends OpenApi {
|
|
|
2173
2194
|
* Updates an MCP server.
|
|
2174
2195
|
*
|
|
2175
2196
|
* @remarks
|
|
2176
|
-
* Only sources of the **Container Service** type
|
|
2197
|
+
* Only sources of the **Container Service** type can update the Ingress listener configuration.
|
|
2177
2198
|
*
|
|
2178
2199
|
* @param request - UpdateMcpServerRequest
|
|
2179
2200
|
* @param headers - map
|
|
@@ -2187,7 +2208,7 @@ export default class Client extends OpenApi {
|
|
|
2187
2208
|
* Updates an MCP server.
|
|
2188
2209
|
*
|
|
2189
2210
|
* @remarks
|
|
2190
|
-
* Only sources of the **Container Service** type
|
|
2211
|
+
* Only sources of the **Container Service** type can update the Ingress listener configuration.
|
|
2191
2212
|
*
|
|
2192
2213
|
* @param request - UpdateMcpServerRequest
|
|
2193
2214
|
* @returns UpdateMcpServerResponse
|