@alicloud/apig20240327 9.1.1 → 9.3.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 +348 -236
- package/dist/client.js +573 -236
- package/dist/client.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleRequest.d.ts +36 -0
- package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +60 -0
- package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/AddGatewaySecurityGroupRuleRequest.d.ts +1 -1
- package/dist/models/AiCacheConfig.d.ts +56 -17
- package/dist/models/AiCacheConfig.js.map +1 -1
- package/dist/models/AiFallbackConfig.d.ts +21 -6
- package/dist/models/AiFallbackConfig.js.map +1 -1
- package/dist/models/AiNetworkConfigSearchEngine.d.ts +37 -10
- package/dist/models/AiNetworkConfigSearchEngine.js.map +1 -1
- package/dist/models/AiNetworkSearchConfig.d.ts +43 -13
- package/dist/models/AiNetworkSearchConfig.js.map +1 -1
- package/dist/models/AiPluginStatus.d.ts +9 -3
- package/dist/models/AiPluginStatus.js.map +1 -1
- package/dist/models/AiPolicyRedisConfig.d.ts +24 -6
- package/dist/models/AiPolicyRedisConfig.js.map +1 -1
- package/dist/models/AiSecurityGuardConfig.d.ts +122 -35
- package/dist/models/AiSecurityGuardConfig.js.map +1 -1
- package/dist/models/AiStatisticsConfig.d.ts +14 -5
- package/dist/models/AiStatisticsConfig.js.map +1 -1
- package/dist/models/AiStatisticsPathField.d.ts +43 -10
- package/dist/models/AiStatisticsPathField.js.map +1 -1
- package/dist/models/AiTokenRateLimitConfig.d.ts +8 -5
- package/dist/models/AiTokenRateLimitConfig.js.map +1 -1
- package/dist/models/AiTokenRateLimitConfigRule.d.ts +24 -6
- package/dist/models/AiTokenRateLimitConfigRule.js.map +1 -1
- package/dist/models/AiToolSelectionConfig.d.ts +89 -29
- package/dist/models/AiToolSelectionConfig.js.map +1 -1
- package/dist/models/Attachment.d.ts +17 -20
- package/dist/models/Attachment.js.map +1 -1
- package/dist/models/BatchDeleteConsumerAuthorizationRuleRequest.d.ts +1 -1
- package/dist/models/ChangeResourceGroupRequest.d.ts +4 -4
- package/dist/models/ChangeResourceGroupResponseBody.d.ts +1 -1
- package/dist/models/ConsumerGroupInfo.d.ts +28 -0
- package/dist/models/ConsumerGroupInfo.js +62 -0
- package/dist/models/ConsumerGroupInfo.js.map +1 -0
- package/dist/models/CreateAiModelProviderRequest.d.ts +29 -0
- package/dist/models/CreateAiModelProviderRequest.js +67 -0
- package/dist/models/CreateAiModelProviderRequest.js.map +1 -0
- package/dist/models/CreateAiModelProviderResponse.d.ts +19 -0
- package/dist/models/CreateAiModelProviderResponse.js +69 -0
- package/dist/models/CreateAiModelProviderResponse.js.map +1 -0
- package/dist/models/CreateAiModelProviderResponseBody.d.ts +110 -0
- package/dist/models/CreateAiModelProviderResponseBody.js +237 -0
- package/dist/models/CreateAiModelProviderResponseBody.js.map +1 -0
- package/dist/models/CreateAndAttachPolicyRequest.d.ts +12 -41
- package/dist/models/CreateAndAttachPolicyRequest.js.map +1 -1
- package/dist/models/CreateAndAttachPolicyResponseBody.d.ts +8 -8
- package/dist/models/CreateConsumerAuthorizationRuleRequest.d.ts +5 -3
- package/dist/models/CreateConsumerAuthorizationRuleRequest.js.map +1 -1
- package/dist/models/CreateConsumerAuthorizationRuleResponseBody.d.ts +4 -4
- package/dist/models/CreateConsumerAuthorizationRulesRequest.d.ts +20 -10
- package/dist/models/CreateConsumerAuthorizationRulesRequest.js +4 -0
- package/dist/models/CreateConsumerAuthorizationRulesRequest.js.map +1 -1
- package/dist/models/CreateConsumerAuthorizationRulesResponseBody.d.ts +4 -4
- package/dist/models/CreateConsumerRequest.d.ts +4 -5
- package/dist/models/CreateConsumerRequest.js.map +1 -1
- package/dist/models/CreateConsumerResponseBody.d.ts +1 -1
- package/dist/models/CreateDomainRequest.d.ts +10 -7
- package/dist/models/CreateDomainRequest.js.map +1 -1
- package/dist/models/CreateEnvironmentRequest.d.ts +5 -5
- package/dist/models/CreateEnvironmentResponseBody.d.ts +5 -5
- package/dist/models/CreateGatewayRequest.d.ts +35 -22
- package/dist/models/CreateGatewayRequest.js.map +1 -1
- package/dist/models/CreateGatewayResponseBody.d.ts +4 -4
- package/dist/models/CreateHttpApiOperationRequest.d.ts +1 -1
- package/dist/models/CreateHttpApiOperationResponseBody.d.ts +6 -6
- package/dist/models/CreateHttpApiRequest.d.ts +7 -7
- package/dist/models/CreateHttpApiResponseBody.d.ts +1 -1
- package/dist/models/CreateHttpApiRouteRequest.d.ts +20 -19
- package/dist/models/CreateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRouteResponseBody.d.ts +2 -2
- package/dist/models/CreateMcpServerRequest.d.ts +45 -35
- package/dist/models/CreateMcpServerRequest.js.map +1 -1
- package/dist/models/CreateMcpServerResponseBody.d.ts +4 -4
- package/dist/models/CreatePluginAttachmentRequest.d.ts +4 -4
- package/dist/models/CreatePluginAttachmentResponseBody.d.ts +5 -5
- package/dist/models/CreatePluginClassRequest.d.ts +51 -0
- package/dist/models/CreatePluginClassRequest.js +76 -0
- package/dist/models/CreatePluginClassRequest.js.map +1 -0
- package/dist/models/CreatePluginClassResponse.d.ts +19 -0
- package/dist/models/CreatePluginClassResponse.js +69 -0
- package/dist/models/CreatePluginClassResponse.js.map +1 -0
- package/dist/models/CreatePluginClassResponseBody.d.ts +34 -0
- package/dist/models/CreatePluginClassResponseBody.js +86 -0
- package/dist/models/CreatePluginClassResponseBody.js.map +1 -0
- package/dist/models/CreatePolicyRequest.d.ts +4 -4
- package/dist/models/CreatePolicyResponseBody.d.ts +5 -5
- package/dist/models/CreateSecretRequest.d.ts +5 -5
- package/dist/models/CreateSecretResponseBody.d.ts +4 -4
- package/dist/models/CreateServiceRequest.d.ts +27 -34
- package/dist/models/CreateServiceRequest.js +2 -0
- package/dist/models/CreateServiceRequest.js.map +1 -1
- package/dist/models/CreateServiceResponseBody.d.ts +2 -2
- package/dist/models/CreateServiceVersionRequest.d.ts +3 -3
- package/dist/models/CreateServiceVersionResponseBody.d.ts +2 -2
- package/dist/models/CreateSourceRequest.d.ts +8 -9
- package/dist/models/CreateSourceRequest.js.map +1 -1
- package/dist/models/CreateSourceResponseBody.d.ts +3 -3
- package/dist/models/DeleteConsumerAuthorizationRuleResponseBody.d.ts +3 -3
- package/dist/models/DeleteConsumerResponseBody.d.ts +3 -3
- package/dist/models/DeleteEnvironmentResponseBody.d.ts +3 -3
- package/dist/models/DeleteGatewayQuotaRuleResponseBody.d.ts +9 -0
- package/dist/models/DeleteGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/DeleteGatewayResponseBody.d.ts +2 -2
- package/dist/models/DeleteGatewaySecurityGroupRuleRequest.d.ts +1 -1
- package/dist/models/DeleteGatewaySecurityGroupRuleResponseBody.d.ts +2 -2
- package/dist/models/DeleteHttpApiOperationResponseBody.d.ts +2 -2
- package/dist/models/DeleteHttpApiResponseBody.d.ts +2 -2
- package/dist/models/DeleteHttpApiRouteResponseBody.d.ts +2 -2
- package/dist/models/DeleteMcpServerResponseBody.d.ts +3 -3
- package/dist/models/DeletePluginAttachmentResponseBody.d.ts +2 -2
- package/dist/models/DeletePolicyAttachmentResponseBody.d.ts +3 -3
- package/dist/models/DeletePolicyResponseBody.d.ts +3 -3
- package/dist/models/DeleteSecretResponseBody.d.ts +3 -3
- package/dist/models/DeleteServiceResponseBody.d.ts +2 -2
- package/dist/models/DeleteServiceVersionResponseBody.d.ts +2 -2
- package/dist/models/DeployHttpApiRequest.d.ts +15 -17
- package/dist/models/DeployHttpApiRequest.js.map +1 -1
- package/dist/models/DeployHttpApiResponseBody.d.ts +6 -3
- package/dist/models/DeployHttpApiResponseBody.js.map +1 -1
- package/dist/models/DeployMcpServerResponseBody.d.ts +3 -3
- package/dist/models/DescribeRegionsRequest.d.ts +3 -0
- package/dist/models/DescribeRegionsRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +27 -0
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DomainInfo.d.ts +13 -6
- package/dist/models/DomainInfo.js.map +1 -1
- package/dist/models/ExportHttpApiRequest.d.ts +31 -0
- package/dist/models/ExportHttpApiRequest.js.map +1 -1
- package/dist/models/ExportHttpApiResponseBody.d.ts +2 -2
- package/dist/models/GatewayInfo.d.ts +9 -1
- package/dist/models/GatewayInfo.js.map +1 -1
- package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +2 -2
- package/dist/models/GetConsumerResponseBody.d.ts +77 -14
- package/dist/models/GetConsumerResponseBody.js +31 -1
- package/dist/models/GetConsumerResponseBody.js.map +1 -1
- package/dist/models/GetDashboardRequest.d.ts +9 -9
- package/dist/models/GetDashboardResponseBody.d.ts +4 -4
- package/dist/models/GetDashboardShrinkRequest.d.ts +9 -9
- package/dist/models/GetDomainResponseBody.d.ts +3 -4
- package/dist/models/GetDomainResponseBody.js.map +1 -1
- package/dist/models/GetEnvironmentResponseBody.d.ts +1 -1
- package/dist/models/GetGatewayQuotaRuleRequest.d.ts +10 -0
- package/dist/models/GetGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +60 -0
- package/dist/models/GetGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +6 -0
- package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +63 -0
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.js.map +1 -1
- package/dist/models/GetHttpApiOperationResponseBody.d.ts +3 -3
- package/dist/models/GetHttpApiResponseBody.d.ts +3 -3
- package/dist/models/GetMcpServerResponseBody.d.ts +49 -49
- package/dist/models/GetPluginAttachmentResponseBody.d.ts +4 -4
- package/dist/models/GetPluginClassRequest.d.ts +13 -0
- package/dist/models/GetPluginClassRequest.js +54 -0
- package/dist/models/GetPluginClassRequest.js.map +1 -0
- package/dist/models/GetPluginClassResponse.d.ts +19 -0
- package/dist/models/GetPluginClassResponse.js +69 -0
- package/dist/models/GetPluginClassResponse.js.map +1 -0
- package/dist/models/GetPluginClassResponseBody.d.ts +40 -0
- package/dist/models/GetPluginClassResponseBody.js +98 -0
- package/dist/models/GetPluginClassResponseBody.js.map +1 -0
- package/dist/models/GetPolicyAttachmentResponseBody.d.ts +11 -11
- package/dist/models/GetPolicyResponseBody.d.ts +3 -3
- package/dist/models/GetResourceOverviewResponseBody.d.ts +12 -12
- package/dist/models/GetSecretResponseBody.d.ts +11 -13
- package/dist/models/GetSecretResponseBody.js.map +1 -1
- package/dist/models/GetSecretValueResponseBody.d.ts +4 -4
- package/dist/models/GetServiceResponseBody.d.ts +3 -3
- package/dist/models/GetSourceResponseBody.d.ts +16 -16
- package/dist/models/HiMarketApiKeyConfig.d.ts +17 -5
- package/dist/models/HiMarketApiKeyConfig.js.map +1 -1
- package/dist/models/HiMarketAuthCodeConfig.d.ts +36 -9
- package/dist/models/HiMarketAuthCodeConfig.js.map +1 -1
- package/dist/models/HiMarketProductCategory.d.ts +13 -4
- package/dist/models/HiMarketProductCategory.js.map +1 -1
- package/dist/models/HttpApiDeployConfig.d.ts +69 -36
- package/dist/models/HttpApiDeployConfig.js.map +1 -1
- package/dist/models/ImportHttpApiRequest.d.ts +8 -8
- package/dist/models/ImportHttpApiResponseBody.d.ts +6 -6
- package/dist/models/InstallPluginResponseBody.d.ts +5 -5
- package/dist/models/JwtIdentityConfig.d.ts +21 -9
- package/dist/models/JwtIdentityConfig.js.map +1 -1
- package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +16 -14
- package/dist/models/ListConsumerAuthorizationRulesResponseBody.js.map +1 -1
- package/dist/models/ListConsumerQuotaRulesRequest.d.ts +12 -0
- package/dist/models/ListConsumerQuotaRulesRequest.js.map +1 -1
- package/dist/models/ListConsumerQuotaRulesResponseBody.d.ts +59 -0
- package/dist/models/ListConsumerQuotaRulesResponseBody.js.map +1 -1
- package/dist/models/ListConsumersRequest.d.ts +3 -3
- package/dist/models/ListConsumersResponseBody.d.ts +10 -10
- package/dist/models/ListDomainsRequest.d.ts +4 -3
- package/dist/models/ListDomainsRequest.js.map +1 -1
- package/dist/models/ListDomainsResponseBody.d.ts +1 -1
- package/dist/models/ListEnvironmentsResponseBody.d.ts +1 -1
- package/dist/models/ListExternalServicesRequest.d.ts +20 -0
- package/dist/models/ListExternalServicesRequest.js.map +1 -1
- package/dist/models/ListExternalServicesResponseBody.d.ts +30 -0
- package/dist/models/ListExternalServicesResponseBody.js.map +1 -1
- package/dist/models/ListGatewayFeaturesResponseBody.d.ts +27 -30
- package/dist/models/ListGatewayFeaturesResponseBody.js.map +1 -1
- package/dist/models/ListGatewayQuotaRulesRequest.d.ts +15 -0
- package/dist/models/ListGatewayQuotaRulesRequest.js.map +1 -1
- package/dist/models/ListGatewayQuotaRulesResponseBody.d.ts +54 -0
- package/dist/models/ListGatewayQuotaRulesResponseBody.js.map +1 -1
- package/dist/models/ListGatewaysRequest.d.ts +10 -10
- package/dist/models/ListGatewaysResponseBody.d.ts +81 -76
- package/dist/models/ListGatewaysResponseBody.js.map +1 -1
- package/dist/models/ListGatewaysShrinkRequest.d.ts +8 -8
- package/dist/models/ListHttpApiOperationsRequest.d.ts +13 -13
- package/dist/models/ListHttpApiOperationsResponseBody.d.ts +8 -8
- package/dist/models/ListHttpApiRoutesRequest.d.ts +13 -10
- package/dist/models/ListHttpApiRoutesRequest.js.map +1 -1
- package/dist/models/ListHttpApiRoutesResponseBody.d.ts +2 -2
- package/dist/models/ListHttpApisRequest.d.ts +21 -17
- package/dist/models/ListHttpApisRequest.js.map +1 -1
- package/dist/models/ListHttpApisResponseBody.d.ts +8 -8
- package/dist/models/ListMcpServersRequest.d.ts +5 -5
- package/dist/models/ListMcpServersResponseBody.d.ts +26 -26
- package/dist/models/ListPluginAttachmentsRequest.d.ts +6 -6
- package/dist/models/ListPluginAttachmentsResponseBody.d.ts +15 -25
- package/dist/models/ListPluginAttachmentsResponseBody.js.map +1 -1
- package/dist/models/ListPluginClassesRequest.d.ts +14 -16
- package/dist/models/ListPluginClassesRequest.js.map +1 -1
- package/dist/models/ListPluginClassesResponseBody.d.ts +16 -16
- package/dist/models/ListPluginsRequest.d.ts +15 -15
- package/dist/models/ListPluginsResponseBody.d.ts +17 -17
- package/dist/models/ListPoliciesRequest.d.ts +11 -16
- package/dist/models/ListPoliciesRequest.js.map +1 -1
- package/dist/models/ListPoliciesResponseBody.d.ts +6 -6
- package/dist/models/ListPolicyClassesRequest.d.ts +16 -18
- package/dist/models/ListPolicyClassesRequest.js.map +1 -1
- package/dist/models/ListPolicyClassesResponseBody.d.ts +5 -5
- package/dist/models/ListSecretReferencesRequest.d.ts +1 -1
- package/dist/models/ListSecretReferencesResponseBody.d.ts +9 -9
- package/dist/models/ListSecretsRequest.d.ts +4 -4
- package/dist/models/ListSecretsResponseBody.d.ts +19 -16
- package/dist/models/ListSecretsResponseBody.js.map +1 -1
- package/dist/models/ListServicesRequest.d.ts +10 -19
- package/dist/models/ListServicesRequest.js.map +1 -1
- package/dist/models/ListServicesResponseBody.d.ts +5 -5
- package/dist/models/ListSslCertsResponseBody.d.ts +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +73 -0
- package/dist/models/ListTagResourcesRequest.js +91 -0
- package/dist/models/ListTagResourcesRequest.js.map +1 -0
- package/dist/models/ListTagResourcesResponse.d.ts +19 -0
- package/dist/models/ListTagResourcesResponse.js +69 -0
- package/dist/models/ListTagResourcesResponse.js.map +1 -0
- package/dist/models/ListTagResourcesResponseBody.d.ts +78 -0
- package/dist/models/ListTagResourcesResponseBody.js +90 -0
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +45 -0
- package/dist/models/ListTagResourcesShrinkRequest.js +64 -0
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -0
- package/dist/models/ListZonesResponseBody.d.ts +7 -7
- package/dist/models/PluginClassInfo.d.ts +119 -0
- package/dist/models/PluginClassInfo.js.map +1 -1
- package/dist/models/PolicyDetailInfo.d.ts +42 -0
- package/dist/models/PolicyDetailInfo.js.map +1 -1
- package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +10 -0
- package/dist/models/QueryConsumerAuthorizationRulesRequest.js +4 -0
- package/dist/models/QueryConsumerAuthorizationRulesRequest.js.map +1 -1
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +32 -18
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.js +10 -0
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.js.map +1 -1
- package/dist/models/RemoveConsumerAuthorizationRuleResponseBody.d.ts +2 -2
- package/dist/models/ResetGatewayQuotaRuleRequest.d.ts +40 -0
- package/dist/models/ResetGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +55 -0
- package/dist/models/ResetGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/RestartGatewayResponseBody.d.ts +2 -2
- package/dist/models/Service.d.ts +30 -16
- package/dist/models/Service.js +2 -0
- package/dist/models/Service.js.map +1 -1
- package/dist/models/ServiceHealthCheck.d.ts +48 -0
- package/dist/models/ServiceHealthCheck.js.map +1 -1
- package/dist/models/ServiceInfo.d.ts +68 -0
- package/dist/models/ServiceInfo.js +154 -0
- package/dist/models/ServiceInfo.js.map +1 -0
- package/dist/models/SyncMcpserversRequest.d.ts +7 -7
- package/dist/models/SyncMcpserversResponseBody.d.ts +7 -7
- package/dist/models/TagResourcesRequest.d.ts +59 -0
- package/dist/models/TagResourcesRequest.js +89 -0
- package/dist/models/TagResourcesRequest.js.map +1 -0
- package/dist/models/TagResourcesResponse.d.ts +19 -0
- package/dist/models/TagResourcesResponse.js +69 -0
- package/dist/models/TagResourcesResponse.js.map +1 -0
- package/dist/models/TagResourcesResponseBody.d.ts +21 -0
- package/dist/models/TagResourcesResponseBody.js +58 -0
- package/dist/models/TagResourcesResponseBody.js.map +1 -0
- package/dist/models/UnDeployMcpServerResponseBody.d.ts +3 -3
- package/dist/models/UndeployHttpApiRequest.d.ts +2 -2
- package/dist/models/UndeployHttpApiResponseBody.d.ts +3 -3
- package/dist/models/UninstallPluginResponseBody.d.ts +3 -3
- package/dist/models/UntagResourcesRequest.d.ts +52 -0
- package/dist/models/UntagResourcesRequest.js +70 -0
- package/dist/models/UntagResourcesRequest.js.map +1 -0
- package/dist/models/UntagResourcesResponse.d.ts +19 -0
- package/dist/models/UntagResourcesResponse.js +69 -0
- package/dist/models/UntagResourcesResponse.js.map +1 -0
- package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
- package/dist/models/UntagResourcesResponseBody.js +58 -0
- package/dist/models/UntagResourcesResponseBody.js.map +1 -0
- package/dist/models/UntagResourcesShrinkRequest.d.ts +52 -0
- package/dist/models/UntagResourcesShrinkRequest.js +64 -0
- package/dist/models/UntagResourcesShrinkRequest.js.map +1 -0
- package/dist/models/UpdateAndAttachPolicyRequest.d.ts +13 -11
- package/dist/models/UpdateAndAttachPolicyRequest.js.map +1 -1
- package/dist/models/UpdateAndAttachPolicyResponseBody.d.ts +3 -3
- package/dist/models/UpdateConsumerAuthorizationRuleRequest.d.ts +3 -1
- package/dist/models/UpdateConsumerAuthorizationRuleRequest.js.map +1 -1
- package/dist/models/UpdateConsumerAuthorizationRuleResponseBody.d.ts +3 -3
- package/dist/models/UpdateConsumerRequest.d.ts +3 -3
- package/dist/models/UpdateConsumerResponseBody.d.ts +3 -3
- package/dist/models/UpdateDomainRequest.d.ts +7 -4
- package/dist/models/UpdateDomainRequest.js.map +1 -1
- package/dist/models/UpdateDomainResponseBody.d.ts +1 -1
- package/dist/models/UpdateEnvironmentRequest.d.ts +2 -2
- package/dist/models/UpdateEnvironmentResponseBody.d.ts +3 -3
- package/dist/models/UpdateGatewayFeatureResponseBody.d.ts +2 -2
- package/dist/models/UpdateGatewayQuotaRuleRequest.d.ts +29 -0
- package/dist/models/UpdateGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +59 -0
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/UpdateGatewayQuotaRuleStatusRequest.d.ts +6 -0
- package/dist/models/UpdateGatewayQuotaRuleStatusRequest.js.map +1 -1
- package/dist/models/UpdateGatewayQuotaRuleStatusResponseBody.d.ts +9 -0
- package/dist/models/UpdateGatewayQuotaRuleStatusResponseBody.js.map +1 -1
- package/dist/models/UpdateHttpApiOperationRequest.d.ts +1 -1
- package/dist/models/UpdateHttpApiRequest.d.ts +18 -18
- package/dist/models/UpdateHttpApiResponseBody.d.ts +3 -3
- package/dist/models/UpdateHttpApiRouteRequest.d.ts +36 -9
- package/dist/models/UpdateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/UpdateHttpApiRouteResponseBody.d.ts +1 -1
- package/dist/models/UpdateMcpServerRequest.d.ts +41 -31
- package/dist/models/UpdateMcpServerRequest.js.map +1 -1
- package/dist/models/UpdateMcpServerResponseBody.d.ts +3 -3
- package/dist/models/UpdatePluginAttachmentRequest.d.ts +3 -3
- package/dist/models/UpdatePluginAttachmentResponseBody.d.ts +3 -3
- package/dist/models/UpdatePolicyRequest.d.ts +3 -3
- package/dist/models/UpdatePolicyResponseBody.d.ts +3 -3
- package/dist/models/UpdateSecretRequest.d.ts +1 -1
- package/dist/models/UpdateSecretResponseBody.d.ts +2 -2
- package/dist/models/UpdateServiceRequest.d.ts +20 -24
- package/dist/models/UpdateServiceRequest.js +2 -0
- package/dist/models/UpdateServiceRequest.js.map +1 -1
- package/dist/models/UpdateServiceVersionRequest.d.ts +3 -3
- package/dist/models/UpdateServiceVersionResponseBody.d.ts +2 -2
- package/dist/models/UpgradeGatewayRequest.d.ts +1 -1
- package/dist/models/UpgradeGatewayResponseBody.d.ts +2 -2
- package/dist/models/model.d.ts +36 -0
- package/dist/models/model.js +89 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +617 -236
- package/src/models/AddGatewayQuotaRuleRequest.ts +36 -0
- package/src/models/AddGatewayQuotaRuleResponseBody.ts +60 -0
- package/src/models/AddGatewaySecurityGroupRuleRequest.ts +1 -1
- package/src/models/AiCacheConfig.ts +56 -17
- package/src/models/AiFallbackConfig.ts +21 -6
- package/src/models/AiNetworkConfigSearchEngine.ts +37 -10
- package/src/models/AiNetworkSearchConfig.ts +43 -13
- package/src/models/AiPluginStatus.ts +9 -3
- package/src/models/AiPolicyRedisConfig.ts +24 -6
- package/src/models/AiSecurityGuardConfig.ts +122 -35
- package/src/models/AiStatisticsConfig.ts +14 -5
- package/src/models/AiStatisticsPathField.ts +43 -10
- package/src/models/AiTokenRateLimitConfig.ts +8 -5
- package/src/models/AiTokenRateLimitConfigRule.ts +24 -6
- package/src/models/AiToolSelectionConfig.ts +89 -29
- package/src/models/Attachment.ts +17 -20
- package/src/models/BatchDeleteConsumerAuthorizationRuleRequest.ts +1 -1
- package/src/models/ChangeResourceGroupRequest.ts +4 -4
- package/src/models/ChangeResourceGroupResponseBody.ts +1 -1
- package/src/models/ConsumerGroupInfo.ts +45 -0
- package/src/models/CreateAiModelProviderRequest.ts +51 -0
- package/src/models/CreateAiModelProviderResponse.ts +40 -0
- package/src/models/CreateAiModelProviderResponseBody.ts +254 -0
- package/src/models/CreateAndAttachPolicyRequest.ts +12 -41
- package/src/models/CreateAndAttachPolicyResponseBody.ts +8 -8
- package/src/models/CreateConsumerAuthorizationRuleRequest.ts +5 -3
- package/src/models/CreateConsumerAuthorizationRuleResponseBody.ts +4 -4
- package/src/models/CreateConsumerAuthorizationRulesRequest.ts +24 -10
- package/src/models/CreateConsumerAuthorizationRulesResponseBody.ts +4 -4
- package/src/models/CreateConsumerRequest.ts +4 -5
- package/src/models/CreateConsumerResponseBody.ts +1 -1
- package/src/models/CreateDomainRequest.ts +10 -7
- package/src/models/CreateEnvironmentRequest.ts +5 -5
- package/src/models/CreateEnvironmentResponseBody.ts +5 -5
- package/src/models/CreateGatewayRequest.ts +35 -22
- package/src/models/CreateGatewayResponseBody.ts +4 -4
- package/src/models/CreateHttpApiOperationRequest.ts +1 -1
- package/src/models/CreateHttpApiOperationResponseBody.ts +6 -6
- package/src/models/CreateHttpApiRequest.ts +7 -7
- package/src/models/CreateHttpApiResponseBody.ts +1 -1
- package/src/models/CreateHttpApiRouteRequest.ts +20 -19
- package/src/models/CreateHttpApiRouteResponseBody.ts +2 -2
- package/src/models/CreateMcpServerRequest.ts +45 -35
- package/src/models/CreateMcpServerResponseBody.ts +4 -4
- package/src/models/CreatePluginAttachmentRequest.ts +4 -4
- package/src/models/CreatePluginAttachmentResponseBody.ts +5 -5
- package/src/models/CreatePluginClassRequest.ts +82 -0
- package/src/models/CreatePluginClassResponse.ts +40 -0
- package/src/models/CreatePluginClassResponseBody.ts +66 -0
- package/src/models/CreatePolicyRequest.ts +4 -4
- package/src/models/CreatePolicyResponseBody.ts +5 -5
- package/src/models/CreateSecretRequest.ts +5 -5
- package/src/models/CreateSecretResponseBody.ts +4 -4
- package/src/models/CreateServiceRequest.ts +29 -34
- package/src/models/CreateServiceResponseBody.ts +2 -2
- package/src/models/CreateServiceVersionRequest.ts +3 -3
- package/src/models/CreateServiceVersionResponseBody.ts +2 -2
- package/src/models/CreateSourceRequest.ts +8 -9
- package/src/models/CreateSourceResponseBody.ts +3 -3
- package/src/models/DeleteConsumerAuthorizationRuleResponseBody.ts +3 -3
- package/src/models/DeleteConsumerResponseBody.ts +3 -3
- package/src/models/DeleteEnvironmentResponseBody.ts +3 -3
- package/src/models/DeleteGatewayQuotaRuleResponseBody.ts +9 -0
- package/src/models/DeleteGatewayResponseBody.ts +2 -2
- package/src/models/DeleteGatewaySecurityGroupRuleRequest.ts +1 -1
- package/src/models/DeleteGatewaySecurityGroupRuleResponseBody.ts +2 -2
- package/src/models/DeleteHttpApiOperationResponseBody.ts +2 -2
- package/src/models/DeleteHttpApiResponseBody.ts +2 -2
- package/src/models/DeleteHttpApiRouteResponseBody.ts +2 -2
- package/src/models/DeleteMcpServerResponseBody.ts +3 -3
- package/src/models/DeletePluginAttachmentResponseBody.ts +2 -2
- package/src/models/DeletePolicyAttachmentResponseBody.ts +3 -3
- package/src/models/DeletePolicyResponseBody.ts +3 -3
- package/src/models/DeleteSecretResponseBody.ts +3 -3
- package/src/models/DeleteServiceResponseBody.ts +2 -2
- package/src/models/DeleteServiceVersionResponseBody.ts +2 -2
- package/src/models/DeployHttpApiRequest.ts +15 -17
- package/src/models/DeployHttpApiResponseBody.ts +6 -3
- package/src/models/DeployMcpServerResponseBody.ts +3 -3
- package/src/models/DescribeRegionsRequest.ts +3 -0
- package/src/models/DescribeRegionsResponseBody.ts +27 -0
- package/src/models/DomainInfo.ts +13 -6
- package/src/models/ExportHttpApiRequest.ts +31 -0
- package/src/models/ExportHttpApiResponseBody.ts +2 -2
- package/src/models/GatewayInfo.ts +9 -1
- package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +2 -2
- package/src/models/GetConsumerResponseBody.ts +98 -14
- package/src/models/GetDashboardRequest.ts +9 -9
- package/src/models/GetDashboardResponseBody.ts +4 -4
- package/src/models/GetDashboardShrinkRequest.ts +9 -9
- package/src/models/GetDomainResponseBody.ts +3 -4
- package/src/models/GetEnvironmentResponseBody.ts +1 -1
- package/src/models/GetGatewayQuotaRuleRequest.ts +10 -0
- package/src/models/GetGatewayQuotaRuleResponseBody.ts +60 -0
- package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +6 -0
- package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +63 -0
- package/src/models/GetHttpApiOperationResponseBody.ts +3 -3
- package/src/models/GetHttpApiResponseBody.ts +3 -3
- package/src/models/GetMcpServerResponseBody.ts +49 -49
- package/src/models/GetPluginAttachmentResponseBody.ts +4 -4
- package/src/models/GetPluginClassRequest.ts +24 -0
- package/src/models/GetPluginClassResponse.ts +40 -0
- package/src/models/GetPluginClassResponseBody.ts +84 -0
- package/src/models/GetPolicyAttachmentResponseBody.ts +11 -11
- package/src/models/GetPolicyResponseBody.ts +3 -3
- package/src/models/GetResourceOverviewResponseBody.ts +12 -12
- package/src/models/GetSecretResponseBody.ts +11 -13
- package/src/models/GetSecretValueResponseBody.ts +4 -4
- package/src/models/GetServiceResponseBody.ts +3 -3
- package/src/models/GetSourceResponseBody.ts +16 -16
- package/src/models/HiMarketApiKeyConfig.ts +17 -5
- package/src/models/HiMarketAuthCodeConfig.ts +36 -9
- package/src/models/HiMarketProductCategory.ts +13 -4
- package/src/models/HttpApiDeployConfig.ts +69 -36
- package/src/models/ImportHttpApiRequest.ts +8 -8
- package/src/models/ImportHttpApiResponseBody.ts +6 -6
- package/src/models/InstallPluginResponseBody.ts +5 -5
- package/src/models/JwtIdentityConfig.ts +21 -9
- package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +16 -14
- package/src/models/ListConsumerQuotaRulesRequest.ts +12 -0
- package/src/models/ListConsumerQuotaRulesResponseBody.ts +59 -0
- package/src/models/ListConsumersRequest.ts +3 -3
- package/src/models/ListConsumersResponseBody.ts +10 -10
- package/src/models/ListDomainsRequest.ts +4 -3
- package/src/models/ListDomainsResponseBody.ts +1 -1
- package/src/models/ListEnvironmentsResponseBody.ts +1 -1
- package/src/models/ListExternalServicesRequest.ts +20 -0
- package/src/models/ListExternalServicesResponseBody.ts +30 -0
- package/src/models/ListGatewayFeaturesResponseBody.ts +27 -30
- package/src/models/ListGatewayQuotaRulesRequest.ts +15 -0
- package/src/models/ListGatewayQuotaRulesResponseBody.ts +54 -0
- package/src/models/ListGatewaysRequest.ts +10 -10
- package/src/models/ListGatewaysResponseBody.ts +81 -76
- package/src/models/ListGatewaysShrinkRequest.ts +8 -8
- package/src/models/ListHttpApiOperationsRequest.ts +13 -13
- package/src/models/ListHttpApiOperationsResponseBody.ts +8 -8
- package/src/models/ListHttpApiRoutesRequest.ts +13 -10
- package/src/models/ListHttpApiRoutesResponseBody.ts +2 -2
- package/src/models/ListHttpApisRequest.ts +21 -17
- package/src/models/ListHttpApisResponseBody.ts +8 -8
- package/src/models/ListMcpServersRequest.ts +5 -5
- package/src/models/ListMcpServersResponseBody.ts +26 -26
- package/src/models/ListPluginAttachmentsRequest.ts +6 -6
- package/src/models/ListPluginAttachmentsResponseBody.ts +15 -25
- package/src/models/ListPluginClassesRequest.ts +14 -16
- package/src/models/ListPluginClassesResponseBody.ts +16 -16
- package/src/models/ListPluginsRequest.ts +15 -15
- package/src/models/ListPluginsResponseBody.ts +17 -17
- package/src/models/ListPoliciesRequest.ts +11 -16
- package/src/models/ListPoliciesResponseBody.ts +6 -6
- package/src/models/ListPolicyClassesRequest.ts +16 -18
- package/src/models/ListPolicyClassesResponseBody.ts +5 -5
- package/src/models/ListSecretReferencesRequest.ts +1 -1
- package/src/models/ListSecretReferencesResponseBody.ts +9 -9
- package/src/models/ListSecretsRequest.ts +4 -4
- package/src/models/ListSecretsResponseBody.ts +19 -16
- package/src/models/ListServicesRequest.ts +10 -19
- package/src/models/ListServicesResponseBody.ts +5 -5
- package/src/models/ListSslCertsResponseBody.ts +1 -1
- package/src/models/ListTagResourcesRequest.ts +110 -0
- package/src/models/ListTagResourcesResponse.ts +40 -0
- package/src/models/ListTagResourcesResponseBody.ts +114 -0
- package/src/models/ListTagResourcesShrinkRequest.ts +64 -0
- package/src/models/ListZonesResponseBody.ts +7 -7
- package/src/models/PluginClassInfo.ts +119 -0
- package/src/models/PolicyDetailInfo.ts +42 -0
- package/src/models/QueryConsumerAuthorizationRulesRequest.ts +14 -0
- package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +41 -18
- package/src/models/RemoveConsumerAuthorizationRuleResponseBody.ts +2 -2
- package/src/models/ResetGatewayQuotaRuleRequest.ts +40 -0
- package/src/models/ResetGatewayQuotaRuleResponseBody.ts +55 -0
- package/src/models/RestartGatewayResponseBody.ts +2 -2
- package/src/models/Service.ts +32 -16
- package/src/models/ServiceHealthCheck.ts +48 -0
- package/src/models/ServiceInfo.ts +150 -0
- package/src/models/SyncMcpserversRequest.ts +7 -7
- package/src/models/SyncMcpserversResponseBody.ts +7 -7
- package/src/models/TagResourcesRequest.ts +94 -0
- package/src/models/TagResourcesResponse.ts +40 -0
- package/src/models/TagResourcesResponseBody.ts +34 -0
- package/src/models/UnDeployMcpServerResponseBody.ts +3 -3
- package/src/models/UndeployHttpApiRequest.ts +2 -2
- package/src/models/UndeployHttpApiResponseBody.ts +3 -3
- package/src/models/UninstallPluginResponseBody.ts +3 -3
- package/src/models/UntagResourcesRequest.ts +77 -0
- package/src/models/UntagResourcesResponse.ts +40 -0
- package/src/models/UntagResourcesResponseBody.ts +34 -0
- package/src/models/UntagResourcesShrinkRequest.ts +71 -0
- package/src/models/UpdateAndAttachPolicyRequest.ts +13 -11
- package/src/models/UpdateAndAttachPolicyResponseBody.ts +3 -3
- package/src/models/UpdateConsumerAuthorizationRuleRequest.ts +3 -1
- package/src/models/UpdateConsumerAuthorizationRuleResponseBody.ts +3 -3
- package/src/models/UpdateConsumerRequest.ts +3 -3
- package/src/models/UpdateConsumerResponseBody.ts +3 -3
- package/src/models/UpdateDomainRequest.ts +7 -4
- package/src/models/UpdateDomainResponseBody.ts +1 -1
- package/src/models/UpdateEnvironmentRequest.ts +2 -2
- package/src/models/UpdateEnvironmentResponseBody.ts +3 -3
- package/src/models/UpdateGatewayFeatureResponseBody.ts +2 -2
- package/src/models/UpdateGatewayQuotaRuleRequest.ts +29 -0
- package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +59 -0
- package/src/models/UpdateGatewayQuotaRuleStatusRequest.ts +6 -0
- package/src/models/UpdateGatewayQuotaRuleStatusResponseBody.ts +9 -0
- package/src/models/UpdateHttpApiOperationRequest.ts +1 -1
- package/src/models/UpdateHttpApiRequest.ts +18 -18
- package/src/models/UpdateHttpApiResponseBody.ts +3 -3
- package/src/models/UpdateHttpApiRouteRequest.ts +36 -9
- package/src/models/UpdateHttpApiRouteResponseBody.ts +1 -1
- package/src/models/UpdateMcpServerRequest.ts +41 -31
- package/src/models/UpdateMcpServerResponseBody.ts +3 -3
- package/src/models/UpdatePluginAttachmentRequest.ts +3 -3
- package/src/models/UpdatePluginAttachmentResponseBody.ts +3 -3
- package/src/models/UpdatePolicyRequest.ts +3 -3
- package/src/models/UpdatePolicyResponseBody.ts +3 -3
- package/src/models/UpdateSecretRequest.ts +1 -1
- package/src/models/UpdateSecretResponseBody.ts +2 -2
- package/src/models/UpdateServiceRequest.ts +22 -24
- package/src/models/UpdateServiceVersionRequest.ts +3 -3
- package/src/models/UpdateServiceVersionResponseBody.ts +2 -2
- package/src/models/UpgradeGatewayRequest.ts +1 -1
- package/src/models/UpgradeGatewayResponseBody.ts +2 -2
- package/src/models/model.ts +36 -0
package/dist/client.js
CHANGED
|
@@ -89,18 +89,18 @@ class Client extends openapi_core_1.default {
|
|
|
89
89
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
92
|
+
* Creates a gateway quota throttling rule.
|
|
93
93
|
*
|
|
94
94
|
* @remarks
|
|
95
|
-
*
|
|
95
|
+
* This operation adds a consumer-based quota rule to an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
|
|
96
96
|
* >
|
|
97
|
-
* >
|
|
98
|
-
* > -
|
|
99
|
-
* > - -
|
|
100
|
-
* > - -
|
|
101
|
-
* > -
|
|
102
|
-
* > - -
|
|
103
|
-
* > - -
|
|
97
|
+
* > Recommended call logic:
|
|
98
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
99
|
+
* > - - Set dryRun=true.
|
|
100
|
+
* > - - The response contains a conflict preview with conflictHash.
|
|
101
|
+
* > - 2. Submit the request after confirmation.
|
|
102
|
+
* > - - No conflict: dryRun=false, overwrite=false.
|
|
103
|
+
* > - - Conflict exists and overwrite confirmed: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
|
|
104
104
|
*
|
|
105
105
|
* @param request - AddGatewayQuotaRuleRequest
|
|
106
106
|
* @param headers - map
|
|
@@ -164,18 +164,18 @@ class Client extends openapi_core_1.default {
|
|
|
164
164
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddGatewayQuotaRuleResponse({}));
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
167
|
+
* Creates a gateway quota throttling rule.
|
|
168
168
|
*
|
|
169
169
|
* @remarks
|
|
170
|
-
*
|
|
170
|
+
* This operation adds a consumer-based quota rule to an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
|
|
171
171
|
* >
|
|
172
|
-
* >
|
|
173
|
-
* > -
|
|
174
|
-
* > - -
|
|
175
|
-
* > - -
|
|
176
|
-
* > -
|
|
177
|
-
* > - -
|
|
178
|
-
* > - -
|
|
172
|
+
* > Recommended call logic:
|
|
173
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
174
|
+
* > - - Set dryRun=true.
|
|
175
|
+
* > - - The response contains a conflict preview with conflictHash.
|
|
176
|
+
* > - 2. Submit the request after confirmation.
|
|
177
|
+
* > - - No conflict: dryRun=false, overwrite=false.
|
|
178
|
+
* > - - Conflict exists and overwrite confirmed: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
|
|
179
179
|
*
|
|
180
180
|
* @param request - AddGatewayQuotaRuleRequest
|
|
181
181
|
* @returns AddGatewayQuotaRuleResponse
|
|
@@ -234,7 +234,7 @@ class Client extends openapi_core_1.default {
|
|
|
234
234
|
return await this.addGatewaySecurityGroupRuleWithOptions(gatewayId, request, headers, runtime);
|
|
235
235
|
}
|
|
236
236
|
/**
|
|
237
|
-
* Revokes
|
|
237
|
+
* Revokes consumer authorization rules in batches.
|
|
238
238
|
*
|
|
239
239
|
* @param request - BatchDeleteConsumerAuthorizationRuleRequest
|
|
240
240
|
* @param headers - map
|
|
@@ -265,7 +265,7 @@ class Client extends openapi_core_1.default {
|
|
|
265
265
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchDeleteConsumerAuthorizationRuleResponse({}));
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
|
-
* Revokes
|
|
268
|
+
* Revokes consumer authorization rules in batches.
|
|
269
269
|
*
|
|
270
270
|
* @param request - BatchDeleteConsumerAuthorizationRuleRequest
|
|
271
271
|
* @returns BatchDeleteConsumerAuthorizationRuleResponse
|
|
@@ -276,7 +276,7 @@ class Client extends openapi_core_1.default {
|
|
|
276
276
|
return await this.batchDeleteConsumerAuthorizationRuleWithOptions(request, headers, runtime);
|
|
277
277
|
}
|
|
278
278
|
/**
|
|
279
|
-
*
|
|
279
|
+
* Transfers a resource to a different resource group.
|
|
280
280
|
*
|
|
281
281
|
* @param request - ChangeResourceGroupRequest
|
|
282
282
|
* @param headers - map
|
|
@@ -316,7 +316,7 @@ class Client extends openapi_core_1.default {
|
|
|
316
316
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChangeResourceGroupResponse({}));
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
319
|
-
*
|
|
319
|
+
* Transfers a resource to a different resource group.
|
|
320
320
|
*
|
|
321
321
|
* @param request - ChangeResourceGroupRequest
|
|
322
322
|
* @returns ChangeResourceGroupResponse
|
|
@@ -327,7 +327,58 @@ class Client extends openapi_core_1.default {
|
|
|
327
327
|
return await this.changeResourceGroupWithOptions(request, headers, runtime);
|
|
328
328
|
}
|
|
329
329
|
/**
|
|
330
|
-
*
|
|
330
|
+
* 创建AI模型供应商
|
|
331
|
+
*
|
|
332
|
+
* @param request - CreateAiModelProviderRequest
|
|
333
|
+
* @param headers - map
|
|
334
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
335
|
+
* @returns CreateAiModelProviderResponse
|
|
336
|
+
*/
|
|
337
|
+
async createAiModelProviderWithOptions(request, headers, runtime) {
|
|
338
|
+
request.validate();
|
|
339
|
+
let body = {};
|
|
340
|
+
if (!$dara.isNull(request.displayName)) {
|
|
341
|
+
body["displayName"] = request.displayName;
|
|
342
|
+
}
|
|
343
|
+
if (!$dara.isNull(request.gatewayId)) {
|
|
344
|
+
body["gatewayId"] = request.gatewayId;
|
|
345
|
+
}
|
|
346
|
+
if (!$dara.isNull(request.provider)) {
|
|
347
|
+
body["provider"] = request.provider;
|
|
348
|
+
}
|
|
349
|
+
if (!$dara.isNull(request.serviceIds)) {
|
|
350
|
+
body["serviceIds"] = request.serviceIds;
|
|
351
|
+
}
|
|
352
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
353
|
+
headers: headers,
|
|
354
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
355
|
+
});
|
|
356
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
357
|
+
action: "CreateAiModelProvider",
|
|
358
|
+
version: "2024-03-27",
|
|
359
|
+
protocol: "HTTPS",
|
|
360
|
+
pathname: `/v1/ai-model-providers`,
|
|
361
|
+
method: "POST",
|
|
362
|
+
authType: "AK",
|
|
363
|
+
style: "ROA",
|
|
364
|
+
reqBodyType: "json",
|
|
365
|
+
bodyType: "json",
|
|
366
|
+
});
|
|
367
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAiModelProviderResponse({}));
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* 创建AI模型供应商
|
|
371
|
+
*
|
|
372
|
+
* @param request - CreateAiModelProviderRequest
|
|
373
|
+
* @returns CreateAiModelProviderResponse
|
|
374
|
+
*/
|
|
375
|
+
async createAiModelProvider(request) {
|
|
376
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
377
|
+
let headers = {};
|
|
378
|
+
return await this.createAiModelProviderWithOptions(request, headers, runtime);
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Creates and attaches a policy.
|
|
331
382
|
*
|
|
332
383
|
* @param request - CreateAndAttachPolicyRequest
|
|
333
384
|
* @param headers - map
|
|
@@ -379,7 +430,7 @@ class Client extends openapi_core_1.default {
|
|
|
379
430
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAndAttachPolicyResponse({}));
|
|
380
431
|
}
|
|
381
432
|
/**
|
|
382
|
-
* Creates and
|
|
433
|
+
* Creates and attaches a policy.
|
|
383
434
|
*
|
|
384
435
|
* @param request - CreateAndAttachPolicyRequest
|
|
385
436
|
* @returns CreateAndAttachPolicyResponse
|
|
@@ -504,7 +555,7 @@ class Client extends openapi_core_1.default {
|
|
|
504
555
|
return await this.createConsumerAuthorizationRuleWithOptions(consumerId, request, headers, runtime);
|
|
505
556
|
}
|
|
506
557
|
/**
|
|
507
|
-
*
|
|
558
|
+
* Creates consumer authorization rules.
|
|
508
559
|
*
|
|
509
560
|
* @param request - CreateConsumerAuthorizationRulesRequest
|
|
510
561
|
* @param headers - map
|
|
@@ -535,7 +586,7 @@ class Client extends openapi_core_1.default {
|
|
|
535
586
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateConsumerAuthorizationRulesResponse({}));
|
|
536
587
|
}
|
|
537
588
|
/**
|
|
538
|
-
*
|
|
589
|
+
* Creates consumer authorization rules.
|
|
539
590
|
*
|
|
540
591
|
* @param request - CreateConsumerAuthorizationRulesRequest
|
|
541
592
|
* @returns CreateConsumerAuthorizationRulesResponse
|
|
@@ -686,7 +737,7 @@ class Client extends openapi_core_1.default {
|
|
|
686
737
|
return await this.createEnvironmentWithOptions(request, headers, runtime);
|
|
687
738
|
}
|
|
688
739
|
/**
|
|
689
|
-
*
|
|
740
|
+
* Creates a cloud-native gateway.
|
|
690
741
|
*
|
|
691
742
|
* @param request - CreateGatewayRequest
|
|
692
743
|
* @param headers - map
|
|
@@ -747,7 +798,7 @@ class Client extends openapi_core_1.default {
|
|
|
747
798
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateGatewayResponse({}));
|
|
748
799
|
}
|
|
749
800
|
/**
|
|
750
|
-
*
|
|
801
|
+
* Creates a cloud-native gateway.
|
|
751
802
|
*
|
|
752
803
|
* @param request - CreateGatewayRequest
|
|
753
804
|
* @returns CreateGatewayResponse
|
|
@@ -854,7 +905,7 @@ class Client extends openapi_core_1.default {
|
|
|
854
905
|
return await this.createHttpApiWithOptions(request, headers, runtime);
|
|
855
906
|
}
|
|
856
907
|
/**
|
|
857
|
-
*
|
|
908
|
+
* Creates operations for an HTTP API.
|
|
858
909
|
*
|
|
859
910
|
* @param request - CreateHttpApiOperationRequest
|
|
860
911
|
* @param headers - map
|
|
@@ -885,7 +936,7 @@ class Client extends openapi_core_1.default {
|
|
|
885
936
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateHttpApiOperationResponse({}));
|
|
886
937
|
}
|
|
887
938
|
/**
|
|
888
|
-
*
|
|
939
|
+
* Creates operations for an HTTP API.
|
|
889
940
|
*
|
|
890
941
|
* @param request - CreateHttpApiOperationRequest
|
|
891
942
|
* @returns CreateHttpApiOperationResponse
|
|
@@ -962,7 +1013,7 @@ class Client extends openapi_core_1.default {
|
|
|
962
1013
|
return await this.createHttpApiRouteWithOptions(httpApiId, request, headers, runtime);
|
|
963
1014
|
}
|
|
964
1015
|
/**
|
|
965
|
-
* Creates
|
|
1016
|
+
* Creates a Model Context Protocol (MCP) server.
|
|
966
1017
|
*
|
|
967
1018
|
* @param request - CreateMcpServerRequest
|
|
968
1019
|
* @param headers - map
|
|
@@ -1032,7 +1083,7 @@ class Client extends openapi_core_1.default {
|
|
|
1032
1083
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMcpServerResponse({}));
|
|
1033
1084
|
}
|
|
1034
1085
|
/**
|
|
1035
|
-
* Creates
|
|
1086
|
+
* Creates a Model Context Protocol (MCP) server.
|
|
1036
1087
|
*
|
|
1037
1088
|
* @param request - CreateMcpServerRequest
|
|
1038
1089
|
* @returns CreateMcpServerResponse
|
|
@@ -1043,7 +1094,7 @@ class Client extends openapi_core_1.default {
|
|
|
1043
1094
|
return await this.createMcpServerWithOptions(request, headers, runtime);
|
|
1044
1095
|
}
|
|
1045
1096
|
/**
|
|
1046
|
-
*
|
|
1097
|
+
* Mounts a plug-in.
|
|
1047
1098
|
*
|
|
1048
1099
|
* @param request - CreatePluginAttachmentRequest
|
|
1049
1100
|
* @param headers - map
|
|
@@ -1092,7 +1143,7 @@ class Client extends openapi_core_1.default {
|
|
|
1092
1143
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePluginAttachmentResponse({}));
|
|
1093
1144
|
}
|
|
1094
1145
|
/**
|
|
1095
|
-
*
|
|
1146
|
+
* Mounts a plug-in.
|
|
1096
1147
|
*
|
|
1097
1148
|
* @param request - CreatePluginAttachmentRequest
|
|
1098
1149
|
* @returns CreatePluginAttachmentResponse
|
|
@@ -1102,6 +1153,75 @@ class Client extends openapi_core_1.default {
|
|
|
1102
1153
|
let headers = {};
|
|
1103
1154
|
return await this.createPluginAttachmentWithOptions(request, headers, runtime);
|
|
1104
1155
|
}
|
|
1156
|
+
/**
|
|
1157
|
+
* Creates a custom plugin class.
|
|
1158
|
+
*
|
|
1159
|
+
* @param request - CreatePluginClassRequest
|
|
1160
|
+
* @param headers - map
|
|
1161
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1162
|
+
* @returns CreatePluginClassResponse
|
|
1163
|
+
*/
|
|
1164
|
+
async createPluginClassWithOptions(request, headers, runtime) {
|
|
1165
|
+
request.validate();
|
|
1166
|
+
let body = {};
|
|
1167
|
+
if (!$dara.isNull(request.alias)) {
|
|
1168
|
+
body["alias"] = request.alias;
|
|
1169
|
+
}
|
|
1170
|
+
if (!$dara.isNull(request.description)) {
|
|
1171
|
+
body["description"] = request.description;
|
|
1172
|
+
}
|
|
1173
|
+
if (!$dara.isNull(request.executePriority)) {
|
|
1174
|
+
body["executePriority"] = request.executePriority;
|
|
1175
|
+
}
|
|
1176
|
+
if (!$dara.isNull(request.executeStage)) {
|
|
1177
|
+
body["executeStage"] = request.executeStage;
|
|
1178
|
+
}
|
|
1179
|
+
if (!$dara.isNull(request.name)) {
|
|
1180
|
+
body["name"] = request.name;
|
|
1181
|
+
}
|
|
1182
|
+
if (!$dara.isNull(request.supportedMinGatewayVersion)) {
|
|
1183
|
+
body["supportedMinGatewayVersion"] = request.supportedMinGatewayVersion;
|
|
1184
|
+
}
|
|
1185
|
+
if (!$dara.isNull(request.version)) {
|
|
1186
|
+
body["version"] = request.version;
|
|
1187
|
+
}
|
|
1188
|
+
if (!$dara.isNull(request.versionDescription)) {
|
|
1189
|
+
body["versionDescription"] = request.versionDescription;
|
|
1190
|
+
}
|
|
1191
|
+
if (!$dara.isNull(request.wasmLanguage)) {
|
|
1192
|
+
body["wasmLanguage"] = request.wasmLanguage;
|
|
1193
|
+
}
|
|
1194
|
+
if (!$dara.isNull(request.wasmUrl)) {
|
|
1195
|
+
body["wasmUrl"] = request.wasmUrl;
|
|
1196
|
+
}
|
|
1197
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1198
|
+
headers: headers,
|
|
1199
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1200
|
+
});
|
|
1201
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1202
|
+
action: "CreatePluginClass",
|
|
1203
|
+
version: "2024-03-27",
|
|
1204
|
+
protocol: "HTTPS",
|
|
1205
|
+
pathname: `/v1/plugin-classes`,
|
|
1206
|
+
method: "POST",
|
|
1207
|
+
authType: "AK",
|
|
1208
|
+
style: "ROA",
|
|
1209
|
+
reqBodyType: "json",
|
|
1210
|
+
bodyType: "json",
|
|
1211
|
+
});
|
|
1212
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePluginClassResponse({}));
|
|
1213
|
+
}
|
|
1214
|
+
/**
|
|
1215
|
+
* Creates a custom plugin class.
|
|
1216
|
+
*
|
|
1217
|
+
* @param request - CreatePluginClassRequest
|
|
1218
|
+
* @returns CreatePluginClassResponse
|
|
1219
|
+
*/
|
|
1220
|
+
async createPluginClass(request) {
|
|
1221
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1222
|
+
let headers = {};
|
|
1223
|
+
return await this.createPluginClassWithOptions(request, headers, runtime);
|
|
1224
|
+
}
|
|
1105
1225
|
/**
|
|
1106
1226
|
* Creates a policy.
|
|
1107
1227
|
*
|
|
@@ -1265,10 +1385,10 @@ class Client extends openapi_core_1.default {
|
|
|
1265
1385
|
return await this.createSecretWithOptions(request, headers, runtime);
|
|
1266
1386
|
}
|
|
1267
1387
|
/**
|
|
1268
|
-
* Creates
|
|
1388
|
+
* Creates services.
|
|
1269
1389
|
*
|
|
1270
1390
|
* @remarks
|
|
1271
|
-
*
|
|
1391
|
+
* This operation supports creating multiple services.
|
|
1272
1392
|
*
|
|
1273
1393
|
* @param request - CreateServiceRequest
|
|
1274
1394
|
* @param headers - map
|
|
@@ -1313,10 +1433,10 @@ class Client extends openapi_core_1.default {
|
|
|
1313
1433
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateServiceResponse({}));
|
|
1314
1434
|
}
|
|
1315
1435
|
/**
|
|
1316
|
-
* Creates
|
|
1436
|
+
* Creates services.
|
|
1317
1437
|
*
|
|
1318
1438
|
* @remarks
|
|
1319
|
-
*
|
|
1439
|
+
* This operation supports creating multiple services.
|
|
1320
1440
|
*
|
|
1321
1441
|
* @param request - CreateServiceRequest
|
|
1322
1442
|
* @returns CreateServiceResponse
|
|
@@ -1372,7 +1492,7 @@ class Client extends openapi_core_1.default {
|
|
|
1372
1492
|
return await this.createServiceVersionWithOptions(serviceId, request, headers, runtime);
|
|
1373
1493
|
}
|
|
1374
1494
|
/**
|
|
1375
|
-
*
|
|
1495
|
+
* Creates a source.
|
|
1376
1496
|
*
|
|
1377
1497
|
* @param request - CreateSourceRequest
|
|
1378
1498
|
* @param headers - map
|
|
@@ -1415,7 +1535,7 @@ class Client extends openapi_core_1.default {
|
|
|
1415
1535
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateSourceResponse({}));
|
|
1416
1536
|
}
|
|
1417
1537
|
/**
|
|
1418
|
-
*
|
|
1538
|
+
* Creates a source.
|
|
1419
1539
|
*
|
|
1420
1540
|
* @param request - CreateSourceRequest
|
|
1421
1541
|
* @returns CreateSourceResponse
|
|
@@ -1426,7 +1546,7 @@ class Client extends openapi_core_1.default {
|
|
|
1426
1546
|
return await this.createSourceWithOptions(request, headers, runtime);
|
|
1427
1547
|
}
|
|
1428
1548
|
/**
|
|
1429
|
-
* Deletes
|
|
1549
|
+
* Deletes an API consumer.
|
|
1430
1550
|
*
|
|
1431
1551
|
* @param headers - map
|
|
1432
1552
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1450,7 +1570,7 @@ class Client extends openapi_core_1.default {
|
|
|
1450
1570
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteConsumerResponse({}));
|
|
1451
1571
|
}
|
|
1452
1572
|
/**
|
|
1453
|
-
* Deletes
|
|
1573
|
+
* Deletes an API consumer.
|
|
1454
1574
|
* @returns DeleteConsumerResponse
|
|
1455
1575
|
*/
|
|
1456
1576
|
async deleteConsumer(consumerId) {
|
|
@@ -1459,7 +1579,7 @@ class Client extends openapi_core_1.default {
|
|
|
1459
1579
|
return await this.deleteConsumerWithOptions(consumerId, headers, runtime);
|
|
1460
1580
|
}
|
|
1461
1581
|
/**
|
|
1462
|
-
* Deletes
|
|
1582
|
+
* Deletes an API consumer authorization rule.
|
|
1463
1583
|
*
|
|
1464
1584
|
* @param headers - map
|
|
1465
1585
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1483,7 +1603,7 @@ class Client extends openapi_core_1.default {
|
|
|
1483
1603
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteConsumerAuthorizationRuleResponse({}));
|
|
1484
1604
|
}
|
|
1485
1605
|
/**
|
|
1486
|
-
* Deletes
|
|
1606
|
+
* Deletes an API consumer authorization rule.
|
|
1487
1607
|
* @returns DeleteConsumerAuthorizationRuleResponse
|
|
1488
1608
|
*/
|
|
1489
1609
|
async deleteConsumerAuthorizationRule(consumerAuthorizationRuleId, consumerId) {
|
|
@@ -1563,7 +1683,7 @@ class Client extends openapi_core_1.default {
|
|
|
1563
1683
|
return await this.deleteEnvironmentWithOptions(environmentId, headers, runtime);
|
|
1564
1684
|
}
|
|
1565
1685
|
/**
|
|
1566
|
-
* Deletes a
|
|
1686
|
+
* Deletes a gateway.
|
|
1567
1687
|
*
|
|
1568
1688
|
* @param headers - map
|
|
1569
1689
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1587,7 +1707,7 @@ class Client extends openapi_core_1.default {
|
|
|
1587
1707
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGatewayResponse({}));
|
|
1588
1708
|
}
|
|
1589
1709
|
/**
|
|
1590
|
-
* Deletes a
|
|
1710
|
+
* Deletes a gateway.
|
|
1591
1711
|
* @returns DeleteGatewayResponse
|
|
1592
1712
|
*/
|
|
1593
1713
|
async deleteGateway(gatewayId) {
|
|
@@ -1596,10 +1716,10 @@ class Client extends openapi_core_1.default {
|
|
|
1596
1716
|
return await this.deleteGatewayWithOptions(gatewayId, headers, runtime);
|
|
1597
1717
|
}
|
|
1598
1718
|
/**
|
|
1599
|
-
*
|
|
1719
|
+
* Deletes a quota throttling rule from a gateway.
|
|
1600
1720
|
*
|
|
1601
1721
|
* @remarks
|
|
1602
|
-
*
|
|
1722
|
+
* Deletes a consumer-based quota rule from an AI gateway. This operation applies only to AI gateways of version 2.1.19 or later.
|
|
1603
1723
|
*
|
|
1604
1724
|
* @param request - DeleteGatewayQuotaRuleRequest
|
|
1605
1725
|
* @param headers - map
|
|
@@ -1625,10 +1745,10 @@ class Client extends openapi_core_1.default {
|
|
|
1625
1745
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGatewayQuotaRuleResponse({}));
|
|
1626
1746
|
}
|
|
1627
1747
|
/**
|
|
1628
|
-
*
|
|
1748
|
+
* Deletes a quota throttling rule from a gateway.
|
|
1629
1749
|
*
|
|
1630
1750
|
* @remarks
|
|
1631
|
-
*
|
|
1751
|
+
* Deletes a consumer-based quota rule from an AI gateway. This operation applies only to AI gateways of version 2.1.19 or later.
|
|
1632
1752
|
*
|
|
1633
1753
|
* @param request - DeleteGatewayQuotaRuleRequest
|
|
1634
1754
|
* @returns DeleteGatewayQuotaRuleResponse
|
|
@@ -1639,7 +1759,7 @@ class Client extends openapi_core_1.default {
|
|
|
1639
1759
|
return await this.deleteGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
|
|
1640
1760
|
}
|
|
1641
1761
|
/**
|
|
1642
|
-
* Deletes a security group rule
|
|
1762
|
+
* Deletes a gateway security group rule.
|
|
1643
1763
|
*
|
|
1644
1764
|
* @param request - DeleteGatewaySecurityGroupRuleRequest
|
|
1645
1765
|
* @param headers - map
|
|
@@ -1670,7 +1790,7 @@ class Client extends openapi_core_1.default {
|
|
|
1670
1790
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGatewaySecurityGroupRuleResponse({}));
|
|
1671
1791
|
}
|
|
1672
1792
|
/**
|
|
1673
|
-
* Deletes a security group rule
|
|
1793
|
+
* Deletes a gateway security group rule.
|
|
1674
1794
|
*
|
|
1675
1795
|
* @param request - DeleteGatewaySecurityGroupRuleRequest
|
|
1676
1796
|
* @returns DeleteGatewaySecurityGroupRuleResponse
|
|
@@ -1681,7 +1801,7 @@ class Client extends openapi_core_1.default {
|
|
|
1681
1801
|
return await this.deleteGatewaySecurityGroupRuleWithOptions(gatewayId, securityGroupRuleId, request, headers, runtime);
|
|
1682
1802
|
}
|
|
1683
1803
|
/**
|
|
1684
|
-
* Deletes
|
|
1804
|
+
* Deletes a specified HTTP API.
|
|
1685
1805
|
*
|
|
1686
1806
|
* @param headers - map
|
|
1687
1807
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1705,7 +1825,7 @@ class Client extends openapi_core_1.default {
|
|
|
1705
1825
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteHttpApiResponse({}));
|
|
1706
1826
|
}
|
|
1707
1827
|
/**
|
|
1708
|
-
* Deletes
|
|
1828
|
+
* Deletes a specified HTTP API.
|
|
1709
1829
|
* @returns DeleteHttpApiResponse
|
|
1710
1830
|
*/
|
|
1711
1831
|
async deleteHttpApi(httpApiId) {
|
|
@@ -1714,7 +1834,7 @@ class Client extends openapi_core_1.default {
|
|
|
1714
1834
|
return await this.deleteHttpApiWithOptions(httpApiId, headers, runtime);
|
|
1715
1835
|
}
|
|
1716
1836
|
/**
|
|
1717
|
-
* Deletes
|
|
1837
|
+
* Deletes a specified operation.
|
|
1718
1838
|
*
|
|
1719
1839
|
* @param headers - map
|
|
1720
1840
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1738,7 +1858,7 @@ class Client extends openapi_core_1.default {
|
|
|
1738
1858
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteHttpApiOperationResponse({}));
|
|
1739
1859
|
}
|
|
1740
1860
|
/**
|
|
1741
|
-
* Deletes
|
|
1861
|
+
* Deletes a specified operation.
|
|
1742
1862
|
* @returns DeleteHttpApiOperationResponse
|
|
1743
1863
|
*/
|
|
1744
1864
|
async deleteHttpApiOperation(httpApiId, operationId) {
|
|
@@ -1747,7 +1867,7 @@ class Client extends openapi_core_1.default {
|
|
|
1747
1867
|
return await this.deleteHttpApiOperationWithOptions(httpApiId, operationId, headers, runtime);
|
|
1748
1868
|
}
|
|
1749
1869
|
/**
|
|
1750
|
-
* Deletes a route
|
|
1870
|
+
* Deletes a route of an HTTP API.
|
|
1751
1871
|
*
|
|
1752
1872
|
* @param headers - map
|
|
1753
1873
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1771,7 +1891,7 @@ class Client extends openapi_core_1.default {
|
|
|
1771
1891
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteHttpApiRouteResponse({}));
|
|
1772
1892
|
}
|
|
1773
1893
|
/**
|
|
1774
|
-
* Deletes a route
|
|
1894
|
+
* Deletes a route of an HTTP API.
|
|
1775
1895
|
* @returns DeleteHttpApiRouteResponse
|
|
1776
1896
|
*/
|
|
1777
1897
|
async deleteHttpApiRoute(httpApiId, routeId) {
|
|
@@ -1813,7 +1933,7 @@ class Client extends openapi_core_1.default {
|
|
|
1813
1933
|
return await this.deleteMcpServerWithOptions(mcpServerId, headers, runtime);
|
|
1814
1934
|
}
|
|
1815
1935
|
/**
|
|
1816
|
-
* Deletes a
|
|
1936
|
+
* Deletes a plugin mount.
|
|
1817
1937
|
*
|
|
1818
1938
|
* @param headers - map
|
|
1819
1939
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1837,7 +1957,7 @@ class Client extends openapi_core_1.default {
|
|
|
1837
1957
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePluginAttachmentResponse({}));
|
|
1838
1958
|
}
|
|
1839
1959
|
/**
|
|
1840
|
-
* Deletes a
|
|
1960
|
+
* Deletes a plugin mount.
|
|
1841
1961
|
* @returns DeletePluginAttachmentResponse
|
|
1842
1962
|
*/
|
|
1843
1963
|
async deletePluginAttachment(pluginAttachmentId) {
|
|
@@ -1915,7 +2035,7 @@ class Client extends openapi_core_1.default {
|
|
|
1915
2035
|
* Deletes a key value.
|
|
1916
2036
|
*
|
|
1917
2037
|
* @remarks
|
|
1918
|
-
*
|
|
2038
|
+
* The operation supports creating multiple services.
|
|
1919
2039
|
*
|
|
1920
2040
|
* @param headers - map
|
|
1921
2041
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1942,7 +2062,7 @@ class Client extends openapi_core_1.default {
|
|
|
1942
2062
|
* Deletes a key value.
|
|
1943
2063
|
*
|
|
1944
2064
|
* @remarks
|
|
1945
|
-
*
|
|
2065
|
+
* The operation supports creating multiple services.
|
|
1946
2066
|
* @returns DeleteSecretResponse
|
|
1947
2067
|
*/
|
|
1948
2068
|
async deleteSecret(secretId) {
|
|
@@ -2017,7 +2137,7 @@ class Client extends openapi_core_1.default {
|
|
|
2017
2137
|
return await this.deleteServiceVersionWithOptions(serviceId, name, headers, runtime);
|
|
2018
2138
|
}
|
|
2019
2139
|
/**
|
|
2020
|
-
*
|
|
2140
|
+
* Deletes a service source.
|
|
2021
2141
|
*
|
|
2022
2142
|
* @param headers - map
|
|
2023
2143
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2041,7 +2161,7 @@ class Client extends openapi_core_1.default {
|
|
|
2041
2161
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteSourceResponse({}));
|
|
2042
2162
|
}
|
|
2043
2163
|
/**
|
|
2044
|
-
*
|
|
2164
|
+
* Deletes a service source.
|
|
2045
2165
|
* @returns DeleteSourceResponse
|
|
2046
2166
|
*/
|
|
2047
2167
|
async deleteSource(sourceId) {
|
|
@@ -2050,7 +2170,7 @@ class Client extends openapi_core_1.default {
|
|
|
2050
2170
|
return await this.deleteSourceWithOptions(sourceId, headers, runtime);
|
|
2051
2171
|
}
|
|
2052
2172
|
/**
|
|
2053
|
-
*
|
|
2173
|
+
* Publishes an HTTP API. This includes REST APIs and routes within HTTP APIs.
|
|
2054
2174
|
*
|
|
2055
2175
|
* @param request - DeployHttpApiRequest
|
|
2056
2176
|
* @param headers - map
|
|
@@ -2087,7 +2207,7 @@ class Client extends openapi_core_1.default {
|
|
|
2087
2207
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeployHttpApiResponse({}));
|
|
2088
2208
|
}
|
|
2089
2209
|
/**
|
|
2090
|
-
*
|
|
2210
|
+
* Publishes an HTTP API. This includes REST APIs and routes within HTTP APIs.
|
|
2091
2211
|
*
|
|
2092
2212
|
* @param request - DeployHttpApiRequest
|
|
2093
2213
|
* @returns DeployHttpApiResponse
|
|
@@ -2098,7 +2218,7 @@ class Client extends openapi_core_1.default {
|
|
|
2098
2218
|
return await this.deployHttpApiWithOptions(httpApiId, request, headers, runtime);
|
|
2099
2219
|
}
|
|
2100
2220
|
/**
|
|
2101
|
-
*
|
|
2221
|
+
* Publishes an MCP server.
|
|
2102
2222
|
*
|
|
2103
2223
|
* @param headers - map
|
|
2104
2224
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2122,7 +2242,7 @@ class Client extends openapi_core_1.default {
|
|
|
2122
2242
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeployMcpServerResponse({}));
|
|
2123
2243
|
}
|
|
2124
2244
|
/**
|
|
2125
|
-
*
|
|
2245
|
+
* Publishes an MCP server.
|
|
2126
2246
|
* @returns DeployMcpServerResponse
|
|
2127
2247
|
*/
|
|
2128
2248
|
async deployMcpServer(mcpServerId) {
|
|
@@ -2131,7 +2251,7 @@ class Client extends openapi_core_1.default {
|
|
|
2131
2251
|
return await this.deployMcpServerWithOptions(mcpServerId, headers, runtime);
|
|
2132
2252
|
}
|
|
2133
2253
|
/**
|
|
2134
|
-
*
|
|
2254
|
+
* Queries the regions where the cloud-native API gateway is available for the current account.
|
|
2135
2255
|
*
|
|
2136
2256
|
* @param request - DescribeRegionsRequest
|
|
2137
2257
|
* @param headers - map
|
|
@@ -2162,7 +2282,7 @@ class Client extends openapi_core_1.default {
|
|
|
2162
2282
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRegionsResponse({}));
|
|
2163
2283
|
}
|
|
2164
2284
|
/**
|
|
2165
|
-
*
|
|
2285
|
+
* Queries the regions where the cloud-native API gateway is available for the current account.
|
|
2166
2286
|
*
|
|
2167
2287
|
* @param request - DescribeRegionsRequest
|
|
2168
2288
|
* @returns DescribeRegionsResponse
|
|
@@ -2173,7 +2293,7 @@ class Client extends openapi_core_1.default {
|
|
|
2173
2293
|
return await this.describeRegionsWithOptions(request, headers, runtime);
|
|
2174
2294
|
}
|
|
2175
2295
|
/**
|
|
2176
|
-
* Exports
|
|
2296
|
+
* Exports a specified HTTP API.
|
|
2177
2297
|
*
|
|
2178
2298
|
* @param request - ExportHttpApiRequest
|
|
2179
2299
|
* @param headers - map
|
|
@@ -2210,7 +2330,7 @@ class Client extends openapi_core_1.default {
|
|
|
2210
2330
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ExportHttpApiResponse({}));
|
|
2211
2331
|
}
|
|
2212
2332
|
/**
|
|
2213
|
-
* Exports
|
|
2333
|
+
* Exports a specified HTTP API.
|
|
2214
2334
|
*
|
|
2215
2335
|
* @param request - ExportHttpApiRequest
|
|
2216
2336
|
* @returns ExportHttpApiResponse
|
|
@@ -2287,7 +2407,7 @@ class Client extends openapi_core_1.default {
|
|
|
2287
2407
|
return await this.getConsumerAuthorizationRuleWithOptions(consumerAuthorizationRuleId, consumerId, headers, runtime);
|
|
2288
2408
|
}
|
|
2289
2409
|
/**
|
|
2290
|
-
*
|
|
2410
|
+
* Retrieves the monitoring log dashboard.
|
|
2291
2411
|
*
|
|
2292
2412
|
* @param tmpReq - GetDashboardRequest
|
|
2293
2413
|
* @param headers - map
|
|
@@ -2347,7 +2467,7 @@ class Client extends openapi_core_1.default {
|
|
|
2347
2467
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDashboardResponse({}));
|
|
2348
2468
|
}
|
|
2349
2469
|
/**
|
|
2350
|
-
*
|
|
2470
|
+
* Retrieves the monitoring log dashboard.
|
|
2351
2471
|
*
|
|
2352
2472
|
* @param request - GetDashboardRequest
|
|
2353
2473
|
* @returns GetDashboardResponse
|
|
@@ -2483,10 +2603,10 @@ class Client extends openapi_core_1.default {
|
|
|
2483
2603
|
return await this.getGatewayWithOptions(gatewayId, headers, runtime);
|
|
2484
2604
|
}
|
|
2485
2605
|
/**
|
|
2486
|
-
*
|
|
2606
|
+
* Queries the details of a gateway quota rate limiting rule.
|
|
2487
2607
|
*
|
|
2488
2608
|
* @remarks
|
|
2489
|
-
*
|
|
2609
|
+
* This operation queries a specific consumer quota rule on an AI gateway.
|
|
2490
2610
|
*
|
|
2491
2611
|
* @param request - GetGatewayQuotaRuleRequest
|
|
2492
2612
|
* @param headers - map
|
|
@@ -2523,10 +2643,10 @@ class Client extends openapi_core_1.default {
|
|
|
2523
2643
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayQuotaRuleResponse({}));
|
|
2524
2644
|
}
|
|
2525
2645
|
/**
|
|
2526
|
-
*
|
|
2646
|
+
* Queries the details of a gateway quota rate limiting rule.
|
|
2527
2647
|
*
|
|
2528
2648
|
* @remarks
|
|
2529
|
-
*
|
|
2649
|
+
* This operation queries a specific consumer quota rule on an AI gateway.
|
|
2530
2650
|
*
|
|
2531
2651
|
* @param request - GetGatewayQuotaRuleRequest
|
|
2532
2652
|
* @returns GetGatewayQuotaRuleResponse
|
|
@@ -2537,10 +2657,10 @@ class Client extends openapi_core_1.default {
|
|
|
2537
2657
|
return await this.getGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
|
|
2538
2658
|
}
|
|
2539
2659
|
/**
|
|
2540
|
-
*
|
|
2660
|
+
* Queries the usage details of a subject under a gateway quota rate-limiting rule, including used quota, total quota, whether the limit is exceeded, usage details, and consumption records.
|
|
2541
2661
|
*
|
|
2542
2662
|
* @remarks
|
|
2543
|
-
*
|
|
2663
|
+
* 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.
|
|
2544
2664
|
*
|
|
2545
2665
|
* @param request - GetGatewayQuotaRuleSubjectUsageRequest
|
|
2546
2666
|
* @param headers - map
|
|
@@ -2574,10 +2694,10 @@ class Client extends openapi_core_1.default {
|
|
|
2574
2694
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayQuotaRuleSubjectUsageResponse({}));
|
|
2575
2695
|
}
|
|
2576
2696
|
/**
|
|
2577
|
-
*
|
|
2697
|
+
* Queries the usage details of a subject under a gateway quota rate-limiting rule, including used quota, total quota, whether the limit is exceeded, usage details, and consumption records.
|
|
2578
2698
|
*
|
|
2579
2699
|
* @remarks
|
|
2580
|
-
*
|
|
2700
|
+
* Retrieves the usage details of a specific consumer under a quota rule. This operation takes effect only for AI gateways with a version later than 2.1.19.
|
|
2581
2701
|
*
|
|
2582
2702
|
* @param request - GetGatewayQuotaRuleSubjectUsageRequest
|
|
2583
2703
|
* @returns GetGatewayQuotaRuleSubjectUsageResponse
|
|
@@ -2588,7 +2708,7 @@ class Client extends openapi_core_1.default {
|
|
|
2588
2708
|
return await this.getGatewayQuotaRuleSubjectUsageWithOptions(gatewayId, ruleId, subjectId, request, headers, runtime);
|
|
2589
2709
|
}
|
|
2590
2710
|
/**
|
|
2591
|
-
*
|
|
2711
|
+
* Retrieves HTTP API information.
|
|
2592
2712
|
*
|
|
2593
2713
|
* @param headers - map
|
|
2594
2714
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2612,7 +2732,7 @@ class Client extends openapi_core_1.default {
|
|
|
2612
2732
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHttpApiResponse({}));
|
|
2613
2733
|
}
|
|
2614
2734
|
/**
|
|
2615
|
-
*
|
|
2735
|
+
* Retrieves HTTP API information.
|
|
2616
2736
|
* @returns GetHttpApiResponse
|
|
2617
2737
|
*/
|
|
2618
2738
|
async getHttpApi(httpApiId) {
|
|
@@ -2621,7 +2741,7 @@ class Client extends openapi_core_1.default {
|
|
|
2621
2741
|
return await this.getHttpApiWithOptions(httpApiId, headers, runtime);
|
|
2622
2742
|
}
|
|
2623
2743
|
/**
|
|
2624
|
-
*
|
|
2744
|
+
* Retrieves operation information.
|
|
2625
2745
|
*
|
|
2626
2746
|
* @param headers - map
|
|
2627
2747
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2645,7 +2765,7 @@ class Client extends openapi_core_1.default {
|
|
|
2645
2765
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHttpApiOperationResponse({}));
|
|
2646
2766
|
}
|
|
2647
2767
|
/**
|
|
2648
|
-
*
|
|
2768
|
+
* Retrieves operation information.
|
|
2649
2769
|
* @returns GetHttpApiOperationResponse
|
|
2650
2770
|
*/
|
|
2651
2771
|
async getHttpApiOperation(httpApiId, operationId) {
|
|
@@ -2687,10 +2807,10 @@ class Client extends openapi_core_1.default {
|
|
|
2687
2807
|
return await this.getHttpApiRouteWithOptions(httpApiId, routeId, headers, runtime);
|
|
2688
2808
|
}
|
|
2689
2809
|
/**
|
|
2690
|
-
*
|
|
2810
|
+
* Retrieves an MCP server.
|
|
2691
2811
|
*
|
|
2692
2812
|
* @remarks
|
|
2693
|
-
* The
|
|
2813
|
+
* The operation supports creating multiple services.
|
|
2694
2814
|
*
|
|
2695
2815
|
* @param headers - map
|
|
2696
2816
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2714,10 +2834,10 @@ class Client extends openapi_core_1.default {
|
|
|
2714
2834
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMcpServerResponse({}));
|
|
2715
2835
|
}
|
|
2716
2836
|
/**
|
|
2717
|
-
*
|
|
2837
|
+
* Retrieves an MCP server.
|
|
2718
2838
|
*
|
|
2719
2839
|
* @remarks
|
|
2720
|
-
* The
|
|
2840
|
+
* The operation supports creating multiple services.
|
|
2721
2841
|
* @returns GetMcpServerResponse
|
|
2722
2842
|
*/
|
|
2723
2843
|
async getMcpServer(mcpServerId) {
|
|
@@ -2726,7 +2846,7 @@ class Client extends openapi_core_1.default {
|
|
|
2726
2846
|
return await this.getMcpServerWithOptions(mcpServerId, headers, runtime);
|
|
2727
2847
|
}
|
|
2728
2848
|
/**
|
|
2729
|
-
* Queries a plugin
|
|
2849
|
+
* Queries a plugin mount.
|
|
2730
2850
|
*
|
|
2731
2851
|
* @param headers - map
|
|
2732
2852
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2750,7 +2870,7 @@ class Client extends openapi_core_1.default {
|
|
|
2750
2870
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPluginAttachmentResponse({}));
|
|
2751
2871
|
}
|
|
2752
2872
|
/**
|
|
2753
|
-
* Queries a plugin
|
|
2873
|
+
* Queries a plugin mount.
|
|
2754
2874
|
* @returns GetPluginAttachmentResponse
|
|
2755
2875
|
*/
|
|
2756
2876
|
async getPluginAttachment(pluginAttachmentId) {
|
|
@@ -2759,7 +2879,44 @@ class Client extends openapi_core_1.default {
|
|
|
2759
2879
|
return await this.getPluginAttachmentWithOptions(pluginAttachmentId, headers, runtime);
|
|
2760
2880
|
}
|
|
2761
2881
|
/**
|
|
2762
|
-
*
|
|
2882
|
+
* Retrieves a custom plugin class.
|
|
2883
|
+
*
|
|
2884
|
+
* @param request - GetPluginClassRequest
|
|
2885
|
+
* @param headers - map
|
|
2886
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2887
|
+
* @returns GetPluginClassResponse
|
|
2888
|
+
*/
|
|
2889
|
+
async getPluginClassWithOptions(pluginClassId, request, headers, runtime) {
|
|
2890
|
+
request.validate();
|
|
2891
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2892
|
+
headers: headers,
|
|
2893
|
+
});
|
|
2894
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2895
|
+
action: "GetPluginClass",
|
|
2896
|
+
version: "2024-03-27",
|
|
2897
|
+
protocol: "HTTPS",
|
|
2898
|
+
pathname: `/v1/plugin-classes/${$dara.URL.percentEncode(pluginClassId)}`,
|
|
2899
|
+
method: "GET",
|
|
2900
|
+
authType: "AK",
|
|
2901
|
+
style: "ROA",
|
|
2902
|
+
reqBodyType: "json",
|
|
2903
|
+
bodyType: "json",
|
|
2904
|
+
});
|
|
2905
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPluginClassResponse({}));
|
|
2906
|
+
}
|
|
2907
|
+
/**
|
|
2908
|
+
* Retrieves a custom plugin class.
|
|
2909
|
+
*
|
|
2910
|
+
* @param request - GetPluginClassRequest
|
|
2911
|
+
* @returns GetPluginClassResponse
|
|
2912
|
+
*/
|
|
2913
|
+
async getPluginClass(pluginClassId, request) {
|
|
2914
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2915
|
+
let headers = {};
|
|
2916
|
+
return await this.getPluginClassWithOptions(pluginClassId, request, headers, runtime);
|
|
2917
|
+
}
|
|
2918
|
+
/**
|
|
2919
|
+
* Retrieves a policy.
|
|
2763
2920
|
*
|
|
2764
2921
|
* @param headers - map
|
|
2765
2922
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2783,7 +2940,7 @@ class Client extends openapi_core_1.default {
|
|
|
2783
2940
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPolicyResponse({}));
|
|
2784
2941
|
}
|
|
2785
2942
|
/**
|
|
2786
|
-
*
|
|
2943
|
+
* Retrieves a policy.
|
|
2787
2944
|
* @returns GetPolicyResponse
|
|
2788
2945
|
*/
|
|
2789
2946
|
async getPolicy(policyId) {
|
|
@@ -2792,7 +2949,7 @@ class Client extends openapi_core_1.default {
|
|
|
2792
2949
|
return await this.getPolicyWithOptions(policyId, headers, runtime);
|
|
2793
2950
|
}
|
|
2794
2951
|
/**
|
|
2795
|
-
* Queries a policy
|
|
2952
|
+
* Queries the resource attachment of a policy.
|
|
2796
2953
|
*
|
|
2797
2954
|
* @param headers - map
|
|
2798
2955
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2816,7 +2973,7 @@ class Client extends openapi_core_1.default {
|
|
|
2816
2973
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPolicyAttachmentResponse({}));
|
|
2817
2974
|
}
|
|
2818
2975
|
/**
|
|
2819
|
-
* Queries a policy
|
|
2976
|
+
* Queries the resource attachment of a policy.
|
|
2820
2977
|
* @returns GetPolicyAttachmentResponse
|
|
2821
2978
|
*/
|
|
2822
2979
|
async getPolicyAttachment(policyAttachmentId) {
|
|
@@ -2825,7 +2982,7 @@ class Client extends openapi_core_1.default {
|
|
|
2825
2982
|
return await this.getPolicyAttachmentWithOptions(policyAttachmentId, headers, runtime);
|
|
2826
2983
|
}
|
|
2827
2984
|
/**
|
|
2828
|
-
*
|
|
2985
|
+
* Retrieves resource overview information.
|
|
2829
2986
|
*
|
|
2830
2987
|
* @param request - GetResourceOverviewRequest
|
|
2831
2988
|
* @param headers - map
|
|
@@ -2856,7 +3013,7 @@ class Client extends openapi_core_1.default {
|
|
|
2856
3013
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceOverviewResponse({}));
|
|
2857
3014
|
}
|
|
2858
3015
|
/**
|
|
2859
|
-
*
|
|
3016
|
+
* Retrieves resource overview information.
|
|
2860
3017
|
*
|
|
2861
3018
|
* @param request - GetResourceOverviewRequest
|
|
2862
3019
|
* @returns GetResourceOverviewResponse
|
|
@@ -2867,10 +3024,10 @@ class Client extends openapi_core_1.default {
|
|
|
2867
3024
|
return await this.getResourceOverviewWithOptions(request, headers, runtime);
|
|
2868
3025
|
}
|
|
2869
3026
|
/**
|
|
2870
|
-
*
|
|
3027
|
+
* Retrieves a key.
|
|
2871
3028
|
*
|
|
2872
3029
|
* @remarks
|
|
2873
|
-
*
|
|
3030
|
+
* The operation supports creating multiple services.
|
|
2874
3031
|
*
|
|
2875
3032
|
* @param headers - map
|
|
2876
3033
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2894,10 +3051,10 @@ class Client extends openapi_core_1.default {
|
|
|
2894
3051
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSecretResponse({}));
|
|
2895
3052
|
}
|
|
2896
3053
|
/**
|
|
2897
|
-
*
|
|
3054
|
+
* Retrieves a key.
|
|
2898
3055
|
*
|
|
2899
3056
|
* @remarks
|
|
2900
|
-
*
|
|
3057
|
+
* The operation supports creating multiple services.
|
|
2901
3058
|
* @returns GetSecretResponse
|
|
2902
3059
|
*/
|
|
2903
3060
|
async getSecret(secretId) {
|
|
@@ -2906,10 +3063,10 @@ class Client extends openapi_core_1.default {
|
|
|
2906
3063
|
return await this.getSecretWithOptions(secretId, headers, runtime);
|
|
2907
3064
|
}
|
|
2908
3065
|
/**
|
|
2909
|
-
*
|
|
3066
|
+
* Retrieves the value of a key.
|
|
2910
3067
|
*
|
|
2911
3068
|
* @remarks
|
|
2912
|
-
*
|
|
3069
|
+
* The operation supports creating multiple services.
|
|
2913
3070
|
*
|
|
2914
3071
|
* @param headers - map
|
|
2915
3072
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2933,10 +3090,10 @@ class Client extends openapi_core_1.default {
|
|
|
2933
3090
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSecretValueResponse({}));
|
|
2934
3091
|
}
|
|
2935
3092
|
/**
|
|
2936
|
-
*
|
|
3093
|
+
* Retrieves the value of a key.
|
|
2937
3094
|
*
|
|
2938
3095
|
* @remarks
|
|
2939
|
-
*
|
|
3096
|
+
* The operation supports creating multiple services.
|
|
2940
3097
|
* @returns GetSecretValueResponse
|
|
2941
3098
|
*/
|
|
2942
3099
|
async getSecretValue(name) {
|
|
@@ -2945,7 +3102,7 @@ class Client extends openapi_core_1.default {
|
|
|
2945
3102
|
return await this.getSecretValueWithOptions(name, headers, runtime);
|
|
2946
3103
|
}
|
|
2947
3104
|
/**
|
|
2948
|
-
*
|
|
3105
|
+
* Retrieves the details of a service.
|
|
2949
3106
|
*
|
|
2950
3107
|
* @param headers - map
|
|
2951
3108
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2969,7 +3126,7 @@ class Client extends openapi_core_1.default {
|
|
|
2969
3126
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetServiceResponse({}));
|
|
2970
3127
|
}
|
|
2971
3128
|
/**
|
|
2972
|
-
*
|
|
3129
|
+
* Retrieves the details of a service.
|
|
2973
3130
|
* @returns GetServiceResponse
|
|
2974
3131
|
*/
|
|
2975
3132
|
async getService(serviceId) {
|
|
@@ -2978,7 +3135,7 @@ class Client extends openapi_core_1.default {
|
|
|
2978
3135
|
return await this.getServiceWithOptions(serviceId, headers, runtime);
|
|
2979
3136
|
}
|
|
2980
3137
|
/**
|
|
2981
|
-
*
|
|
3138
|
+
* Retrieves the details of a service source.
|
|
2982
3139
|
*
|
|
2983
3140
|
* @param headers - map
|
|
2984
3141
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3002,7 +3159,7 @@ class Client extends openapi_core_1.default {
|
|
|
3002
3159
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSourceResponse({}));
|
|
3003
3160
|
}
|
|
3004
3161
|
/**
|
|
3005
|
-
*
|
|
3162
|
+
* Retrieves the details of a service source.
|
|
3006
3163
|
* @returns GetSourceResponse
|
|
3007
3164
|
*/
|
|
3008
3165
|
async getSource(sourceId) {
|
|
@@ -3227,7 +3384,7 @@ class Client extends openapi_core_1.default {
|
|
|
3227
3384
|
return await this.listConsumerAuthorizationRulesWithOptions(consumerId, request, headers, runtime);
|
|
3228
3385
|
}
|
|
3229
3386
|
/**
|
|
3230
|
-
*
|
|
3387
|
+
* Queries the list of quota rules configured for a specific consumer.
|
|
3231
3388
|
*
|
|
3232
3389
|
* @param request - ListConsumerQuotaRulesRequest
|
|
3233
3390
|
* @param headers - map
|
|
@@ -3267,7 +3424,7 @@ class Client extends openapi_core_1.default {
|
|
|
3267
3424
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerQuotaRulesResponse({}));
|
|
3268
3425
|
}
|
|
3269
3426
|
/**
|
|
3270
|
-
*
|
|
3427
|
+
* Queries the list of quota rules configured for a specific consumer.
|
|
3271
3428
|
*
|
|
3272
3429
|
* @param request - ListConsumerQuotaRulesRequest
|
|
3273
3430
|
* @returns ListConsumerQuotaRulesResponse
|
|
@@ -3278,7 +3435,7 @@ class Client extends openapi_core_1.default {
|
|
|
3278
3435
|
return await this.listConsumerQuotaRulesWithOptions(consumerId, request, headers, runtime);
|
|
3279
3436
|
}
|
|
3280
3437
|
/**
|
|
3281
|
-
*
|
|
3438
|
+
* Retrieves a list of consumers.
|
|
3282
3439
|
*
|
|
3283
3440
|
* @param request - ListConsumersRequest
|
|
3284
3441
|
* @param headers - map
|
|
@@ -3318,7 +3475,7 @@ class Client extends openapi_core_1.default {
|
|
|
3318
3475
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumersResponse({}));
|
|
3319
3476
|
}
|
|
3320
3477
|
/**
|
|
3321
|
-
*
|
|
3478
|
+
* Retrieves a list of consumers.
|
|
3322
3479
|
*
|
|
3323
3480
|
* @param request - ListConsumersRequest
|
|
3324
3481
|
* @returns ListConsumersResponse
|
|
@@ -3389,7 +3546,7 @@ class Client extends openapi_core_1.default {
|
|
|
3389
3546
|
return await this.listDomainsWithOptions(request, headers, runtime);
|
|
3390
3547
|
}
|
|
3391
3548
|
/**
|
|
3392
|
-
* Queries
|
|
3549
|
+
* Queries the list of environments.
|
|
3393
3550
|
*
|
|
3394
3551
|
* @deprecated OpenAPI ListEnvironments is deprecated
|
|
3395
3552
|
*
|
|
@@ -3443,7 +3600,7 @@ class Client extends openapi_core_1.default {
|
|
|
3443
3600
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEnvironmentsResponse({}));
|
|
3444
3601
|
}
|
|
3445
3602
|
/**
|
|
3446
|
-
* Queries
|
|
3603
|
+
* Queries the list of environments.
|
|
3447
3604
|
*
|
|
3448
3605
|
* @deprecated OpenAPI ListEnvironments is deprecated
|
|
3449
3606
|
*
|
|
@@ -3457,10 +3614,10 @@ class Client extends openapi_core_1.default {
|
|
|
3457
3614
|
return await this.listEnvironmentsWithOptions(request, headers, runtime);
|
|
3458
3615
|
}
|
|
3459
3616
|
/**
|
|
3460
|
-
*
|
|
3617
|
+
* Retrieves the external service information of a gateway.
|
|
3461
3618
|
*
|
|
3462
3619
|
* @remarks
|
|
3463
|
-
*
|
|
3620
|
+
* This operation supports creating multiple services.
|
|
3464
3621
|
*
|
|
3465
3622
|
* @param request - ListExternalServicesRequest
|
|
3466
3623
|
* @param headers - map
|
|
@@ -3503,10 +3660,10 @@ class Client extends openapi_core_1.default {
|
|
|
3503
3660
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListExternalServicesResponse({}));
|
|
3504
3661
|
}
|
|
3505
3662
|
/**
|
|
3506
|
-
*
|
|
3663
|
+
* Retrieves the external service information of a gateway.
|
|
3507
3664
|
*
|
|
3508
3665
|
* @remarks
|
|
3509
|
-
*
|
|
3666
|
+
* This operation supports creating multiple services.
|
|
3510
3667
|
*
|
|
3511
3668
|
* @param request - ListExternalServicesRequest
|
|
3512
3669
|
* @returns ListExternalServicesResponse
|
|
@@ -3517,7 +3674,7 @@ class Client extends openapi_core_1.default {
|
|
|
3517
3674
|
return await this.listExternalServicesWithOptions(gatewayId, request, headers, runtime);
|
|
3518
3675
|
}
|
|
3519
3676
|
/**
|
|
3520
|
-
* Queries the
|
|
3677
|
+
* Queries the list of gateway attribute parameter settings.
|
|
3521
3678
|
*
|
|
3522
3679
|
* @param headers - map
|
|
3523
3680
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3541,7 +3698,7 @@ class Client extends openapi_core_1.default {
|
|
|
3541
3698
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayFeaturesResponse({}));
|
|
3542
3699
|
}
|
|
3543
3700
|
/**
|
|
3544
|
-
* Queries the
|
|
3701
|
+
* Queries the list of gateway attribute parameter settings.
|
|
3545
3702
|
* @returns ListGatewayFeaturesResponse
|
|
3546
3703
|
*/
|
|
3547
3704
|
async listGatewayFeatures(gatewayId) {
|
|
@@ -3550,10 +3707,10 @@ class Client extends openapi_core_1.default {
|
|
|
3550
3707
|
return await this.listGatewayFeaturesWithOptions(gatewayId, headers, runtime);
|
|
3551
3708
|
}
|
|
3552
3709
|
/**
|
|
3553
|
-
*
|
|
3710
|
+
* Queries the list of API consumer quota rules bound to a gateway.
|
|
3554
3711
|
*
|
|
3555
3712
|
* @remarks
|
|
3556
|
-
*
|
|
3713
|
+
* Queries the list of API consumer quota rules bound to a gateway.
|
|
3557
3714
|
*
|
|
3558
3715
|
* @param request - ListGatewayQuotaRulesRequest
|
|
3559
3716
|
* @param headers - map
|
|
@@ -3596,10 +3753,10 @@ class Client extends openapi_core_1.default {
|
|
|
3596
3753
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayQuotaRulesResponse({}));
|
|
3597
3754
|
}
|
|
3598
3755
|
/**
|
|
3599
|
-
*
|
|
3756
|
+
* Queries the list of API consumer quota rules bound to a gateway.
|
|
3600
3757
|
*
|
|
3601
3758
|
* @remarks
|
|
3602
|
-
*
|
|
3759
|
+
* Queries the list of API consumer quota rules bound to a gateway.
|
|
3603
3760
|
*
|
|
3604
3761
|
* @param request - ListGatewayQuotaRulesRequest
|
|
3605
3762
|
* @returns ListGatewayQuotaRulesResponse
|
|
@@ -3610,7 +3767,7 @@ class Client extends openapi_core_1.default {
|
|
|
3610
3767
|
return await this.listGatewayQuotaRulesWithOptions(gatewayId, request, headers, runtime);
|
|
3611
3768
|
}
|
|
3612
3769
|
/**
|
|
3613
|
-
* Queries a list of
|
|
3770
|
+
* Queries a list of gateways.
|
|
3614
3771
|
*
|
|
3615
3772
|
* @param tmpReq - ListGatewaysRequest
|
|
3616
3773
|
* @param headers - map
|
|
@@ -3667,7 +3824,7 @@ class Client extends openapi_core_1.default {
|
|
|
3667
3824
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewaysResponse({}));
|
|
3668
3825
|
}
|
|
3669
3826
|
/**
|
|
3670
|
-
* Queries a list of
|
|
3827
|
+
* Queries a list of gateways.
|
|
3671
3828
|
*
|
|
3672
3829
|
* @param request - ListGatewaysRequest
|
|
3673
3830
|
* @returns ListGatewaysResponse
|
|
@@ -3678,7 +3835,7 @@ class Client extends openapi_core_1.default {
|
|
|
3678
3835
|
return await this.listGatewaysWithOptions(request, headers, runtime);
|
|
3679
3836
|
}
|
|
3680
3837
|
/**
|
|
3681
|
-
*
|
|
3838
|
+
* Retrieves a list of API operations.
|
|
3682
3839
|
*
|
|
3683
3840
|
* @param request - ListHttpApiOperationsRequest
|
|
3684
3841
|
* @param headers - map
|
|
@@ -3745,7 +3902,7 @@ class Client extends openapi_core_1.default {
|
|
|
3745
3902
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHttpApiOperationsResponse({}));
|
|
3746
3903
|
}
|
|
3747
3904
|
/**
|
|
3748
|
-
*
|
|
3905
|
+
* Retrieves a list of API operations.
|
|
3749
3906
|
*
|
|
3750
3907
|
* @param request - ListHttpApiOperationsRequest
|
|
3751
3908
|
* @returns ListHttpApiOperationsResponse
|
|
@@ -3840,7 +3997,7 @@ class Client extends openapi_core_1.default {
|
|
|
3840
3997
|
return await this.listHttpApiRoutesWithOptions(httpApiId, request, headers, runtime);
|
|
3841
3998
|
}
|
|
3842
3999
|
/**
|
|
3843
|
-
*
|
|
4000
|
+
* Retrieves a list of HTTP APIs.
|
|
3844
4001
|
*
|
|
3845
4002
|
* @param request - ListHttpApisRequest
|
|
3846
4003
|
* @param headers - map
|
|
@@ -3919,7 +4076,7 @@ class Client extends openapi_core_1.default {
|
|
|
3919
4076
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHttpApisResponse({}));
|
|
3920
4077
|
}
|
|
3921
4078
|
/**
|
|
3922
|
-
*
|
|
4079
|
+
* Retrieves a list of HTTP APIs.
|
|
3923
4080
|
*
|
|
3924
4081
|
* @param request - ListHttpApisRequest
|
|
3925
4082
|
* @returns ListHttpApisResponse
|
|
@@ -3933,7 +4090,7 @@ class Client extends openapi_core_1.default {
|
|
|
3933
4090
|
* Retrieves a list of MCP servers.
|
|
3934
4091
|
*
|
|
3935
4092
|
* @remarks
|
|
3936
|
-
*
|
|
4093
|
+
* The operation supports creating multiple services.
|
|
3937
4094
|
*
|
|
3938
4095
|
* @param request - ListMcpServersRequest
|
|
3939
4096
|
* @param headers - map
|
|
@@ -3985,7 +4142,7 @@ class Client extends openapi_core_1.default {
|
|
|
3985
4142
|
* Retrieves a list of MCP servers.
|
|
3986
4143
|
*
|
|
3987
4144
|
* @remarks
|
|
3988
|
-
*
|
|
4145
|
+
* The operation supports creating multiple services.
|
|
3989
4146
|
*
|
|
3990
4147
|
* @param request - ListMcpServersRequest
|
|
3991
4148
|
* @returns ListMcpServersResponse
|
|
@@ -3996,7 +4153,7 @@ class Client extends openapi_core_1.default {
|
|
|
3996
4153
|
return await this.listMcpServersWithOptions(request, headers, runtime);
|
|
3997
4154
|
}
|
|
3998
4155
|
/**
|
|
3999
|
-
* Retrieves
|
|
4156
|
+
* Retrieves the list of plug-in mounts.
|
|
4000
4157
|
*
|
|
4001
4158
|
* @param request - ListPluginAttachmentsRequest
|
|
4002
4159
|
* @param headers - map
|
|
@@ -4051,7 +4208,7 @@ class Client extends openapi_core_1.default {
|
|
|
4051
4208
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginAttachmentsResponse({}));
|
|
4052
4209
|
}
|
|
4053
4210
|
/**
|
|
4054
|
-
* Retrieves
|
|
4211
|
+
* Retrieves the list of plug-in mounts.
|
|
4055
4212
|
*
|
|
4056
4213
|
* @param request - ListPluginAttachmentsRequest
|
|
4057
4214
|
* @returns ListPluginAttachmentsResponse
|
|
@@ -4062,10 +4219,10 @@ class Client extends openapi_core_1.default {
|
|
|
4062
4219
|
return await this.listPluginAttachmentsWithOptions(request, headers, runtime);
|
|
4063
4220
|
}
|
|
4064
4221
|
/**
|
|
4065
|
-
*
|
|
4222
|
+
* Retrieves plug-ins.
|
|
4066
4223
|
*
|
|
4067
4224
|
* @remarks
|
|
4068
|
-
*
|
|
4225
|
+
* The operation supports creating multiple services.
|
|
4069
4226
|
*
|
|
4070
4227
|
* @param request - ListPluginClassesRequest
|
|
4071
4228
|
* @param headers - map
|
|
@@ -4126,10 +4283,10 @@ class Client extends openapi_core_1.default {
|
|
|
4126
4283
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginClassesResponse({}));
|
|
4127
4284
|
}
|
|
4128
4285
|
/**
|
|
4129
|
-
*
|
|
4286
|
+
* Retrieves plug-ins.
|
|
4130
4287
|
*
|
|
4131
4288
|
* @remarks
|
|
4132
|
-
*
|
|
4289
|
+
* The operation supports creating multiple services.
|
|
4133
4290
|
*
|
|
4134
4291
|
* @param request - ListPluginClassesRequest
|
|
4135
4292
|
* @returns ListPluginClassesResponse
|
|
@@ -4140,7 +4297,7 @@ class Client extends openapi_core_1.default {
|
|
|
4140
4297
|
return await this.listPluginClassesWithOptions(request, headers, runtime);
|
|
4141
4298
|
}
|
|
4142
4299
|
/**
|
|
4143
|
-
*
|
|
4300
|
+
* Retrieves a list of plugins.
|
|
4144
4301
|
*
|
|
4145
4302
|
* @param request - ListPluginsRequest
|
|
4146
4303
|
* @param headers - map
|
|
@@ -4198,7 +4355,7 @@ class Client extends openapi_core_1.default {
|
|
|
4198
4355
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginsResponse({}));
|
|
4199
4356
|
}
|
|
4200
4357
|
/**
|
|
4201
|
-
*
|
|
4358
|
+
* Retrieves a list of plugins.
|
|
4202
4359
|
*
|
|
4203
4360
|
* @param request - ListPluginsRequest
|
|
4204
4361
|
* @returns ListPluginsResponse
|
|
@@ -4209,7 +4366,7 @@ class Client extends openapi_core_1.default {
|
|
|
4209
4366
|
return await this.listPluginsWithOptions(request, headers, runtime);
|
|
4210
4367
|
}
|
|
4211
4368
|
/**
|
|
4212
|
-
* Queries policies.
|
|
4369
|
+
* Queries a list of policies.
|
|
4213
4370
|
*
|
|
4214
4371
|
* @param request - ListPoliciesRequest
|
|
4215
4372
|
* @param headers - map
|
|
@@ -4255,7 +4412,7 @@ class Client extends openapi_core_1.default {
|
|
|
4255
4412
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPoliciesResponse({}));
|
|
4256
4413
|
}
|
|
4257
4414
|
/**
|
|
4258
|
-
* Queries policies.
|
|
4415
|
+
* Queries a list of policies.
|
|
4259
4416
|
*
|
|
4260
4417
|
* @param request - ListPoliciesRequest
|
|
4261
4418
|
* @returns ListPoliciesResponse
|
|
@@ -4266,7 +4423,7 @@ class Client extends openapi_core_1.default {
|
|
|
4266
4423
|
return await this.listPoliciesWithOptions(request, headers, runtime);
|
|
4267
4424
|
}
|
|
4268
4425
|
/**
|
|
4269
|
-
*
|
|
4426
|
+
* Retrieves policy templates.
|
|
4270
4427
|
*
|
|
4271
4428
|
* @param request - ListPolicyClassesRequest
|
|
4272
4429
|
* @param headers - map
|
|
@@ -4315,7 +4472,7 @@ class Client extends openapi_core_1.default {
|
|
|
4315
4472
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPolicyClassesResponse({}));
|
|
4316
4473
|
}
|
|
4317
4474
|
/**
|
|
4318
|
-
*
|
|
4475
|
+
* Retrieves policy templates.
|
|
4319
4476
|
*
|
|
4320
4477
|
* @param request - ListPolicyClassesRequest
|
|
4321
4478
|
* @returns ListPolicyClassesResponse
|
|
@@ -4326,10 +4483,10 @@ class Client extends openapi_core_1.default {
|
|
|
4326
4483
|
return await this.listPolicyClassesWithOptions(request, headers, runtime);
|
|
4327
4484
|
}
|
|
4328
4485
|
/**
|
|
4329
|
-
* Lists
|
|
4486
|
+
* Lists secret references.
|
|
4330
4487
|
*
|
|
4331
4488
|
* @remarks
|
|
4332
|
-
*
|
|
4489
|
+
* This operation supports creating multiple services.
|
|
4333
4490
|
*
|
|
4334
4491
|
* @param request - ListSecretReferencesRequest
|
|
4335
4492
|
* @param headers - map
|
|
@@ -4363,10 +4520,10 @@ class Client extends openapi_core_1.default {
|
|
|
4363
4520
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSecretReferencesResponse({}));
|
|
4364
4521
|
}
|
|
4365
4522
|
/**
|
|
4366
|
-
* Lists
|
|
4523
|
+
* Lists secret references.
|
|
4367
4524
|
*
|
|
4368
4525
|
* @remarks
|
|
4369
|
-
*
|
|
4526
|
+
* This operation supports creating multiple services.
|
|
4370
4527
|
*
|
|
4371
4528
|
* @param request - ListSecretReferencesRequest
|
|
4372
4529
|
* @returns ListSecretReferencesResponse
|
|
@@ -4377,10 +4534,10 @@ class Client extends openapi_core_1.default {
|
|
|
4377
4534
|
return await this.listSecretReferencesWithOptions(secretId, request, headers, runtime);
|
|
4378
4535
|
}
|
|
4379
4536
|
/**
|
|
4380
|
-
*
|
|
4537
|
+
* Lists keys.
|
|
4381
4538
|
*
|
|
4382
4539
|
* @remarks
|
|
4383
|
-
* The
|
|
4540
|
+
* The operation supports creating multiple services.
|
|
4384
4541
|
*
|
|
4385
4542
|
* @param request - ListSecretsRequest
|
|
4386
4543
|
* @param headers - map
|
|
@@ -4420,10 +4577,10 @@ class Client extends openapi_core_1.default {
|
|
|
4420
4577
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSecretsResponse({}));
|
|
4421
4578
|
}
|
|
4422
4579
|
/**
|
|
4423
|
-
*
|
|
4580
|
+
* Lists keys.
|
|
4424
4581
|
*
|
|
4425
4582
|
* @remarks
|
|
4426
|
-
* The
|
|
4583
|
+
* The operation supports creating multiple services.
|
|
4427
4584
|
*
|
|
4428
4585
|
* @param request - ListSecretsRequest
|
|
4429
4586
|
* @returns ListSecretsResponse
|
|
@@ -4434,7 +4591,7 @@ class Client extends openapi_core_1.default {
|
|
|
4434
4591
|
return await this.listSecretsWithOptions(request, headers, runtime);
|
|
4435
4592
|
}
|
|
4436
4593
|
/**
|
|
4437
|
-
*
|
|
4594
|
+
* Retrieves a list of services.
|
|
4438
4595
|
*
|
|
4439
4596
|
* @param request - ListServicesRequest
|
|
4440
4597
|
* @param headers - map
|
|
@@ -4483,7 +4640,7 @@ class Client extends openapi_core_1.default {
|
|
|
4483
4640
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServicesResponse({}));
|
|
4484
4641
|
}
|
|
4485
4642
|
/**
|
|
4486
|
-
*
|
|
4643
|
+
* Retrieves a list of services.
|
|
4487
4644
|
*
|
|
4488
4645
|
* @param request - ListServicesRequest
|
|
4489
4646
|
* @returns ListServicesResponse
|
|
@@ -4545,7 +4702,66 @@ class Client extends openapi_core_1.default {
|
|
|
4545
4702
|
return await this.listSslCertsWithOptions(request, headers, runtime);
|
|
4546
4703
|
}
|
|
4547
4704
|
/**
|
|
4548
|
-
*
|
|
4705
|
+
* Retrieves the list of resource labels.
|
|
4706
|
+
*
|
|
4707
|
+
* @param tmpReq - ListTagResourcesRequest
|
|
4708
|
+
* @param headers - map
|
|
4709
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4710
|
+
* @returns ListTagResourcesResponse
|
|
4711
|
+
*/
|
|
4712
|
+
async listTagResourcesWithOptions(tmpReq, headers, runtime) {
|
|
4713
|
+
tmpReq.validate();
|
|
4714
|
+
let request = new $_model.ListTagResourcesShrinkRequest({});
|
|
4715
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4716
|
+
if (!$dara.isNull(tmpReq.resourceId)) {
|
|
4717
|
+
request.resourceIdShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceId, "ResourceId", "json");
|
|
4718
|
+
}
|
|
4719
|
+
if (!$dara.isNull(tmpReq.tag)) {
|
|
4720
|
+
request.tagShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
|
|
4721
|
+
}
|
|
4722
|
+
let query = {};
|
|
4723
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4724
|
+
query["NextToken"] = request.nextToken;
|
|
4725
|
+
}
|
|
4726
|
+
if (!$dara.isNull(request.resourceIdShrink)) {
|
|
4727
|
+
query["ResourceId"] = request.resourceIdShrink;
|
|
4728
|
+
}
|
|
4729
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
4730
|
+
query["ResourceType"] = request.resourceType;
|
|
4731
|
+
}
|
|
4732
|
+
if (!$dara.isNull(request.tagShrink)) {
|
|
4733
|
+
query["Tag"] = request.tagShrink;
|
|
4734
|
+
}
|
|
4735
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4736
|
+
headers: headers,
|
|
4737
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4738
|
+
});
|
|
4739
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4740
|
+
action: "ListTagResources",
|
|
4741
|
+
version: "2024-03-27",
|
|
4742
|
+
protocol: "HTTPS",
|
|
4743
|
+
pathname: `/v1/tags`,
|
|
4744
|
+
method: "GET",
|
|
4745
|
+
authType: "AK",
|
|
4746
|
+
style: "ROA",
|
|
4747
|
+
reqBodyType: "json",
|
|
4748
|
+
bodyType: "json",
|
|
4749
|
+
});
|
|
4750
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
|
|
4751
|
+
}
|
|
4752
|
+
/**
|
|
4753
|
+
* Retrieves the list of resource labels.
|
|
4754
|
+
*
|
|
4755
|
+
* @param request - ListTagResourcesRequest
|
|
4756
|
+
* @returns ListTagResourcesResponse
|
|
4757
|
+
*/
|
|
4758
|
+
async listTagResources(request) {
|
|
4759
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4760
|
+
let headers = {};
|
|
4761
|
+
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
4762
|
+
}
|
|
4763
|
+
/**
|
|
4764
|
+
* Retrieves the zones available for a cloud-native API gateway in a specified region.
|
|
4549
4765
|
*
|
|
4550
4766
|
* @param headers - map
|
|
4551
4767
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4569,7 +4785,7 @@ class Client extends openapi_core_1.default {
|
|
|
4569
4785
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListZonesResponse({}));
|
|
4570
4786
|
}
|
|
4571
4787
|
/**
|
|
4572
|
-
*
|
|
4788
|
+
* Retrieves the zones available for a cloud-native API gateway in a specified region.
|
|
4573
4789
|
* @returns ListZonesResponse
|
|
4574
4790
|
*/
|
|
4575
4791
|
async listZones() {
|
|
@@ -4591,6 +4807,9 @@ class Client extends openapi_core_1.default {
|
|
|
4591
4807
|
if (!$dara.isNull(request.apiNameLike)) {
|
|
4592
4808
|
query["apiNameLike"] = request.apiNameLike;
|
|
4593
4809
|
}
|
|
4810
|
+
if (!$dara.isNull(request.consumerGroupId)) {
|
|
4811
|
+
query["consumerGroupId"] = request.consumerGroupId;
|
|
4812
|
+
}
|
|
4594
4813
|
if (!$dara.isNull(request.consumerId)) {
|
|
4595
4814
|
query["consumerId"] = request.consumerId;
|
|
4596
4815
|
}
|
|
@@ -4612,6 +4831,9 @@ class Client extends openapi_core_1.default {
|
|
|
4612
4831
|
if (!$dara.isNull(request.parentResourceId)) {
|
|
4613
4832
|
query["parentResourceId"] = request.parentResourceId;
|
|
4614
4833
|
}
|
|
4834
|
+
if (!$dara.isNull(request.principalType)) {
|
|
4835
|
+
query["principalType"] = request.principalType;
|
|
4836
|
+
}
|
|
4615
4837
|
if (!$dara.isNull(request.resourceId)) {
|
|
4616
4838
|
query["resourceId"] = request.resourceId;
|
|
4617
4839
|
}
|
|
@@ -4650,7 +4872,7 @@ class Client extends openapi_core_1.default {
|
|
|
4650
4872
|
return await this.queryConsumerAuthorizationRulesWithOptions(request, headers, runtime);
|
|
4651
4873
|
}
|
|
4652
4874
|
/**
|
|
4653
|
-
* Deletes
|
|
4875
|
+
* Deletes an API consumer authorization rule.
|
|
4654
4876
|
*
|
|
4655
4877
|
* @param headers - map
|
|
4656
4878
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4674,7 +4896,7 @@ class Client extends openapi_core_1.default {
|
|
|
4674
4896
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveConsumerAuthorizationRuleResponse({}));
|
|
4675
4897
|
}
|
|
4676
4898
|
/**
|
|
4677
|
-
* Deletes
|
|
4899
|
+
* Deletes an API consumer authorization rule.
|
|
4678
4900
|
* @returns RemoveConsumerAuthorizationRuleResponse
|
|
4679
4901
|
*/
|
|
4680
4902
|
async removeConsumerAuthorizationRule(consumerAuthorizationRuleId) {
|
|
@@ -4683,18 +4905,18 @@ class Client extends openapi_core_1.default {
|
|
|
4683
4905
|
return await this.removeConsumerAuthorizationRuleWithOptions(consumerAuthorizationRuleId, headers, runtime);
|
|
4684
4906
|
}
|
|
4685
4907
|
/**
|
|
4686
|
-
*
|
|
4908
|
+
* Resets a quota rate limiting rule on a gateway.
|
|
4687
4909
|
*
|
|
4688
4910
|
* @remarks
|
|
4689
|
-
*
|
|
4911
|
+
* Resets a quota rate limiting rule on a gateway. This operation takes effect only for AI gateways with a version later than 2.1.19. The reset clears the historical usage of consumers on the rule.
|
|
4690
4912
|
* >
|
|
4691
|
-
* >
|
|
4692
|
-
* > -
|
|
4693
|
-
* > - -
|
|
4694
|
-
* > - -
|
|
4695
|
-
* > -
|
|
4696
|
-
* > - -
|
|
4697
|
-
* > - -
|
|
4913
|
+
* > Recommended call logic:
|
|
4914
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
4915
|
+
* > - - Set dryRun=true.
|
|
4916
|
+
* > - - The response contains a conflict preview with conflictHash.
|
|
4917
|
+
* > - 2. Submit the request after confirmation.
|
|
4918
|
+
* > - - No conflict: dryRun=false, overwrite=false.
|
|
4919
|
+
* > - - Conflict exists and overwrite confirmed: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
|
|
4698
4920
|
*
|
|
4699
4921
|
* @param request - ResetGatewayQuotaRuleRequest
|
|
4700
4922
|
* @param headers - map
|
|
@@ -4746,18 +4968,18 @@ class Client extends openapi_core_1.default {
|
|
|
4746
4968
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetGatewayQuotaRuleResponse({}));
|
|
4747
4969
|
}
|
|
4748
4970
|
/**
|
|
4749
|
-
*
|
|
4971
|
+
* Resets a quota rate limiting rule on a gateway.
|
|
4750
4972
|
*
|
|
4751
4973
|
* @remarks
|
|
4752
|
-
*
|
|
4974
|
+
* Resets a quota rate limiting rule on a gateway. This operation takes effect only for AI gateways with a version later than 2.1.19. The reset clears the historical usage of consumers on the rule.
|
|
4753
4975
|
* >
|
|
4754
|
-
* >
|
|
4755
|
-
* > -
|
|
4756
|
-
* > - -
|
|
4757
|
-
* > - -
|
|
4758
|
-
* > -
|
|
4759
|
-
* > - -
|
|
4760
|
-
* > - -
|
|
4976
|
+
* > Recommended call logic:
|
|
4977
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
4978
|
+
* > - - Set dryRun=true.
|
|
4979
|
+
* > - - The response contains a conflict preview with conflictHash.
|
|
4980
|
+
* > - 2. Submit the request after confirmation.
|
|
4981
|
+
* > - - No conflict: dryRun=false, overwrite=false.
|
|
4982
|
+
* > - - Conflict exists and overwrite confirmed: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
|
|
4761
4983
|
*
|
|
4762
4984
|
* @param request - ResetGatewayQuotaRuleRequest
|
|
4763
4985
|
* @returns ResetGatewayQuotaRuleResponse
|
|
@@ -4768,7 +4990,7 @@ class Client extends openapi_core_1.default {
|
|
|
4768
4990
|
return await this.resetGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
|
|
4769
4991
|
}
|
|
4770
4992
|
/**
|
|
4771
|
-
* Restarts
|
|
4993
|
+
* Restarts a gateway.
|
|
4772
4994
|
*
|
|
4773
4995
|
* @param headers - map
|
|
4774
4996
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4792,7 +5014,7 @@ class Client extends openapi_core_1.default {
|
|
|
4792
5014
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartGatewayResponse({}));
|
|
4793
5015
|
}
|
|
4794
5016
|
/**
|
|
4795
|
-
* Restarts
|
|
5017
|
+
* Restarts a gateway.
|
|
4796
5018
|
* @returns RestartGatewayResponse
|
|
4797
5019
|
*/
|
|
4798
5020
|
async restartGateway(gatewayId) {
|
|
@@ -4801,7 +5023,7 @@ class Client extends openapi_core_1.default {
|
|
|
4801
5023
|
return await this.restartGatewayWithOptions(gatewayId, headers, runtime);
|
|
4802
5024
|
}
|
|
4803
5025
|
/**
|
|
4804
|
-
*
|
|
5026
|
+
* Syncs an external MCP server.
|
|
4805
5027
|
*
|
|
4806
5028
|
* @param request - SyncMCPServersRequest
|
|
4807
5029
|
* @param headers - map
|
|
@@ -4844,7 +5066,7 @@ class Client extends openapi_core_1.default {
|
|
|
4844
5066
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncMCPServersResponse({}));
|
|
4845
5067
|
}
|
|
4846
5068
|
/**
|
|
4847
|
-
*
|
|
5069
|
+
* Syncs an external MCP server.
|
|
4848
5070
|
*
|
|
4849
5071
|
* @param request - SyncMCPServersRequest
|
|
4850
5072
|
* @returns SyncMCPServersResponse
|
|
@@ -4855,7 +5077,55 @@ class Client extends openapi_core_1.default {
|
|
|
4855
5077
|
return await this.syncMCPServersWithOptions(request, headers, runtime);
|
|
4856
5078
|
}
|
|
4857
5079
|
/**
|
|
4858
|
-
*
|
|
5080
|
+
* Adds labels to resources.
|
|
5081
|
+
*
|
|
5082
|
+
* @param request - TagResourcesRequest
|
|
5083
|
+
* @param headers - map
|
|
5084
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5085
|
+
* @returns TagResourcesResponse
|
|
5086
|
+
*/
|
|
5087
|
+
async tagResourcesWithOptions(request, headers, runtime) {
|
|
5088
|
+
request.validate();
|
|
5089
|
+
let body = {};
|
|
5090
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
5091
|
+
body["resourceId"] = request.resourceId;
|
|
5092
|
+
}
|
|
5093
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
5094
|
+
body["resourceType"] = request.resourceType;
|
|
5095
|
+
}
|
|
5096
|
+
if (!$dara.isNull(request.tag)) {
|
|
5097
|
+
body["tag"] = request.tag;
|
|
5098
|
+
}
|
|
5099
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5100
|
+
headers: headers,
|
|
5101
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5102
|
+
});
|
|
5103
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5104
|
+
action: "TagResources",
|
|
5105
|
+
version: "2024-03-27",
|
|
5106
|
+
protocol: "HTTPS",
|
|
5107
|
+
pathname: `/v1/tags`,
|
|
5108
|
+
method: "POST",
|
|
5109
|
+
authType: "AK",
|
|
5110
|
+
style: "ROA",
|
|
5111
|
+
reqBodyType: "json",
|
|
5112
|
+
bodyType: "json",
|
|
5113
|
+
});
|
|
5114
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
|
|
5115
|
+
}
|
|
5116
|
+
/**
|
|
5117
|
+
* Adds labels to resources.
|
|
5118
|
+
*
|
|
5119
|
+
* @param request - TagResourcesRequest
|
|
5120
|
+
* @returns TagResourcesResponse
|
|
5121
|
+
*/
|
|
5122
|
+
async tagResources(request) {
|
|
5123
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5124
|
+
let headers = {};
|
|
5125
|
+
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
5126
|
+
}
|
|
5127
|
+
/**
|
|
5128
|
+
* Cancels the publication of an MCP server.
|
|
4859
5129
|
*
|
|
4860
5130
|
* @param headers - map
|
|
4861
5131
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4879,7 +5149,7 @@ class Client extends openapi_core_1.default {
|
|
|
4879
5149
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnDeployMcpServerResponse({}));
|
|
4880
5150
|
}
|
|
4881
5151
|
/**
|
|
4882
|
-
*
|
|
5152
|
+
* Cancels the publication of an MCP server.
|
|
4883
5153
|
* @returns UnDeployMcpServerResponse
|
|
4884
5154
|
*/
|
|
4885
5155
|
async unDeployMcpServer(mcpServerId) {
|
|
@@ -4888,7 +5158,7 @@ class Client extends openapi_core_1.default {
|
|
|
4888
5158
|
return await this.unDeployMcpServerWithOptions(mcpServerId, headers, runtime);
|
|
4889
5159
|
}
|
|
4890
5160
|
/**
|
|
4891
|
-
*
|
|
5161
|
+
* Cancels the deployment of an HTTP API.
|
|
4892
5162
|
*
|
|
4893
5163
|
* @param request - UndeployHttpApiRequest
|
|
4894
5164
|
* @param headers - map
|
|
@@ -4928,7 +5198,7 @@ class Client extends openapi_core_1.default {
|
|
|
4928
5198
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UndeployHttpApiResponse({}));
|
|
4929
5199
|
}
|
|
4930
5200
|
/**
|
|
4931
|
-
*
|
|
5201
|
+
* Cancels the deployment of an HTTP API.
|
|
4932
5202
|
*
|
|
4933
5203
|
* @param request - UndeployHttpApiRequest
|
|
4934
5204
|
* @returns UndeployHttpApiResponse
|
|
@@ -4939,7 +5209,7 @@ class Client extends openapi_core_1.default {
|
|
|
4939
5209
|
return await this.undeployHttpApiWithOptions(httpApiId, request, headers, runtime);
|
|
4940
5210
|
}
|
|
4941
5211
|
/**
|
|
4942
|
-
* Uninstalls a
|
|
5212
|
+
* Uninstalls a plugin.
|
|
4943
5213
|
*
|
|
4944
5214
|
* @param headers - map
|
|
4945
5215
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4963,7 +5233,7 @@ class Client extends openapi_core_1.default {
|
|
|
4963
5233
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UninstallPluginResponse({}));
|
|
4964
5234
|
}
|
|
4965
5235
|
/**
|
|
4966
|
-
* Uninstalls a
|
|
5236
|
+
* Uninstalls a plugin.
|
|
4967
5237
|
* @returns UninstallPluginResponse
|
|
4968
5238
|
*/
|
|
4969
5239
|
async uninstallPlugin(pluginId) {
|
|
@@ -4972,7 +5242,66 @@ class Client extends openapi_core_1.default {
|
|
|
4972
5242
|
return await this.uninstallPluginWithOptions(pluginId, headers, runtime);
|
|
4973
5243
|
}
|
|
4974
5244
|
/**
|
|
4975
|
-
*
|
|
5245
|
+
* Removes tags from resources.
|
|
5246
|
+
*
|
|
5247
|
+
* @param tmpReq - UntagResourcesRequest
|
|
5248
|
+
* @param headers - map
|
|
5249
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5250
|
+
* @returns UntagResourcesResponse
|
|
5251
|
+
*/
|
|
5252
|
+
async untagResourcesWithOptions(tmpReq, headers, runtime) {
|
|
5253
|
+
tmpReq.validate();
|
|
5254
|
+
let request = new $_model.UntagResourcesShrinkRequest({});
|
|
5255
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
5256
|
+
if (!$dara.isNull(tmpReq.resourceId)) {
|
|
5257
|
+
request.resourceIdShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.resourceId, "ResourceId", "json");
|
|
5258
|
+
}
|
|
5259
|
+
if (!$dara.isNull(tmpReq.tagKey)) {
|
|
5260
|
+
request.tagKeyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tagKey, "TagKey", "json");
|
|
5261
|
+
}
|
|
5262
|
+
let query = {};
|
|
5263
|
+
if (!$dara.isNull(request.all)) {
|
|
5264
|
+
query["All"] = request.all;
|
|
5265
|
+
}
|
|
5266
|
+
if (!$dara.isNull(request.resourceIdShrink)) {
|
|
5267
|
+
query["ResourceId"] = request.resourceIdShrink;
|
|
5268
|
+
}
|
|
5269
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
5270
|
+
query["ResourceType"] = request.resourceType;
|
|
5271
|
+
}
|
|
5272
|
+
if (!$dara.isNull(request.tagKeyShrink)) {
|
|
5273
|
+
query["TagKey"] = request.tagKeyShrink;
|
|
5274
|
+
}
|
|
5275
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5276
|
+
headers: headers,
|
|
5277
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5278
|
+
});
|
|
5279
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5280
|
+
action: "UntagResources",
|
|
5281
|
+
version: "2024-03-27",
|
|
5282
|
+
protocol: "HTTPS",
|
|
5283
|
+
pathname: `/v1/tags`,
|
|
5284
|
+
method: "DELETE",
|
|
5285
|
+
authType: "AK",
|
|
5286
|
+
style: "ROA",
|
|
5287
|
+
reqBodyType: "json",
|
|
5288
|
+
bodyType: "json",
|
|
5289
|
+
});
|
|
5290
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
|
|
5291
|
+
}
|
|
5292
|
+
/**
|
|
5293
|
+
* Removes tags from resources.
|
|
5294
|
+
*
|
|
5295
|
+
* @param request - UntagResourcesRequest
|
|
5296
|
+
* @returns UntagResourcesResponse
|
|
5297
|
+
*/
|
|
5298
|
+
async untagResources(request) {
|
|
5299
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5300
|
+
let headers = {};
|
|
5301
|
+
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
5302
|
+
}
|
|
5303
|
+
/**
|
|
5304
|
+
* Updates and mounts a policy.
|
|
4976
5305
|
*
|
|
4977
5306
|
* @param request - UpdateAndAttachPolicyRequest
|
|
4978
5307
|
* @param headers - map
|
|
@@ -5021,7 +5350,7 @@ class Client extends openapi_core_1.default {
|
|
|
5021
5350
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAndAttachPolicyResponse({}));
|
|
5022
5351
|
}
|
|
5023
5352
|
/**
|
|
5024
|
-
* Updates and
|
|
5353
|
+
* Updates and mounts a policy.
|
|
5025
5354
|
*
|
|
5026
5355
|
* @param request - UpdateAndAttachPolicyRequest
|
|
5027
5356
|
* @returns UpdateAndAttachPolicyResponse
|
|
@@ -5032,7 +5361,7 @@ class Client extends openapi_core_1.default {
|
|
|
5032
5361
|
return await this.updateAndAttachPolicyWithOptions(policyId, request, headers, runtime);
|
|
5033
5362
|
}
|
|
5034
5363
|
/**
|
|
5035
|
-
* Updates
|
|
5364
|
+
* Updates an API consumer.
|
|
5036
5365
|
*
|
|
5037
5366
|
* @param request - UpdateConsumerRequest
|
|
5038
5367
|
* @param headers - map
|
|
@@ -5075,7 +5404,7 @@ class Client extends openapi_core_1.default {
|
|
|
5075
5404
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConsumerResponse({}));
|
|
5076
5405
|
}
|
|
5077
5406
|
/**
|
|
5078
|
-
* Updates
|
|
5407
|
+
* Updates an API consumer.
|
|
5079
5408
|
*
|
|
5080
5409
|
* @param request - UpdateConsumerRequest
|
|
5081
5410
|
* @returns UpdateConsumerResponse
|
|
@@ -5137,7 +5466,7 @@ class Client extends openapi_core_1.default {
|
|
|
5137
5466
|
* Updates a domain name.
|
|
5138
5467
|
*
|
|
5139
5468
|
* @remarks
|
|
5140
|
-
* Only sources of the **Container Service** type
|
|
5469
|
+
* Only sources of the **Container Service** type allow you to update the listener Ingress configuration.
|
|
5141
5470
|
*
|
|
5142
5471
|
* @param request - UpdateDomainRequest
|
|
5143
5472
|
* @param headers - map
|
|
@@ -5201,7 +5530,7 @@ class Client extends openapi_core_1.default {
|
|
|
5201
5530
|
* Updates a domain name.
|
|
5202
5531
|
*
|
|
5203
5532
|
* @remarks
|
|
5204
|
-
* Only sources of the **Container Service** type
|
|
5533
|
+
* Only sources of the **Container Service** type allow you to update the listener Ingress configuration.
|
|
5205
5534
|
*
|
|
5206
5535
|
* @param request - UpdateDomainRequest
|
|
5207
5536
|
* @returns UpdateDomainResponse
|
|
@@ -5212,7 +5541,7 @@ class Client extends openapi_core_1.default {
|
|
|
5212
5541
|
return await this.updateDomainWithOptions(domainId, request, headers, runtime);
|
|
5213
5542
|
}
|
|
5214
5543
|
/**
|
|
5215
|
-
*
|
|
5544
|
+
* Updates an environment.
|
|
5216
5545
|
*
|
|
5217
5546
|
* @deprecated OpenAPI UpdateEnvironment is deprecated
|
|
5218
5547
|
*
|
|
@@ -5248,7 +5577,7 @@ class Client extends openapi_core_1.default {
|
|
|
5248
5577
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateEnvironmentResponse({}));
|
|
5249
5578
|
}
|
|
5250
5579
|
/**
|
|
5251
|
-
*
|
|
5580
|
+
* Updates an environment.
|
|
5252
5581
|
*
|
|
5253
5582
|
* @deprecated OpenAPI UpdateEnvironment is deprecated
|
|
5254
5583
|
*
|
|
@@ -5262,7 +5591,7 @@ class Client extends openapi_core_1.default {
|
|
|
5262
5591
|
return await this.updateEnvironmentWithOptions(environmentId, request, headers, runtime);
|
|
5263
5592
|
}
|
|
5264
5593
|
/**
|
|
5265
|
-
* Updates the
|
|
5594
|
+
* Updates the attribute parameters of a gateway.
|
|
5266
5595
|
*
|
|
5267
5596
|
* @param request - UpdateGatewayFeatureRequest
|
|
5268
5597
|
* @param headers - map
|
|
@@ -5293,7 +5622,7 @@ class Client extends openapi_core_1.default {
|
|
|
5293
5622
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayFeatureResponse({}));
|
|
5294
5623
|
}
|
|
5295
5624
|
/**
|
|
5296
|
-
* Updates the
|
|
5625
|
+
* Updates the attribute parameters of a gateway.
|
|
5297
5626
|
*
|
|
5298
5627
|
* @param request - UpdateGatewayFeatureRequest
|
|
5299
5628
|
* @returns UpdateGatewayFeatureResponse
|
|
@@ -5304,7 +5633,9 @@ class Client extends openapi_core_1.default {
|
|
|
5304
5633
|
return await this.updateGatewayFeatureWithOptions(gatewayId, name, request, headers, runtime);
|
|
5305
5634
|
}
|
|
5306
5635
|
/**
|
|
5307
|
-
*
|
|
5636
|
+
* Modifies the name of a gateway.
|
|
5637
|
+
*
|
|
5638
|
+
* @deprecated OpenAPI UpdateGatewayName is deprecated
|
|
5308
5639
|
*
|
|
5309
5640
|
* @param request - UpdateGatewayNameRequest
|
|
5310
5641
|
* @param headers - map
|
|
@@ -5335,28 +5666,31 @@ class Client extends openapi_core_1.default {
|
|
|
5335
5666
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayNameResponse({}));
|
|
5336
5667
|
}
|
|
5337
5668
|
/**
|
|
5338
|
-
*
|
|
5669
|
+
* Modifies the name of a gateway.
|
|
5670
|
+
*
|
|
5671
|
+
* @deprecated OpenAPI UpdateGatewayName is deprecated
|
|
5339
5672
|
*
|
|
5340
5673
|
* @param request - UpdateGatewayNameRequest
|
|
5341
5674
|
* @returns UpdateGatewayNameResponse
|
|
5342
5675
|
*/
|
|
5676
|
+
// Deprecated
|
|
5343
5677
|
async updateGatewayName(gatewayId, request) {
|
|
5344
5678
|
let runtime = new $dara.RuntimeOptions({});
|
|
5345
5679
|
let headers = {};
|
|
5346
5680
|
return await this.updateGatewayNameWithOptions(gatewayId, request, headers, runtime);
|
|
5347
5681
|
}
|
|
5348
5682
|
/**
|
|
5349
|
-
*
|
|
5683
|
+
* Edits a quota throttling rule on a gateway.
|
|
5350
5684
|
*
|
|
5351
5685
|
* @remarks
|
|
5352
|
-
*
|
|
5353
|
-
* >
|
|
5354
|
-
* > -
|
|
5355
|
-
* > - -
|
|
5356
|
-
* > - -
|
|
5357
|
-
* > -
|
|
5358
|
-
* > - -
|
|
5359
|
-
* > - -
|
|
5686
|
+
* Edits a quota rule on a gateway. This operation takes effect only on AI gateways with a version later than 2.1.19. Editing a rule preserves the historical usage of consumers on the rule.
|
|
5687
|
+
* > Recommended call logic:
|
|
5688
|
+
* > - Step 1: Perform a dry run to check for rule conflicts.
|
|
5689
|
+
* > - - Set dryRun to true.
|
|
5690
|
+
* > - - The response contains a conflict preview with conflictHash.
|
|
5691
|
+
* > - Step 2: Submit the request after confirmation.
|
|
5692
|
+
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
5693
|
+
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
5360
5694
|
*
|
|
5361
5695
|
* @param request - UpdateGatewayQuotaRuleRequest
|
|
5362
5696
|
* @param headers - map
|
|
@@ -5408,17 +5742,17 @@ class Client extends openapi_core_1.default {
|
|
|
5408
5742
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayQuotaRuleResponse({}));
|
|
5409
5743
|
}
|
|
5410
5744
|
/**
|
|
5411
|
-
*
|
|
5745
|
+
* Edits a quota throttling rule on a gateway.
|
|
5412
5746
|
*
|
|
5413
5747
|
* @remarks
|
|
5414
|
-
*
|
|
5415
|
-
* >
|
|
5416
|
-
* > -
|
|
5417
|
-
* > - -
|
|
5418
|
-
* > - -
|
|
5419
|
-
* > -
|
|
5420
|
-
* > - -
|
|
5421
|
-
* > - -
|
|
5748
|
+
* Edits a quota rule on a gateway. This operation takes effect only on AI gateways with a version later than 2.1.19. Editing a rule preserves the historical usage of consumers on the rule.
|
|
5749
|
+
* > Recommended call logic:
|
|
5750
|
+
* > - Step 1: Perform a dry run to check for rule conflicts.
|
|
5751
|
+
* > - - Set dryRun to true.
|
|
5752
|
+
* > - - The response contains a conflict preview with conflictHash.
|
|
5753
|
+
* > - Step 2: Submit the request after confirmation.
|
|
5754
|
+
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
5755
|
+
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
5422
5756
|
*
|
|
5423
5757
|
* @param request - UpdateGatewayQuotaRuleRequest
|
|
5424
5758
|
* @returns UpdateGatewayQuotaRuleResponse
|
|
@@ -5429,10 +5763,10 @@ class Client extends openapi_core_1.default {
|
|
|
5429
5763
|
return await this.updateGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
|
|
5430
5764
|
}
|
|
5431
5765
|
/**
|
|
5432
|
-
*
|
|
5766
|
+
* Enables or disables a quota throttling rule for a gateway.
|
|
5433
5767
|
*
|
|
5434
5768
|
* @remarks
|
|
5435
|
-
*
|
|
5769
|
+
* Enables or disables a quota rule on a gateway. This operation takes effect only for AI gateways with a version later than 2.1.19.
|
|
5436
5770
|
*
|
|
5437
5771
|
* @param request - UpdateGatewayQuotaRuleStatusRequest
|
|
5438
5772
|
* @param headers - map
|
|
@@ -5466,10 +5800,10 @@ class Client extends openapi_core_1.default {
|
|
|
5466
5800
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayQuotaRuleStatusResponse({}));
|
|
5467
5801
|
}
|
|
5468
5802
|
/**
|
|
5469
|
-
*
|
|
5803
|
+
* Enables or disables a quota throttling rule for a gateway.
|
|
5470
5804
|
*
|
|
5471
5805
|
* @remarks
|
|
5472
|
-
*
|
|
5806
|
+
* Enables or disables a quota rule on a gateway. This operation takes effect only for AI gateways with a version later than 2.1.19.
|
|
5473
5807
|
*
|
|
5474
5808
|
* @param request - UpdateGatewayQuotaRuleStatusRequest
|
|
5475
5809
|
* @returns UpdateGatewayQuotaRuleStatusResponse
|
|
@@ -5600,7 +5934,7 @@ class Client extends openapi_core_1.default {
|
|
|
5600
5934
|
return await this.updateHttpApiOperationWithOptions(httpApiId, operationId, request, headers, runtime);
|
|
5601
5935
|
}
|
|
5602
5936
|
/**
|
|
5603
|
-
* Updates a route of an
|
|
5937
|
+
* Updates a route of an HttpApi.
|
|
5604
5938
|
*
|
|
5605
5939
|
* @param request - UpdateHttpApiRouteRequest
|
|
5606
5940
|
* @param headers - map
|
|
@@ -5649,7 +5983,7 @@ class Client extends openapi_core_1.default {
|
|
|
5649
5983
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateHttpApiRouteResponse({}));
|
|
5650
5984
|
}
|
|
5651
5985
|
/**
|
|
5652
|
-
* Updates a route of an
|
|
5986
|
+
* Updates a route of an HttpApi.
|
|
5653
5987
|
*
|
|
5654
5988
|
* @param request - UpdateHttpApiRouteRequest
|
|
5655
5989
|
* @returns UpdateHttpApiRouteResponse
|
|
@@ -5663,7 +5997,7 @@ class Client extends openapi_core_1.default {
|
|
|
5663
5997
|
* Updates an MCP server.
|
|
5664
5998
|
*
|
|
5665
5999
|
* @remarks
|
|
5666
|
-
*
|
|
6000
|
+
* Only sources of the **Container Service** type are allowed to update the listener Ingress configuration.
|
|
5667
6001
|
*
|
|
5668
6002
|
* @param request - UpdateMcpServerRequest
|
|
5669
6003
|
* @param headers - map
|
|
@@ -5730,7 +6064,7 @@ class Client extends openapi_core_1.default {
|
|
|
5730
6064
|
* Updates an MCP server.
|
|
5731
6065
|
*
|
|
5732
6066
|
* @remarks
|
|
5733
|
-
*
|
|
6067
|
+
* Only sources of the **Container Service** type are allowed to update the listener Ingress configuration.
|
|
5734
6068
|
*
|
|
5735
6069
|
* @param request - UpdateMcpServerRequest
|
|
5736
6070
|
* @returns UpdateMcpServerResponse
|
|
@@ -5741,7 +6075,7 @@ class Client extends openapi_core_1.default {
|
|
|
5741
6075
|
return await this.updateMcpServerWithOptions(mcpServerId, request, headers, runtime);
|
|
5742
6076
|
}
|
|
5743
6077
|
/**
|
|
5744
|
-
* Updates a
|
|
6078
|
+
* Updates a plugin mount.
|
|
5745
6079
|
*
|
|
5746
6080
|
* @param request - UpdatePluginAttachmentRequest
|
|
5747
6081
|
* @param headers - map
|
|
@@ -5778,7 +6112,7 @@ class Client extends openapi_core_1.default {
|
|
|
5778
6112
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePluginAttachmentResponse({}));
|
|
5779
6113
|
}
|
|
5780
6114
|
/**
|
|
5781
|
-
* Updates a
|
|
6115
|
+
* Updates a plugin mount.
|
|
5782
6116
|
*
|
|
5783
6117
|
* @param request - UpdatePluginAttachmentRequest
|
|
5784
6118
|
* @returns UpdatePluginAttachmentResponse
|
|
@@ -5837,10 +6171,10 @@ class Client extends openapi_core_1.default {
|
|
|
5837
6171
|
return await this.updatePolicyWithOptions(policyId, request, headers, runtime);
|
|
5838
6172
|
}
|
|
5839
6173
|
/**
|
|
5840
|
-
* Updates
|
|
6174
|
+
* Updates a key pair.
|
|
5841
6175
|
*
|
|
5842
6176
|
* @remarks
|
|
5843
|
-
*
|
|
6177
|
+
* Only sources of the **container service** type allow you to update the configuration for listening to Ingress.
|
|
5844
6178
|
*
|
|
5845
6179
|
* @param request - UpdateSecretRequest
|
|
5846
6180
|
* @param headers - map
|
|
@@ -5871,10 +6205,10 @@ class Client extends openapi_core_1.default {
|
|
|
5871
6205
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSecretResponse({}));
|
|
5872
6206
|
}
|
|
5873
6207
|
/**
|
|
5874
|
-
* Updates
|
|
6208
|
+
* Updates a key pair.
|
|
5875
6209
|
*
|
|
5876
6210
|
* @remarks
|
|
5877
|
-
*
|
|
6211
|
+
* Only sources of the **container service** type allow you to update the configuration for listening to Ingress.
|
|
5878
6212
|
*
|
|
5879
6213
|
* @param request - UpdateSecretRequest
|
|
5880
6214
|
* @returns UpdateSecretResponse
|
|
@@ -5885,7 +6219,7 @@ class Client extends openapi_core_1.default {
|
|
|
5885
6219
|
return await this.updateSecretWithOptions(secretId, request, headers, runtime);
|
|
5886
6220
|
}
|
|
5887
6221
|
/**
|
|
5888
|
-
*
|
|
6222
|
+
* Updates a service. You can update the health check configuration, DNS domain name, and address configuration of fixed addresses for the service.
|
|
5889
6223
|
*
|
|
5890
6224
|
* @param request - UpdateServiceRequest
|
|
5891
6225
|
* @param headers - map
|
|
@@ -5913,6 +6247,9 @@ class Client extends openapi_core_1.default {
|
|
|
5913
6247
|
if (!$dara.isNull(request.healthyPanicThreshold)) {
|
|
5914
6248
|
body["healthyPanicThreshold"] = request.healthyPanicThreshold;
|
|
5915
6249
|
}
|
|
6250
|
+
if (!$dara.isNull(request.modelProviderId)) {
|
|
6251
|
+
body["modelProviderId"] = request.modelProviderId;
|
|
6252
|
+
}
|
|
5916
6253
|
if (!$dara.isNull(request.outlierDetectionConfig)) {
|
|
5917
6254
|
body["outlierDetectionConfig"] = request.outlierDetectionConfig;
|
|
5918
6255
|
}
|
|
@@ -5940,7 +6277,7 @@ class Client extends openapi_core_1.default {
|
|
|
5940
6277
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateServiceResponse({}));
|
|
5941
6278
|
}
|
|
5942
6279
|
/**
|
|
5943
|
-
*
|
|
6280
|
+
* Updates a service. You can update the health check configuration, DNS domain name, and address configuration of fixed addresses for the service.
|
|
5944
6281
|
*
|
|
5945
6282
|
* @param request - UpdateServiceRequest
|
|
5946
6283
|
* @returns UpdateServiceResponse
|
|
@@ -5993,7 +6330,7 @@ class Client extends openapi_core_1.default {
|
|
|
5993
6330
|
return await this.updateServiceVersionWithOptions(serviceId, name, request, headers, runtime);
|
|
5994
6331
|
}
|
|
5995
6332
|
/**
|
|
5996
|
-
*
|
|
6333
|
+
* Upgrades the gateway version.
|
|
5997
6334
|
*
|
|
5998
6335
|
* @param request - UpgradeGatewayRequest
|
|
5999
6336
|
* @param headers - map
|
|
@@ -6024,7 +6361,7 @@ class Client extends openapi_core_1.default {
|
|
|
6024
6361
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeGatewayResponse({}));
|
|
6025
6362
|
}
|
|
6026
6363
|
/**
|
|
6027
|
-
*
|
|
6364
|
+
* Upgrades the gateway version.
|
|
6028
6365
|
*
|
|
6029
6366
|
* @param request - UpgradeGatewayRequest
|
|
6030
6367
|
* @returns UpgradeGatewayResponse
|