@alicloud/apig20240327 11.4.0 → 11.6.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 +1133 -239
- package/dist/client.js +2537 -320
- package/dist/client.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleRequest.d.ts +16 -20
- package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +16 -9
- package/dist/models/AddGatewayQuotaRuleResponseBody.js +2 -0
- package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/AddGatewaySecurityGroupRuleRequest.d.ts +1 -1
- package/dist/models/AgentAccessConfig.d.ts +5 -5
- package/dist/models/AgentInfo.d.ts +15 -15
- package/dist/models/AgentModelAccessConfig.d.ts +1 -1
- package/dist/models/AgentServiceConfig.d.ts +12 -4
- package/dist/models/AgentServiceConfig.js +2 -0
- package/dist/models/AgentServiceConfig.js.map +1 -1
- package/dist/models/AiCacheConfig.d.ts +2 -2
- package/dist/models/AiFallbackConfig.d.ts +1 -1
- package/dist/models/AiNetworkConfigSearchEngine.d.ts +6 -6
- package/dist/models/AiNetworkSearchConfig.d.ts +5 -5
- package/dist/models/AiPolicyRedisConfig.d.ts +1 -1
- package/dist/models/AiSecurityGuardConfig.d.ts +80 -20
- package/dist/models/AiSecurityGuardConfig.js +33 -1
- package/dist/models/AiSecurityGuardConfig.js.map +1 -1
- package/dist/models/AiServiceConfig.d.ts +55 -35
- package/dist/models/AiServiceConfig.js.map +1 -1
- package/dist/models/AiStatisticsConfig.d.ts +7 -7
- package/dist/models/AiStatisticsPathField.d.ts +4 -4
- package/dist/models/AiTokenRateLimitConfig.d.ts +1 -1
- package/dist/models/AiToolSelectionConfig.d.ts +7 -7
- package/dist/models/AkSkIdentityConfig.d.ts +4 -4
- package/dist/models/ApiKeyIdentityConfig.d.ts +1 -1
- package/dist/models/ApiRouteConflictInfo.d.ts +21 -17
- package/dist/models/ApiRouteConflictInfo.js.map +1 -1
- package/dist/models/Attachment.d.ts +1 -1
- package/dist/models/AuthorizationResourceInfo.d.ts +3 -3
- package/dist/models/Backend.d.ts +8 -8
- package/dist/models/BatchAddConsumerGroupConsumersResponseBody.d.ts +1 -1
- package/dist/models/BatchDeleteConsumerAuthorizationRuleRequest.d.ts +1 -1
- package/dist/models/BatchExportHttpApisRequest.d.ts +49 -0
- package/dist/models/BatchExportHttpApisRequest.js.map +1 -1
- package/dist/models/BatchExportHttpApisResponseBody.d.ts +16 -0
- package/dist/models/BatchExportHttpApisResponseBody.js.map +1 -1
- package/dist/models/BatchImportHttpApisRequest.d.ts +36 -0
- package/dist/models/BatchImportHttpApisRequest.js.map +1 -1
- package/dist/models/BatchImportHttpApisResponseBody.d.ts +16 -0
- package/dist/models/BatchImportHttpApisResponseBody.js.map +1 -1
- package/dist/models/BatchRemoveConsumerGroupConsumersResponseBody.d.ts +2 -2
- package/dist/models/BatchUpdateHttpApiOperationRequest.d.ts +17 -0
- package/dist/models/BatchUpdateHttpApiOperationRequest.js.map +1 -1
- package/dist/models/BatchUpdateHttpApiOperationResponseBody.d.ts +6 -0
- package/dist/models/BatchUpdateHttpApiOperationResponseBody.js.map +1 -1
- package/dist/models/ChangeResourceGroupRequest.d.ts +2 -2
- package/dist/models/CheckCommodityStatusRequest.d.ts +13 -0
- package/dist/models/CheckCommodityStatusRequest.js +54 -0
- package/dist/models/CheckCommodityStatusRequest.js.map +1 -0
- package/dist/models/CheckCommodityStatusResponse.d.ts +19 -0
- package/dist/models/CheckCommodityStatusResponse.js +69 -0
- package/dist/models/CheckCommodityStatusResponse.js.map +1 -0
- package/dist/models/CheckCommodityStatusResponseBody.d.ts +54 -0
- package/dist/models/CheckCommodityStatusResponseBody.js +84 -0
- package/dist/models/CheckCommodityStatusResponseBody.js.map +1 -0
- package/dist/models/CreateAiModelCardRequest.d.ts +12 -12
- package/dist/models/CreateAiModelCardResponseBody.d.ts +4 -4
- package/dist/models/CreateAiModelProviderRequest.d.ts +1 -1
- package/dist/models/CreateAiModelProviderResponseBody.d.ts +6 -6
- package/dist/models/CreateAndAttachPolicyRequest.d.ts +4 -4
- package/dist/models/CreateChatSessionRequest.d.ts +34 -0
- package/dist/models/CreateChatSessionRequest.js +65 -0
- package/dist/models/CreateChatSessionRequest.js.map +1 -0
- package/dist/models/CreateChatSessionResponse.d.ts +19 -0
- package/dist/models/CreateChatSessionResponse.js +69 -0
- package/dist/models/CreateChatSessionResponse.js.map +1 -0
- package/dist/models/CreateChatSessionResponseBody.d.ts +62 -0
- package/dist/models/CreateChatSessionResponseBody.js +86 -0
- package/dist/models/CreateChatSessionResponseBody.js.map +1 -0
- package/dist/models/CreateConsumerAuthorizationRuleResponseBody.d.ts +1 -1
- package/dist/models/CreateConsumerAuthorizationRulesRequest.d.ts +2 -2
- package/dist/models/CreateConsumerGroupRequest.d.ts +1 -1
- package/dist/models/CreateConsumerRequest.d.ts +9 -9
- package/dist/models/CreateConsumerResponseBody.d.ts +1 -1
- package/dist/models/CreateDeveloperRequest.d.ts +29 -0
- package/dist/models/CreateDeveloperRequest.js +60 -0
- package/dist/models/CreateDeveloperRequest.js.map +1 -0
- package/dist/models/CreateDeveloperResponse.d.ts +19 -0
- package/dist/models/CreateDeveloperResponse.js +69 -0
- package/dist/models/CreateDeveloperResponse.js.map +1 -0
- package/dist/models/CreateDeveloperResponseBody.d.ts +62 -0
- package/dist/models/CreateDeveloperResponseBody.js +86 -0
- package/dist/models/CreateDeveloperResponseBody.js.map +1 -0
- package/dist/models/CreateDomainRequest.d.ts +3 -3
- package/dist/models/CreateEnvironmentRequest.d.ts +3 -3
- package/dist/models/CreateGatewayRequest.d.ts +25 -17
- package/dist/models/CreateGatewayRequest.js +2 -0
- package/dist/models/CreateGatewayRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRequest.d.ts +12 -10
- package/dist/models/CreateHttpApiRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRouteRequest.d.ts +12 -12
- package/dist/models/CreateHttpApiVersionRequest.d.ts +4 -0
- package/dist/models/CreateHttpApiVersionRequest.js.map +1 -1
- package/dist/models/CreateHttpApiVersionResponseBody.d.ts +9 -0
- package/dist/models/CreateHttpApiVersionResponseBody.js.map +1 -1
- package/dist/models/CreateMcpServerRequest.d.ts +9 -9
- package/dist/models/CreateMigrationTaskRequest.d.ts +25 -0
- package/dist/models/CreateMigrationTaskRequest.js.map +1 -1
- package/dist/models/CreateMigrationTaskResponseBody.d.ts +14 -1
- package/dist/models/CreateMigrationTaskResponseBody.js.map +1 -1
- package/dist/models/CreatePluginAttachmentRequest.d.ts +2 -2
- package/dist/models/CreatePluginAttachmentResponseBody.d.ts +1 -1
- package/dist/models/CreatePluginClassRequest.d.ts +3 -3
- package/dist/models/CreatePluginWorkspaceRequest.d.ts +10 -0
- package/dist/models/CreatePluginWorkspaceRequest.js.map +1 -1
- package/dist/models/CreatePluginWorkspaceResponseBody.d.ts +17 -1
- package/dist/models/CreatePluginWorkspaceResponseBody.js.map +1 -1
- package/dist/models/CreatePolicyAttachmentRequest.d.ts +2 -2
- package/dist/models/CreatePolicyAttachmentResponseBody.d.ts +1 -1
- package/dist/models/CreatePolicyRequest.d.ts +2 -33
- package/dist/models/CreatePolicyRequest.js.map +1 -1
- package/dist/models/CreatePolicyResponseBody.d.ts +1 -1
- package/dist/models/CreatePortalRequest.d.ts +37 -0
- package/dist/models/CreatePortalRequest.js +62 -0
- package/dist/models/CreatePortalRequest.js.map +1 -0
- package/dist/models/CreatePortalResponse.d.ts +19 -0
- package/dist/models/CreatePortalResponse.js +69 -0
- package/dist/models/CreatePortalResponse.js.map +1 -0
- package/dist/models/CreatePortalResponseBody.d.ts +62 -0
- package/dist/models/CreatePortalResponseBody.js +86 -0
- package/dist/models/CreatePortalResponseBody.js.map +1 -0
- package/dist/models/CreateProductCategoryRequest.d.ts +35 -0
- package/dist/models/CreateProductCategoryRequest.js +66 -0
- package/dist/models/CreateProductCategoryRequest.js.map +1 -0
- package/dist/models/CreateProductCategoryResponse.d.ts +19 -0
- package/dist/models/CreateProductCategoryResponse.js +69 -0
- package/dist/models/CreateProductCategoryResponse.js.map +1 -0
- package/dist/models/CreateProductCategoryResponseBody.d.ts +70 -0
- package/dist/models/CreateProductCategoryResponseBody.js +88 -0
- package/dist/models/CreateProductCategoryResponseBody.js.map +1 -0
- package/dist/models/CreateProductRefRequest.d.ts +110 -0
- package/dist/models/CreateProductRefRequest.js +98 -0
- package/dist/models/CreateProductRefRequest.js.map +1 -0
- package/dist/models/CreateProductRefResponse.d.ts +19 -0
- package/dist/models/CreateProductRefResponse.js +69 -0
- package/dist/models/CreateProductRefResponse.js.map +1 -0
- package/dist/models/CreateProductRefResponseBody.d.ts +37 -0
- package/dist/models/CreateProductRefResponseBody.js +62 -0
- package/dist/models/CreateProductRefResponseBody.js.map +1 -0
- package/dist/models/CreateProductRequest.d.ts +78 -0
- package/dist/models/CreateProductRequest.js +85 -0
- package/dist/models/CreateProductRequest.js.map +1 -0
- package/dist/models/CreateProductResponse.d.ts +19 -0
- package/dist/models/CreateProductResponse.js +69 -0
- package/dist/models/CreateProductResponse.js.map +1 -0
- package/dist/models/CreateProductResponseBody.d.ts +62 -0
- package/dist/models/CreateProductResponseBody.js +86 -0
- package/dist/models/CreateProductResponseBody.js.map +1 -0
- package/dist/models/CreateRiskCheckTaskResponseBody.d.ts +13 -0
- package/dist/models/CreateRiskCheckTaskResponseBody.js.map +1 -1
- package/dist/models/CreateSecretRequest.d.ts +2 -2
- package/dist/models/CreateServiceRequest.d.ts +19 -19
- package/dist/models/CreateSourceRequest.d.ts +6 -5
- package/dist/models/CreateSourceRequest.js.map +1 -1
- package/dist/models/DataFieldPathsValue.d.ts +45 -0
- package/dist/models/DataFieldPathsValue.js +64 -0
- package/dist/models/DataFieldPathsValue.js.map +1 -0
- package/dist/models/DataPathConfigsFieldPathsValue.d.ts +117 -0
- package/dist/models/DataPathConfigsFieldPathsValue.js +82 -0
- package/dist/models/DataPathConfigsFieldPathsValue.js.map +1 -0
- package/dist/models/DeleteAiModelProviderResponseBody.d.ts +1 -1
- package/dist/models/DeleteDomainResponseBody.d.ts +1 -1
- package/dist/models/DeleteEnvironmentResponseBody.d.ts +1 -1
- package/dist/models/DeleteGatewayQuotaRuleResponseBody.d.ts +1 -1
- package/dist/models/DeleteGatewaySecurityGroupRuleRequest.d.ts +1 -3
- package/dist/models/DeleteGatewaySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/DeleteMigrationTaskResponseBody.d.ts +6 -0
- package/dist/models/DeleteMigrationTaskResponseBody.js.map +1 -1
- package/dist/models/DeletePluginClassResponseBody.d.ts +6 -0
- package/dist/models/DeletePluginClassResponseBody.js.map +1 -1
- package/dist/models/DeletePortalRequest.d.ts +13 -0
- package/dist/models/DeletePortalRequest.js +54 -0
- package/dist/models/DeletePortalRequest.js.map +1 -0
- package/dist/models/DeletePortalResponse.d.ts +19 -0
- package/dist/models/DeletePortalResponse.js +69 -0
- package/dist/models/DeletePortalResponse.js.map +1 -0
- package/dist/models/DeletePortalResponseBody.d.ts +37 -0
- package/dist/models/DeletePortalResponseBody.js +62 -0
- package/dist/models/DeletePortalResponseBody.js.map +1 -0
- package/dist/models/DeleteProductCategoryRequest.d.ts +13 -0
- package/dist/models/DeleteProductCategoryRequest.js +54 -0
- package/dist/models/DeleteProductCategoryRequest.js.map +1 -0
- package/dist/models/DeleteProductCategoryResponse.d.ts +19 -0
- package/dist/models/DeleteProductCategoryResponse.js +69 -0
- package/dist/models/DeleteProductCategoryResponse.js.map +1 -0
- package/dist/models/DeleteProductCategoryResponseBody.d.ts +37 -0
- package/dist/models/DeleteProductCategoryResponseBody.js +62 -0
- package/dist/models/DeleteProductCategoryResponseBody.js.map +1 -0
- package/dist/models/DeleteProductRefRequest.d.ts +13 -0
- package/dist/models/DeleteProductRefRequest.js +54 -0
- package/dist/models/DeleteProductRefRequest.js.map +1 -0
- package/dist/models/DeleteProductRefResponse.d.ts +19 -0
- package/dist/models/DeleteProductRefResponse.js +69 -0
- package/dist/models/DeleteProductRefResponse.js.map +1 -0
- package/dist/models/DeleteProductRefResponseBody.d.ts +37 -0
- package/dist/models/DeleteProductRefResponseBody.js +62 -0
- package/dist/models/DeleteProductRefResponseBody.js.map +1 -0
- package/dist/models/DeleteProductRequest.d.ts +13 -0
- package/dist/models/DeleteProductRequest.js +54 -0
- package/dist/models/DeleteProductRequest.js.map +1 -0
- package/dist/models/DeleteProductResponse.d.ts +19 -0
- package/dist/models/DeleteProductResponse.js +69 -0
- package/dist/models/DeleteProductResponse.js.map +1 -0
- package/dist/models/DeleteProductResponseBody.d.ts +37 -0
- package/dist/models/DeleteProductResponseBody.js +62 -0
- package/dist/models/DeleteProductResponseBody.js.map +1 -0
- package/dist/models/DeployHttpApiRequest.d.ts +12 -10
- package/dist/models/DeployHttpApiRequest.js.map +1 -1
- package/dist/models/DetachAndDeletePolicyRequest.d.ts +1 -1
- package/dist/models/DetachAndDeletePolicyResponseBody.d.ts +3 -3
- package/dist/models/DomainInfo.d.ts +1 -1
- package/dist/models/EnvironmentInfo.d.ts +7 -7
- package/dist/models/ExportHttpApiRequest.d.ts +6 -6
- package/dist/models/GatewayInfo.d.ts +1 -1
- package/dist/models/GatewayLogConfig.d.ts +2 -2
- package/dist/models/GetAiModelCardResponseBody.d.ts +13 -13
- package/dist/models/GetAiModelProviderResponseBody.d.ts +20 -20
- package/dist/models/GetApiPathFieldConfigRequest.d.ts +29 -0
- package/dist/models/GetApiPathFieldConfigRequest.js +60 -0
- package/dist/models/GetApiPathFieldConfigRequest.js.map +1 -0
- package/dist/models/GetApiPathFieldConfigResponse.d.ts +19 -0
- package/dist/models/GetApiPathFieldConfigResponse.js +69 -0
- package/dist/models/GetApiPathFieldConfigResponse.js.map +1 -0
- package/dist/models/GetApiPathFieldConfigResponseBody.d.ts +103 -0
- package/dist/models/GetApiPathFieldConfigResponseBody.js +118 -0
- package/dist/models/GetApiPathFieldConfigResponseBody.js.map +1 -0
- package/dist/models/GetApiPathFieldTemplateRequest.d.ts +21 -0
- package/dist/models/GetApiPathFieldTemplateRequest.js +58 -0
- package/dist/models/GetApiPathFieldTemplateRequest.js.map +1 -0
- package/dist/models/GetApiPathFieldTemplateResponse.d.ts +19 -0
- package/dist/models/GetApiPathFieldTemplateResponse.js +69 -0
- package/dist/models/GetApiPathFieldTemplateResponse.js.map +1 -0
- package/dist/models/GetApiPathFieldTemplateResponseBody.d.ts +94 -0
- package/dist/models/GetApiPathFieldTemplateResponseBody.js +98 -0
- package/dist/models/GetApiPathFieldTemplateResponseBody.js.map +1 -0
- package/dist/models/GetBatchExportTaskResponseBody.d.ts +73 -0
- package/dist/models/GetBatchExportTaskResponseBody.js.map +1 -1
- package/dist/models/GetBatchImportTaskResponseBody.d.ts +254 -0
- package/dist/models/GetBatchImportTaskResponseBody.js.map +1 -1
- package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +3 -5
- package/dist/models/GetConsumerAuthorizationRuleResponseBody.js.map +1 -1
- package/dist/models/GetConsumerGroupResponseBody.d.ts +2 -2
- package/dist/models/GetConsumerResponseBody.d.ts +2 -2
- package/dist/models/GetDashboardRequest.d.ts +5 -5
- package/dist/models/GetDashboardShrinkRequest.d.ts +5 -5
- package/dist/models/GetDeveloperRequest.d.ts +13 -0
- package/dist/models/GetDeveloperRequest.js +54 -0
- package/dist/models/GetDeveloperRequest.js.map +1 -0
- package/dist/models/GetDeveloperResponse.d.ts +19 -0
- package/dist/models/GetDeveloperResponse.js +69 -0
- package/dist/models/GetDeveloperResponse.js.map +1 -0
- package/dist/models/GetDeveloperResponseBody.d.ts +86 -0
- package/dist/models/GetDeveloperResponseBody.js +92 -0
- package/dist/models/GetDeveloperResponseBody.js.map +1 -0
- package/dist/models/GetDomainResponseBody.d.ts +16 -16
- package/dist/models/GetEnvironmentResponseBody.d.ts +2 -2
- package/dist/models/GetGatewayElasticPolicyResponseBody.d.ts +68 -0
- package/dist/models/GetGatewayElasticPolicyResponseBody.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleRequest.d.ts +2 -2
- package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +27 -11
- package/dist/models/GetGatewayQuotaRuleResponseBody.js +4 -0
- package/dist/models/GetGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +4 -4
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +20 -20
- package/dist/models/GetGatewayResourceQuotaUsageResponseBody.d.ts +13 -13
- package/dist/models/GetGatewayResponseBody.d.ts +219 -44
- package/dist/models/GetGatewayResponseBody.js +103 -1
- package/dist/models/GetGatewayResponseBody.js.map +1 -1
- package/dist/models/GetHiMarketConsumerCredentialRequest.d.ts +13 -0
- package/dist/models/GetHiMarketConsumerCredentialRequest.js +54 -0
- package/dist/models/GetHiMarketConsumerCredentialRequest.js.map +1 -0
- package/dist/models/GetHiMarketConsumerCredentialResponse.d.ts +19 -0
- package/dist/models/GetHiMarketConsumerCredentialResponse.js +69 -0
- package/dist/models/GetHiMarketConsumerCredentialResponse.js.map +1 -0
- package/dist/models/GetHiMarketConsumerCredentialResponseBody.d.ts +66 -0
- package/dist/models/GetHiMarketConsumerCredentialResponseBody.js +96 -0
- package/dist/models/GetHiMarketConsumerCredentialResponseBody.js.map +1 -0
- package/dist/models/GetHiMarketConsumerRequest.d.ts +13 -0
- package/dist/models/GetHiMarketConsumerRequest.js +54 -0
- package/dist/models/GetHiMarketConsumerRequest.js.map +1 -0
- package/dist/models/GetHiMarketConsumerResponse.d.ts +19 -0
- package/dist/models/GetHiMarketConsumerResponse.js +69 -0
- package/dist/models/GetHiMarketConsumerResponse.js.map +1 -0
- package/dist/models/GetHiMarketConsumerResponseBody.d.ts +83 -0
- package/dist/models/GetHiMarketConsumerResponseBody.js +92 -0
- package/dist/models/GetHiMarketConsumerResponseBody.js.map +1 -0
- package/dist/models/GetHttpApiOperationResponseBody.d.ts +1 -1
- package/dist/models/GetHttpApiRequest.d.ts +1 -1
- package/dist/models/GetMigrationNamespacedServicesResponseBody.d.ts +28 -1
- package/dist/models/GetMigrationNamespacedServicesResponseBody.js.map +1 -1
- package/dist/models/GetMigrationTaskResponseBody.d.ts +91 -0
- package/dist/models/GetMigrationTaskResponseBody.js.map +1 -1
- package/dist/models/GetPluginAttachmentResponseBody.d.ts +5 -5
- package/dist/models/GetPluginClassResponseBody.d.ts +1 -1
- package/dist/models/GetPluginWorkspaceResponseBody.d.ts +29 -1
- package/dist/models/GetPluginWorkspaceResponseBody.js.map +1 -1
- package/dist/models/GetPortalRequest.d.ts +13 -0
- package/dist/models/GetPortalRequest.js +54 -0
- package/dist/models/GetPortalRequest.js.map +1 -0
- package/dist/models/GetPortalResponse.d.ts +19 -0
- package/dist/models/GetPortalResponse.js +69 -0
- package/dist/models/GetPortalResponse.js.map +1 -0
- package/dist/models/GetPortalResponseBody.d.ts +106 -0
- package/dist/models/GetPortalResponseBody.js +106 -0
- package/dist/models/GetPortalResponseBody.js.map +1 -0
- package/dist/models/GetProductCategoryRequest.d.ts +13 -0
- package/dist/models/GetProductCategoryRequest.js +54 -0
- package/dist/models/GetProductCategoryRequest.js.map +1 -0
- package/dist/models/GetProductCategoryResponse.d.ts +19 -0
- package/dist/models/GetProductCategoryResponse.js +69 -0
- package/dist/models/GetProductCategoryResponse.js.map +1 -0
- package/dist/models/GetProductCategoryResponseBody.d.ts +84 -0
- package/dist/models/GetProductCategoryResponseBody.js +96 -0
- package/dist/models/GetProductCategoryResponseBody.js.map +1 -0
- package/dist/models/GetProductRefRequest.d.ts +13 -0
- package/dist/models/GetProductRefRequest.js +54 -0
- package/dist/models/GetProductRefRequest.js.map +1 -0
- package/dist/models/GetProductRefResponse.d.ts +19 -0
- package/dist/models/GetProductRefResponse.js +69 -0
- package/dist/models/GetProductRefResponse.js.map +1 -0
- package/dist/models/GetProductRefResponseBody.d.ts +68 -0
- package/dist/models/GetProductRefResponseBody.js +92 -0
- package/dist/models/GetProductRefResponseBody.js.map +1 -0
- package/dist/models/GetProductRequest.d.ts +13 -0
- package/dist/models/GetProductRequest.js +54 -0
- package/dist/models/GetProductRequest.js.map +1 -0
- package/dist/models/GetProductResponse.d.ts +19 -0
- package/dist/models/GetProductResponse.js +69 -0
- package/dist/models/GetProductResponse.js.map +1 -0
- package/dist/models/GetProductResponseBody.d.ts +145 -0
- package/dist/models/GetProductResponseBody.js +130 -0
- package/dist/models/GetProductResponseBody.js.map +1 -0
- package/dist/models/GetResourceOverviewResponseBody.d.ts +2 -2
- package/dist/models/GetRiskNotificationRequest.d.ts +2 -0
- package/dist/models/GetRiskNotificationRequest.js.map +1 -1
- package/dist/models/GetRiskNotificationResponseBody.d.ts +19 -0
- package/dist/models/GetRiskNotificationResponseBody.js.map +1 -1
- package/dist/models/GetSecretValueResponseBody.d.ts +1 -1
- package/dist/models/GetTraceConfigRequest.d.ts +2 -2
- package/dist/models/GetTraceConfigResponseBody.d.ts +2 -2
- package/dist/models/HandleOidcCallbackRequest.d.ts +29 -0
- package/dist/models/HandleOidcCallbackRequest.js +60 -0
- package/dist/models/HandleOidcCallbackRequest.js.map +1 -0
- package/dist/models/HandleOidcCallbackResponse.d.ts +19 -0
- package/dist/models/HandleOidcCallbackResponse.js +69 -0
- package/dist/models/HandleOidcCallbackResponse.js.map +1 -0
- package/dist/models/HandleOidcCallbackResponseBody.d.ts +78 -0
- package/dist/models/HandleOidcCallbackResponseBody.js +90 -0
- package/dist/models/HandleOidcCallbackResponseBody.js.map +1 -0
- package/dist/models/HiMarketAgentConfig.d.ts +2 -2
- package/dist/models/HiMarketApiKeyConfig.d.ts +1 -1
- package/dist/models/HiMarketAuthCodeConfig.d.ts +2 -2
- package/dist/models/HiMarketHmacConfig.d.ts +1 -1
- package/dist/models/HiMarketHttpRoute.d.ts +1 -1
- package/dist/models/HiMarketIdentityMapping.d.ts +3 -3
- package/dist/models/HiMarketMcpConfig.d.ts +3 -3
- package/dist/models/HiMarketModelFeature.d.ts +1 -1
- package/dist/models/HiMarketOidcConfig.d.ts +3 -3
- package/dist/models/HiMarketPortalDeployConfig.d.ts +2 -2
- package/dist/models/HiMarketPortalSettingConfig.d.ts +1 -1
- package/dist/models/HiMarketProductCategory.d.ts +2 -2
- package/dist/models/HiMarketProductPublicationDetail.d.ts +4 -4
- package/dist/models/HiMarketProductRefConfig.d.ts +7 -7
- package/dist/models/HttpApiApiInfo.d.ts +14 -8
- package/dist/models/HttpApiApiInfo.js.map +1 -1
- package/dist/models/HttpApiApiInfoDeployCntMapValue.d.ts +3 -0
- package/dist/models/HttpApiApiInfoDeployCntMapValue.js.map +1 -1
- package/dist/models/HttpApiBackendMatchCondition.d.ts +4 -10
- package/dist/models/HttpApiBackendMatchCondition.js.map +1 -1
- package/dist/models/HttpApiBackendMatchConditions.d.ts +2 -2
- package/dist/models/HttpApiDeployConfig.d.ts +3 -3
- package/dist/models/HttpApiDomainInfo.d.ts +0 -5
- package/dist/models/HttpApiDomainInfo.js.map +1 -1
- package/dist/models/HttpApiInfoByName.d.ts +6 -3
- package/dist/models/HttpApiInfoByName.js.map +1 -1
- package/dist/models/HttpApiMockContract.d.ts +2 -2
- package/dist/models/HttpApiOperation.d.ts +8 -20
- package/dist/models/HttpApiOperation.js.map +1 -1
- package/dist/models/HttpApiOperationInfo.d.ts +13 -25
- package/dist/models/HttpApiOperationInfo.js.map +1 -1
- package/dist/models/HttpApiParameter.d.ts +6 -13
- package/dist/models/HttpApiParameter.js.map +1 -1
- package/dist/models/HttpApiPolicyConfigs.d.ts +2 -2
- package/dist/models/HttpApiPolicyReference.d.ts +1 -1
- package/dist/models/HttpApiPublishRevisionInfo.d.ts +37 -52
- package/dist/models/HttpApiPublishRevisionInfo.js.map +1 -1
- package/dist/models/HttpApiRequestContract.d.ts +19 -19
- package/dist/models/HttpApiResponseContract.d.ts +7 -7
- package/dist/models/HttpApiVersionConfig.d.ts +3 -3
- package/dist/models/HttpApiVersionInfo.d.ts +4 -4
- package/dist/models/HttpDubboTranscoder.d.ts +2 -9
- package/dist/models/HttpDubboTranscoder.js.map +1 -1
- package/dist/models/HttpRoute.d.ts +11 -11
- package/dist/models/ImportHttpApiRequest.d.ts +14 -15
- package/dist/models/ImportHttpApiRequest.js.map +1 -1
- package/dist/models/ImportHttpApiResponseBody.d.ts +15 -15
- package/dist/models/InitiateOidcAuthRequest.d.ts +21 -0
- package/dist/models/InitiateOidcAuthRequest.js +58 -0
- package/dist/models/InitiateOidcAuthRequest.js.map +1 -0
- package/dist/models/InitiateOidcAuthResponse.d.ts +19 -0
- package/dist/models/InitiateOidcAuthResponse.js +69 -0
- package/dist/models/InitiateOidcAuthResponse.js.map +1 -0
- package/dist/models/InitiateOidcAuthResponseBody.d.ts +37 -0
- package/dist/models/InitiateOidcAuthResponseBody.js +62 -0
- package/dist/models/InitiateOidcAuthResponseBody.js.map +1 -0
- package/dist/models/InvokeAiagentRequest.d.ts +24 -2
- package/dist/models/InvokeAiagentRequest.js.map +1 -1
- package/dist/models/InvokeAiagentResponseBody.d.ts +21 -1
- package/dist/models/InvokeAiagentResponseBody.js.map +1 -1
- package/dist/models/JwtIdentityConfig.d.ts +1 -1
- package/dist/models/Kmsconfig.d.ts +2 -2
- package/dist/models/LabelDetail.d.ts +2 -2
- package/dist/models/ListAiModelCardsRequest.d.ts +1 -1
- package/dist/models/ListAiModelCardsResponseBody.d.ts +12 -12
- package/dist/models/ListAiModelProvidersRequest.d.ts +1 -1
- package/dist/models/ListAiModelProvidersResponseBody.d.ts +12 -12
- package/dist/models/ListApiPathFieldTemplatesRequest.d.ts +29 -0
- package/dist/models/ListApiPathFieldTemplatesRequest.js +60 -0
- package/dist/models/ListApiPathFieldTemplatesRequest.js.map +1 -0
- package/dist/models/ListApiPathFieldTemplatesResponse.d.ts +19 -0
- package/dist/models/ListApiPathFieldTemplatesResponse.js +69 -0
- package/dist/models/ListApiPathFieldTemplatesResponse.js.map +1 -0
- package/dist/models/ListApiPathFieldTemplatesResponseBody.d.ts +119 -0
- package/dist/models/ListApiPathFieldTemplatesResponseBody.js +118 -0
- package/dist/models/ListApiPathFieldTemplatesResponseBody.js.map +1 -0
- package/dist/models/ListBatchExportTasksRequest.d.ts +24 -0
- package/dist/models/ListBatchExportTasksRequest.js.map +1 -1
- package/dist/models/ListBatchExportTasksResponseBody.d.ts +61 -0
- package/dist/models/ListBatchExportTasksResponseBody.js.map +1 -1
- package/dist/models/ListChatSessionsRequest.d.ts +45 -0
- package/dist/models/ListChatSessionsRequest.js +64 -0
- package/dist/models/ListChatSessionsRequest.js.map +1 -0
- package/dist/models/ListChatSessionsResponse.d.ts +19 -0
- package/dist/models/ListChatSessionsResponse.js +69 -0
- package/dist/models/ListChatSessionsResponse.js.map +1 -0
- package/dist/models/ListChatSessionsResponseBody.d.ts +140 -0
- package/dist/models/ListChatSessionsResponseBody.js +127 -0
- package/dist/models/ListChatSessionsResponseBody.js.map +1 -0
- package/dist/models/ListConsumerAuthorizationRulesRequest.d.ts +2 -2
- package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +4 -4
- package/dist/models/ListConsumerGroupConsumersResponseBody.d.ts +2 -2
- package/dist/models/ListConsumerGroupQuotaRulesRequest.d.ts +12 -0
- package/dist/models/ListConsumerGroupQuotaRulesRequest.js.map +1 -1
- package/dist/models/ListConsumerGroupQuotaRulesResponseBody.d.ts +61 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponseBody.js.map +1 -1
- package/dist/models/ListConsumerGroupsResponseBody.d.ts +2 -2
- package/dist/models/ListConsumerQuotaRulesRequest.d.ts +1 -1
- package/dist/models/ListConsumerQuotaRulesResponseBody.d.ts +5 -5
- package/dist/models/ListConsumersRequest.d.ts +2 -2
- package/dist/models/ListConsumersResponseBody.d.ts +5 -5
- package/dist/models/ListDevelopersRequest.d.ts +69 -0
- package/dist/models/ListDevelopersRequest.js +70 -0
- package/dist/models/ListDevelopersRequest.js.map +1 -0
- package/dist/models/ListDevelopersResponse.d.ts +19 -0
- package/dist/models/ListDevelopersResponse.js +69 -0
- package/dist/models/ListDevelopersResponse.js.map +1 -0
- package/dist/models/ListDevelopersResponseBody.d.ts +143 -0
- package/dist/models/ListDevelopersResponseBody.js +124 -0
- package/dist/models/ListDevelopersResponseBody.js.map +1 -0
- package/dist/models/ListEnvironmentsRequest.d.ts +1 -1
- package/dist/models/ListExternalServicesRequest.d.ts +1 -1
- package/dist/models/ListGatewayAuthorizableSecurityGroupsRequest.d.ts +1 -1
- package/dist/models/ListGatewayAuthorizableSecurityGroupsResponseBody.d.ts +9 -10
- package/dist/models/ListGatewayAuthorizableSecurityGroupsResponseBody.js.map +1 -1
- package/dist/models/ListGatewayAuthorizedSecurityGroupRulesResponseBody.d.ts +12 -13
- package/dist/models/ListGatewayAuthorizedSecurityGroupRulesResponseBody.js.map +1 -1
- package/dist/models/ListGatewayErrorAccessLogsRequest.d.ts +19 -0
- package/dist/models/ListGatewayErrorAccessLogsRequest.js.map +1 -1
- package/dist/models/ListGatewayErrorAccessLogsResponseBody.d.ts +5 -1
- package/dist/models/ListGatewayErrorAccessLogsResponseBody.js.map +1 -1
- package/dist/models/ListGatewayFeaturesResponseBody.d.ts +10 -10
- package/dist/models/ListGatewayLoadBalancersRequest.d.ts +22 -0
- package/dist/models/ListGatewayLoadBalancersRequest.js.map +1 -1
- package/dist/models/ListGatewayLoadBalancersResponseBody.d.ts +136 -1
- package/dist/models/ListGatewayLoadBalancersResponseBody.js.map +1 -1
- package/dist/models/ListGatewayQuotaRulesRequest.d.ts +2 -2
- package/dist/models/ListGatewayQuotaRulesResponseBody.d.ts +9 -1
- package/dist/models/ListGatewayQuotaRulesResponseBody.js +2 -0
- package/dist/models/ListGatewayQuotaRulesResponseBody.js.map +1 -1
- package/dist/models/ListGatewaysRequest.d.ts +5 -5
- package/dist/models/ListGatewaysResponseBody.d.ts +214 -18
- package/dist/models/ListGatewaysResponseBody.js +97 -1
- package/dist/models/ListGatewaysResponseBody.js.map +1 -1
- package/dist/models/ListGatewaysShrinkRequest.d.ts +5 -5
- package/dist/models/ListGlobalPoliciesRequest.d.ts +39 -0
- package/dist/models/ListGlobalPoliciesRequest.js.map +1 -1
- package/dist/models/ListGlobalPoliciesResponseBody.d.ts +23 -0
- package/dist/models/ListGlobalPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListHiMarketConsumerSubscriptionsRequest.d.ts +53 -0
- package/dist/models/ListHiMarketConsumerSubscriptionsRequest.js +66 -0
- package/dist/models/ListHiMarketConsumerSubscriptionsRequest.js.map +1 -0
- package/dist/models/ListHiMarketConsumerSubscriptionsResponse.d.ts +19 -0
- package/dist/models/ListHiMarketConsumerSubscriptionsResponse.js +69 -0
- package/dist/models/ListHiMarketConsumerSubscriptionsResponse.js.map +1 -0
- package/dist/models/ListHiMarketConsumerSubscriptionsResponseBody.d.ts +167 -0
- package/dist/models/ListHiMarketConsumerSubscriptionsResponseBody.js +130 -0
- package/dist/models/ListHiMarketConsumerSubscriptionsResponseBody.js.map +1 -0
- package/dist/models/ListHiMarketConsumersRequest.d.ts +69 -0
- package/dist/models/ListHiMarketConsumersRequest.js +70 -0
- package/dist/models/ListHiMarketConsumersRequest.js.map +1 -0
- package/dist/models/ListHiMarketConsumersResponse.d.ts +19 -0
- package/dist/models/ListHiMarketConsumersResponse.js +69 -0
- package/dist/models/ListHiMarketConsumersResponse.js.map +1 -0
- package/dist/models/ListHiMarketConsumersResponseBody.d.ts +140 -0
- package/dist/models/ListHiMarketConsumersResponseBody.js +124 -0
- package/dist/models/ListHiMarketConsumersResponseBody.js.map +1 -0
- package/dist/models/ListHttpApiOperationsRequest.d.ts +11 -11
- package/dist/models/ListHttpApiOperationsResponseBody.d.ts +5 -5
- package/dist/models/ListHttpApiRoutesRequest.d.ts +9 -9
- package/dist/models/ListHttpApiRoutesResponseBody.d.ts +1 -1
- package/dist/models/ListHttpApisRequest.d.ts +12 -14
- package/dist/models/ListHttpApisRequest.js.map +1 -1
- package/dist/models/ListHttpApisResponseBody.d.ts +2 -2
- package/dist/models/ListInstallableGatewaysRequest.d.ts +9 -0
- package/dist/models/ListInstallableGatewaysRequest.js.map +1 -1
- package/dist/models/ListInstallableGatewaysResponseBody.d.ts +44 -0
- package/dist/models/ListInstallableGatewaysResponseBody.js.map +1 -1
- package/dist/models/ListK8sClusterSourcesRequest.d.ts +3 -0
- package/dist/models/ListK8sClusterSourcesRequest.js.map +1 -1
- package/dist/models/ListK8sClusterSourcesResponseBody.d.ts +23 -0
- package/dist/models/ListK8sClusterSourcesResponseBody.js.map +1 -1
- package/dist/models/ListMcpProductToolsRequest.d.ts +13 -0
- package/dist/models/ListMcpProductToolsRequest.js +54 -0
- package/dist/models/ListMcpProductToolsRequest.js.map +1 -0
- package/dist/models/ListMcpProductToolsResponse.d.ts +19 -0
- package/dist/models/ListMcpProductToolsResponse.js +69 -0
- package/dist/models/ListMcpProductToolsResponse.js.map +1 -0
- package/dist/models/ListMcpProductToolsResponseBody.d.ts +123 -0
- package/dist/models/ListMcpProductToolsResponseBody.js +132 -0
- package/dist/models/ListMcpProductToolsResponseBody.js.map +1 -0
- package/dist/models/ListMcpServersRequest.d.ts +2 -2
- package/dist/models/ListMcpServersResponseBody.d.ts +10 -10
- package/dist/models/ListMigrationTasksRequest.d.ts +6 -0
- package/dist/models/ListMigrationTasksRequest.js.map +1 -1
- package/dist/models/ListMigrationTasksResponseBody.d.ts +104 -1
- package/dist/models/ListMigrationTasksResponseBody.js.map +1 -1
- package/dist/models/ListModelCardsRequest.d.ts +21 -0
- package/dist/models/ListModelCardsRequest.js +58 -0
- package/dist/models/ListModelCardsRequest.js.map +1 -0
- package/dist/models/ListModelCardsResponse.d.ts +19 -0
- package/dist/models/ListModelCardsResponse.js +69 -0
- package/dist/models/ListModelCardsResponse.js.map +1 -0
- package/dist/models/ListModelCardsResponseBody.d.ts +157 -0
- package/dist/models/ListModelCardsResponseBody.js +155 -0
- package/dist/models/ListModelCardsResponseBody.js.map +1 -0
- package/dist/models/ListMseNacosSourcesResponseBody.d.ts +4 -4
- package/dist/models/ListPluginAttachmentsRequest.d.ts +6 -6
- package/dist/models/ListPluginAttachmentsResponseBody.d.ts +7 -7
- package/dist/models/ListPluginClassesRequest.d.ts +1 -1
- package/dist/models/ListPluginClassesResponseBody.d.ts +2 -2
- package/dist/models/ListPluginRepositoriesResponseBody.d.ts +27 -1
- package/dist/models/ListPluginRepositoriesResponseBody.js.map +1 -1
- package/dist/models/ListPluginWorkspaceRequest.d.ts +3 -0
- package/dist/models/ListPluginWorkspaceRequest.js.map +1 -1
- package/dist/models/ListPluginWorkspaceResponseBody.d.ts +22 -0
- package/dist/models/ListPluginWorkspaceResponseBody.js.map +1 -1
- package/dist/models/ListPluginsRequest.d.ts +12 -12
- package/dist/models/ListPluginsResponseBody.d.ts +12 -12
- package/dist/models/ListPoliciesRequest.d.ts +8 -8
- package/dist/models/ListPortalPublicationsRequest.d.ts +37 -0
- package/dist/models/ListPortalPublicationsRequest.js +62 -0
- package/dist/models/ListPortalPublicationsRequest.js.map +1 -0
- package/dist/models/ListPortalPublicationsResponse.d.ts +19 -0
- package/dist/models/ListPortalPublicationsResponse.js +69 -0
- package/dist/models/ListPortalPublicationsResponse.js.map +1 -0
- package/dist/models/ListPortalPublicationsResponseBody.d.ts +143 -0
- package/dist/models/ListPortalPublicationsResponseBody.js +124 -0
- package/dist/models/ListPortalPublicationsResponseBody.js.map +1 -0
- package/dist/models/ListPortalsRequest.d.ts +53 -0
- package/dist/models/ListPortalsRequest.js +66 -0
- package/dist/models/ListPortalsRequest.js.map +1 -0
- package/dist/models/ListPortalsResponse.d.ts +19 -0
- package/dist/models/ListPortalsResponse.js +69 -0
- package/dist/models/ListPortalsResponse.js.map +1 -0
- package/dist/models/ListPortalsResponseBody.d.ts +163 -0
- package/dist/models/ListPortalsResponseBody.js +138 -0
- package/dist/models/ListPortalsResponseBody.js.map +1 -0
- package/dist/models/ListPrivateLinkSecurityGroupsRequest.d.ts +39 -0
- package/dist/models/ListPrivateLinkSecurityGroupsRequest.js +62 -0
- package/dist/models/ListPrivateLinkSecurityGroupsRequest.js.map +1 -0
- package/dist/models/ListPrivateLinkSecurityGroupsResponse.d.ts +19 -0
- package/dist/models/ListPrivateLinkSecurityGroupsResponse.js +69 -0
- package/dist/models/ListPrivateLinkSecurityGroupsResponse.js.map +1 -0
- package/dist/models/ListPrivateLinkSecurityGroupsResponseBody.d.ts +118 -0
- package/dist/models/ListPrivateLinkSecurityGroupsResponseBody.js +118 -0
- package/dist/models/ListPrivateLinkSecurityGroupsResponseBody.js.map +1 -0
- package/dist/models/ListProductCategoriesRequest.d.ts +37 -0
- package/dist/models/ListProductCategoriesRequest.js +62 -0
- package/dist/models/ListProductCategoriesRequest.js.map +1 -0
- package/dist/models/ListProductCategoriesResponse.d.ts +19 -0
- package/dist/models/ListProductCategoriesResponse.js +69 -0
- package/dist/models/ListProductCategoriesResponse.js.map +1 -0
- package/dist/models/ListProductCategoriesResponseBody.d.ts +125 -0
- package/dist/models/ListProductCategoriesResponseBody.js +124 -0
- package/dist/models/ListProductCategoriesResponseBody.js.map +1 -0
- package/dist/models/ListProductPublicationsRequest.d.ts +37 -0
- package/dist/models/ListProductPublicationsRequest.js +62 -0
- package/dist/models/ListProductPublicationsRequest.js.map +1 -0
- package/dist/models/ListProductPublicationsResponse.d.ts +19 -0
- package/dist/models/ListProductPublicationsResponse.js +69 -0
- package/dist/models/ListProductPublicationsResponse.js.map +1 -0
- package/dist/models/ListProductPublicationsResponseBody.d.ts +84 -0
- package/dist/models/ListProductPublicationsResponseBody.js +96 -0
- package/dist/models/ListProductPublicationsResponseBody.js.map +1 -0
- package/dist/models/ListProductSubscriptionsRequest.d.ts +45 -0
- package/dist/models/ListProductSubscriptionsRequest.js +64 -0
- package/dist/models/ListProductSubscriptionsRequest.js.map +1 -0
- package/dist/models/ListProductSubscriptionsResponse.d.ts +19 -0
- package/dist/models/ListProductSubscriptionsResponse.js +69 -0
- package/dist/models/ListProductSubscriptionsResponse.js.map +1 -0
- package/dist/models/ListProductSubscriptionsResponseBody.d.ts +151 -0
- package/dist/models/ListProductSubscriptionsResponseBody.js +126 -0
- package/dist/models/ListProductSubscriptionsResponseBody.js.map +1 -0
- package/dist/models/ListProductsRequest.d.ts +85 -0
- package/dist/models/ListProductsRequest.js +74 -0
- package/dist/models/ListProductsRequest.js.map +1 -0
- package/dist/models/ListProductsResponse.d.ts +19 -0
- package/dist/models/ListProductsResponse.js +69 -0
- package/dist/models/ListProductsResponse.js.map +1 -0
- package/dist/models/ListProductsResponseBody.d.ts +200 -0
- package/dist/models/ListProductsResponseBody.js +166 -0
- package/dist/models/ListProductsResponseBody.js.map +1 -0
- package/dist/models/ListPublishableProductsRequest.d.ts +37 -0
- package/dist/models/ListPublishableProductsRequest.js +62 -0
- package/dist/models/ListPublishableProductsRequest.js.map +1 -0
- package/dist/models/ListPublishableProductsResponse.d.ts +19 -0
- package/dist/models/ListPublishableProductsResponse.js +69 -0
- package/dist/models/ListPublishableProductsResponse.js.map +1 -0
- package/dist/models/ListPublishableProductsResponseBody.d.ts +119 -0
- package/dist/models/ListPublishableProductsResponseBody.js +118 -0
- package/dist/models/ListPublishableProductsResponseBody.js.map +1 -0
- package/dist/models/ListRiskCheckResultsRequest.d.ts +12 -0
- package/dist/models/ListRiskCheckResultsRequest.js.map +1 -1
- package/dist/models/ListRiskCheckResultsResponseBody.d.ts +29 -0
- package/dist/models/ListRiskCheckResultsResponseBody.js.map +1 -1
- package/dist/models/ListSecretsRequest.d.ts +1 -1
- package/dist/models/ListSecretsResponseBody.d.ts +1 -1
- package/dist/models/ListServicesRequest.d.ts +8 -9
- package/dist/models/ListServicesRequest.js.map +1 -1
- package/dist/models/ListSourcesRequest.d.ts +6 -8
- package/dist/models/ListSourcesRequest.js.map +1 -1
- package/dist/models/ListSourcesResponseBody.d.ts +20 -11
- package/dist/models/ListSourcesResponseBody.js.map +1 -1
- package/dist/models/ListSyncMcpserverRequest.d.ts +9 -0
- package/dist/models/ListSyncMcpserverRequest.js.map +1 -1
- package/dist/models/ListSyncMcpserverResponseBody.d.ts +19 -1
- package/dist/models/ListSyncMcpserverResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +6 -6
- package/dist/models/ListTagResourcesResponseBody.d.ts +4 -4
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +4 -4
- package/dist/models/ListZonesRequest.d.ts +1 -1
- package/dist/models/LoginDeveloperRequest.d.ts +29 -0
- package/dist/models/LoginDeveloperRequest.js +60 -0
- package/dist/models/LoginDeveloperRequest.js.map +1 -0
- package/dist/models/LoginDeveloperResponse.d.ts +19 -0
- package/dist/models/LoginDeveloperResponse.js +69 -0
- package/dist/models/LoginDeveloperResponse.js.map +1 -0
- package/dist/models/LoginDeveloperResponseBody.d.ts +70 -0
- package/dist/models/LoginDeveloperResponseBody.js +88 -0
- package/dist/models/LoginDeveloperResponseBody.js.map +1 -0
- package/dist/models/LogoutDeveloperRequest.d.ts +13 -0
- package/dist/models/LogoutDeveloperRequest.js +54 -0
- package/dist/models/LogoutDeveloperRequest.js.map +1 -0
- package/dist/models/LogoutDeveloperResponse.d.ts +19 -0
- package/dist/models/LogoutDeveloperResponse.js +69 -0
- package/dist/models/LogoutDeveloperResponse.js.map +1 -0
- package/dist/models/LogoutDeveloperResponseBody.d.ts +37 -0
- package/dist/models/LogoutDeveloperResponseBody.js +62 -0
- package/dist/models/LogoutDeveloperResponseBody.js.map +1 -0
- package/dist/models/ParentResourceInfo.d.ts +7 -1
- package/dist/models/ParentResourceInfo.js.map +1 -1
- package/dist/models/PluginClassInfo.d.ts +7 -7
- package/dist/models/PolicyClassInfo.d.ts +12 -12
- package/dist/models/PolicyDetailInfo.d.ts +1 -1
- package/dist/models/PolicyInfo.d.ts +30 -39
- package/dist/models/PolicyInfo.js.map +1 -1
- package/dist/models/PublishProductRequest.d.ts +21 -0
- package/dist/models/PublishProductRequest.js +58 -0
- package/dist/models/PublishProductRequest.js.map +1 -0
- package/dist/models/PublishProductResponse.d.ts +19 -0
- package/dist/models/PublishProductResponse.js +69 -0
- package/dist/models/PublishProductResponse.js.map +1 -0
- package/dist/models/PublishProductResponseBody.d.ts +62 -0
- package/dist/models/PublishProductResponseBody.js +86 -0
- package/dist/models/PublishProductResponseBody.js.map +1 -0
- package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +6 -6
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +5 -5
- package/dist/models/RefreshPluginOauthCodeRequest.d.ts +3 -0
- package/dist/models/RefreshPluginOauthCodeRequest.js.map +1 -1
- package/dist/models/RefreshPluginOauthCodeResponseBody.d.ts +6 -0
- package/dist/models/RefreshPluginOauthCodeResponseBody.js.map +1 -1
- package/dist/models/ResetGatewayQuotaRuleRequest.d.ts +4 -4
- package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +8 -8
- package/dist/models/ResourceStatistic.d.ts +1 -6
- package/dist/models/ResourceStatistic.js.map +1 -1
- package/dist/models/RevealServiceCredentialRequest.d.ts +13 -0
- package/dist/models/RevealServiceCredentialRequest.js +54 -0
- package/dist/models/RevealServiceCredentialRequest.js.map +1 -0
- package/dist/models/RevealServiceCredentialResponse.d.ts +19 -0
- package/dist/models/RevealServiceCredentialResponse.js +69 -0
- package/dist/models/RevealServiceCredentialResponse.js.map +1 -0
- package/dist/models/RevealServiceCredentialResponseBody.d.ts +213 -0
- package/dist/models/RevealServiceCredentialResponseBody.js +146 -0
- package/dist/models/RevealServiceCredentialResponseBody.js.map +1 -0
- package/dist/models/RiskCheckResults.d.ts +38 -27
- package/dist/models/RiskCheckResults.js.map +1 -1
- package/dist/models/RunPluginPipelineResponseBody.d.ts +6 -0
- package/dist/models/RunPluginPipelineResponseBody.js.map +1 -1
- package/dist/models/Service.d.ts +3 -3
- package/dist/models/SslCertMetaInfo.d.ts +8 -8
- package/dist/models/SubDomainInfo.d.ts +1 -1
- package/dist/models/SubscribeProductRequest.d.ts +21 -0
- package/dist/models/SubscribeProductRequest.js +58 -0
- package/dist/models/SubscribeProductRequest.js.map +1 -0
- package/dist/models/SubscribeProductResponse.d.ts +19 -0
- package/dist/models/SubscribeProductResponse.js +69 -0
- package/dist/models/SubscribeProductResponse.js.map +1 -0
- package/dist/models/SubscribeProductResponseBody.d.ts +110 -0
- package/dist/models/SubscribeProductResponseBody.js +98 -0
- package/dist/models/SubscribeProductResponseBody.js.map +1 -0
- package/dist/models/SyncMcpserversRequest.d.ts +3 -3
- package/dist/models/SyncMcpserversResponseBody.d.ts +4 -4
- package/dist/models/TagResourcesRequest.d.ts +2 -2
- package/dist/models/TransportCertificateInfo.d.ts +7 -7
- package/dist/models/UnpublishProductRequest.d.ts +13 -0
- package/dist/models/UnpublishProductRequest.js +54 -0
- package/dist/models/UnpublishProductRequest.js.map +1 -0
- package/dist/models/UnpublishProductResponse.d.ts +19 -0
- package/dist/models/UnpublishProductResponse.js +69 -0
- package/dist/models/UnpublishProductResponse.js.map +1 -0
- package/dist/models/UnpublishProductResponseBody.d.ts +37 -0
- package/dist/models/UnpublishProductResponseBody.js +62 -0
- package/dist/models/UnpublishProductResponseBody.js.map +1 -0
- package/dist/models/UpdateAiModelCardRequest.d.ts +5 -5
- package/dist/models/UpdateAiModelCardResponseBody.d.ts +7 -7
- package/dist/models/UpdateAiModelProviderRequest.d.ts +2 -2
- package/dist/models/UpdateAiModelProviderResponseBody.d.ts +9 -9
- package/dist/models/UpdateAndAttachPolicyRequest.d.ts +2 -2
- package/dist/models/UpdateAuthorizationRuleRequest.d.ts +4 -0
- package/dist/models/UpdateAuthorizationRuleRequest.js.map +1 -1
- package/dist/models/UpdateAuthorizationRuleResponseBody.d.ts +6 -0
- package/dist/models/UpdateAuthorizationRuleResponseBody.js.map +1 -1
- package/dist/models/UpdateCategoryProductsRequest.d.ts +26 -0
- package/dist/models/UpdateCategoryProductsRequest.js +63 -0
- package/dist/models/UpdateCategoryProductsRequest.js.map +1 -0
- package/dist/models/UpdateCategoryProductsResponse.d.ts +19 -0
- package/dist/models/UpdateCategoryProductsResponse.js +69 -0
- package/dist/models/UpdateCategoryProductsResponse.js.map +1 -0
- package/dist/models/UpdateCategoryProductsResponseBody.d.ts +37 -0
- package/dist/models/UpdateCategoryProductsResponseBody.js +62 -0
- package/dist/models/UpdateCategoryProductsResponseBody.js.map +1 -0
- package/dist/models/UpdateConsumerAuthorizationRuleRequest.d.ts +1 -3
- package/dist/models/UpdateConsumerAuthorizationRuleRequest.js.map +1 -1
- package/dist/models/UpdateConsumerGroupRequest.d.ts +1 -1
- package/dist/models/UpdateDeveloperStatusRequest.d.ts +29 -0
- package/dist/models/UpdateDeveloperStatusRequest.js +60 -0
- package/dist/models/UpdateDeveloperStatusRequest.js.map +1 -0
- package/dist/models/UpdateDeveloperStatusResponse.d.ts +19 -0
- package/dist/models/UpdateDeveloperStatusResponse.js +69 -0
- package/dist/models/UpdateDeveloperStatusResponse.js.map +1 -0
- package/dist/models/UpdateDeveloperStatusResponseBody.d.ts +37 -0
- package/dist/models/UpdateDeveloperStatusResponseBody.js +62 -0
- package/dist/models/UpdateDeveloperStatusResponseBody.js.map +1 -0
- package/dist/models/UpdateDomainRequest.d.ts +3 -3
- package/dist/models/UpdateDomainResponseBody.d.ts +1 -1
- package/dist/models/UpdateEnvironmentRequest.d.ts +3 -3
- package/dist/models/UpdateGatewayElasticPolicyRequest.d.ts +39 -0
- package/dist/models/UpdateGatewayElasticPolicyRequest.js.map +1 -1
- package/dist/models/UpdateGatewayElasticPolicyResponseBody.d.ts +6 -0
- package/dist/models/UpdateGatewayElasticPolicyResponseBody.js.map +1 -1
- package/dist/models/UpdateGatewayLoadBalancerRequest.d.ts +52 -0
- package/dist/models/UpdateGatewayLoadBalancerRequest.js.map +1 -1
- package/dist/models/UpdateGatewayLoadBalancerResponseBody.d.ts +55 -1
- package/dist/models/UpdateGatewayLoadBalancerResponseBody.js.map +1 -1
- package/dist/models/UpdateGatewayMaintenancePeriodRequest.d.ts +10 -0
- package/dist/models/UpdateGatewayMaintenancePeriodRequest.js.map +1 -1
- package/dist/models/UpdateGatewayMaintenancePeriodResponseBody.d.ts +9 -0
- package/dist/models/UpdateGatewayMaintenancePeriodResponseBody.js.map +1 -1
- package/dist/models/UpdateGatewayQuotaRuleRequest.d.ts +8 -8
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +18 -8
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.js +2 -0
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/UpdateHttpApiOperationRequest.d.ts +1 -1
- package/dist/models/UpdateHttpApiRequest.d.ts +1 -1
- package/dist/models/UpdateHttpApiRouteRequest.d.ts +4 -4
- package/dist/models/UpdateMcpServerRequest.d.ts +19 -21
- package/dist/models/UpdateMcpServerRequest.js.map +1 -1
- package/dist/models/UpdateMigrationTaskRequest.d.ts +38 -1
- package/dist/models/UpdateMigrationTaskRequest.js.map +1 -1
- package/dist/models/UpdateMigrationTaskResponseBody.d.ts +6 -0
- package/dist/models/UpdateMigrationTaskResponseBody.js.map +1 -1
- package/dist/models/UpdateNetworkAccessRequest.d.ts +8 -0
- package/dist/models/UpdateNetworkAccessRequest.js.map +1 -1
- package/dist/models/UpdateNetworkAccessResponseBody.d.ts +9 -0
- package/dist/models/UpdateNetworkAccessResponseBody.js.map +1 -1
- package/dist/models/UpdatePluginAttachmentRequest.d.ts +1 -1
- package/dist/models/UpdatePolicyRequest.d.ts +2 -2
- package/dist/models/UpdatePortalRequest.d.ts +43 -0
- package/dist/models/UpdatePortalRequest.js +68 -0
- package/dist/models/UpdatePortalRequest.js.map +1 -0
- package/dist/models/UpdatePortalResponse.d.ts +19 -0
- package/dist/models/UpdatePortalResponse.js +69 -0
- package/dist/models/UpdatePortalResponse.js.map +1 -0
- package/dist/models/UpdatePortalResponseBody.d.ts +62 -0
- package/dist/models/UpdatePortalResponseBody.js +86 -0
- package/dist/models/UpdatePortalResponseBody.js.map +1 -0
- package/dist/models/UpdateProductCategoryRequest.d.ts +35 -0
- package/dist/models/UpdateProductCategoryRequest.js +66 -0
- package/dist/models/UpdateProductCategoryRequest.js.map +1 -0
- package/dist/models/UpdateProductCategoryResponse.d.ts +19 -0
- package/dist/models/UpdateProductCategoryResponse.js +69 -0
- package/dist/models/UpdateProductCategoryResponse.js.map +1 -0
- package/dist/models/UpdateProductCategoryResponseBody.d.ts +37 -0
- package/dist/models/UpdateProductCategoryResponseBody.js +62 -0
- package/dist/models/UpdateProductCategoryResponseBody.js.map +1 -0
- package/dist/models/UpdateProductRequest.d.ts +75 -0
- package/dist/models/UpdateProductRequest.js +85 -0
- package/dist/models/UpdateProductRequest.js.map +1 -0
- package/dist/models/UpdateProductResponse.d.ts +19 -0
- package/dist/models/UpdateProductResponse.js +69 -0
- package/dist/models/UpdateProductResponse.js.map +1 -0
- package/dist/models/UpdateProductResponseBody.d.ts +37 -0
- package/dist/models/UpdateProductResponseBody.js +62 -0
- package/dist/models/UpdateProductResponseBody.js.map +1 -0
- package/dist/models/UpdateRiskNotificationRequest.d.ts +9 -1
- package/dist/models/UpdateRiskNotificationRequest.js.map +1 -1
- package/dist/models/UpdateRiskNotificationResponseBody.d.ts +7 -1
- package/dist/models/UpdateRiskNotificationResponseBody.js.map +1 -1
- package/dist/models/UpdateSecretRequest.d.ts +1 -1
- package/dist/models/UpdateServiceRequest.d.ts +30 -16
- package/dist/models/UpdateServiceRequest.js +10 -0
- package/dist/models/UpdateServiceRequest.js.map +1 -1
- package/dist/models/VerifyMigrationTaskResponseBody.d.ts +33 -0
- package/dist/models/VerifyMigrationTaskResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +207 -0
- package/dist/models/model.js +466 -48
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2912 -486
- package/src/models/AddGatewayQuotaRuleRequest.ts +16 -20
- package/src/models/AddGatewayQuotaRuleResponseBody.ts +18 -9
- package/src/models/AddGatewaySecurityGroupRuleRequest.ts +1 -1
- package/src/models/AgentAccessConfig.ts +5 -5
- package/src/models/AgentInfo.ts +15 -15
- package/src/models/AgentModelAccessConfig.ts +1 -1
- package/src/models/AgentServiceConfig.ts +14 -4
- package/src/models/AiCacheConfig.ts +2 -2
- package/src/models/AiFallbackConfig.ts +1 -1
- package/src/models/AiNetworkConfigSearchEngine.ts +6 -6
- package/src/models/AiNetworkSearchConfig.ts +5 -5
- package/src/models/AiPolicyRedisConfig.ts +1 -1
- package/src/models/AiSecurityGuardConfig.ts +103 -20
- package/src/models/AiServiceConfig.ts +55 -35
- package/src/models/AiStatisticsConfig.ts +7 -7
- package/src/models/AiStatisticsPathField.ts +4 -4
- package/src/models/AiTokenRateLimitConfig.ts +1 -1
- package/src/models/AiToolSelectionConfig.ts +7 -7
- package/src/models/AkSkIdentityConfig.ts +4 -4
- package/src/models/ApiKeyIdentityConfig.ts +1 -1
- package/src/models/ApiRouteConflictInfo.ts +21 -17
- package/src/models/Attachment.ts +1 -1
- package/src/models/AuthorizationResourceInfo.ts +3 -3
- package/src/models/Backend.ts +8 -8
- package/src/models/BatchAddConsumerGroupConsumersResponseBody.ts +1 -1
- package/src/models/BatchDeleteConsumerAuthorizationRuleRequest.ts +1 -1
- package/src/models/BatchExportHttpApisRequest.ts +49 -0
- package/src/models/BatchExportHttpApisResponseBody.ts +16 -0
- package/src/models/BatchImportHttpApisRequest.ts +36 -0
- package/src/models/BatchImportHttpApisResponseBody.ts +16 -0
- package/src/models/BatchRemoveConsumerGroupConsumersResponseBody.ts +2 -2
- package/src/models/BatchUpdateHttpApiOperationRequest.ts +17 -0
- package/src/models/BatchUpdateHttpApiOperationResponseBody.ts +6 -0
- package/src/models/ChangeResourceGroupRequest.ts +2 -2
- package/src/models/CheckCommodityStatusRequest.ts +24 -0
- package/src/models/CheckCommodityStatusResponse.ts +40 -0
- package/src/models/CheckCommodityStatusResponseBody.ts +84 -0
- package/src/models/CreateAiModelCardRequest.ts +12 -12
- package/src/models/CreateAiModelCardResponseBody.ts +4 -4
- package/src/models/CreateAiModelProviderRequest.ts +1 -1
- package/src/models/CreateAiModelProviderResponseBody.ts +6 -6
- package/src/models/CreateAndAttachPolicyRequest.ts +4 -4
- package/src/models/CreateChatSessionRequest.ts +54 -0
- package/src/models/CreateChatSessionResponse.ts +40 -0
- package/src/models/CreateChatSessionResponseBody.ts +94 -0
- package/src/models/CreateConsumerAuthorizationRuleResponseBody.ts +1 -1
- package/src/models/CreateConsumerAuthorizationRulesRequest.ts +2 -2
- package/src/models/CreateConsumerGroupRequest.ts +1 -1
- package/src/models/CreateConsumerRequest.ts +9 -9
- package/src/models/CreateConsumerResponseBody.ts +1 -1
- package/src/models/CreateDeveloperRequest.ts +44 -0
- package/src/models/CreateDeveloperResponse.ts +40 -0
- package/src/models/CreateDeveloperResponseBody.ts +94 -0
- package/src/models/CreateDomainRequest.ts +3 -3
- package/src/models/CreateEnvironmentRequest.ts +3 -3
- package/src/models/CreateGatewayRequest.ts +27 -17
- package/src/models/CreateHttpApiRequest.ts +12 -10
- package/src/models/CreateHttpApiRouteRequest.ts +12 -12
- package/src/models/CreateHttpApiVersionRequest.ts +4 -0
- package/src/models/CreateHttpApiVersionResponseBody.ts +9 -0
- package/src/models/CreateMcpServerRequest.ts +9 -9
- package/src/models/CreateMigrationTaskRequest.ts +25 -0
- package/src/models/CreateMigrationTaskResponseBody.ts +14 -1
- package/src/models/CreatePluginAttachmentRequest.ts +2 -2
- package/src/models/CreatePluginAttachmentResponseBody.ts +1 -1
- package/src/models/CreatePluginClassRequest.ts +3 -3
- package/src/models/CreatePluginWorkspaceRequest.ts +10 -0
- package/src/models/CreatePluginWorkspaceResponseBody.ts +17 -1
- package/src/models/CreatePolicyAttachmentRequest.ts +2 -2
- package/src/models/CreatePolicyAttachmentResponseBody.ts +1 -1
- package/src/models/CreatePolicyRequest.ts +2 -33
- package/src/models/CreatePolicyResponseBody.ts +1 -1
- package/src/models/CreatePortalRequest.ts +54 -0
- package/src/models/CreatePortalResponse.ts +40 -0
- package/src/models/CreatePortalResponseBody.ts +94 -0
- package/src/models/CreateProductCategoryRequest.ts +55 -0
- package/src/models/CreateProductCategoryResponse.ts +40 -0
- package/src/models/CreateProductCategoryResponseBody.ts +104 -0
- package/src/models/CreateProductRefRequest.ts +154 -0
- package/src/models/CreateProductRefResponse.ts +40 -0
- package/src/models/CreateProductRefResponseBody.ts +54 -0
- package/src/models/CreateProductRequest.ts +116 -0
- package/src/models/CreateProductResponse.ts +40 -0
- package/src/models/CreateProductResponseBody.ts +94 -0
- package/src/models/CreateRiskCheckTaskResponseBody.ts +13 -0
- package/src/models/CreateSecretRequest.ts +2 -2
- package/src/models/CreateServiceRequest.ts +19 -19
- package/src/models/CreateSourceRequest.ts +6 -5
- package/src/models/DataFieldPathsValue.ts +64 -0
- package/src/models/DataPathConfigsFieldPathsValue.ts +154 -0
- package/src/models/DeleteAiModelProviderResponseBody.ts +1 -1
- package/src/models/DeleteDomainResponseBody.ts +1 -1
- package/src/models/DeleteEnvironmentResponseBody.ts +1 -1
- package/src/models/DeleteGatewayQuotaRuleResponseBody.ts +1 -1
- package/src/models/DeleteGatewaySecurityGroupRuleRequest.ts +1 -3
- package/src/models/DeleteMigrationTaskResponseBody.ts +6 -0
- package/src/models/DeletePluginClassResponseBody.ts +6 -0
- package/src/models/DeletePortalRequest.ts +24 -0
- package/src/models/DeletePortalResponse.ts +40 -0
- package/src/models/DeletePortalResponseBody.ts +54 -0
- package/src/models/DeleteProductCategoryRequest.ts +24 -0
- package/src/models/DeleteProductCategoryResponse.ts +40 -0
- package/src/models/DeleteProductCategoryResponseBody.ts +54 -0
- package/src/models/DeleteProductRefRequest.ts +24 -0
- package/src/models/DeleteProductRefResponse.ts +40 -0
- package/src/models/DeleteProductRefResponseBody.ts +54 -0
- package/src/models/DeleteProductRequest.ts +24 -0
- package/src/models/DeleteProductResponse.ts +40 -0
- package/src/models/DeleteProductResponseBody.ts +54 -0
- package/src/models/DeployHttpApiRequest.ts +12 -10
- package/src/models/DetachAndDeletePolicyRequest.ts +1 -1
- package/src/models/DetachAndDeletePolicyResponseBody.ts +3 -3
- package/src/models/DomainInfo.ts +1 -1
- package/src/models/EnvironmentInfo.ts +7 -7
- package/src/models/ExportHttpApiRequest.ts +6 -6
- package/src/models/GatewayInfo.ts +1 -1
- package/src/models/GatewayLogConfig.ts +2 -2
- package/src/models/GetAiModelCardResponseBody.ts +13 -13
- package/src/models/GetAiModelProviderResponseBody.ts +20 -20
- package/src/models/GetApiPathFieldConfigRequest.ts +44 -0
- package/src/models/GetApiPathFieldConfigResponse.ts +40 -0
- package/src/models/GetApiPathFieldConfigResponseBody.ts +155 -0
- package/src/models/GetApiPathFieldTemplateRequest.ts +34 -0
- package/src/models/GetApiPathFieldTemplateResponse.ts +40 -0
- package/src/models/GetApiPathFieldTemplateResponseBody.ts +135 -0
- package/src/models/GetBatchExportTaskResponseBody.ts +73 -0
- package/src/models/GetBatchImportTaskResponseBody.ts +254 -0
- package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +3 -5
- package/src/models/GetConsumerGroupResponseBody.ts +2 -2
- package/src/models/GetConsumerResponseBody.ts +2 -2
- package/src/models/GetDashboardRequest.ts +5 -5
- package/src/models/GetDashboardShrinkRequest.ts +5 -5
- package/src/models/GetDeveloperRequest.ts +24 -0
- package/src/models/GetDeveloperResponse.ts +40 -0
- package/src/models/GetDeveloperResponseBody.ts +124 -0
- package/src/models/GetDomainResponseBody.ts +16 -16
- package/src/models/GetEnvironmentResponseBody.ts +2 -2
- package/src/models/GetGatewayElasticPolicyResponseBody.ts +68 -0
- package/src/models/GetGatewayQuotaRuleRequest.ts +2 -2
- package/src/models/GetGatewayQuotaRuleResponseBody.ts +31 -11
- package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +4 -4
- package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +20 -20
- package/src/models/GetGatewayResourceQuotaUsageResponseBody.ts +13 -13
- package/src/models/GetGatewayResponseBody.ts +293 -44
- package/src/models/GetHiMarketConsumerCredentialRequest.ts +24 -0
- package/src/models/GetHiMarketConsumerCredentialResponse.ts +40 -0
- package/src/models/GetHiMarketConsumerCredentialResponseBody.ts +106 -0
- package/src/models/GetHiMarketConsumerRequest.ts +24 -0
- package/src/models/GetHiMarketConsumerResponse.ts +40 -0
- package/src/models/GetHiMarketConsumerResponseBody.ts +121 -0
- package/src/models/GetHttpApiOperationResponseBody.ts +1 -1
- package/src/models/GetHttpApiRequest.ts +1 -1
- package/src/models/GetMigrationNamespacedServicesResponseBody.ts +28 -1
- package/src/models/GetMigrationTaskResponseBody.ts +91 -0
- package/src/models/GetPluginAttachmentResponseBody.ts +5 -5
- package/src/models/GetPluginClassResponseBody.ts +1 -1
- package/src/models/GetPluginWorkspaceResponseBody.ts +29 -1
- package/src/models/GetPortalRequest.ts +24 -0
- package/src/models/GetPortalResponse.ts +40 -0
- package/src/models/GetPortalResponseBody.ts +156 -0
- package/src/models/GetProductCategoryRequest.ts +24 -0
- package/src/models/GetProductCategoryResponse.ts +40 -0
- package/src/models/GetProductCategoryResponseBody.ts +125 -0
- package/src/models/GetProductRefRequest.ts +24 -0
- package/src/models/GetProductRefResponse.ts +40 -0
- package/src/models/GetProductRefResponseBody.ts +105 -0
- package/src/models/GetProductRequest.ts +24 -0
- package/src/models/GetProductResponse.ts +40 -0
- package/src/models/GetProductResponseBody.ts +216 -0
- package/src/models/GetResourceOverviewResponseBody.ts +2 -2
- package/src/models/GetRiskNotificationRequest.ts +2 -0
- package/src/models/GetRiskNotificationResponseBody.ts +19 -0
- package/src/models/GetSecretValueResponseBody.ts +1 -1
- package/src/models/GetTraceConfigRequest.ts +2 -2
- package/src/models/GetTraceConfigResponseBody.ts +2 -2
- package/src/models/HandleOidcCallbackRequest.ts +44 -0
- package/src/models/HandleOidcCallbackResponse.ts +40 -0
- package/src/models/HandleOidcCallbackResponseBody.ts +114 -0
- package/src/models/HiMarketAgentConfig.ts +2 -2
- package/src/models/HiMarketApiKeyConfig.ts +1 -1
- package/src/models/HiMarketAuthCodeConfig.ts +2 -2
- package/src/models/HiMarketHmacConfig.ts +1 -1
- package/src/models/HiMarketHttpRoute.ts +1 -1
- package/src/models/HiMarketIdentityMapping.ts +3 -3
- package/src/models/HiMarketMcpConfig.ts +3 -3
- package/src/models/HiMarketModelFeature.ts +1 -1
- package/src/models/HiMarketOidcConfig.ts +3 -3
- package/src/models/HiMarketPortalDeployConfig.ts +2 -2
- package/src/models/HiMarketPortalSettingConfig.ts +1 -1
- package/src/models/HiMarketProductCategory.ts +2 -2
- package/src/models/HiMarketProductPublicationDetail.ts +4 -4
- package/src/models/HiMarketProductRefConfig.ts +7 -7
- package/src/models/HttpApiApiInfo.ts +14 -8
- package/src/models/HttpApiApiInfoDeployCntMapValue.ts +3 -0
- package/src/models/HttpApiBackendMatchCondition.ts +4 -10
- package/src/models/HttpApiBackendMatchConditions.ts +2 -2
- package/src/models/HttpApiDeployConfig.ts +3 -3
- package/src/models/HttpApiDomainInfo.ts +0 -5
- package/src/models/HttpApiInfoByName.ts +6 -3
- package/src/models/HttpApiMockContract.ts +2 -2
- package/src/models/HttpApiOperation.ts +8 -20
- package/src/models/HttpApiOperationInfo.ts +13 -25
- package/src/models/HttpApiParameter.ts +6 -13
- package/src/models/HttpApiPolicyConfigs.ts +2 -2
- package/src/models/HttpApiPolicyReference.ts +1 -1
- package/src/models/HttpApiPublishRevisionInfo.ts +37 -52
- package/src/models/HttpApiRequestContract.ts +19 -19
- package/src/models/HttpApiResponseContract.ts +7 -7
- package/src/models/HttpApiVersionConfig.ts +3 -3
- package/src/models/HttpApiVersionInfo.ts +4 -4
- package/src/models/HttpDubboTranscoder.ts +2 -9
- package/src/models/HttpRoute.ts +11 -11
- package/src/models/ImportHttpApiRequest.ts +14 -15
- package/src/models/ImportHttpApiResponseBody.ts +15 -15
- package/src/models/InitiateOidcAuthRequest.ts +34 -0
- package/src/models/InitiateOidcAuthResponse.ts +40 -0
- package/src/models/InitiateOidcAuthResponseBody.ts +54 -0
- package/src/models/InvokeAiagentRequest.ts +24 -2
- package/src/models/InvokeAiagentResponseBody.ts +21 -1
- package/src/models/JwtIdentityConfig.ts +1 -1
- package/src/models/Kmsconfig.ts +2 -2
- package/src/models/LabelDetail.ts +2 -2
- package/src/models/ListAiModelCardsRequest.ts +1 -1
- package/src/models/ListAiModelCardsResponseBody.ts +12 -12
- package/src/models/ListAiModelProvidersRequest.ts +1 -1
- package/src/models/ListAiModelProvidersResponseBody.ts +12 -12
- package/src/models/ListApiPathFieldTemplatesRequest.ts +44 -0
- package/src/models/ListApiPathFieldTemplatesResponse.ts +40 -0
- package/src/models/ListApiPathFieldTemplatesResponseBody.ts +174 -0
- package/src/models/ListBatchExportTasksRequest.ts +24 -0
- package/src/models/ListBatchExportTasksResponseBody.ts +61 -0
- package/src/models/ListChatSessionsRequest.ts +64 -0
- package/src/models/ListChatSessionsResponse.ts +40 -0
- package/src/models/ListChatSessionsResponseBody.ts +204 -0
- package/src/models/ListConsumerAuthorizationRulesRequest.ts +2 -2
- package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +4 -4
- package/src/models/ListConsumerGroupConsumersResponseBody.ts +2 -2
- package/src/models/ListConsumerGroupQuotaRulesRequest.ts +12 -0
- package/src/models/ListConsumerGroupQuotaRulesResponseBody.ts +61 -0
- package/src/models/ListConsumerGroupsResponseBody.ts +2 -2
- package/src/models/ListConsumerQuotaRulesRequest.ts +1 -1
- package/src/models/ListConsumerQuotaRulesResponseBody.ts +5 -5
- package/src/models/ListConsumersRequest.ts +2 -2
- package/src/models/ListConsumersResponseBody.ts +5 -5
- package/src/models/ListDevelopersRequest.ts +94 -0
- package/src/models/ListDevelopersResponse.ts +40 -0
- package/src/models/ListDevelopersResponseBody.ts +204 -0
- package/src/models/ListEnvironmentsRequest.ts +1 -1
- package/src/models/ListExternalServicesRequest.ts +1 -1
- package/src/models/ListGatewayAuthorizableSecurityGroupsRequest.ts +1 -1
- package/src/models/ListGatewayAuthorizableSecurityGroupsResponseBody.ts +9 -10
- package/src/models/ListGatewayAuthorizedSecurityGroupRulesResponseBody.ts +12 -13
- package/src/models/ListGatewayErrorAccessLogsRequest.ts +19 -0
- package/src/models/ListGatewayErrorAccessLogsResponseBody.ts +5 -1
- package/src/models/ListGatewayFeaturesResponseBody.ts +10 -10
- package/src/models/ListGatewayLoadBalancersRequest.ts +22 -0
- package/src/models/ListGatewayLoadBalancersResponseBody.ts +136 -1
- package/src/models/ListGatewayQuotaRulesRequest.ts +2 -2
- package/src/models/ListGatewayQuotaRulesResponseBody.ts +11 -1
- package/src/models/ListGatewaysRequest.ts +5 -5
- package/src/models/ListGatewaysResponseBody.ts +283 -18
- package/src/models/ListGatewaysShrinkRequest.ts +5 -5
- package/src/models/ListGlobalPoliciesRequest.ts +39 -0
- package/src/models/ListGlobalPoliciesResponseBody.ts +23 -0
- package/src/models/ListHiMarketConsumerSubscriptionsRequest.ts +74 -0
- package/src/models/ListHiMarketConsumerSubscriptionsResponse.ts +40 -0
- package/src/models/ListHiMarketConsumerSubscriptionsResponseBody.ts +234 -0
- package/src/models/ListHiMarketConsumersRequest.ts +94 -0
- package/src/models/ListHiMarketConsumersResponse.ts +40 -0
- package/src/models/ListHiMarketConsumersResponseBody.ts +201 -0
- package/src/models/ListHttpApiOperationsRequest.ts +11 -11
- package/src/models/ListHttpApiOperationsResponseBody.ts +5 -5
- package/src/models/ListHttpApiRoutesRequest.ts +9 -9
- package/src/models/ListHttpApiRoutesResponseBody.ts +1 -1
- package/src/models/ListHttpApisRequest.ts +12 -14
- package/src/models/ListHttpApisResponseBody.ts +2 -2
- package/src/models/ListInstallableGatewaysRequest.ts +9 -0
- package/src/models/ListInstallableGatewaysResponseBody.ts +44 -0
- package/src/models/ListK8sClusterSourcesRequest.ts +3 -0
- package/src/models/ListK8sClusterSourcesResponseBody.ts +23 -0
- package/src/models/ListMcpProductToolsRequest.ts +24 -0
- package/src/models/ListMcpProductToolsResponse.ts +40 -0
- package/src/models/ListMcpProductToolsResponseBody.ts +184 -0
- package/src/models/ListMcpServersRequest.ts +2 -2
- package/src/models/ListMcpServersResponseBody.ts +10 -10
- package/src/models/ListMigrationTasksRequest.ts +6 -0
- package/src/models/ListMigrationTasksResponseBody.ts +104 -1
- package/src/models/ListModelCardsRequest.ts +34 -0
- package/src/models/ListModelCardsResponse.ts +40 -0
- package/src/models/ListModelCardsResponseBody.ts +234 -0
- package/src/models/ListMseNacosSourcesResponseBody.ts +4 -4
- package/src/models/ListPluginAttachmentsRequest.ts +6 -6
- package/src/models/ListPluginAttachmentsResponseBody.ts +7 -7
- package/src/models/ListPluginClassesRequest.ts +1 -1
- package/src/models/ListPluginClassesResponseBody.ts +2 -2
- package/src/models/ListPluginRepositoriesResponseBody.ts +27 -1
- package/src/models/ListPluginWorkspaceRequest.ts +3 -0
- package/src/models/ListPluginWorkspaceResponseBody.ts +22 -0
- package/src/models/ListPluginsRequest.ts +12 -12
- package/src/models/ListPluginsResponseBody.ts +12 -12
- package/src/models/ListPoliciesRequest.ts +8 -8
- package/src/models/ListPortalPublicationsRequest.ts +54 -0
- package/src/models/ListPortalPublicationsResponse.ts +40 -0
- package/src/models/ListPortalPublicationsResponseBody.ts +204 -0
- package/src/models/ListPortalsRequest.ts +74 -0
- package/src/models/ListPortalsResponse.ts +40 -0
- package/src/models/ListPortalsResponseBody.ts +236 -0
- package/src/models/ListPrivateLinkSecurityGroupsRequest.ts +56 -0
- package/src/models/ListPrivateLinkSecurityGroupsResponse.ts +40 -0
- package/src/models/ListPrivateLinkSecurityGroupsResponseBody.ts +173 -0
- package/src/models/ListProductCategoriesRequest.ts +54 -0
- package/src/models/ListProductCategoriesResponse.ts +40 -0
- package/src/models/ListProductCategoriesResponseBody.ts +185 -0
- package/src/models/ListProductPublicationsRequest.ts +54 -0
- package/src/models/ListProductPublicationsResponse.ts +40 -0
- package/src/models/ListProductPublicationsResponseBody.ts +125 -0
- package/src/models/ListProductSubscriptionsRequest.ts +64 -0
- package/src/models/ListProductSubscriptionsResponse.ts +40 -0
- package/src/models/ListProductSubscriptionsResponseBody.ts +214 -0
- package/src/models/ListProductsRequest.ts +114 -0
- package/src/models/ListProductsResponse.ts +40 -0
- package/src/models/ListProductsResponseBody.ts +297 -0
- package/src/models/ListPublishableProductsRequest.ts +54 -0
- package/src/models/ListPublishableProductsResponse.ts +40 -0
- package/src/models/ListPublishableProductsResponseBody.ts +174 -0
- package/src/models/ListRiskCheckResultsRequest.ts +12 -0
- package/src/models/ListRiskCheckResultsResponseBody.ts +29 -0
- package/src/models/ListSecretsRequest.ts +1 -1
- package/src/models/ListSecretsResponseBody.ts +1 -1
- package/src/models/ListServicesRequest.ts +8 -9
- package/src/models/ListSourcesRequest.ts +6 -8
- package/src/models/ListSourcesResponseBody.ts +20 -11
- package/src/models/ListSyncMcpserverRequest.ts +9 -0
- package/src/models/ListSyncMcpserverResponseBody.ts +19 -1
- package/src/models/ListTagResourcesRequest.ts +6 -6
- package/src/models/ListTagResourcesResponseBody.ts +4 -4
- package/src/models/ListTagResourcesShrinkRequest.ts +4 -4
- package/src/models/ListZonesRequest.ts +1 -1
- package/src/models/LoginDeveloperRequest.ts +44 -0
- package/src/models/LoginDeveloperResponse.ts +40 -0
- package/src/models/LoginDeveloperResponseBody.ts +104 -0
- package/src/models/LogoutDeveloperRequest.ts +24 -0
- package/src/models/LogoutDeveloperResponse.ts +40 -0
- package/src/models/LogoutDeveloperResponseBody.ts +54 -0
- package/src/models/ParentResourceInfo.ts +7 -1
- package/src/models/PluginClassInfo.ts +7 -7
- package/src/models/PolicyClassInfo.ts +12 -12
- package/src/models/PolicyDetailInfo.ts +1 -1
- package/src/models/PolicyInfo.ts +30 -39
- package/src/models/PublishProductRequest.ts +34 -0
- package/src/models/PublishProductResponse.ts +40 -0
- package/src/models/PublishProductResponseBody.ts +94 -0
- package/src/models/QueryConsumerAuthorizationRulesRequest.ts +6 -6
- package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +5 -5
- package/src/models/RefreshPluginOauthCodeRequest.ts +3 -0
- package/src/models/RefreshPluginOauthCodeResponseBody.ts +6 -0
- package/src/models/ResetGatewayQuotaRuleRequest.ts +4 -4
- package/src/models/ResetGatewayQuotaRuleResponseBody.ts +8 -8
- package/src/models/ResourceStatistic.ts +1 -6
- package/src/models/RevealServiceCredentialRequest.ts +24 -0
- package/src/models/RevealServiceCredentialResponse.ts +40 -0
- package/src/models/RevealServiceCredentialResponseBody.ts +296 -0
- package/src/models/RiskCheckResults.ts +38 -27
- package/src/models/RunPluginPipelineResponseBody.ts +6 -0
- package/src/models/Service.ts +3 -3
- package/src/models/SslCertMetaInfo.ts +8 -8
- package/src/models/SubDomainInfo.ts +1 -1
- package/src/models/SubscribeProductRequest.ts +34 -0
- package/src/models/SubscribeProductResponse.ts +40 -0
- package/src/models/SubscribeProductResponseBody.ts +154 -0
- package/src/models/SyncMcpserversRequest.ts +3 -3
- package/src/models/SyncMcpserversResponseBody.ts +4 -4
- package/src/models/TagResourcesRequest.ts +2 -2
- package/src/models/TransportCertificateInfo.ts +7 -7
- package/src/models/UnpublishProductRequest.ts +24 -0
- package/src/models/UnpublishProductResponse.ts +40 -0
- package/src/models/UnpublishProductResponseBody.ts +54 -0
- package/src/models/UpdateAiModelCardRequest.ts +5 -5
- package/src/models/UpdateAiModelCardResponseBody.ts +7 -7
- package/src/models/UpdateAiModelProviderRequest.ts +2 -2
- package/src/models/UpdateAiModelProviderResponseBody.ts +9 -9
- package/src/models/UpdateAndAttachPolicyRequest.ts +2 -2
- package/src/models/UpdateAuthorizationRuleRequest.ts +4 -0
- package/src/models/UpdateAuthorizationRuleResponseBody.ts +6 -0
- package/src/models/UpdateCategoryProductsRequest.ts +44 -0
- package/src/models/UpdateCategoryProductsResponse.ts +40 -0
- package/src/models/UpdateCategoryProductsResponseBody.ts +54 -0
- package/src/models/UpdateConsumerAuthorizationRuleRequest.ts +1 -3
- package/src/models/UpdateConsumerGroupRequest.ts +1 -1
- package/src/models/UpdateDeveloperStatusRequest.ts +44 -0
- package/src/models/UpdateDeveloperStatusResponse.ts +40 -0
- package/src/models/UpdateDeveloperStatusResponseBody.ts +54 -0
- package/src/models/UpdateDomainRequest.ts +3 -3
- package/src/models/UpdateDomainResponseBody.ts +1 -1
- package/src/models/UpdateEnvironmentRequest.ts +3 -3
- package/src/models/UpdateGatewayElasticPolicyRequest.ts +39 -0
- package/src/models/UpdateGatewayElasticPolicyResponseBody.ts +6 -0
- package/src/models/UpdateGatewayLoadBalancerRequest.ts +52 -0
- package/src/models/UpdateGatewayLoadBalancerResponseBody.ts +55 -1
- package/src/models/UpdateGatewayMaintenancePeriodRequest.ts +10 -0
- package/src/models/UpdateGatewayMaintenancePeriodResponseBody.ts +9 -0
- package/src/models/UpdateGatewayQuotaRuleRequest.ts +8 -8
- package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +20 -8
- package/src/models/UpdateHttpApiOperationRequest.ts +1 -1
- package/src/models/UpdateHttpApiRequest.ts +1 -1
- package/src/models/UpdateHttpApiRouteRequest.ts +4 -4
- package/src/models/UpdateMcpServerRequest.ts +19 -21
- package/src/models/UpdateMigrationTaskRequest.ts +38 -1
- package/src/models/UpdateMigrationTaskResponseBody.ts +6 -0
- package/src/models/UpdateNetworkAccessRequest.ts +8 -0
- package/src/models/UpdateNetworkAccessResponseBody.ts +9 -0
- package/src/models/UpdatePluginAttachmentRequest.ts +1 -1
- package/src/models/UpdatePolicyRequest.ts +2 -2
- package/src/models/UpdatePortalRequest.ts +65 -0
- package/src/models/UpdatePortalResponse.ts +40 -0
- package/src/models/UpdatePortalResponseBody.ts +94 -0
- package/src/models/UpdateProductCategoryRequest.ts +55 -0
- package/src/models/UpdateProductCategoryResponse.ts +40 -0
- package/src/models/UpdateProductCategoryResponseBody.ts +54 -0
- package/src/models/UpdateProductRequest.ts +113 -0
- package/src/models/UpdateProductResponse.ts +40 -0
- package/src/models/UpdateProductResponseBody.ts +54 -0
- package/src/models/UpdateRiskNotificationRequest.ts +9 -1
- package/src/models/UpdateRiskNotificationResponseBody.ts +7 -1
- package/src/models/UpdateSecretRequest.ts +1 -1
- package/src/models/UpdateServiceRequest.ts +40 -16
- package/src/models/VerifyMigrationTaskResponseBody.ts +33 -0
- package/src/models/model.ts +207 -0
package/dist/client.js
CHANGED
|
@@ -85,15 +85,15 @@ class Client extends openapi_core_1.default {
|
|
|
85
85
|
* Creates a gateway quota throttling rule.
|
|
86
86
|
*
|
|
87
87
|
* @remarks
|
|
88
|
-
*
|
|
88
|
+
* This operation adds a quota rule based on consumers or consumer groups to an AI gateway. Note that this operation takes effect only for AI gateways of a version later than 2.1.21.
|
|
89
89
|
* >
|
|
90
|
-
* > Recommended call
|
|
91
|
-
* > -
|
|
92
|
-
* > - - Set dryRun
|
|
93
|
-
* > - - The response returns a conflict preview
|
|
94
|
-
* > -
|
|
95
|
-
* > - -
|
|
96
|
-
* > - -
|
|
90
|
+
* > Recommended call logic:
|
|
91
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
92
|
+
* > - - Set dryRun=true.
|
|
93
|
+
* > - - The response returns a conflict preview containing a conflictHash.
|
|
94
|
+
* > - 2. Formally submit the request after confirmation.
|
|
95
|
+
* > - - If no conflicts exist: Set dryRun=false and overwrite=false.
|
|
96
|
+
* > - - If conflicts exist and you confirm to overwrite: Set dryRun=false, overwrite=true, and conflictHash=<the value returned in the previous step>.
|
|
97
97
|
*
|
|
98
98
|
* @param request - AddGatewayQuotaRuleRequest
|
|
99
99
|
* @param headers - map
|
|
@@ -163,15 +163,15 @@ class Client extends openapi_core_1.default {
|
|
|
163
163
|
* Creates a gateway quota throttling rule.
|
|
164
164
|
*
|
|
165
165
|
* @remarks
|
|
166
|
-
*
|
|
166
|
+
* This operation adds a quota rule based on consumers or consumer groups to an AI gateway. Note that this operation takes effect only for AI gateways of a version later than 2.1.21.
|
|
167
167
|
* >
|
|
168
|
-
* > Recommended call
|
|
169
|
-
* > -
|
|
170
|
-
* > - - Set dryRun
|
|
171
|
-
* > - - The response returns a conflict preview
|
|
172
|
-
* > -
|
|
173
|
-
* > - -
|
|
174
|
-
* > - -
|
|
168
|
+
* > Recommended call logic:
|
|
169
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
170
|
+
* > - - Set dryRun=true.
|
|
171
|
+
* > - - The response returns a conflict preview containing a conflictHash.
|
|
172
|
+
* > - 2. Formally submit the request after confirmation.
|
|
173
|
+
* > - - If no conflicts exist: Set dryRun=false and overwrite=false.
|
|
174
|
+
* > - - If conflicts exist and you confirm to overwrite: Set dryRun=false, overwrite=true, and conflictHash=<the value returned in the previous step>.
|
|
175
175
|
*
|
|
176
176
|
* @param request - AddGatewayQuotaRuleRequest
|
|
177
177
|
* @returns AddGatewayQuotaRuleResponse
|
|
@@ -182,7 +182,7 @@ class Client extends openapi_core_1.default {
|
|
|
182
182
|
return await this.addGatewayQuotaRuleWithOptions(gatewayId, request, headers, runtime);
|
|
183
183
|
}
|
|
184
184
|
/**
|
|
185
|
-
* Authorizes a security group
|
|
185
|
+
* Authorizes a security group for gateway access to services.
|
|
186
186
|
*
|
|
187
187
|
* @param request - AddGatewaySecurityGroupRuleRequest
|
|
188
188
|
* @param headers - map
|
|
@@ -219,7 +219,7 @@ class Client extends openapi_core_1.default {
|
|
|
219
219
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddGatewaySecurityGroupRuleResponse({}));
|
|
220
220
|
}
|
|
221
221
|
/**
|
|
222
|
-
* Authorizes a security group
|
|
222
|
+
* Authorizes a security group for gateway access to services.
|
|
223
223
|
*
|
|
224
224
|
* @param request - AddGatewaySecurityGroupRuleRequest
|
|
225
225
|
* @returns AddGatewaySecurityGroupRuleResponse
|
|
@@ -272,7 +272,7 @@ class Client extends openapi_core_1.default {
|
|
|
272
272
|
return await this.batchAddConsumerGroupConsumersWithOptions(consumerGroupId, request, headers, runtime);
|
|
273
273
|
}
|
|
274
274
|
/**
|
|
275
|
-
* Revokes consumer authorization rules in batches.
|
|
275
|
+
* Revokes API consumer authorization rules in batches.
|
|
276
276
|
*
|
|
277
277
|
* @param request - BatchDeleteConsumerAuthorizationRuleRequest
|
|
278
278
|
* @param headers - map
|
|
@@ -303,7 +303,7 @@ class Client extends openapi_core_1.default {
|
|
|
303
303
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchDeleteConsumerAuthorizationRuleResponse({}));
|
|
304
304
|
}
|
|
305
305
|
/**
|
|
306
|
-
* Revokes consumer authorization rules in batches.
|
|
306
|
+
* Revokes API consumer authorization rules in batches.
|
|
307
307
|
*
|
|
308
308
|
* @param request - BatchDeleteConsumerAuthorizationRuleRequest
|
|
309
309
|
* @returns BatchDeleteConsumerAuthorizationRuleResponse
|
|
@@ -314,7 +314,7 @@ class Client extends openapi_core_1.default {
|
|
|
314
314
|
return await this.batchDeleteConsumerAuthorizationRuleWithOptions(request, headers, runtime);
|
|
315
315
|
}
|
|
316
316
|
/**
|
|
317
|
-
*
|
|
317
|
+
* Batch exports HTTP APIs.
|
|
318
318
|
*
|
|
319
319
|
* @param request - BatchExportHttpApisRequest
|
|
320
320
|
* @param headers - map
|
|
@@ -357,7 +357,7 @@ class Client extends openapi_core_1.default {
|
|
|
357
357
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchExportHttpApisResponse({}));
|
|
358
358
|
}
|
|
359
359
|
/**
|
|
360
|
-
*
|
|
360
|
+
* Batch exports HTTP APIs.
|
|
361
361
|
*
|
|
362
362
|
* @param request - BatchExportHttpApisRequest
|
|
363
363
|
* @returns BatchExportHttpApisResponse
|
|
@@ -368,7 +368,7 @@ class Client extends openapi_core_1.default {
|
|
|
368
368
|
return await this.batchExportHttpApisWithOptions(request, headers, runtime);
|
|
369
369
|
}
|
|
370
370
|
/**
|
|
371
|
-
*
|
|
371
|
+
* Imports HTTP APIs in batches.
|
|
372
372
|
*
|
|
373
373
|
* @param request - BatchImportHttpApisRequest
|
|
374
374
|
* @param headers - map
|
|
@@ -426,7 +426,7 @@ class Client extends openapi_core_1.default {
|
|
|
426
426
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchImportHttpApisResponse({}));
|
|
427
427
|
}
|
|
428
428
|
/**
|
|
429
|
-
*
|
|
429
|
+
* Imports HTTP APIs in batches.
|
|
430
430
|
*
|
|
431
431
|
* @param request - BatchImportHttpApisRequest
|
|
432
432
|
* @returns BatchImportHttpApisResponse
|
|
@@ -479,7 +479,7 @@ class Client extends openapi_core_1.default {
|
|
|
479
479
|
return await this.batchRemoveConsumerGroupConsumersWithOptions(consumerGroupId, request, headers, runtime);
|
|
480
480
|
}
|
|
481
481
|
/**
|
|
482
|
-
*
|
|
482
|
+
* Updates HTTP API operations in batches.
|
|
483
483
|
*
|
|
484
484
|
* @param request - BatchUpdateHttpApiOperationRequest
|
|
485
485
|
* @param headers - map
|
|
@@ -516,7 +516,7 @@ class Client extends openapi_core_1.default {
|
|
|
516
516
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchUpdateHttpApiOperationResponse({}));
|
|
517
517
|
}
|
|
518
518
|
/**
|
|
519
|
-
*
|
|
519
|
+
* Updates HTTP API operations in batches.
|
|
520
520
|
*
|
|
521
521
|
* @param request - BatchUpdateHttpApiOperationRequest
|
|
522
522
|
* @returns BatchUpdateHttpApiOperationResponse
|
|
@@ -577,12 +577,49 @@ class Client extends openapi_core_1.default {
|
|
|
577
577
|
let headers = {};
|
|
578
578
|
return await this.changeResourceGroupWithOptions(request, headers, runtime);
|
|
579
579
|
}
|
|
580
|
+
/**
|
|
581
|
+
* Retrieves the activation status of the API management service.
|
|
582
|
+
*
|
|
583
|
+
* @param request - CheckCommodityStatusRequest
|
|
584
|
+
* @param headers - map
|
|
585
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
586
|
+
* @returns CheckCommodityStatusResponse
|
|
587
|
+
*/
|
|
588
|
+
async checkCommodityStatusWithOptions(request, headers, runtime) {
|
|
589
|
+
request.validate();
|
|
590
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
591
|
+
headers: headers,
|
|
592
|
+
});
|
|
593
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
594
|
+
action: "CheckCommodityStatus",
|
|
595
|
+
version: "2024-03-27",
|
|
596
|
+
protocol: "HTTPS",
|
|
597
|
+
pathname: `/v1/sales/commodity-status`,
|
|
598
|
+
method: "GET",
|
|
599
|
+
authType: "AK",
|
|
600
|
+
style: "ROA",
|
|
601
|
+
reqBodyType: "json",
|
|
602
|
+
bodyType: "json",
|
|
603
|
+
});
|
|
604
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckCommodityStatusResponse({}));
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
* Retrieves the activation status of the API management service.
|
|
608
|
+
*
|
|
609
|
+
* @param request - CheckCommodityStatusRequest
|
|
610
|
+
* @returns CheckCommodityStatusResponse
|
|
611
|
+
*/
|
|
612
|
+
async checkCommodityStatus(request) {
|
|
613
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
614
|
+
let headers = {};
|
|
615
|
+
return await this.checkCommodityStatusWithOptions(request, headers, runtime);
|
|
616
|
+
}
|
|
580
617
|
/**
|
|
581
618
|
* Creates an AI model card.
|
|
582
619
|
*
|
|
583
620
|
* @remarks
|
|
584
|
-
* Performs model creation for a model card under an existing model provider in a specified AI gateway instance. The target gateway must exist, belong to the current account, and be of the AI gateway type. The modelProvider must reference
|
|
585
|
-
* The modelName must be unique within the same AI gateway instance and the same model provider. A maximum of
|
|
621
|
+
* Performs model creation for a model card under an existing model provider in a specified AI gateway instance. The target gateway must exist, belong to the current account, and be of the AI gateway type. The modelProvider must reference a model provider that already exists in the gateway.
|
|
622
|
+
* The modelName must be unique within the same AI gateway instance and the same model provider. A maximum of 1,000 model cards can be created for a single gateway instance. The credit parameter currently supports only the fixed type, and the cost unit is Credits per million tokens. If this parameter is not specified, type defaults to fixed and all cost values default to 0. Each entry in availablePaths must include both path and type.
|
|
586
623
|
*
|
|
587
624
|
* @param request - CreateAiModelCardRequest
|
|
588
625
|
* @param headers - map
|
|
@@ -634,8 +671,8 @@ class Client extends openapi_core_1.default {
|
|
|
634
671
|
* Creates an AI model card.
|
|
635
672
|
*
|
|
636
673
|
* @remarks
|
|
637
|
-
* Performs model creation for a model card under an existing model provider in a specified AI gateway instance. The target gateway must exist, belong to the current account, and be of the AI gateway type. The modelProvider must reference
|
|
638
|
-
* The modelName must be unique within the same AI gateway instance and the same model provider. A maximum of
|
|
674
|
+
* Performs model creation for a model card under an existing model provider in a specified AI gateway instance. The target gateway must exist, belong to the current account, and be of the AI gateway type. The modelProvider must reference a model provider that already exists in the gateway.
|
|
675
|
+
* The modelName must be unique within the same AI gateway instance and the same model provider. A maximum of 1,000 model cards can be created for a single gateway instance. The credit parameter currently supports only the fixed type, and the cost unit is Credits per million tokens. If this parameter is not specified, type defaults to fixed and all cost values default to 0. Each entry in availablePaths must include both path and type.
|
|
639
676
|
*
|
|
640
677
|
* @param request - CreateAiModelCardRequest
|
|
641
678
|
* @returns CreateAiModelCardResponse
|
|
@@ -765,7 +802,55 @@ class Client extends openapi_core_1.default {
|
|
|
765
802
|
return await this.createAndAttachPolicyWithOptions(request, headers, runtime);
|
|
766
803
|
}
|
|
767
804
|
/**
|
|
768
|
-
* Creates a
|
|
805
|
+
* Creates a HiMarket chat session with a specified conversation type and associated products, and returns the ID of the newly created session.
|
|
806
|
+
*
|
|
807
|
+
* @param request - CreateChatSessionRequest
|
|
808
|
+
* @param headers - map
|
|
809
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
810
|
+
* @returns CreateChatSessionResponse
|
|
811
|
+
*/
|
|
812
|
+
async createChatSessionWithOptions(request, headers, runtime) {
|
|
813
|
+
request.validate();
|
|
814
|
+
let body = {};
|
|
815
|
+
if (!$dara.isNull(request.name)) {
|
|
816
|
+
body["name"] = request.name;
|
|
817
|
+
}
|
|
818
|
+
if (!$dara.isNull(request.products)) {
|
|
819
|
+
body["products"] = request.products;
|
|
820
|
+
}
|
|
821
|
+
if (!$dara.isNull(request.talkType)) {
|
|
822
|
+
body["talkType"] = request.talkType;
|
|
823
|
+
}
|
|
824
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
825
|
+
headers: headers,
|
|
826
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
827
|
+
});
|
|
828
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
829
|
+
action: "CreateChatSession",
|
|
830
|
+
version: "2024-03-27",
|
|
831
|
+
protocol: "HTTPS",
|
|
832
|
+
pathname: `/himarket/v1/sessions`,
|
|
833
|
+
method: "POST",
|
|
834
|
+
authType: "AK",
|
|
835
|
+
style: "ROA",
|
|
836
|
+
reqBodyType: "json",
|
|
837
|
+
bodyType: "json",
|
|
838
|
+
});
|
|
839
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatSessionResponse({}));
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* Creates a HiMarket chat session with a specified conversation type and associated products, and returns the ID of the newly created session.
|
|
843
|
+
*
|
|
844
|
+
* @param request - CreateChatSessionRequest
|
|
845
|
+
* @returns CreateChatSessionResponse
|
|
846
|
+
*/
|
|
847
|
+
async createChatSession(request) {
|
|
848
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
849
|
+
let headers = {};
|
|
850
|
+
return await this.createChatSessionWithOptions(request, headers, runtime);
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* Creates an API consumer.
|
|
769
854
|
*
|
|
770
855
|
* @param request - CreateConsumerRequest
|
|
771
856
|
* @param headers - map
|
|
@@ -822,7 +907,7 @@ class Client extends openapi_core_1.default {
|
|
|
822
907
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateConsumerResponse({}));
|
|
823
908
|
}
|
|
824
909
|
/**
|
|
825
|
-
* Creates
|
|
910
|
+
* Creates an API consumer.
|
|
826
911
|
*
|
|
827
912
|
* @param request - CreateConsumerRequest
|
|
828
913
|
* @returns CreateConsumerResponse
|
|
@@ -890,12 +975,12 @@ class Client extends openapi_core_1.default {
|
|
|
890
975
|
* Creates consumer authorization rules.
|
|
891
976
|
*
|
|
892
977
|
* @remarks
|
|
893
|
-
* Prerequisites: Before creating consumer authorization rules, prepare resources
|
|
978
|
+
* Prerequisites: Before creating consumer authorization rules, prepare resources in the following dependency chain (the corresponding creation API and ID passing relationships are shown in parentheses):
|
|
894
979
|
* Gateway instance (CreateGateway → gatewayId, gw- prefix)
|
|
895
|
-
* Environment (A default environment is automatically created with the gateway. You can also
|
|
980
|
+
* Environment (A default environment is automatically created with the gateway. You can also call CreateEnvironment → environmentId, env- prefix. The gatewayId from step 1 must be associated.)
|
|
896
981
|
* HTTP API (CreateHttpApi → httpApiId, api- prefix)
|
|
897
|
-
* Route and publish (CreateHttpApiRoute → routeId, hr- prefix, belongs to the API in step 3. Then publish to the environment in step 2
|
|
898
|
-
* Consumer (CreateConsumer → consumerId, cs- prefix
|
|
982
|
+
* Route and publish (CreateHttpApiRoute → routeId, hr- prefix, which belongs to the API in step 3. Then call DeployHttpApi to publish the route to the environment in step 2. Unpublished routes cannot be authorized.)
|
|
983
|
+
* Consumer (CreateConsumer → consumerId, cs- prefix; or consumer group consumerGroupId, csg- prefix. Specify either consumerId or consumerGroupId.)
|
|
899
984
|
*
|
|
900
985
|
* @param request - CreateConsumerAuthorizationRulesRequest
|
|
901
986
|
* @param headers - map
|
|
@@ -929,12 +1014,12 @@ class Client extends openapi_core_1.default {
|
|
|
929
1014
|
* Creates consumer authorization rules.
|
|
930
1015
|
*
|
|
931
1016
|
* @remarks
|
|
932
|
-
* Prerequisites: Before creating consumer authorization rules, prepare resources
|
|
1017
|
+
* Prerequisites: Before creating consumer authorization rules, prepare resources in the following dependency chain (the corresponding creation API and ID passing relationships are shown in parentheses):
|
|
933
1018
|
* Gateway instance (CreateGateway → gatewayId, gw- prefix)
|
|
934
|
-
* Environment (A default environment is automatically created with the gateway. You can also
|
|
1019
|
+
* Environment (A default environment is automatically created with the gateway. You can also call CreateEnvironment → environmentId, env- prefix. The gatewayId from step 1 must be associated.)
|
|
935
1020
|
* HTTP API (CreateHttpApi → httpApiId, api- prefix)
|
|
936
|
-
* Route and publish (CreateHttpApiRoute → routeId, hr- prefix, belongs to the API in step 3. Then publish to the environment in step 2
|
|
937
|
-
* Consumer (CreateConsumer → consumerId, cs- prefix
|
|
1021
|
+
* Route and publish (CreateHttpApiRoute → routeId, hr- prefix, which belongs to the API in step 3. Then call DeployHttpApi to publish the route to the environment in step 2. Unpublished routes cannot be authorized.)
|
|
1022
|
+
* Consumer (CreateConsumer → consumerId, cs- prefix; or consumer group consumerGroupId, csg- prefix. Specify either consumerId or consumerGroupId.)
|
|
938
1023
|
*
|
|
939
1024
|
* @param request - CreateConsumerAuthorizationRulesRequest
|
|
940
1025
|
* @returns CreateConsumerAuthorizationRulesResponse
|
|
@@ -995,6 +1080,51 @@ class Client extends openapi_core_1.default {
|
|
|
995
1080
|
let headers = {};
|
|
996
1081
|
return await this.createConsumerGroupWithOptions(request, headers, runtime);
|
|
997
1082
|
}
|
|
1083
|
+
/**
|
|
1084
|
+
* Registers a HiMarket developer account and returns the ID of the newly created developer upon successful creation.
|
|
1085
|
+
*
|
|
1086
|
+
* @param request - CreateDeveloperRequest
|
|
1087
|
+
* @param headers - map
|
|
1088
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1089
|
+
* @returns CreateDeveloperResponse
|
|
1090
|
+
*/
|
|
1091
|
+
async createDeveloperWithOptions(request, headers, runtime) {
|
|
1092
|
+
request.validate();
|
|
1093
|
+
let body = {};
|
|
1094
|
+
if (!$dara.isNull(request.password)) {
|
|
1095
|
+
body["password"] = request.password;
|
|
1096
|
+
}
|
|
1097
|
+
if (!$dara.isNull(request.username)) {
|
|
1098
|
+
body["username"] = request.username;
|
|
1099
|
+
}
|
|
1100
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1101
|
+
headers: headers,
|
|
1102
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1103
|
+
});
|
|
1104
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1105
|
+
action: "CreateDeveloper",
|
|
1106
|
+
version: "2024-03-27",
|
|
1107
|
+
protocol: "HTTPS",
|
|
1108
|
+
pathname: `/himarket/v1/developers`,
|
|
1109
|
+
method: "POST",
|
|
1110
|
+
authType: "AK",
|
|
1111
|
+
style: "ROA",
|
|
1112
|
+
reqBodyType: "json",
|
|
1113
|
+
bodyType: "json",
|
|
1114
|
+
});
|
|
1115
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDeveloperResponse({}));
|
|
1116
|
+
}
|
|
1117
|
+
/**
|
|
1118
|
+
* Registers a HiMarket developer account and returns the ID of the newly created developer upon successful creation.
|
|
1119
|
+
*
|
|
1120
|
+
* @param request - CreateDeveloperRequest
|
|
1121
|
+
* @returns CreateDeveloperResponse
|
|
1122
|
+
*/
|
|
1123
|
+
async createDeveloper(request) {
|
|
1124
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1125
|
+
let headers = {};
|
|
1126
|
+
return await this.createDeveloperWithOptions(request, headers, runtime);
|
|
1127
|
+
}
|
|
998
1128
|
/**
|
|
999
1129
|
* Creates a domain name.
|
|
1000
1130
|
*
|
|
@@ -1428,10 +1558,10 @@ class Client extends openapi_core_1.default {
|
|
|
1428
1558
|
return await this.createHttpApiRouteWithOptions(httpApiId, request, headers, runtime);
|
|
1429
1559
|
}
|
|
1430
1560
|
/**
|
|
1431
|
-
*
|
|
1561
|
+
* Creates an API version.
|
|
1432
1562
|
*
|
|
1433
1563
|
* @remarks
|
|
1434
|
-
*
|
|
1564
|
+
* The operation supports creating multiple services.
|
|
1435
1565
|
*
|
|
1436
1566
|
* @param request - CreateHttpApiVersionRequest
|
|
1437
1567
|
* @param headers - map
|
|
@@ -1462,10 +1592,10 @@ class Client extends openapi_core_1.default {
|
|
|
1462
1592
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateHttpApiVersionResponse({}));
|
|
1463
1593
|
}
|
|
1464
1594
|
/**
|
|
1465
|
-
*
|
|
1595
|
+
* Creates an API version.
|
|
1466
1596
|
*
|
|
1467
1597
|
* @remarks
|
|
1468
|
-
*
|
|
1598
|
+
* The operation supports creating multiple services.
|
|
1469
1599
|
*
|
|
1470
1600
|
* @param request - CreateHttpApiVersionRequest
|
|
1471
1601
|
* @returns CreateHttpApiVersionResponse
|
|
@@ -1557,7 +1687,7 @@ class Client extends openapi_core_1.default {
|
|
|
1557
1687
|
return await this.createMcpServerWithOptions(request, headers, runtime);
|
|
1558
1688
|
}
|
|
1559
1689
|
/**
|
|
1560
|
-
*
|
|
1690
|
+
* Creates a migration task.
|
|
1561
1691
|
*
|
|
1562
1692
|
* @param request - CreateMigrationTaskRequest
|
|
1563
1693
|
* @param headers - map
|
|
@@ -1609,7 +1739,7 @@ class Client extends openapi_core_1.default {
|
|
|
1609
1739
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMigrationTaskResponse({}));
|
|
1610
1740
|
}
|
|
1611
1741
|
/**
|
|
1612
|
-
*
|
|
1742
|
+
* Creates a migration task.
|
|
1613
1743
|
*
|
|
1614
1744
|
* @param request - CreateMigrationTaskRequest
|
|
1615
1745
|
* @returns CreateMigrationTaskResponse
|
|
@@ -1749,7 +1879,7 @@ class Client extends openapi_core_1.default {
|
|
|
1749
1879
|
return await this.createPluginClassWithOptions(request, headers, runtime);
|
|
1750
1880
|
}
|
|
1751
1881
|
/**
|
|
1752
|
-
*
|
|
1882
|
+
* Creates a WebIDE workspace for a plugin.
|
|
1753
1883
|
*
|
|
1754
1884
|
* @param request - CreatePluginWorkspaceRequest
|
|
1755
1885
|
* @param headers - map
|
|
@@ -1789,7 +1919,7 @@ class Client extends openapi_core_1.default {
|
|
|
1789
1919
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePluginWorkspaceResponse({}));
|
|
1790
1920
|
}
|
|
1791
1921
|
/**
|
|
1792
|
-
*
|
|
1922
|
+
* Creates a WebIDE workspace for a plugin.
|
|
1793
1923
|
*
|
|
1794
1924
|
* @param request - CreatePluginWorkspaceRequest
|
|
1795
1925
|
* @returns CreatePluginWorkspaceResponse
|
|
@@ -1851,7 +1981,7 @@ class Client extends openapi_core_1.default {
|
|
|
1851
1981
|
return await this.createPolicyWithOptions(request, headers, runtime);
|
|
1852
1982
|
}
|
|
1853
1983
|
/**
|
|
1854
|
-
* Creates a policy resource
|
|
1984
|
+
* Creates a policy attachment to a resource.
|
|
1855
1985
|
*
|
|
1856
1986
|
* @param request - CreatePolicyAttachmentRequest
|
|
1857
1987
|
* @param headers - map
|
|
@@ -1894,7 +2024,7 @@ class Client extends openapi_core_1.default {
|
|
|
1894
2024
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePolicyAttachmentResponse({}));
|
|
1895
2025
|
}
|
|
1896
2026
|
/**
|
|
1897
|
-
* Creates a policy resource
|
|
2027
|
+
* Creates a policy attachment to a resource.
|
|
1898
2028
|
*
|
|
1899
2029
|
* @param request - CreatePolicyAttachmentRequest
|
|
1900
2030
|
* @returns CreatePolicyAttachmentResponse
|
|
@@ -1905,7 +2035,218 @@ class Client extends openapi_core_1.default {
|
|
|
1905
2035
|
return await this.createPolicyAttachmentWithOptions(request, headers, runtime);
|
|
1906
2036
|
}
|
|
1907
2037
|
/**
|
|
1908
|
-
*
|
|
2038
|
+
* Creates a HiMarket developer portal and returns the ID of the newly created portal upon success.
|
|
2039
|
+
*
|
|
2040
|
+
* @param request - CreatePortalRequest
|
|
2041
|
+
* @param headers - map
|
|
2042
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2043
|
+
* @returns CreatePortalResponse
|
|
2044
|
+
*/
|
|
2045
|
+
async createPortalWithOptions(request, headers, runtime) {
|
|
2046
|
+
request.validate();
|
|
2047
|
+
let query = {};
|
|
2048
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
2049
|
+
query["clientToken"] = request.clientToken;
|
|
2050
|
+
}
|
|
2051
|
+
let body = {};
|
|
2052
|
+
if (!$dara.isNull(request.description)) {
|
|
2053
|
+
body["description"] = request.description;
|
|
2054
|
+
}
|
|
2055
|
+
if (!$dara.isNull(request.name)) {
|
|
2056
|
+
body["name"] = request.name;
|
|
2057
|
+
}
|
|
2058
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2059
|
+
headers: headers,
|
|
2060
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2061
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2062
|
+
});
|
|
2063
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2064
|
+
action: "CreatePortal",
|
|
2065
|
+
version: "2024-03-27",
|
|
2066
|
+
protocol: "HTTPS",
|
|
2067
|
+
pathname: `/himarket/v1/portals`,
|
|
2068
|
+
method: "POST",
|
|
2069
|
+
authType: "AK",
|
|
2070
|
+
style: "ROA",
|
|
2071
|
+
reqBodyType: "json",
|
|
2072
|
+
bodyType: "json",
|
|
2073
|
+
});
|
|
2074
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePortalResponse({}));
|
|
2075
|
+
}
|
|
2076
|
+
/**
|
|
2077
|
+
* Creates a HiMarket developer portal and returns the ID of the newly created portal upon success.
|
|
2078
|
+
*
|
|
2079
|
+
* @param request - CreatePortalRequest
|
|
2080
|
+
* @returns CreatePortalResponse
|
|
2081
|
+
*/
|
|
2082
|
+
async createPortal(request) {
|
|
2083
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2084
|
+
let headers = {};
|
|
2085
|
+
return await this.createPortalWithOptions(request, headers, runtime);
|
|
2086
|
+
}
|
|
2087
|
+
/**
|
|
2088
|
+
* Creates an API product in the product catalog of the HiMarket portal and returns the ID of the new product upon successful creation.
|
|
2089
|
+
*
|
|
2090
|
+
* @param request - CreateProductRequest
|
|
2091
|
+
* @param headers - map
|
|
2092
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2093
|
+
* @returns CreateProductResponse
|
|
2094
|
+
*/
|
|
2095
|
+
async createProductWithOptions(request, headers, runtime) {
|
|
2096
|
+
request.validate();
|
|
2097
|
+
let query = {};
|
|
2098
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
2099
|
+
query["clientToken"] = request.clientToken;
|
|
2100
|
+
}
|
|
2101
|
+
let body = {};
|
|
2102
|
+
if (!$dara.isNull(request.autoApprove)) {
|
|
2103
|
+
body["autoApprove"] = request.autoApprove;
|
|
2104
|
+
}
|
|
2105
|
+
if (!$dara.isNull(request.categories)) {
|
|
2106
|
+
body["categories"] = request.categories;
|
|
2107
|
+
}
|
|
2108
|
+
if (!$dara.isNull(request.description)) {
|
|
2109
|
+
body["description"] = request.description;
|
|
2110
|
+
}
|
|
2111
|
+
if (!$dara.isNull(request.document)) {
|
|
2112
|
+
body["document"] = request.document;
|
|
2113
|
+
}
|
|
2114
|
+
if (!$dara.isNull(request.feature)) {
|
|
2115
|
+
body["feature"] = request.feature;
|
|
2116
|
+
}
|
|
2117
|
+
if (!$dara.isNull(request.icon)) {
|
|
2118
|
+
body["icon"] = request.icon;
|
|
2119
|
+
}
|
|
2120
|
+
if (!$dara.isNull(request.name)) {
|
|
2121
|
+
body["name"] = request.name;
|
|
2122
|
+
}
|
|
2123
|
+
if (!$dara.isNull(request.type)) {
|
|
2124
|
+
body["type"] = request.type;
|
|
2125
|
+
}
|
|
2126
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2127
|
+
headers: headers,
|
|
2128
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2129
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2130
|
+
});
|
|
2131
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2132
|
+
action: "CreateProduct",
|
|
2133
|
+
version: "2024-03-27",
|
|
2134
|
+
protocol: "HTTPS",
|
|
2135
|
+
pathname: `/himarket/v1/products`,
|
|
2136
|
+
method: "POST",
|
|
2137
|
+
authType: "AK",
|
|
2138
|
+
style: "ROA",
|
|
2139
|
+
reqBodyType: "json",
|
|
2140
|
+
bodyType: "json",
|
|
2141
|
+
});
|
|
2142
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateProductResponse({}));
|
|
2143
|
+
}
|
|
2144
|
+
/**
|
|
2145
|
+
* Creates an API product in the product catalog of the HiMarket portal and returns the ID of the new product upon successful creation.
|
|
2146
|
+
*
|
|
2147
|
+
* @param request - CreateProductRequest
|
|
2148
|
+
* @returns CreateProductResponse
|
|
2149
|
+
*/
|
|
2150
|
+
async createProduct(request) {
|
|
2151
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2152
|
+
let headers = {};
|
|
2153
|
+
return await this.createProductWithOptions(request, headers, runtime);
|
|
2154
|
+
}
|
|
2155
|
+
/**
|
|
2156
|
+
* Creates a product category for an API product and returns the ID and name of the new category upon success.
|
|
2157
|
+
*
|
|
2158
|
+
* @param request - CreateProductCategoryRequest
|
|
2159
|
+
* @param headers - map
|
|
2160
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2161
|
+
* @returns CreateProductCategoryResponse
|
|
2162
|
+
*/
|
|
2163
|
+
async createProductCategoryWithOptions(request, headers, runtime) {
|
|
2164
|
+
request.validate();
|
|
2165
|
+
let body = {};
|
|
2166
|
+
if (!$dara.isNull(request.description)) {
|
|
2167
|
+
body["description"] = request.description;
|
|
2168
|
+
}
|
|
2169
|
+
if (!$dara.isNull(request.icon)) {
|
|
2170
|
+
body["icon"] = request.icon;
|
|
2171
|
+
}
|
|
2172
|
+
if (!$dara.isNull(request.name)) {
|
|
2173
|
+
body["name"] = request.name;
|
|
2174
|
+
}
|
|
2175
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2176
|
+
headers: headers,
|
|
2177
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2178
|
+
});
|
|
2179
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2180
|
+
action: "CreateProductCategory",
|
|
2181
|
+
version: "2024-03-27",
|
|
2182
|
+
protocol: "HTTPS",
|
|
2183
|
+
pathname: `/himarket/v1/product-categories`,
|
|
2184
|
+
method: "POST",
|
|
2185
|
+
authType: "AK",
|
|
2186
|
+
style: "ROA",
|
|
2187
|
+
reqBodyType: "json",
|
|
2188
|
+
bodyType: "json",
|
|
2189
|
+
});
|
|
2190
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateProductCategoryResponse({}));
|
|
2191
|
+
}
|
|
2192
|
+
/**
|
|
2193
|
+
* Creates a product category for an API product and returns the ID and name of the new category upon success.
|
|
2194
|
+
*
|
|
2195
|
+
* @param request - CreateProductCategoryRequest
|
|
2196
|
+
* @returns CreateProductCategoryResponse
|
|
2197
|
+
*/
|
|
2198
|
+
async createProductCategory(request) {
|
|
2199
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2200
|
+
let headers = {};
|
|
2201
|
+
return await this.createProductCategoryWithOptions(request, headers, runtime);
|
|
2202
|
+
}
|
|
2203
|
+
/**
|
|
2204
|
+
* Associates an API configuration with a specified API product by submitting the gatewayId and apigRefConfig parameters to the /himarket/v1/products/{productId}/ref endpoint. You can query the association result by calling GetProductRef or remove the association by calling DeleteProductRef at the same path.
|
|
2205
|
+
*
|
|
2206
|
+
* @param request - CreateProductRefRequest
|
|
2207
|
+
* @param headers - map
|
|
2208
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2209
|
+
* @returns CreateProductRefResponse
|
|
2210
|
+
*/
|
|
2211
|
+
async createProductRefWithOptions(productId, request, headers, runtime) {
|
|
2212
|
+
request.validate();
|
|
2213
|
+
let body = {};
|
|
2214
|
+
if (!$dara.isNull(request.apigRefConfig)) {
|
|
2215
|
+
body["apigRefConfig"] = request.apigRefConfig;
|
|
2216
|
+
}
|
|
2217
|
+
if (!$dara.isNull(request.gatewayId)) {
|
|
2218
|
+
body["gatewayId"] = request.gatewayId;
|
|
2219
|
+
}
|
|
2220
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2221
|
+
headers: headers,
|
|
2222
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2223
|
+
});
|
|
2224
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2225
|
+
action: "CreateProductRef",
|
|
2226
|
+
version: "2024-03-27",
|
|
2227
|
+
protocol: "HTTPS",
|
|
2228
|
+
pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/ref`,
|
|
2229
|
+
method: "POST",
|
|
2230
|
+
authType: "AK",
|
|
2231
|
+
style: "ROA",
|
|
2232
|
+
reqBodyType: "json",
|
|
2233
|
+
bodyType: "json",
|
|
2234
|
+
});
|
|
2235
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateProductRefResponse({}));
|
|
2236
|
+
}
|
|
2237
|
+
/**
|
|
2238
|
+
* Associates an API configuration with a specified API product by submitting the gatewayId and apigRefConfig parameters to the /himarket/v1/products/{productId}/ref endpoint. You can query the association result by calling GetProductRef or remove the association by calling DeleteProductRef at the same path.
|
|
2239
|
+
*
|
|
2240
|
+
* @param request - CreateProductRefRequest
|
|
2241
|
+
* @returns CreateProductRefResponse
|
|
2242
|
+
*/
|
|
2243
|
+
async createProductRef(productId, request) {
|
|
2244
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2245
|
+
let headers = {};
|
|
2246
|
+
return await this.createProductRefWithOptions(productId, request, headers, runtime);
|
|
2247
|
+
}
|
|
2248
|
+
/**
|
|
2249
|
+
* Creates a risk check task.
|
|
1909
2250
|
*
|
|
1910
2251
|
* @param request - CreateRiskCheckTaskRequest
|
|
1911
2252
|
* @param headers - map
|
|
@@ -1931,7 +2272,7 @@ class Client extends openapi_core_1.default {
|
|
|
1931
2272
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateRiskCheckTaskResponse({}));
|
|
1932
2273
|
}
|
|
1933
2274
|
/**
|
|
1934
|
-
*
|
|
2275
|
+
* Creates a risk check task.
|
|
1935
2276
|
*
|
|
1936
2277
|
* @param request - CreateRiskCheckTaskRequest
|
|
1937
2278
|
* @returns CreateRiskCheckTaskResponse
|
|
@@ -1999,7 +2340,7 @@ class Client extends openapi_core_1.default {
|
|
|
1999
2340
|
return await this.createSecretWithOptions(request, headers, runtime);
|
|
2000
2341
|
}
|
|
2001
2342
|
/**
|
|
2002
|
-
* Creates
|
|
2343
|
+
* Creates a service.
|
|
2003
2344
|
*
|
|
2004
2345
|
* @remarks
|
|
2005
2346
|
* This operation supports creating multiple services.
|
|
@@ -2047,7 +2388,7 @@ class Client extends openapi_core_1.default {
|
|
|
2047
2388
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateServiceResponse({}));
|
|
2048
2389
|
}
|
|
2049
2390
|
/**
|
|
2050
|
-
* Creates
|
|
2391
|
+
* Creates a service.
|
|
2051
2392
|
*
|
|
2052
2393
|
* @remarks
|
|
2053
2394
|
* This operation supports creating multiple services.
|
|
@@ -2108,6 +2449,9 @@ class Client extends openapi_core_1.default {
|
|
|
2108
2449
|
/**
|
|
2109
2450
|
* Creates a source.
|
|
2110
2451
|
*
|
|
2452
|
+
* @remarks
|
|
2453
|
+
* Before creating a source, prepare the required dependency resources. For the K8S type, an existing ACK container service cluster is required. You can invoke ListK8sClusterSources to query active clusters. For the MSE_NACOS type, an existing MSE Nacos instance is required. You can invoke ListMseNacosSources to query active instances.
|
|
2454
|
+
*
|
|
2111
2455
|
* @param request - CreateSourceRequest
|
|
2112
2456
|
* @param headers - map
|
|
2113
2457
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2151,6 +2495,9 @@ class Client extends openapi_core_1.default {
|
|
|
2151
2495
|
/**
|
|
2152
2496
|
* Creates a source.
|
|
2153
2497
|
*
|
|
2498
|
+
* @remarks
|
|
2499
|
+
* Before creating a source, prepare the required dependency resources. For the K8S type, an existing ACK container service cluster is required. You can invoke ListK8sClusterSources to query active clusters. For the MSE_NACOS type, an existing MSE Nacos instance is required. You can invoke ListMseNacosSources to query active instances.
|
|
2500
|
+
*
|
|
2154
2501
|
* @param request - CreateSourceRequest
|
|
2155
2502
|
* @returns CreateSourceResponse
|
|
2156
2503
|
*/
|
|
@@ -2234,7 +2581,7 @@ class Client extends openapi_core_1.default {
|
|
|
2234
2581
|
return await this.deleteAiModelProviderWithOptions(modelProviderId, request, headers, runtime);
|
|
2235
2582
|
}
|
|
2236
2583
|
/**
|
|
2237
|
-
* Deletes
|
|
2584
|
+
* Deletes a consumer.
|
|
2238
2585
|
*
|
|
2239
2586
|
* @param headers - map
|
|
2240
2587
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2258,7 +2605,7 @@ class Client extends openapi_core_1.default {
|
|
|
2258
2605
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteConsumerResponse({}));
|
|
2259
2606
|
}
|
|
2260
2607
|
/**
|
|
2261
|
-
* Deletes
|
|
2608
|
+
* Deletes a consumer.
|
|
2262
2609
|
* @returns DeleteConsumerResponse
|
|
2263
2610
|
*/
|
|
2264
2611
|
async deleteConsumer(consumerId) {
|
|
@@ -2441,10 +2788,10 @@ class Client extends openapi_core_1.default {
|
|
|
2441
2788
|
return await this.deleteGatewayWithOptions(gatewayId, headers, runtime);
|
|
2442
2789
|
}
|
|
2443
2790
|
/**
|
|
2444
|
-
* Deletes a quota throttling rule
|
|
2791
|
+
* Deletes a quota throttling rule from a gateway.
|
|
2445
2792
|
*
|
|
2446
2793
|
* @remarks
|
|
2447
|
-
*
|
|
2794
|
+
* This operation deletes a consumer-based or consumer group-based quota rule from an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
|
|
2448
2795
|
*
|
|
2449
2796
|
* @param request - DeleteGatewayQuotaRuleRequest
|
|
2450
2797
|
* @param headers - map
|
|
@@ -2470,10 +2817,10 @@ class Client extends openapi_core_1.default {
|
|
|
2470
2817
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGatewayQuotaRuleResponse({}));
|
|
2471
2818
|
}
|
|
2472
2819
|
/**
|
|
2473
|
-
* Deletes a quota throttling rule
|
|
2820
|
+
* Deletes a quota throttling rule from a gateway.
|
|
2474
2821
|
*
|
|
2475
2822
|
* @remarks
|
|
2476
|
-
*
|
|
2823
|
+
* This operation deletes a consumer-based or consumer group-based quota rule from an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
|
|
2477
2824
|
*
|
|
2478
2825
|
* @param request - DeleteGatewayQuotaRuleRequest
|
|
2479
2826
|
* @returns DeleteGatewayQuotaRuleResponse
|
|
@@ -2484,7 +2831,7 @@ class Client extends openapi_core_1.default {
|
|
|
2484
2831
|
return await this.deleteGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
|
|
2485
2832
|
}
|
|
2486
2833
|
/**
|
|
2487
|
-
* Deletes a security group rule
|
|
2834
|
+
* Deletes a gateway security group rule.
|
|
2488
2835
|
*
|
|
2489
2836
|
* @param request - DeleteGatewaySecurityGroupRuleRequest
|
|
2490
2837
|
* @param headers - map
|
|
@@ -2515,7 +2862,7 @@ class Client extends openapi_core_1.default {
|
|
|
2515
2862
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGatewaySecurityGroupRuleResponse({}));
|
|
2516
2863
|
}
|
|
2517
2864
|
/**
|
|
2518
|
-
* Deletes a security group rule
|
|
2865
|
+
* Deletes a gateway security group rule.
|
|
2519
2866
|
*
|
|
2520
2867
|
* @param request - DeleteGatewaySecurityGroupRuleRequest
|
|
2521
2868
|
* @returns DeleteGatewaySecurityGroupRuleResponse
|
|
@@ -2571,7 +2918,7 @@ class Client extends openapi_core_1.default {
|
|
|
2571
2918
|
return await this.deleteHttpApiWithOptions(httpApiId, request, headers, runtime);
|
|
2572
2919
|
}
|
|
2573
2920
|
/**
|
|
2574
|
-
* Deletes a specified operation.
|
|
2921
|
+
* Deletes a specified API operation.
|
|
2575
2922
|
*
|
|
2576
2923
|
* @param headers - map
|
|
2577
2924
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2595,7 +2942,7 @@ class Client extends openapi_core_1.default {
|
|
|
2595
2942
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteHttpApiOperationResponse({}));
|
|
2596
2943
|
}
|
|
2597
2944
|
/**
|
|
2598
|
-
* Deletes a specified operation.
|
|
2945
|
+
* Deletes a specified API operation.
|
|
2599
2946
|
* @returns DeleteHttpApiOperationResponse
|
|
2600
2947
|
*/
|
|
2601
2948
|
async deleteHttpApiOperation(httpApiId, operationId) {
|
|
@@ -2670,7 +3017,7 @@ class Client extends openapi_core_1.default {
|
|
|
2670
3017
|
return await this.deleteMcpServerWithOptions(mcpServerId, headers, runtime);
|
|
2671
3018
|
}
|
|
2672
3019
|
/**
|
|
2673
|
-
*
|
|
3020
|
+
* Deletes a data migration task.
|
|
2674
3021
|
*
|
|
2675
3022
|
* @param request - DeleteMigrationTaskRequest
|
|
2676
3023
|
* @param headers - map
|
|
@@ -2696,7 +3043,7 @@ class Client extends openapi_core_1.default {
|
|
|
2696
3043
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMigrationTaskResponse({}));
|
|
2697
3044
|
}
|
|
2698
3045
|
/**
|
|
2699
|
-
*
|
|
3046
|
+
* Deletes a data migration task.
|
|
2700
3047
|
*
|
|
2701
3048
|
* @param request - DeleteMigrationTaskRequest
|
|
2702
3049
|
* @returns DeleteMigrationTaskResponse
|
|
@@ -2740,7 +3087,7 @@ class Client extends openapi_core_1.default {
|
|
|
2740
3087
|
return await this.deletePluginAttachmentWithOptions(pluginAttachmentId, headers, runtime);
|
|
2741
3088
|
}
|
|
2742
3089
|
/**
|
|
2743
|
-
*
|
|
3090
|
+
* Deletes a custom plugin class.
|
|
2744
3091
|
*
|
|
2745
3092
|
* @param request - DeletePluginClassRequest
|
|
2746
3093
|
* @param headers - map
|
|
@@ -2766,7 +3113,7 @@ class Client extends openapi_core_1.default {
|
|
|
2766
3113
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePluginClassResponse({}));
|
|
2767
3114
|
}
|
|
2768
3115
|
/**
|
|
2769
|
-
*
|
|
3116
|
+
* Deletes a custom plugin class.
|
|
2770
3117
|
*
|
|
2771
3118
|
* @param request - DeletePluginClassRequest
|
|
2772
3119
|
* @returns DeletePluginClassResponse
|
|
@@ -2843,14 +3190,162 @@ class Client extends openapi_core_1.default {
|
|
|
2843
3190
|
return await this.deletePolicyAttachmentWithOptions(policyAttachmentId, headers, runtime);
|
|
2844
3191
|
}
|
|
2845
3192
|
/**
|
|
2846
|
-
* Deletes a
|
|
2847
|
-
*
|
|
2848
|
-
* @remarks
|
|
2849
|
-
* The operation supports creating multiple services.
|
|
3193
|
+
* Deletes a specified HiMarket developer portal by portal ID.
|
|
2850
3194
|
*
|
|
3195
|
+
* @param request - DeletePortalRequest
|
|
2851
3196
|
* @param headers - map
|
|
2852
3197
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2853
|
-
* @returns
|
|
3198
|
+
* @returns DeletePortalResponse
|
|
3199
|
+
*/
|
|
3200
|
+
async deletePortalWithOptions(portalId, request, headers, runtime) {
|
|
3201
|
+
request.validate();
|
|
3202
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3203
|
+
headers: headers,
|
|
3204
|
+
});
|
|
3205
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3206
|
+
action: "DeletePortal",
|
|
3207
|
+
version: "2024-03-27",
|
|
3208
|
+
protocol: "HTTPS",
|
|
3209
|
+
pathname: `/himarket/v1/portals/${$dara.URL.percentEncode(portalId)}`,
|
|
3210
|
+
method: "DELETE",
|
|
3211
|
+
authType: "AK",
|
|
3212
|
+
style: "ROA",
|
|
3213
|
+
reqBodyType: "json",
|
|
3214
|
+
bodyType: "json",
|
|
3215
|
+
});
|
|
3216
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePortalResponse({}));
|
|
3217
|
+
}
|
|
3218
|
+
/**
|
|
3219
|
+
* Deletes a specified HiMarket developer portal by portal ID.
|
|
3220
|
+
*
|
|
3221
|
+
* @param request - DeletePortalRequest
|
|
3222
|
+
* @returns DeletePortalResponse
|
|
3223
|
+
*/
|
|
3224
|
+
async deletePortal(portalId, request) {
|
|
3225
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3226
|
+
let headers = {};
|
|
3227
|
+
return await this.deletePortalWithOptions(portalId, request, headers, runtime);
|
|
3228
|
+
}
|
|
3229
|
+
/**
|
|
3230
|
+
* Deletes a specified API product by API product ID.
|
|
3231
|
+
*
|
|
3232
|
+
* @param request - DeleteProductRequest
|
|
3233
|
+
* @param headers - map
|
|
3234
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3235
|
+
* @returns DeleteProductResponse
|
|
3236
|
+
*/
|
|
3237
|
+
async deleteProductWithOptions(productId, request, headers, runtime) {
|
|
3238
|
+
request.validate();
|
|
3239
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3240
|
+
headers: headers,
|
|
3241
|
+
});
|
|
3242
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3243
|
+
action: "DeleteProduct",
|
|
3244
|
+
version: "2024-03-27",
|
|
3245
|
+
protocol: "HTTPS",
|
|
3246
|
+
pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}`,
|
|
3247
|
+
method: "DELETE",
|
|
3248
|
+
authType: "AK",
|
|
3249
|
+
style: "ROA",
|
|
3250
|
+
reqBodyType: "json",
|
|
3251
|
+
bodyType: "json",
|
|
3252
|
+
});
|
|
3253
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteProductResponse({}));
|
|
3254
|
+
}
|
|
3255
|
+
/**
|
|
3256
|
+
* Deletes a specified API product by API product ID.
|
|
3257
|
+
*
|
|
3258
|
+
* @param request - DeleteProductRequest
|
|
3259
|
+
* @returns DeleteProductResponse
|
|
3260
|
+
*/
|
|
3261
|
+
async deleteProduct(productId, request) {
|
|
3262
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3263
|
+
let headers = {};
|
|
3264
|
+
return await this.deleteProductWithOptions(productId, request, headers, runtime);
|
|
3265
|
+
}
|
|
3266
|
+
/**
|
|
3267
|
+
* Deletes a specified product category by product category ID.
|
|
3268
|
+
*
|
|
3269
|
+
* @param request - DeleteProductCategoryRequest
|
|
3270
|
+
* @param headers - map
|
|
3271
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3272
|
+
* @returns DeleteProductCategoryResponse
|
|
3273
|
+
*/
|
|
3274
|
+
async deleteProductCategoryWithOptions(categoryId, request, headers, runtime) {
|
|
3275
|
+
request.validate();
|
|
3276
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3277
|
+
headers: headers,
|
|
3278
|
+
});
|
|
3279
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3280
|
+
action: "DeleteProductCategory",
|
|
3281
|
+
version: "2024-03-27",
|
|
3282
|
+
protocol: "HTTPS",
|
|
3283
|
+
pathname: `/himarket/v1/product-categories/${$dara.URL.percentEncode(categoryId)}`,
|
|
3284
|
+
method: "DELETE",
|
|
3285
|
+
authType: "AK",
|
|
3286
|
+
style: "ROA",
|
|
3287
|
+
reqBodyType: "json",
|
|
3288
|
+
bodyType: "json",
|
|
3289
|
+
});
|
|
3290
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteProductCategoryResponse({}));
|
|
3291
|
+
}
|
|
3292
|
+
/**
|
|
3293
|
+
* Deletes a specified product category by product category ID.
|
|
3294
|
+
*
|
|
3295
|
+
* @param request - DeleteProductCategoryRequest
|
|
3296
|
+
* @returns DeleteProductCategoryResponse
|
|
3297
|
+
*/
|
|
3298
|
+
async deleteProductCategory(categoryId, request) {
|
|
3299
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3300
|
+
let headers = {};
|
|
3301
|
+
return await this.deleteProductCategoryWithOptions(categoryId, request, headers, runtime);
|
|
3302
|
+
}
|
|
3303
|
+
/**
|
|
3304
|
+
* Dissociates an API product from an API by API product ID. The association is established by CreateProductRef on the same resource path and can be queried by GetProductRef.
|
|
3305
|
+
*
|
|
3306
|
+
* @param request - DeleteProductRefRequest
|
|
3307
|
+
* @param headers - map
|
|
3308
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3309
|
+
* @returns DeleteProductRefResponse
|
|
3310
|
+
*/
|
|
3311
|
+
async deleteProductRefWithOptions(productId, request, headers, runtime) {
|
|
3312
|
+
request.validate();
|
|
3313
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3314
|
+
headers: headers,
|
|
3315
|
+
});
|
|
3316
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3317
|
+
action: "DeleteProductRef",
|
|
3318
|
+
version: "2024-03-27",
|
|
3319
|
+
protocol: "HTTPS",
|
|
3320
|
+
pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/ref`,
|
|
3321
|
+
method: "DELETE",
|
|
3322
|
+
authType: "AK",
|
|
3323
|
+
style: "ROA",
|
|
3324
|
+
reqBodyType: "json",
|
|
3325
|
+
bodyType: "json",
|
|
3326
|
+
});
|
|
3327
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteProductRefResponse({}));
|
|
3328
|
+
}
|
|
3329
|
+
/**
|
|
3330
|
+
* Dissociates an API product from an API by API product ID. The association is established by CreateProductRef on the same resource path and can be queried by GetProductRef.
|
|
3331
|
+
*
|
|
3332
|
+
* @param request - DeleteProductRefRequest
|
|
3333
|
+
* @returns DeleteProductRefResponse
|
|
3334
|
+
*/
|
|
3335
|
+
async deleteProductRef(productId, request) {
|
|
3336
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3337
|
+
let headers = {};
|
|
3338
|
+
return await this.deleteProductRefWithOptions(productId, request, headers, runtime);
|
|
3339
|
+
}
|
|
3340
|
+
/**
|
|
3341
|
+
* Deletes a key value.
|
|
3342
|
+
*
|
|
3343
|
+
* @remarks
|
|
3344
|
+
* The operation supports creating multiple services.
|
|
3345
|
+
*
|
|
3346
|
+
* @param headers - map
|
|
3347
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3348
|
+
* @returns DeleteSecretResponse
|
|
2854
3349
|
*/
|
|
2855
3350
|
async deleteSecretWithOptions(secretId, headers, runtime) {
|
|
2856
3351
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
@@ -2983,6 +3478,9 @@ class Client extends openapi_core_1.default {
|
|
|
2983
3478
|
/**
|
|
2984
3479
|
* Publishes an HTTP API. This includes REST APIs and routes within HTTP APIs.
|
|
2985
3480
|
*
|
|
3481
|
+
* @remarks
|
|
3482
|
+
* Before deployment, the following prerequisites must be met in order: (1) A gateway has been created. (2) An HTTP API has been created and associated with a gateway (belongGatewayId). (3) A route has been created and associated with an environment (environmentId). (4) The route has been associated with the default subdomain of the environment. Associating only a custom Dedicated domain name is not sufficient to trigger deployment. Call UpdateHttpApiRoute first to add the default subdomain of the environment to the route.
|
|
3483
|
+
*
|
|
2986
3484
|
* @param request - DeployHttpApiRequest
|
|
2987
3485
|
* @param headers - map
|
|
2988
3486
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3020,6 +3518,9 @@ class Client extends openapi_core_1.default {
|
|
|
3020
3518
|
/**
|
|
3021
3519
|
* Publishes an HTTP API. This includes REST APIs and routes within HTTP APIs.
|
|
3022
3520
|
*
|
|
3521
|
+
* @remarks
|
|
3522
|
+
* Before deployment, the following prerequisites must be met in order: (1) A gateway has been created. (2) An HTTP API has been created and associated with a gateway (belongGatewayId). (3) A route has been created and associated with an environment (environmentId). (4) The route has been associated with the default subdomain of the environment. Associating only a custom Dedicated domain name is not sufficient to trigger deployment. Call UpdateHttpApiRoute first to add the default subdomain of the environment to the route.
|
|
3523
|
+
*
|
|
3023
3524
|
* @param request - DeployHttpApiRequest
|
|
3024
3525
|
* @returns DeployHttpApiResponse
|
|
3025
3526
|
*/
|
|
@@ -3032,7 +3533,7 @@ class Client extends openapi_core_1.default {
|
|
|
3032
3533
|
* Publishes an MCP server.
|
|
3033
3534
|
*
|
|
3034
3535
|
* @remarks
|
|
3035
|
-
* Before deployment,
|
|
3536
|
+
* Before deployment, ensure that domainIds have been configured for the MCP server by calling CreateMcpServer or UpdateMcpServer. Call GetMcpServer to confirm the domain name bindng status.
|
|
3036
3537
|
*
|
|
3037
3538
|
* @param headers - map
|
|
3038
3539
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3059,7 +3560,7 @@ class Client extends openapi_core_1.default {
|
|
|
3059
3560
|
* Publishes an MCP server.
|
|
3060
3561
|
*
|
|
3061
3562
|
* @remarks
|
|
3062
|
-
* Before deployment,
|
|
3563
|
+
* Before deployment, ensure that domainIds have been configured for the MCP server by calling CreateMcpServer or UpdateMcpServer. Call GetMcpServer to confirm the domain name bindng status.
|
|
3063
3564
|
* @returns DeployMcpServerResponse
|
|
3064
3565
|
*/
|
|
3065
3566
|
async deployMcpServer(mcpServerId) {
|
|
@@ -3110,7 +3611,7 @@ class Client extends openapi_core_1.default {
|
|
|
3110
3611
|
return await this.describeRegionsWithOptions(request, headers, runtime);
|
|
3111
3612
|
}
|
|
3112
3613
|
/**
|
|
3113
|
-
*
|
|
3614
|
+
* Detaches and deletes a policy.
|
|
3114
3615
|
*
|
|
3115
3616
|
* @param request - DetachAndDeletePolicyRequest
|
|
3116
3617
|
* @param headers - map
|
|
@@ -3141,7 +3642,7 @@ class Client extends openapi_core_1.default {
|
|
|
3141
3642
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DetachAndDeletePolicyResponse({}));
|
|
3142
3643
|
}
|
|
3143
3644
|
/**
|
|
3144
|
-
*
|
|
3645
|
+
* Detaches and deletes a policy.
|
|
3145
3646
|
*
|
|
3146
3647
|
* @param request - DetachAndDeletePolicyRequest
|
|
3147
3648
|
* @returns DetachAndDeletePolicyResponse
|
|
@@ -3274,7 +3775,94 @@ class Client extends openapi_core_1.default {
|
|
|
3274
3775
|
return await this.getAiModelProviderWithOptions(modelProviderId, request, headers, runtime);
|
|
3275
3776
|
}
|
|
3276
3777
|
/**
|
|
3277
|
-
*
|
|
3778
|
+
* Queries the effective field collection configurations for each request path of an HTTP API in a specified cloud-native API gateway, including the field source, JSONPath, whether it is collected, whether switching is allowed, and whether it is from a field template.
|
|
3779
|
+
*
|
|
3780
|
+
* @param request - GetApiPathFieldConfigRequest
|
|
3781
|
+
* @param headers - map
|
|
3782
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3783
|
+
* @returns GetApiPathFieldConfigResponse
|
|
3784
|
+
*/
|
|
3785
|
+
async getApiPathFieldConfigWithOptions(request, headers, runtime) {
|
|
3786
|
+
request.validate();
|
|
3787
|
+
let query = {};
|
|
3788
|
+
if (!$dara.isNull(request.gatewayId)) {
|
|
3789
|
+
query["gatewayId"] = request.gatewayId;
|
|
3790
|
+
}
|
|
3791
|
+
if (!$dara.isNull(request.httpApiId)) {
|
|
3792
|
+
query["httpApiId"] = request.httpApiId;
|
|
3793
|
+
}
|
|
3794
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3795
|
+
headers: headers,
|
|
3796
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3797
|
+
});
|
|
3798
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3799
|
+
action: "GetApiPathFieldConfig",
|
|
3800
|
+
version: "2024-03-27",
|
|
3801
|
+
protocol: "HTTPS",
|
|
3802
|
+
pathname: `/v1/api-path-fields/configs`,
|
|
3803
|
+
method: "GET",
|
|
3804
|
+
authType: "AK",
|
|
3805
|
+
style: "ROA",
|
|
3806
|
+
reqBodyType: "json",
|
|
3807
|
+
bodyType: "json",
|
|
3808
|
+
});
|
|
3809
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApiPathFieldConfigResponse({}));
|
|
3810
|
+
}
|
|
3811
|
+
/**
|
|
3812
|
+
* Queries the effective field collection configurations for each request path of an HTTP API in a specified cloud-native API gateway, including the field source, JSONPath, whether it is collected, whether switching is allowed, and whether it is from a field template.
|
|
3813
|
+
*
|
|
3814
|
+
* @param request - GetApiPathFieldConfigRequest
|
|
3815
|
+
* @returns GetApiPathFieldConfigResponse
|
|
3816
|
+
*/
|
|
3817
|
+
async getApiPathFieldConfig(request) {
|
|
3818
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3819
|
+
let headers = {};
|
|
3820
|
+
return await this.getApiPathFieldConfigWithOptions(request, headers, runtime);
|
|
3821
|
+
}
|
|
3822
|
+
/**
|
|
3823
|
+
* Queries the field template corresponding to an API request path and returns the template name, applicable protocol, template description, and the set of fields defined by the template, including field keys, JSONPaths, value sources, and statistical categories.
|
|
3824
|
+
*
|
|
3825
|
+
* @param request - GetApiPathFieldTemplateRequest
|
|
3826
|
+
* @param headers - map
|
|
3827
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3828
|
+
* @returns GetApiPathFieldTemplateResponse
|
|
3829
|
+
*/
|
|
3830
|
+
async getApiPathFieldTemplateWithOptions(request, headers, runtime) {
|
|
3831
|
+
request.validate();
|
|
3832
|
+
let query = {};
|
|
3833
|
+
if (!$dara.isNull(request.path)) {
|
|
3834
|
+
query["path"] = request.path;
|
|
3835
|
+
}
|
|
3836
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3837
|
+
headers: headers,
|
|
3838
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3839
|
+
});
|
|
3840
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3841
|
+
action: "GetApiPathFieldTemplate",
|
|
3842
|
+
version: "2024-03-27",
|
|
3843
|
+
protocol: "HTTPS",
|
|
3844
|
+
pathname: `/v1/api-path-fields/template`,
|
|
3845
|
+
method: "GET",
|
|
3846
|
+
authType: "AK",
|
|
3847
|
+
style: "ROA",
|
|
3848
|
+
reqBodyType: "json",
|
|
3849
|
+
bodyType: "json",
|
|
3850
|
+
});
|
|
3851
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApiPathFieldTemplateResponse({}));
|
|
3852
|
+
}
|
|
3853
|
+
/**
|
|
3854
|
+
* Queries the field template corresponding to an API request path and returns the template name, applicable protocol, template description, and the set of fields defined by the template, including field keys, JSONPaths, value sources, and statistical categories.
|
|
3855
|
+
*
|
|
3856
|
+
* @param request - GetApiPathFieldTemplateRequest
|
|
3857
|
+
* @returns GetApiPathFieldTemplateResponse
|
|
3858
|
+
*/
|
|
3859
|
+
async getApiPathFieldTemplate(request) {
|
|
3860
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3861
|
+
let headers = {};
|
|
3862
|
+
return await this.getApiPathFieldTemplateWithOptions(request, headers, runtime);
|
|
3863
|
+
}
|
|
3864
|
+
/**
|
|
3865
|
+
* Queries a batch export task.
|
|
3278
3866
|
*
|
|
3279
3867
|
* @param request - GetBatchExportTaskRequest
|
|
3280
3868
|
* @param headers - map
|
|
@@ -3300,7 +3888,7 @@ class Client extends openapi_core_1.default {
|
|
|
3300
3888
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetBatchExportTaskResponse({}));
|
|
3301
3889
|
}
|
|
3302
3890
|
/**
|
|
3303
|
-
*
|
|
3891
|
+
* Queries a batch export task.
|
|
3304
3892
|
*
|
|
3305
3893
|
* @param request - GetBatchExportTaskRequest
|
|
3306
3894
|
* @returns GetBatchExportTaskResponse
|
|
@@ -3311,7 +3899,7 @@ class Client extends openapi_core_1.default {
|
|
|
3311
3899
|
return await this.getBatchExportTaskWithOptions(taskId, request, headers, runtime);
|
|
3312
3900
|
}
|
|
3313
3901
|
/**
|
|
3314
|
-
*
|
|
3902
|
+
* Queries a batch import task. The task ID is returned after a batch import task is created by calling BatchImportHttpApis. Pass an empty string to list all existing batch import tasks.
|
|
3315
3903
|
*
|
|
3316
3904
|
* @param request - GetBatchImportTaskRequest
|
|
3317
3905
|
* @param headers - map
|
|
@@ -3337,7 +3925,7 @@ class Client extends openapi_core_1.default {
|
|
|
3337
3925
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetBatchImportTaskResponse({}));
|
|
3338
3926
|
}
|
|
3339
3927
|
/**
|
|
3340
|
-
*
|
|
3928
|
+
* Queries a batch import task. The task ID is returned after a batch import task is created by calling BatchImportHttpApis. Pass an empty string to list all existing batch import tasks.
|
|
3341
3929
|
*
|
|
3342
3930
|
* @param request - GetBatchImportTaskRequest
|
|
3343
3931
|
* @returns GetBatchImportTaskResponse
|
|
@@ -3381,7 +3969,7 @@ class Client extends openapi_core_1.default {
|
|
|
3381
3969
|
return await this.getConsumerWithOptions(consumerId, headers, runtime);
|
|
3382
3970
|
}
|
|
3383
3971
|
/**
|
|
3384
|
-
* Retrieves
|
|
3972
|
+
* Retrieves consumer authorization rules.
|
|
3385
3973
|
*
|
|
3386
3974
|
* @param headers - map
|
|
3387
3975
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3405,7 +3993,7 @@ class Client extends openapi_core_1.default {
|
|
|
3405
3993
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConsumerAuthorizationRuleResponse({}));
|
|
3406
3994
|
}
|
|
3407
3995
|
/**
|
|
3408
|
-
* Retrieves
|
|
3996
|
+
* Retrieves consumer authorization rules.
|
|
3409
3997
|
* @returns GetConsumerAuthorizationRuleResponse
|
|
3410
3998
|
*/
|
|
3411
3999
|
async getConsumerAuthorizationRule(consumerAuthorizationRuleId, consumerId) {
|
|
@@ -3521,6 +4109,43 @@ class Client extends openapi_core_1.default {
|
|
|
3521
4109
|
let headers = {};
|
|
3522
4110
|
return await this.getDashboardWithOptions(gatewayId, request, headers, runtime);
|
|
3523
4111
|
}
|
|
4112
|
+
/**
|
|
4113
|
+
* Queries the account information of the currently logged-on developer and returns the developer ID, portal ID, username, and status.
|
|
4114
|
+
*
|
|
4115
|
+
* @param request - GetDeveloperRequest
|
|
4116
|
+
* @param headers - map
|
|
4117
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4118
|
+
* @returns GetDeveloperResponse
|
|
4119
|
+
*/
|
|
4120
|
+
async getDeveloperWithOptions(request, headers, runtime) {
|
|
4121
|
+
request.validate();
|
|
4122
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4123
|
+
headers: headers,
|
|
4124
|
+
});
|
|
4125
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4126
|
+
action: "GetDeveloper",
|
|
4127
|
+
version: "2024-03-27",
|
|
4128
|
+
protocol: "HTTPS",
|
|
4129
|
+
pathname: `/himarket/v1/developers/profile`,
|
|
4130
|
+
method: "GET",
|
|
4131
|
+
authType: "AK",
|
|
4132
|
+
style: "ROA",
|
|
4133
|
+
reqBodyType: "json",
|
|
4134
|
+
bodyType: "json",
|
|
4135
|
+
});
|
|
4136
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDeveloperResponse({}));
|
|
4137
|
+
}
|
|
4138
|
+
/**
|
|
4139
|
+
* Queries the account information of the currently logged-on developer and returns the developer ID, portal ID, username, and status.
|
|
4140
|
+
*
|
|
4141
|
+
* @param request - GetDeveloperRequest
|
|
4142
|
+
* @returns GetDeveloperResponse
|
|
4143
|
+
*/
|
|
4144
|
+
async getDeveloper(request) {
|
|
4145
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4146
|
+
let headers = {};
|
|
4147
|
+
return await this.getDeveloperWithOptions(request, headers, runtime);
|
|
4148
|
+
}
|
|
3524
4149
|
/**
|
|
3525
4150
|
* Queries a domain name.
|
|
3526
4151
|
*
|
|
@@ -3614,7 +4239,7 @@ class Client extends openapi_core_1.default {
|
|
|
3614
4239
|
return await this.getEnvironmentWithOptions(environmentId, request, headers, runtime);
|
|
3615
4240
|
}
|
|
3616
4241
|
/**
|
|
3617
|
-
* Retrieves basic information
|
|
4242
|
+
* Retrieves the basic information of a gateway, such as the associated VPC, vSwitch, and gateway endpoint.
|
|
3618
4243
|
*
|
|
3619
4244
|
* @param headers - map
|
|
3620
4245
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3638,7 +4263,7 @@ class Client extends openapi_core_1.default {
|
|
|
3638
4263
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayResponse({}));
|
|
3639
4264
|
}
|
|
3640
4265
|
/**
|
|
3641
|
-
* Retrieves basic information
|
|
4266
|
+
* Retrieves the basic information of a gateway, such as the associated VPC, vSwitch, and gateway endpoint.
|
|
3642
4267
|
* @returns GetGatewayResponse
|
|
3643
4268
|
*/
|
|
3644
4269
|
async getGateway(gatewayId) {
|
|
@@ -3647,7 +4272,7 @@ class Client extends openapi_core_1.default {
|
|
|
3647
4272
|
return await this.getGatewayWithOptions(gatewayId, headers, runtime);
|
|
3648
4273
|
}
|
|
3649
4274
|
/**
|
|
3650
|
-
*
|
|
4275
|
+
* Retrieves the elastic scaling rule of a gateway.
|
|
3651
4276
|
*
|
|
3652
4277
|
* @param request - GetGatewayElasticPolicyRequest
|
|
3653
4278
|
* @param headers - map
|
|
@@ -3673,7 +4298,7 @@ class Client extends openapi_core_1.default {
|
|
|
3673
4298
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayElasticPolicyResponse({}));
|
|
3674
4299
|
}
|
|
3675
4300
|
/**
|
|
3676
|
-
*
|
|
4301
|
+
* Retrieves the elastic scaling rule of a gateway.
|
|
3677
4302
|
*
|
|
3678
4303
|
* @param request - GetGatewayElasticPolicyRequest
|
|
3679
4304
|
* @returns GetGatewayElasticPolicyResponse
|
|
@@ -3687,7 +4312,7 @@ class Client extends openapi_core_1.default {
|
|
|
3687
4312
|
* Queries the details of a gateway quota throttling rule.
|
|
3688
4313
|
*
|
|
3689
4314
|
* @remarks
|
|
3690
|
-
* Queries a
|
|
4315
|
+
* Queries a consumer quota rule on an AI gateway.
|
|
3691
4316
|
*
|
|
3692
4317
|
* @param request - GetGatewayQuotaRuleRequest
|
|
3693
4318
|
* @param headers - map
|
|
@@ -3730,7 +4355,7 @@ class Client extends openapi_core_1.default {
|
|
|
3730
4355
|
* Queries the details of a gateway quota throttling rule.
|
|
3731
4356
|
*
|
|
3732
4357
|
* @remarks
|
|
3733
|
-
* Queries a
|
|
4358
|
+
* Queries a consumer quota rule on an AI gateway.
|
|
3734
4359
|
*
|
|
3735
4360
|
* @param request - GetGatewayQuotaRuleRequest
|
|
3736
4361
|
* @returns GetGatewayQuotaRuleResponse
|
|
@@ -3741,11 +4366,11 @@ class Client extends openapi_core_1.default {
|
|
|
3741
4366
|
return await this.getGatewayQuotaRuleWithOptions(gatewayId, ruleId, request, headers, runtime);
|
|
3742
4367
|
}
|
|
3743
4368
|
/**
|
|
3744
|
-
* Queries the usage details of a subject
|
|
4369
|
+
* Queries the usage details of a subject for a gateway quota throttling rule, including the used quota, total quota, over-limit status, usage details, and consumption records.
|
|
3745
4370
|
*
|
|
3746
4371
|
* @remarks
|
|
3747
|
-
*
|
|
3748
|
-
* Before you begin: Before calling this operation,
|
|
4372
|
+
* This operation retrieves the usage details of a consumer subject under a quota rule. Note that this operation applies only to AI gateways whose version is later than 2.1.19.
|
|
4373
|
+
* Before you begin: Before calling this operation, ensure that the Simple Log Service (SLS) log delivery feature is enabled for the target gateway by using UpdateGatewayFeature(name=log-config, value={"enable":true}). Otherwise, the CloudProductInactive.LogDeliveryNotEnabled error is returned.
|
|
3749
4374
|
*
|
|
3750
4375
|
* @param request - GetGatewayQuotaRuleSubjectUsageRequest
|
|
3751
4376
|
* @param headers - map
|
|
@@ -3788,11 +4413,11 @@ class Client extends openapi_core_1.default {
|
|
|
3788
4413
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayQuotaRuleSubjectUsageResponse({}));
|
|
3789
4414
|
}
|
|
3790
4415
|
/**
|
|
3791
|
-
* Queries the usage details of a subject
|
|
4416
|
+
* Queries the usage details of a subject for a gateway quota throttling rule, including the used quota, total quota, over-limit status, usage details, and consumption records.
|
|
3792
4417
|
*
|
|
3793
4418
|
* @remarks
|
|
3794
|
-
*
|
|
3795
|
-
* Before you begin: Before calling this operation,
|
|
4419
|
+
* This operation retrieves the usage details of a consumer subject under a quota rule. Note that this operation applies only to AI gateways whose version is later than 2.1.19.
|
|
4420
|
+
* Before you begin: Before calling this operation, ensure that the Simple Log Service (SLS) log delivery feature is enabled for the target gateway by using UpdateGatewayFeature(name=log-config, value={"enable":true}). Otherwise, the CloudProductInactive.LogDeliveryNotEnabled error is returned.
|
|
3796
4421
|
*
|
|
3797
4422
|
* @param request - GetGatewayQuotaRuleSubjectUsageRequest
|
|
3798
4423
|
* @returns GetGatewayQuotaRuleSubjectUsageResponse
|
|
@@ -3803,10 +4428,10 @@ class Client extends openapi_core_1.default {
|
|
|
3803
4428
|
return await this.getGatewayQuotaRuleSubjectUsageWithOptions(gatewayId, ruleId, subjectId, request, headers, runtime);
|
|
3804
4429
|
}
|
|
3805
4430
|
/**
|
|
3806
|
-
*
|
|
4431
|
+
* Queries the resource quotas and usage of a gateway.
|
|
3807
4432
|
*
|
|
3808
4433
|
* @remarks
|
|
3809
|
-
*
|
|
4434
|
+
* Queries the usage, effective limits, and statistical scopes of nine resource quota items for a specified API gateway or AI gateway. This operation is read-only. A successful response contains all nine items. Custom plugin quotas do not display numerical values. The result represents the current observation read independently from each source and does not guarantee that new resources can be created successfully.
|
|
3810
4435
|
*
|
|
3811
4436
|
* @param request - GetGatewayResourceQuotaUsageRequest
|
|
3812
4437
|
* @param headers - map
|
|
@@ -3832,10 +4457,10 @@ class Client extends openapi_core_1.default {
|
|
|
3832
4457
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayResourceQuotaUsageResponse({}));
|
|
3833
4458
|
}
|
|
3834
4459
|
/**
|
|
3835
|
-
*
|
|
4460
|
+
* Queries the resource quotas and usage of a gateway.
|
|
3836
4461
|
*
|
|
3837
4462
|
* @remarks
|
|
3838
|
-
*
|
|
4463
|
+
* Queries the usage, effective limits, and statistical scopes of nine resource quota items for a specified API gateway or AI gateway. This operation is read-only. A successful response contains all nine items. Custom plugin quotas do not display numerical values. The result represents the current observation read independently from each source and does not guarantee that new resources can be created successfully.
|
|
3839
4464
|
*
|
|
3840
4465
|
* @param request - GetGatewayResourceQuotaUsageRequest
|
|
3841
4466
|
* @returns GetGatewayResourceQuotaUsageResponse
|
|
@@ -3846,7 +4471,81 @@ class Client extends openapi_core_1.default {
|
|
|
3846
4471
|
return await this.getGatewayResourceQuotaUsageWithOptions(gatewayId, request, headers, runtime);
|
|
3847
4472
|
}
|
|
3848
4473
|
/**
|
|
3849
|
-
*
|
|
4474
|
+
* Queries the details of a single HiMarket consumer by consumer ID, including the consumer ID, name, description, and whether the consumer is a primary consumer.
|
|
4475
|
+
*
|
|
4476
|
+
* @param request - GetHiMarketConsumerRequest
|
|
4477
|
+
* @param headers - map
|
|
4478
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4479
|
+
* @returns GetHiMarketConsumerResponse
|
|
4480
|
+
*/
|
|
4481
|
+
async getHiMarketConsumerWithOptions(consumerId, request, headers, runtime) {
|
|
4482
|
+
request.validate();
|
|
4483
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4484
|
+
headers: headers,
|
|
4485
|
+
});
|
|
4486
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4487
|
+
action: "GetHiMarketConsumer",
|
|
4488
|
+
version: "2024-03-27",
|
|
4489
|
+
protocol: "HTTPS",
|
|
4490
|
+
pathname: `/himarket/v1/consumers/${$dara.URL.percentEncode(consumerId)}`,
|
|
4491
|
+
method: "GET",
|
|
4492
|
+
authType: "AK",
|
|
4493
|
+
style: "ROA",
|
|
4494
|
+
reqBodyType: "json",
|
|
4495
|
+
bodyType: "json",
|
|
4496
|
+
});
|
|
4497
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHiMarketConsumerResponse({}));
|
|
4498
|
+
}
|
|
4499
|
+
/**
|
|
4500
|
+
* Queries the details of a single HiMarket consumer by consumer ID, including the consumer ID, name, description, and whether the consumer is a primary consumer.
|
|
4501
|
+
*
|
|
4502
|
+
* @param request - GetHiMarketConsumerRequest
|
|
4503
|
+
* @returns GetHiMarketConsumerResponse
|
|
4504
|
+
*/
|
|
4505
|
+
async getHiMarketConsumer(consumerId, request) {
|
|
4506
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4507
|
+
let headers = {};
|
|
4508
|
+
return await this.getHiMarketConsumerWithOptions(consumerId, request, headers, runtime);
|
|
4509
|
+
}
|
|
4510
|
+
/**
|
|
4511
|
+
* Queries the credential information of a HiMarket consumer by consumer ID and returns two types of containers: API key credential configuration and HMAC credential configuration. The credential members are defined by the common data structures HiMarketApiKeyConfig and HiMarketHmacConfig.
|
|
4512
|
+
*
|
|
4513
|
+
* @param request - GetHiMarketConsumerCredentialRequest
|
|
4514
|
+
* @param headers - map
|
|
4515
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4516
|
+
* @returns GetHiMarketConsumerCredentialResponse
|
|
4517
|
+
*/
|
|
4518
|
+
async getHiMarketConsumerCredentialWithOptions(consumerId, request, headers, runtime) {
|
|
4519
|
+
request.validate();
|
|
4520
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4521
|
+
headers: headers,
|
|
4522
|
+
});
|
|
4523
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4524
|
+
action: "GetHiMarketConsumerCredential",
|
|
4525
|
+
version: "2024-03-27",
|
|
4526
|
+
protocol: "HTTPS",
|
|
4527
|
+
pathname: `/himarket/v1/consumers/${$dara.URL.percentEncode(consumerId)}/credentials`,
|
|
4528
|
+
method: "GET",
|
|
4529
|
+
authType: "AK",
|
|
4530
|
+
style: "ROA",
|
|
4531
|
+
reqBodyType: "json",
|
|
4532
|
+
bodyType: "json",
|
|
4533
|
+
});
|
|
4534
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHiMarketConsumerCredentialResponse({}));
|
|
4535
|
+
}
|
|
4536
|
+
/**
|
|
4537
|
+
* Queries the credential information of a HiMarket consumer by consumer ID and returns two types of containers: API key credential configuration and HMAC credential configuration. The credential members are defined by the common data structures HiMarketApiKeyConfig and HiMarketHmacConfig.
|
|
4538
|
+
*
|
|
4539
|
+
* @param request - GetHiMarketConsumerCredentialRequest
|
|
4540
|
+
* @returns GetHiMarketConsumerCredentialResponse
|
|
4541
|
+
*/
|
|
4542
|
+
async getHiMarketConsumerCredential(consumerId, request) {
|
|
4543
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4544
|
+
let headers = {};
|
|
4545
|
+
return await this.getHiMarketConsumerCredentialWithOptions(consumerId, request, headers, runtime);
|
|
4546
|
+
}
|
|
4547
|
+
/**
|
|
4548
|
+
* Retrieves HTTP API information.
|
|
3850
4549
|
*
|
|
3851
4550
|
* @param request - GetHttpApiRequest
|
|
3852
4551
|
* @param headers - map
|
|
@@ -3877,7 +4576,7 @@ class Client extends openapi_core_1.default {
|
|
|
3877
4576
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHttpApiResponse({}));
|
|
3878
4577
|
}
|
|
3879
4578
|
/**
|
|
3880
|
-
* Retrieves
|
|
4579
|
+
* Retrieves HTTP API information.
|
|
3881
4580
|
*
|
|
3882
4581
|
* @param request - GetHttpApiRequest
|
|
3883
4582
|
* @returns GetHttpApiResponse
|
|
@@ -3888,7 +4587,7 @@ class Client extends openapi_core_1.default {
|
|
|
3888
4587
|
return await this.getHttpApiWithOptions(httpApiId, request, headers, runtime);
|
|
3889
4588
|
}
|
|
3890
4589
|
/**
|
|
3891
|
-
* Retrieves operation
|
|
4590
|
+
* Retrieves the details of an API operation.
|
|
3892
4591
|
*
|
|
3893
4592
|
* @param headers - map
|
|
3894
4593
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3912,7 +4611,7 @@ class Client extends openapi_core_1.default {
|
|
|
3912
4611
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHttpApiOperationResponse({}));
|
|
3913
4612
|
}
|
|
3914
4613
|
/**
|
|
3915
|
-
* Retrieves operation
|
|
4614
|
+
* Retrieves the details of an API operation.
|
|
3916
4615
|
* @returns GetHttpApiOperationResponse
|
|
3917
4616
|
*/
|
|
3918
4617
|
async getHttpApiOperation(httpApiId, operationId) {
|
|
@@ -3957,7 +4656,7 @@ class Client extends openapi_core_1.default {
|
|
|
3957
4656
|
* Retrieves an MCP server.
|
|
3958
4657
|
*
|
|
3959
4658
|
* @remarks
|
|
3960
|
-
*
|
|
4659
|
+
* The operation supports creating multiple services.
|
|
3961
4660
|
*
|
|
3962
4661
|
* @param headers - map
|
|
3963
4662
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3984,7 +4683,7 @@ class Client extends openapi_core_1.default {
|
|
|
3984
4683
|
* Retrieves an MCP server.
|
|
3985
4684
|
*
|
|
3986
4685
|
* @remarks
|
|
3987
|
-
*
|
|
4686
|
+
* The operation supports creating multiple services.
|
|
3988
4687
|
* @returns GetMcpServerResponse
|
|
3989
4688
|
*/
|
|
3990
4689
|
async getMcpServer(mcpServerId) {
|
|
@@ -3993,7 +4692,7 @@ class Client extends openapi_core_1.default {
|
|
|
3993
4692
|
return await this.getMcpServerWithOptions(mcpServerId, headers, runtime);
|
|
3994
4693
|
}
|
|
3995
4694
|
/**
|
|
3996
|
-
*
|
|
4695
|
+
* Retrieves the namespaced services for a migration task.
|
|
3997
4696
|
*
|
|
3998
4697
|
* @param request - GetMigrationNamespacedServicesRequest
|
|
3999
4698
|
* @param headers - map
|
|
@@ -4019,7 +4718,7 @@ class Client extends openapi_core_1.default {
|
|
|
4019
4718
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMigrationNamespacedServicesResponse({}));
|
|
4020
4719
|
}
|
|
4021
4720
|
/**
|
|
4022
|
-
*
|
|
4721
|
+
* Retrieves the namespaced services for a migration task.
|
|
4023
4722
|
*
|
|
4024
4723
|
* @param request - GetMigrationNamespacedServicesRequest
|
|
4025
4724
|
* @returns GetMigrationNamespacedServicesResponse
|
|
@@ -4030,7 +4729,7 @@ class Client extends openapi_core_1.default {
|
|
|
4030
4729
|
return await this.getMigrationNamespacedServicesWithOptions(taskId, request, headers, runtime);
|
|
4031
4730
|
}
|
|
4032
4731
|
/**
|
|
4033
|
-
*
|
|
4732
|
+
* Retrieves a migration task.
|
|
4034
4733
|
*
|
|
4035
4734
|
* @param request - GetMigrationTaskRequest
|
|
4036
4735
|
* @param headers - map
|
|
@@ -4056,7 +4755,7 @@ class Client extends openapi_core_1.default {
|
|
|
4056
4755
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMigrationTaskResponse({}));
|
|
4057
4756
|
}
|
|
4058
4757
|
/**
|
|
4059
|
-
*
|
|
4758
|
+
* Retrieves a migration task.
|
|
4060
4759
|
*
|
|
4061
4760
|
* @param request - GetMigrationTaskRequest
|
|
4062
4761
|
* @returns GetMigrationTaskResponse
|
|
@@ -4067,7 +4766,7 @@ class Client extends openapi_core_1.default {
|
|
|
4067
4766
|
return await this.getMigrationTaskWithOptions(taskId, request, headers, runtime);
|
|
4068
4767
|
}
|
|
4069
4768
|
/**
|
|
4070
|
-
* Queries a plugin
|
|
4769
|
+
* Queries a plugin attachment.
|
|
4071
4770
|
*
|
|
4072
4771
|
* @param headers - map
|
|
4073
4772
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4091,7 +4790,7 @@ class Client extends openapi_core_1.default {
|
|
|
4091
4790
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPluginAttachmentResponse({}));
|
|
4092
4791
|
}
|
|
4093
4792
|
/**
|
|
4094
|
-
* Queries a plugin
|
|
4793
|
+
* Queries a plugin attachment.
|
|
4095
4794
|
* @returns GetPluginAttachmentResponse
|
|
4096
4795
|
*/
|
|
4097
4796
|
async getPluginAttachment(pluginAttachmentId) {
|
|
@@ -4137,7 +4836,7 @@ class Client extends openapi_core_1.default {
|
|
|
4137
4836
|
return await this.getPluginClassWithOptions(pluginClassId, request, headers, runtime);
|
|
4138
4837
|
}
|
|
4139
4838
|
/**
|
|
4140
|
-
*
|
|
4839
|
+
* Queries the WebIDE workspace of a plugin.
|
|
4141
4840
|
*
|
|
4142
4841
|
* @param request - GetPluginWorkspaceRequest
|
|
4143
4842
|
* @param headers - map
|
|
@@ -4163,7 +4862,7 @@ class Client extends openapi_core_1.default {
|
|
|
4163
4862
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPluginWorkspaceResponse({}));
|
|
4164
4863
|
}
|
|
4165
4864
|
/**
|
|
4166
|
-
*
|
|
4865
|
+
* Queries the WebIDE workspace of a plugin.
|
|
4167
4866
|
*
|
|
4168
4867
|
* @param request - GetPluginWorkspaceRequest
|
|
4169
4868
|
* @returns GetPluginWorkspaceResponse
|
|
@@ -4240,18 +4939,166 @@ class Client extends openapi_core_1.default {
|
|
|
4240
4939
|
return await this.getPolicyAttachmentWithOptions(policyAttachmentId, headers, runtime);
|
|
4241
4940
|
}
|
|
4242
4941
|
/**
|
|
4243
|
-
*
|
|
4942
|
+
* Queries the details of a single HiMarket developer portal by portal ID and returns the portal name, description, region ID, portal settings, and portal domain configurations.
|
|
4244
4943
|
*
|
|
4245
|
-
* @param request -
|
|
4944
|
+
* @param request - GetPortalRequest
|
|
4246
4945
|
* @param headers - map
|
|
4247
4946
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4248
|
-
* @returns
|
|
4947
|
+
* @returns GetPortalResponse
|
|
4249
4948
|
*/
|
|
4250
|
-
async
|
|
4949
|
+
async getPortalWithOptions(portalId, request, headers, runtime) {
|
|
4251
4950
|
request.validate();
|
|
4252
|
-
let
|
|
4253
|
-
|
|
4254
|
-
|
|
4951
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4952
|
+
headers: headers,
|
|
4953
|
+
});
|
|
4954
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4955
|
+
action: "GetPortal",
|
|
4956
|
+
version: "2024-03-27",
|
|
4957
|
+
protocol: "HTTPS",
|
|
4958
|
+
pathname: `/himarket/v1/portals/${$dara.URL.percentEncode(portalId)}`,
|
|
4959
|
+
method: "GET",
|
|
4960
|
+
authType: "AK",
|
|
4961
|
+
style: "ROA",
|
|
4962
|
+
reqBodyType: "json",
|
|
4963
|
+
bodyType: "json",
|
|
4964
|
+
});
|
|
4965
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPortalResponse({}));
|
|
4966
|
+
}
|
|
4967
|
+
/**
|
|
4968
|
+
* Queries the details of a single HiMarket developer portal by portal ID and returns the portal name, description, region ID, portal settings, and portal domain configurations.
|
|
4969
|
+
*
|
|
4970
|
+
* @param request - GetPortalRequest
|
|
4971
|
+
* @returns GetPortalResponse
|
|
4972
|
+
*/
|
|
4973
|
+
async getPortal(portalId, request) {
|
|
4974
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4975
|
+
let headers = {};
|
|
4976
|
+
return await this.getPortalWithOptions(portalId, request, headers, runtime);
|
|
4977
|
+
}
|
|
4978
|
+
/**
|
|
4979
|
+
* Queries the details of a single API product by API product ID and returns information such as the name, description, status, type, documentation, icon, automatic subscription approval status, MCP, Agent, and model configurations, product capability configurations, and the region.
|
|
4980
|
+
*
|
|
4981
|
+
* @param request - GetProductRequest
|
|
4982
|
+
* @param headers - map
|
|
4983
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4984
|
+
* @returns GetProductResponse
|
|
4985
|
+
*/
|
|
4986
|
+
async getProductWithOptions(productId, request, headers, runtime) {
|
|
4987
|
+
request.validate();
|
|
4988
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4989
|
+
headers: headers,
|
|
4990
|
+
});
|
|
4991
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4992
|
+
action: "GetProduct",
|
|
4993
|
+
version: "2024-03-27",
|
|
4994
|
+
protocol: "HTTPS",
|
|
4995
|
+
pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}`,
|
|
4996
|
+
method: "GET",
|
|
4997
|
+
authType: "AK",
|
|
4998
|
+
style: "ROA",
|
|
4999
|
+
reqBodyType: "json",
|
|
5000
|
+
bodyType: "json",
|
|
5001
|
+
});
|
|
5002
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetProductResponse({}));
|
|
5003
|
+
}
|
|
5004
|
+
/**
|
|
5005
|
+
* Queries the details of a single API product by API product ID and returns information such as the name, description, status, type, documentation, icon, automatic subscription approval status, MCP, Agent, and model configurations, product capability configurations, and the region.
|
|
5006
|
+
*
|
|
5007
|
+
* @param request - GetProductRequest
|
|
5008
|
+
* @returns GetProductResponse
|
|
5009
|
+
*/
|
|
5010
|
+
async getProduct(productId, request) {
|
|
5011
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5012
|
+
let headers = {};
|
|
5013
|
+
return await this.getProductWithOptions(productId, request, headers, runtime);
|
|
5014
|
+
}
|
|
5015
|
+
/**
|
|
5016
|
+
* Queries the details of a single product category by category ID and returns the ID, name, description, and icon of the category.
|
|
5017
|
+
*
|
|
5018
|
+
* @param request - GetProductCategoryRequest
|
|
5019
|
+
* @param headers - map
|
|
5020
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5021
|
+
* @returns GetProductCategoryResponse
|
|
5022
|
+
*/
|
|
5023
|
+
async getProductCategoryWithOptions(categoryId, request, headers, runtime) {
|
|
5024
|
+
request.validate();
|
|
5025
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5026
|
+
headers: headers,
|
|
5027
|
+
});
|
|
5028
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5029
|
+
action: "GetProductCategory",
|
|
5030
|
+
version: "2024-03-27",
|
|
5031
|
+
protocol: "HTTPS",
|
|
5032
|
+
pathname: `/himarket/v1/product-categories/${$dara.URL.percentEncode(categoryId)}`,
|
|
5033
|
+
method: "GET",
|
|
5034
|
+
authType: "AK",
|
|
5035
|
+
style: "ROA",
|
|
5036
|
+
reqBodyType: "json",
|
|
5037
|
+
bodyType: "json",
|
|
5038
|
+
});
|
|
5039
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetProductCategoryResponse({}));
|
|
5040
|
+
}
|
|
5041
|
+
/**
|
|
5042
|
+
* Queries the details of a single product category by category ID and returns the ID, name, description, and icon of the category.
|
|
5043
|
+
*
|
|
5044
|
+
* @param request - GetProductCategoryRequest
|
|
5045
|
+
* @returns GetProductCategoryResponse
|
|
5046
|
+
*/
|
|
5047
|
+
async getProductCategory(categoryId, request) {
|
|
5048
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5049
|
+
let headers = {};
|
|
5050
|
+
return await this.getProductCategoryWithOptions(categoryId, request, headers, runtime);
|
|
5051
|
+
}
|
|
5052
|
+
/**
|
|
5053
|
+
* Queries the API configurations associated with an API product by product ID, and returns the gateway ID and APIG association configuration.
|
|
5054
|
+
*
|
|
5055
|
+
* @param request - GetProductRefRequest
|
|
5056
|
+
* @param headers - map
|
|
5057
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5058
|
+
* @returns GetProductRefResponse
|
|
5059
|
+
*/
|
|
5060
|
+
async getProductRefWithOptions(productId, request, headers, runtime) {
|
|
5061
|
+
request.validate();
|
|
5062
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5063
|
+
headers: headers,
|
|
5064
|
+
});
|
|
5065
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5066
|
+
action: "GetProductRef",
|
|
5067
|
+
version: "2024-03-27",
|
|
5068
|
+
protocol: "HTTPS",
|
|
5069
|
+
pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/ref`,
|
|
5070
|
+
method: "GET",
|
|
5071
|
+
authType: "AK",
|
|
5072
|
+
style: "ROA",
|
|
5073
|
+
reqBodyType: "json",
|
|
5074
|
+
bodyType: "json",
|
|
5075
|
+
});
|
|
5076
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetProductRefResponse({}));
|
|
5077
|
+
}
|
|
5078
|
+
/**
|
|
5079
|
+
* Queries the API configurations associated with an API product by product ID, and returns the gateway ID and APIG association configuration.
|
|
5080
|
+
*
|
|
5081
|
+
* @param request - GetProductRefRequest
|
|
5082
|
+
* @returns GetProductRefResponse
|
|
5083
|
+
*/
|
|
5084
|
+
async getProductRef(productId, request) {
|
|
5085
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5086
|
+
let headers = {};
|
|
5087
|
+
return await this.getProductRefWithOptions(productId, request, headers, runtime);
|
|
5088
|
+
}
|
|
5089
|
+
/**
|
|
5090
|
+
* Retrieves the resource overview information.
|
|
5091
|
+
*
|
|
5092
|
+
* @param request - GetResourceOverviewRequest
|
|
5093
|
+
* @param headers - map
|
|
5094
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5095
|
+
* @returns GetResourceOverviewResponse
|
|
5096
|
+
*/
|
|
5097
|
+
async getResourceOverviewWithOptions(request, headers, runtime) {
|
|
5098
|
+
request.validate();
|
|
5099
|
+
let query = {};
|
|
5100
|
+
if (!$dara.isNull(request.gatewayType)) {
|
|
5101
|
+
query["gatewayType"] = request.gatewayType;
|
|
4255
5102
|
}
|
|
4256
5103
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4257
5104
|
headers: headers,
|
|
@@ -4271,7 +5118,7 @@ class Client extends openapi_core_1.default {
|
|
|
4271
5118
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceOverviewResponse({}));
|
|
4272
5119
|
}
|
|
4273
5120
|
/**
|
|
4274
|
-
* Retrieves resource overview information.
|
|
5121
|
+
* Retrieves the resource overview information.
|
|
4275
5122
|
*
|
|
4276
5123
|
* @param request - GetResourceOverviewRequest
|
|
4277
5124
|
* @returns GetResourceOverviewResponse
|
|
@@ -4282,7 +5129,7 @@ class Client extends openapi_core_1.default {
|
|
|
4282
5129
|
return await this.getResourceOverviewWithOptions(request, headers, runtime);
|
|
4283
5130
|
}
|
|
4284
5131
|
/**
|
|
4285
|
-
*
|
|
5132
|
+
* Retrieves the notification configuration for a risk item.
|
|
4286
5133
|
*
|
|
4287
5134
|
* @param request - GetRiskNotificationRequest
|
|
4288
5135
|
* @param headers - map
|
|
@@ -4313,7 +5160,7 @@ class Client extends openapi_core_1.default {
|
|
|
4313
5160
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetRiskNotificationResponse({}));
|
|
4314
5161
|
}
|
|
4315
5162
|
/**
|
|
4316
|
-
*
|
|
5163
|
+
* Retrieves the notification configuration for a risk item.
|
|
4317
5164
|
*
|
|
4318
5165
|
* @param request - GetRiskNotificationRequest
|
|
4319
5166
|
* @returns GetRiskNotificationResponse
|
|
@@ -4363,7 +5210,7 @@ class Client extends openapi_core_1.default {
|
|
|
4363
5210
|
return await this.getSecretWithOptions(secretId, headers, runtime);
|
|
4364
5211
|
}
|
|
4365
5212
|
/**
|
|
4366
|
-
* Retrieves the value of a
|
|
5213
|
+
* Retrieves the value of a secret.
|
|
4367
5214
|
*
|
|
4368
5215
|
* @remarks
|
|
4369
5216
|
* The operation supports creating multiple services.
|
|
@@ -4390,7 +5237,7 @@ class Client extends openapi_core_1.default {
|
|
|
4390
5237
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSecretValueResponse({}));
|
|
4391
5238
|
}
|
|
4392
5239
|
/**
|
|
4393
|
-
* Retrieves the value of a
|
|
5240
|
+
* Retrieves the value of a secret.
|
|
4394
5241
|
*
|
|
4395
5242
|
* @remarks
|
|
4396
5243
|
* The operation supports creating multiple services.
|
|
@@ -4402,7 +5249,7 @@ class Client extends openapi_core_1.default {
|
|
|
4402
5249
|
return await this.getSecretValueWithOptions(name, headers, runtime);
|
|
4403
5250
|
}
|
|
4404
5251
|
/**
|
|
4405
|
-
*
|
|
5252
|
+
* Retrieves the details of a service.
|
|
4406
5253
|
*
|
|
4407
5254
|
* @param headers - map
|
|
4408
5255
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4426,7 +5273,7 @@ class Client extends openapi_core_1.default {
|
|
|
4426
5273
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetServiceResponse({}));
|
|
4427
5274
|
}
|
|
4428
5275
|
/**
|
|
4429
|
-
*
|
|
5276
|
+
* Retrieves the details of a service.
|
|
4430
5277
|
* @returns GetServiceResponse
|
|
4431
5278
|
*/
|
|
4432
5279
|
async getService(serviceId) {
|
|
@@ -4510,7 +5357,52 @@ class Client extends openapi_core_1.default {
|
|
|
4510
5357
|
return await this.getTraceConfigWithOptions(gatewayId, request, headers, runtime);
|
|
4511
5358
|
}
|
|
4512
5359
|
/**
|
|
4513
|
-
*
|
|
5360
|
+
* Executes the callback step in the OIDC logon flow by submitting the code and state query parameters carried in the callback via a GET request, and returns the accessToken, tokenType, and expiresIn fields in the response data.
|
|
5361
|
+
*
|
|
5362
|
+
* @param request - HandleOidcCallbackRequest
|
|
5363
|
+
* @param headers - map
|
|
5364
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5365
|
+
* @returns HandleOidcCallbackResponse
|
|
5366
|
+
*/
|
|
5367
|
+
async handleOidcCallbackWithOptions(request, headers, runtime) {
|
|
5368
|
+
request.validate();
|
|
5369
|
+
let query = {};
|
|
5370
|
+
if (!$dara.isNull(request.code)) {
|
|
5371
|
+
query["code"] = request.code;
|
|
5372
|
+
}
|
|
5373
|
+
if (!$dara.isNull(request.state)) {
|
|
5374
|
+
query["state"] = request.state;
|
|
5375
|
+
}
|
|
5376
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5377
|
+
headers: headers,
|
|
5378
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5379
|
+
});
|
|
5380
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5381
|
+
action: "HandleOidcCallback",
|
|
5382
|
+
version: "2024-03-27",
|
|
5383
|
+
protocol: "HTTPS",
|
|
5384
|
+
pathname: `/himarket/v1/oidc/callback`,
|
|
5385
|
+
method: "GET",
|
|
5386
|
+
authType: "AK",
|
|
5387
|
+
style: "ROA",
|
|
5388
|
+
reqBodyType: "json",
|
|
5389
|
+
bodyType: "json",
|
|
5390
|
+
});
|
|
5391
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.HandleOidcCallbackResponse({}));
|
|
5392
|
+
}
|
|
5393
|
+
/**
|
|
5394
|
+
* Executes the callback step in the OIDC logon flow by submitting the code and state query parameters carried in the callback via a GET request, and returns the accessToken, tokenType, and expiresIn fields in the response data.
|
|
5395
|
+
*
|
|
5396
|
+
* @param request - HandleOidcCallbackRequest
|
|
5397
|
+
* @returns HandleOidcCallbackResponse
|
|
5398
|
+
*/
|
|
5399
|
+
async handleOidcCallback(request) {
|
|
5400
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5401
|
+
let headers = {};
|
|
5402
|
+
return await this.handleOidcCallbackWithOptions(request, headers, runtime);
|
|
5403
|
+
}
|
|
5404
|
+
/**
|
|
5405
|
+
* Imports an HTTP API by importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST APIs.
|
|
4514
5406
|
*
|
|
4515
5407
|
* @param request - ImportHttpApiRequest
|
|
4516
5408
|
* @param headers - map
|
|
@@ -4580,7 +5472,7 @@ class Client extends openapi_core_1.default {
|
|
|
4580
5472
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportHttpApiResponse({}));
|
|
4581
5473
|
}
|
|
4582
5474
|
/**
|
|
4583
|
-
* Imports an HTTP API
|
|
5475
|
+
* Imports an HTTP API by importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST APIs.
|
|
4584
5476
|
*
|
|
4585
5477
|
* @param request - ImportHttpApiRequest
|
|
4586
5478
|
* @returns ImportHttpApiResponse
|
|
@@ -4590,6 +5482,48 @@ class Client extends openapi_core_1.default {
|
|
|
4590
5482
|
let headers = {};
|
|
4591
5483
|
return await this.importHttpApiWithOptions(request, headers, runtime);
|
|
4592
5484
|
}
|
|
5485
|
+
/**
|
|
5486
|
+
* Initiates the Authorize step in the OpenID Connect (OIDC) logon process based on the OIDC provider identifier. The response body defined by the API operation contains only the requestId, code, and message fields, and does not declare the data business output parameter.
|
|
5487
|
+
*
|
|
5488
|
+
* @param request - InitiateOidcAuthRequest
|
|
5489
|
+
* @param headers - map
|
|
5490
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5491
|
+
* @returns InitiateOidcAuthResponse
|
|
5492
|
+
*/
|
|
5493
|
+
async initiateOidcAuthWithOptions(request, headers, runtime) {
|
|
5494
|
+
request.validate();
|
|
5495
|
+
let query = {};
|
|
5496
|
+
if (!$dara.isNull(request.provider)) {
|
|
5497
|
+
query["provider"] = request.provider;
|
|
5498
|
+
}
|
|
5499
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5500
|
+
headers: headers,
|
|
5501
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5502
|
+
});
|
|
5503
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5504
|
+
action: "InitiateOidcAuth",
|
|
5505
|
+
version: "2024-03-27",
|
|
5506
|
+
protocol: "HTTPS",
|
|
5507
|
+
pathname: `/himarket/v1/oidc/authorize`,
|
|
5508
|
+
method: "GET",
|
|
5509
|
+
authType: "AK",
|
|
5510
|
+
style: "ROA",
|
|
5511
|
+
reqBodyType: "json",
|
|
5512
|
+
bodyType: "json",
|
|
5513
|
+
});
|
|
5514
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InitiateOidcAuthResponse({}));
|
|
5515
|
+
}
|
|
5516
|
+
/**
|
|
5517
|
+
* Initiates the Authorize step in the OpenID Connect (OIDC) logon process based on the OIDC provider identifier. The response body defined by the API operation contains only the requestId, code, and message fields, and does not declare the data business output parameter.
|
|
5518
|
+
*
|
|
5519
|
+
* @param request - InitiateOidcAuthRequest
|
|
5520
|
+
* @returns InitiateOidcAuthResponse
|
|
5521
|
+
*/
|
|
5522
|
+
async initiateOidcAuth(request) {
|
|
5523
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5524
|
+
let headers = {};
|
|
5525
|
+
return await this.initiateOidcAuthWithOptions(request, headers, runtime);
|
|
5526
|
+
}
|
|
4593
5527
|
/**
|
|
4594
5528
|
* Installs a plug-in.
|
|
4595
5529
|
*
|
|
@@ -4636,7 +5570,7 @@ class Client extends openapi_core_1.default {
|
|
|
4636
5570
|
return await this.installPluginWithOptions(request, headers, runtime);
|
|
4637
5571
|
}
|
|
4638
5572
|
/**
|
|
4639
|
-
*
|
|
5573
|
+
* Calls an AI agent.
|
|
4640
5574
|
*
|
|
4641
5575
|
* @param request - InvokeAIAgentRequest
|
|
4642
5576
|
* @param headers - map
|
|
@@ -4706,7 +5640,7 @@ class Client extends openapi_core_1.default {
|
|
|
4706
5640
|
});
|
|
4707
5641
|
}
|
|
4708
5642
|
/**
|
|
4709
|
-
*
|
|
5643
|
+
* Calls an AI agent.
|
|
4710
5644
|
*
|
|
4711
5645
|
* @param request - InvokeAIAgentRequest
|
|
4712
5646
|
* @param headers - map
|
|
@@ -4749,7 +5683,7 @@ class Client extends openapi_core_1.default {
|
|
|
4749
5683
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InvokeAIAgentResponse({}));
|
|
4750
5684
|
}
|
|
4751
5685
|
/**
|
|
4752
|
-
*
|
|
5686
|
+
* Calls an AI agent.
|
|
4753
5687
|
*
|
|
4754
5688
|
* @param request - InvokeAIAgentRequest
|
|
4755
5689
|
* @returns InvokeAIAgentResponse
|
|
@@ -4760,7 +5694,7 @@ class Client extends openapi_core_1.default {
|
|
|
4760
5694
|
return await this.invokeAIAgentWithOptions(request, headers, runtime);
|
|
4761
5695
|
}
|
|
4762
5696
|
/**
|
|
4763
|
-
* Queries
|
|
5697
|
+
* Queries a list of AI model cards.
|
|
4764
5698
|
*
|
|
4765
5699
|
* @param request - ListAiModelCardsRequest
|
|
4766
5700
|
* @param headers - map
|
|
@@ -4800,7 +5734,7 @@ class Client extends openapi_core_1.default {
|
|
|
4800
5734
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAiModelCardsResponse({}));
|
|
4801
5735
|
}
|
|
4802
5736
|
/**
|
|
4803
|
-
* Queries
|
|
5737
|
+
* Queries a list of AI model cards.
|
|
4804
5738
|
*
|
|
4805
5739
|
* @param request - ListAiModelCardsRequest
|
|
4806
5740
|
* @returns ListAiModelCardsResponse
|
|
@@ -4862,7 +5796,52 @@ class Client extends openapi_core_1.default {
|
|
|
4862
5796
|
return await this.listAiModelProvidersWithOptions(request, headers, runtime);
|
|
4863
5797
|
}
|
|
4864
5798
|
/**
|
|
4865
|
-
*
|
|
5799
|
+
* Queries the list of field templates by using paging and returns the template ID, corresponding API request path, and applicable protocol for each template record.
|
|
5800
|
+
*
|
|
5801
|
+
* @param request - ListApiPathFieldTemplatesRequest
|
|
5802
|
+
* @param headers - map
|
|
5803
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5804
|
+
* @returns ListApiPathFieldTemplatesResponse
|
|
5805
|
+
*/
|
|
5806
|
+
async listApiPathFieldTemplatesWithOptions(request, headers, runtime) {
|
|
5807
|
+
request.validate();
|
|
5808
|
+
let query = {};
|
|
5809
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
5810
|
+
query["pageNumber"] = request.pageNumber;
|
|
5811
|
+
}
|
|
5812
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
5813
|
+
query["pageSize"] = request.pageSize;
|
|
5814
|
+
}
|
|
5815
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5816
|
+
headers: headers,
|
|
5817
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5818
|
+
});
|
|
5819
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5820
|
+
action: "ListApiPathFieldTemplates",
|
|
5821
|
+
version: "2024-03-27",
|
|
5822
|
+
protocol: "HTTPS",
|
|
5823
|
+
pathname: `/v1/api-path-fields/templates`,
|
|
5824
|
+
method: "GET",
|
|
5825
|
+
authType: "AK",
|
|
5826
|
+
style: "ROA",
|
|
5827
|
+
reqBodyType: "json",
|
|
5828
|
+
bodyType: "json",
|
|
5829
|
+
});
|
|
5830
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApiPathFieldTemplatesResponse({}));
|
|
5831
|
+
}
|
|
5832
|
+
/**
|
|
5833
|
+
* Queries the list of field templates by using paging and returns the template ID, corresponding API request path, and applicable protocol for each template record.
|
|
5834
|
+
*
|
|
5835
|
+
* @param request - ListApiPathFieldTemplatesRequest
|
|
5836
|
+
* @returns ListApiPathFieldTemplatesResponse
|
|
5837
|
+
*/
|
|
5838
|
+
async listApiPathFieldTemplates(request) {
|
|
5839
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5840
|
+
let headers = {};
|
|
5841
|
+
return await this.listApiPathFieldTemplatesWithOptions(request, headers, runtime);
|
|
5842
|
+
}
|
|
5843
|
+
/**
|
|
5844
|
+
* Queries a list of batch export tasks.
|
|
4866
5845
|
*
|
|
4867
5846
|
* @param request - ListBatchExportTasksRequest
|
|
4868
5847
|
* @param headers - map
|
|
@@ -4914,7 +5893,7 @@ class Client extends openapi_core_1.default {
|
|
|
4914
5893
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBatchExportTasksResponse({}));
|
|
4915
5894
|
}
|
|
4916
5895
|
/**
|
|
4917
|
-
*
|
|
5896
|
+
* Queries a list of batch export tasks.
|
|
4918
5897
|
*
|
|
4919
5898
|
* @param request - ListBatchExportTasksRequest
|
|
4920
5899
|
* @returns ListBatchExportTasksResponse
|
|
@@ -4925,7 +5904,58 @@ class Client extends openapi_core_1.default {
|
|
|
4925
5904
|
return await this.listBatchExportTasksWithOptions(request, headers, runtime);
|
|
4926
5905
|
}
|
|
4927
5906
|
/**
|
|
4928
|
-
*
|
|
5907
|
+
* Performs a paged query on the list of HiMarket chat sessions. For each session, the response returns the session ID, name, conversation type, and associated API products. The response also returns the paging page number, paging size, and total count.
|
|
5908
|
+
*
|
|
5909
|
+
* @param request - ListChatSessionsRequest
|
|
5910
|
+
* @param headers - map
|
|
5911
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5912
|
+
* @returns ListChatSessionsResponse
|
|
5913
|
+
*/
|
|
5914
|
+
async listChatSessionsWithOptions(request, headers, runtime) {
|
|
5915
|
+
request.validate();
|
|
5916
|
+
let query = {};
|
|
5917
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
5918
|
+
query["maxResults"] = request.maxResults;
|
|
5919
|
+
}
|
|
5920
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
5921
|
+
query["nextToken"] = request.nextToken;
|
|
5922
|
+
}
|
|
5923
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
5924
|
+
query["pageNumber"] = request.pageNumber;
|
|
5925
|
+
}
|
|
5926
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
5927
|
+
query["pageSize"] = request.pageSize;
|
|
5928
|
+
}
|
|
5929
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5930
|
+
headers: headers,
|
|
5931
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5932
|
+
});
|
|
5933
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5934
|
+
action: "ListChatSessions",
|
|
5935
|
+
version: "2024-03-27",
|
|
5936
|
+
protocol: "HTTPS",
|
|
5937
|
+
pathname: `/himarket/v1/sessions`,
|
|
5938
|
+
method: "GET",
|
|
5939
|
+
authType: "AK",
|
|
5940
|
+
style: "ROA",
|
|
5941
|
+
reqBodyType: "json",
|
|
5942
|
+
bodyType: "json",
|
|
5943
|
+
});
|
|
5944
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatSessionsResponse({}));
|
|
5945
|
+
}
|
|
5946
|
+
/**
|
|
5947
|
+
* Performs a paged query on the list of HiMarket chat sessions. For each session, the response returns the session ID, name, conversation type, and associated API products. The response also returns the paging page number, paging size, and total count.
|
|
5948
|
+
*
|
|
5949
|
+
* @param request - ListChatSessionsRequest
|
|
5950
|
+
* @returns ListChatSessionsResponse
|
|
5951
|
+
*/
|
|
5952
|
+
async listChatSessions(request) {
|
|
5953
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5954
|
+
let headers = {};
|
|
5955
|
+
return await this.listChatSessionsWithOptions(request, headers, runtime);
|
|
5956
|
+
}
|
|
5957
|
+
/**
|
|
5958
|
+
* Retrieves the list of consumer authorization rules.
|
|
4929
5959
|
*
|
|
4930
5960
|
* @param request - ListConsumerAuthorizationRulesRequest
|
|
4931
5961
|
* @param headers - map
|
|
@@ -4962,7 +5992,7 @@ class Client extends openapi_core_1.default {
|
|
|
4962
5992
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerAuthorizationRulesResponse({}));
|
|
4963
5993
|
}
|
|
4964
5994
|
/**
|
|
4965
|
-
* Retrieves
|
|
5995
|
+
* Retrieves the list of consumer authorization rules.
|
|
4966
5996
|
*
|
|
4967
5997
|
* @param request - ListConsumerAuthorizationRulesRequest
|
|
4968
5998
|
* @returns ListConsumerAuthorizationRulesResponse
|
|
@@ -5021,10 +6051,10 @@ class Client extends openapi_core_1.default {
|
|
|
5021
6051
|
return await this.listConsumerGroupConsumersWithOptions(consumerGroupId, request, headers, runtime);
|
|
5022
6052
|
}
|
|
5023
6053
|
/**
|
|
5024
|
-
*
|
|
6054
|
+
* Queries the list of quota throttling rules for a consumer group.
|
|
5025
6055
|
*
|
|
5026
6056
|
* @remarks
|
|
5027
|
-
*
|
|
6057
|
+
* Queries the quota rules directly bound to a specified consumer group. Rules individually bound to consumers within the group are not included. An empty list is returned if no rules are directly bound.
|
|
5028
6058
|
*
|
|
5029
6059
|
* @param request - ListConsumerGroupQuotaRulesRequest
|
|
5030
6060
|
* @param headers - map
|
|
@@ -5064,10 +6094,10 @@ class Client extends openapi_core_1.default {
|
|
|
5064
6094
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerGroupQuotaRulesResponse({}));
|
|
5065
6095
|
}
|
|
5066
6096
|
/**
|
|
5067
|
-
*
|
|
6097
|
+
* Queries the list of quota throttling rules for a consumer group.
|
|
5068
6098
|
*
|
|
5069
6099
|
* @remarks
|
|
5070
|
-
*
|
|
6100
|
+
* Queries the quota rules directly bound to a specified consumer group. Rules individually bound to consumers within the group are not included. An empty list is returned if no rules are directly bound.
|
|
5071
6101
|
*
|
|
5072
6102
|
* @param request - ListConsumerGroupQuotaRulesRequest
|
|
5073
6103
|
* @returns ListConsumerGroupQuotaRulesResponse
|
|
@@ -5180,7 +6210,7 @@ class Client extends openapi_core_1.default {
|
|
|
5180
6210
|
return await this.listConsumerQuotaRulesWithOptions(consumerId, request, headers, runtime);
|
|
5181
6211
|
}
|
|
5182
6212
|
/**
|
|
5183
|
-
* Retrieves a list of consumers.
|
|
6213
|
+
* Retrieves a list of API consumers.
|
|
5184
6214
|
*
|
|
5185
6215
|
* @param request - ListConsumersRequest
|
|
5186
6216
|
* @param headers - map
|
|
@@ -5220,7 +6250,7 @@ class Client extends openapi_core_1.default {
|
|
|
5220
6250
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumersResponse({}));
|
|
5221
6251
|
}
|
|
5222
6252
|
/**
|
|
5223
|
-
* Retrieves a list of consumers.
|
|
6253
|
+
* Retrieves a list of API consumers.
|
|
5224
6254
|
*
|
|
5225
6255
|
* @param request - ListConsumersRequest
|
|
5226
6256
|
* @returns ListConsumersResponse
|
|
@@ -5231,27 +6261,87 @@ class Client extends openapi_core_1.default {
|
|
|
5231
6261
|
return await this.listConsumersWithOptions(request, headers, runtime);
|
|
5232
6262
|
}
|
|
5233
6263
|
/**
|
|
5234
|
-
*
|
|
6264
|
+
* Performs a paging query on the HiMarket developer list. You can filter the results by portal ID, username, and developer status. The response includes the developer ID, portal ID, username, and status.
|
|
5235
6265
|
*
|
|
5236
|
-
* @param request -
|
|
6266
|
+
* @param request - ListDevelopersRequest
|
|
5237
6267
|
* @param headers - map
|
|
5238
6268
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5239
|
-
* @returns
|
|
6269
|
+
* @returns ListDevelopersResponse
|
|
5240
6270
|
*/
|
|
5241
|
-
async
|
|
6271
|
+
async listDevelopersWithOptions(request, headers, runtime) {
|
|
5242
6272
|
request.validate();
|
|
5243
6273
|
let query = {};
|
|
5244
|
-
if (!$dara.isNull(request.
|
|
5245
|
-
query["
|
|
5246
|
-
}
|
|
5247
|
-
if (!$dara.isNull(request.gatewayId)) {
|
|
5248
|
-
query["gatewayId"] = request.gatewayId;
|
|
5249
|
-
}
|
|
5250
|
-
if (!$dara.isNull(request.gatewayType)) {
|
|
5251
|
-
query["gatewayType"] = request.gatewayType;
|
|
6274
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
6275
|
+
query["maxResults"] = request.maxResults;
|
|
5252
6276
|
}
|
|
5253
|
-
if (!$dara.isNull(request.
|
|
5254
|
-
query["
|
|
6277
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
6278
|
+
query["nextToken"] = request.nextToken;
|
|
6279
|
+
}
|
|
6280
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6281
|
+
query["pageNumber"] = request.pageNumber;
|
|
6282
|
+
}
|
|
6283
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6284
|
+
query["pageSize"] = request.pageSize;
|
|
6285
|
+
}
|
|
6286
|
+
if (!$dara.isNull(request.portalId)) {
|
|
6287
|
+
query["portalId"] = request.portalId;
|
|
6288
|
+
}
|
|
6289
|
+
if (!$dara.isNull(request.status)) {
|
|
6290
|
+
query["status"] = request.status;
|
|
6291
|
+
}
|
|
6292
|
+
if (!$dara.isNull(request.username)) {
|
|
6293
|
+
query["username"] = request.username;
|
|
6294
|
+
}
|
|
6295
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6296
|
+
headers: headers,
|
|
6297
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6298
|
+
});
|
|
6299
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6300
|
+
action: "ListDevelopers",
|
|
6301
|
+
version: "2024-03-27",
|
|
6302
|
+
protocol: "HTTPS",
|
|
6303
|
+
pathname: `/himarket/v1/developers`,
|
|
6304
|
+
method: "GET",
|
|
6305
|
+
authType: "AK",
|
|
6306
|
+
style: "ROA",
|
|
6307
|
+
reqBodyType: "json",
|
|
6308
|
+
bodyType: "json",
|
|
6309
|
+
});
|
|
6310
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDevelopersResponse({}));
|
|
6311
|
+
}
|
|
6312
|
+
/**
|
|
6313
|
+
* Performs a paging query on the HiMarket developer list. You can filter the results by portal ID, username, and developer status. The response includes the developer ID, portal ID, username, and status.
|
|
6314
|
+
*
|
|
6315
|
+
* @param request - ListDevelopersRequest
|
|
6316
|
+
* @returns ListDevelopersResponse
|
|
6317
|
+
*/
|
|
6318
|
+
async listDevelopers(request) {
|
|
6319
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6320
|
+
let headers = {};
|
|
6321
|
+
return await this.listDevelopersWithOptions(request, headers, runtime);
|
|
6322
|
+
}
|
|
6323
|
+
/**
|
|
6324
|
+
* Queries a list of domain names.
|
|
6325
|
+
*
|
|
6326
|
+
* @param request - ListDomainsRequest
|
|
6327
|
+
* @param headers - map
|
|
6328
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6329
|
+
* @returns ListDomainsResponse
|
|
6330
|
+
*/
|
|
6331
|
+
async listDomainsWithOptions(request, headers, runtime) {
|
|
6332
|
+
request.validate();
|
|
6333
|
+
let query = {};
|
|
6334
|
+
if (!$dara.isNull(request.domainScope)) {
|
|
6335
|
+
query["domainScope"] = request.domainScope;
|
|
6336
|
+
}
|
|
6337
|
+
if (!$dara.isNull(request.gatewayId)) {
|
|
6338
|
+
query["gatewayId"] = request.gatewayId;
|
|
6339
|
+
}
|
|
6340
|
+
if (!$dara.isNull(request.gatewayType)) {
|
|
6341
|
+
query["gatewayType"] = request.gatewayType;
|
|
6342
|
+
}
|
|
6343
|
+
if (!$dara.isNull(request.nameLike)) {
|
|
6344
|
+
query["nameLike"] = request.nameLike;
|
|
5255
6345
|
}
|
|
5256
6346
|
if (!$dara.isNull(request.pageNumber)) {
|
|
5257
6347
|
query["pageNumber"] = request.pageNumber;
|
|
@@ -5419,7 +6509,7 @@ class Client extends openapi_core_1.default {
|
|
|
5419
6509
|
return await this.listExternalServicesWithOptions(gatewayId, request, headers, runtime);
|
|
5420
6510
|
}
|
|
5421
6511
|
/**
|
|
5422
|
-
* Queries the
|
|
6512
|
+
* Queries the list of security groups that can be authorized for a gateway.
|
|
5423
6513
|
*
|
|
5424
6514
|
* @param request - ListGatewayAuthorizableSecurityGroupsRequest
|
|
5425
6515
|
* @param headers - map
|
|
@@ -5450,7 +6540,7 @@ class Client extends openapi_core_1.default {
|
|
|
5450
6540
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayAuthorizableSecurityGroupsResponse({}));
|
|
5451
6541
|
}
|
|
5452
6542
|
/**
|
|
5453
|
-
* Queries the
|
|
6543
|
+
* Queries the list of security groups that can be authorized for a gateway.
|
|
5454
6544
|
*
|
|
5455
6545
|
* @param request - ListGatewayAuthorizableSecurityGroupsRequest
|
|
5456
6546
|
* @returns ListGatewayAuthorizableSecurityGroupsResponse
|
|
@@ -5461,7 +6551,7 @@ class Client extends openapi_core_1.default {
|
|
|
5461
6551
|
return await this.listGatewayAuthorizableSecurityGroupsWithOptions(gatewayId, request, headers, runtime);
|
|
5462
6552
|
}
|
|
5463
6553
|
/**
|
|
5464
|
-
* Queries the security group rules
|
|
6554
|
+
* Queries the list of security group rules authorized for a gateway.
|
|
5465
6555
|
*
|
|
5466
6556
|
* @param request - ListGatewayAuthorizedSecurityGroupRulesRequest
|
|
5467
6557
|
* @param headers - map
|
|
@@ -5487,7 +6577,7 @@ class Client extends openapi_core_1.default {
|
|
|
5487
6577
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayAuthorizedSecurityGroupRulesResponse({}));
|
|
5488
6578
|
}
|
|
5489
6579
|
/**
|
|
5490
|
-
* Queries the security group rules
|
|
6580
|
+
* Queries the list of security group rules authorized for a gateway.
|
|
5491
6581
|
*
|
|
5492
6582
|
* @param request - ListGatewayAuthorizedSecurityGroupRulesRequest
|
|
5493
6583
|
* @returns ListGatewayAuthorizedSecurityGroupRulesResponse
|
|
@@ -5498,7 +6588,7 @@ class Client extends openapi_core_1.default {
|
|
|
5498
6588
|
return await this.listGatewayAuthorizedSecurityGroupRulesWithOptions(gatewayId, request, headers, runtime);
|
|
5499
6589
|
}
|
|
5500
6590
|
/**
|
|
5501
|
-
*
|
|
6591
|
+
* Lists gateway error access logs.
|
|
5502
6592
|
*
|
|
5503
6593
|
* @param request - ListGatewayErrorAccessLogsRequest
|
|
5504
6594
|
* @param headers - map
|
|
@@ -5547,7 +6637,7 @@ class Client extends openapi_core_1.default {
|
|
|
5547
6637
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayErrorAccessLogsResponse({}));
|
|
5548
6638
|
}
|
|
5549
6639
|
/**
|
|
5550
|
-
*
|
|
6640
|
+
* Lists gateway error access logs.
|
|
5551
6641
|
*
|
|
5552
6642
|
* @param request - ListGatewayErrorAccessLogsRequest
|
|
5553
6643
|
* @returns ListGatewayErrorAccessLogsResponse
|
|
@@ -5591,7 +6681,7 @@ class Client extends openapi_core_1.default {
|
|
|
5591
6681
|
return await this.listGatewayFeaturesWithOptions(gatewayId, headers, runtime);
|
|
5592
6682
|
}
|
|
5593
6683
|
/**
|
|
5594
|
-
*
|
|
6684
|
+
* Retrieves the list of load balancers for a gateway.
|
|
5595
6685
|
*
|
|
5596
6686
|
* @param request - ListGatewayLoadBalancersRequest
|
|
5597
6687
|
* @param headers - map
|
|
@@ -5637,7 +6727,7 @@ class Client extends openapi_core_1.default {
|
|
|
5637
6727
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayLoadBalancersResponse({}));
|
|
5638
6728
|
}
|
|
5639
6729
|
/**
|
|
5640
|
-
*
|
|
6730
|
+
* Retrieves the list of load balancers for a gateway.
|
|
5641
6731
|
*
|
|
5642
6732
|
* @param request - ListGatewayLoadBalancersRequest
|
|
5643
6733
|
* @returns ListGatewayLoadBalancersResponse
|
|
@@ -5648,10 +6738,10 @@ class Client extends openapi_core_1.default {
|
|
|
5648
6738
|
return await this.listGatewayLoadBalancersWithOptions(gatewayId, request, headers, runtime);
|
|
5649
6739
|
}
|
|
5650
6740
|
/**
|
|
5651
|
-
* Queries the
|
|
6741
|
+
* Queries the FinOps quota rules associated with a gateway.
|
|
5652
6742
|
*
|
|
5653
6743
|
* @remarks
|
|
5654
|
-
*
|
|
6744
|
+
* This operation queries the FinOps quota rules associated with a gateway.
|
|
5655
6745
|
*
|
|
5656
6746
|
* @param request - ListGatewayQuotaRulesRequest
|
|
5657
6747
|
* @param headers - map
|
|
@@ -5694,10 +6784,10 @@ class Client extends openapi_core_1.default {
|
|
|
5694
6784
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayQuotaRulesResponse({}));
|
|
5695
6785
|
}
|
|
5696
6786
|
/**
|
|
5697
|
-
* Queries the
|
|
6787
|
+
* Queries the FinOps quota rules associated with a gateway.
|
|
5698
6788
|
*
|
|
5699
6789
|
* @remarks
|
|
5700
|
-
*
|
|
6790
|
+
* This operation queries the FinOps quota rules associated with a gateway.
|
|
5701
6791
|
*
|
|
5702
6792
|
* @param request - ListGatewayQuotaRulesRequest
|
|
5703
6793
|
* @returns ListGatewayQuotaRulesResponse
|
|
@@ -5779,7 +6869,7 @@ class Client extends openapi_core_1.default {
|
|
|
5779
6869
|
return await this.listGatewaysWithOptions(request, headers, runtime);
|
|
5780
6870
|
}
|
|
5781
6871
|
/**
|
|
5782
|
-
*
|
|
6872
|
+
* Retrieves global policies.
|
|
5783
6873
|
*
|
|
5784
6874
|
* @param request - ListGlobalPoliciesRequest
|
|
5785
6875
|
* @param headers - map
|
|
@@ -5846,7 +6936,7 @@ class Client extends openapi_core_1.default {
|
|
|
5846
6936
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGlobalPoliciesResponse({}));
|
|
5847
6937
|
}
|
|
5848
6938
|
/**
|
|
5849
|
-
*
|
|
6939
|
+
* Retrieves global policies.
|
|
5850
6940
|
*
|
|
5851
6941
|
* @param request - ListGlobalPoliciesRequest
|
|
5852
6942
|
* @returns ListGlobalPoliciesResponse
|
|
@@ -5857,7 +6947,121 @@ class Client extends openapi_core_1.default {
|
|
|
5857
6947
|
return await this.listGlobalPoliciesWithOptions(request, headers, runtime);
|
|
5858
6948
|
}
|
|
5859
6949
|
/**
|
|
5860
|
-
*
|
|
6950
|
+
* Performs a paged query to retrieve the API product subscriptions of a specified HiMarket consumer. You can filter the paging results by status. Each subscription record includes the subscription ID, the ID, name, and type of the subscribed API product, the consumer ID and name, and the subscription status.
|
|
6951
|
+
*
|
|
6952
|
+
* @param request - ListHiMarketConsumerSubscriptionsRequest
|
|
6953
|
+
* @param headers - map
|
|
6954
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6955
|
+
* @returns ListHiMarketConsumerSubscriptionsResponse
|
|
6956
|
+
*/
|
|
6957
|
+
async listHiMarketConsumerSubscriptionsWithOptions(consumerId, request, headers, runtime) {
|
|
6958
|
+
request.validate();
|
|
6959
|
+
let query = {};
|
|
6960
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
6961
|
+
query["maxResults"] = request.maxResults;
|
|
6962
|
+
}
|
|
6963
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
6964
|
+
query["nextToken"] = request.nextToken;
|
|
6965
|
+
}
|
|
6966
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6967
|
+
query["pageNumber"] = request.pageNumber;
|
|
6968
|
+
}
|
|
6969
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6970
|
+
query["pageSize"] = request.pageSize;
|
|
6971
|
+
}
|
|
6972
|
+
if (!$dara.isNull(request.status)) {
|
|
6973
|
+
query["status"] = request.status;
|
|
6974
|
+
}
|
|
6975
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6976
|
+
headers: headers,
|
|
6977
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6978
|
+
});
|
|
6979
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6980
|
+
action: "ListHiMarketConsumerSubscriptions",
|
|
6981
|
+
version: "2024-03-27",
|
|
6982
|
+
protocol: "HTTPS",
|
|
6983
|
+
pathname: `/himarket/v1/consumers/${$dara.URL.percentEncode(consumerId)}/subscriptions`,
|
|
6984
|
+
method: "GET",
|
|
6985
|
+
authType: "AK",
|
|
6986
|
+
style: "ROA",
|
|
6987
|
+
reqBodyType: "json",
|
|
6988
|
+
bodyType: "json",
|
|
6989
|
+
});
|
|
6990
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHiMarketConsumerSubscriptionsResponse({}));
|
|
6991
|
+
}
|
|
6992
|
+
/**
|
|
6993
|
+
* Performs a paged query to retrieve the API product subscriptions of a specified HiMarket consumer. You can filter the paging results by status. Each subscription record includes the subscription ID, the ID, name, and type of the subscribed API product, the consumer ID and name, and the subscription status.
|
|
6994
|
+
*
|
|
6995
|
+
* @param request - ListHiMarketConsumerSubscriptionsRequest
|
|
6996
|
+
* @returns ListHiMarketConsumerSubscriptionsResponse
|
|
6997
|
+
*/
|
|
6998
|
+
async listHiMarketConsumerSubscriptions(consumerId, request) {
|
|
6999
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7000
|
+
let headers = {};
|
|
7001
|
+
return await this.listHiMarketConsumerSubscriptionsWithOptions(consumerId, request, headers, runtime);
|
|
7002
|
+
}
|
|
7003
|
+
/**
|
|
7004
|
+
* Performs a paged query on the HiMarket consumer list. You can filter the results by consumer name keyword, portal ID, or developer ID. The paging result includes the consumer ID, name, description, and whether each consumer is a primary consumer.
|
|
7005
|
+
*
|
|
7006
|
+
* @param request - ListHiMarketConsumersRequest
|
|
7007
|
+
* @param headers - map
|
|
7008
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7009
|
+
* @returns ListHiMarketConsumersResponse
|
|
7010
|
+
*/
|
|
7011
|
+
async listHiMarketConsumersWithOptions(request, headers, runtime) {
|
|
7012
|
+
request.validate();
|
|
7013
|
+
let query = {};
|
|
7014
|
+
if (!$dara.isNull(request.developerId)) {
|
|
7015
|
+
query["developerId"] = request.developerId;
|
|
7016
|
+
}
|
|
7017
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
7018
|
+
query["maxResults"] = request.maxResults;
|
|
7019
|
+
}
|
|
7020
|
+
if (!$dara.isNull(request.name)) {
|
|
7021
|
+
query["name"] = request.name;
|
|
7022
|
+
}
|
|
7023
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
7024
|
+
query["nextToken"] = request.nextToken;
|
|
7025
|
+
}
|
|
7026
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
7027
|
+
query["pageNumber"] = request.pageNumber;
|
|
7028
|
+
}
|
|
7029
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
7030
|
+
query["pageSize"] = request.pageSize;
|
|
7031
|
+
}
|
|
7032
|
+
if (!$dara.isNull(request.portalId)) {
|
|
7033
|
+
query["portalId"] = request.portalId;
|
|
7034
|
+
}
|
|
7035
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7036
|
+
headers: headers,
|
|
7037
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7038
|
+
});
|
|
7039
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7040
|
+
action: "ListHiMarketConsumers",
|
|
7041
|
+
version: "2024-03-27",
|
|
7042
|
+
protocol: "HTTPS",
|
|
7043
|
+
pathname: `/himarket/v1/consumers`,
|
|
7044
|
+
method: "GET",
|
|
7045
|
+
authType: "AK",
|
|
7046
|
+
style: "ROA",
|
|
7047
|
+
reqBodyType: "json",
|
|
7048
|
+
bodyType: "json",
|
|
7049
|
+
});
|
|
7050
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHiMarketConsumersResponse({}));
|
|
7051
|
+
}
|
|
7052
|
+
/**
|
|
7053
|
+
* Performs a paged query on the HiMarket consumer list. You can filter the results by consumer name keyword, portal ID, or developer ID. The paging result includes the consumer ID, name, description, and whether each consumer is a primary consumer.
|
|
7054
|
+
*
|
|
7055
|
+
* @param request - ListHiMarketConsumersRequest
|
|
7056
|
+
* @returns ListHiMarketConsumersResponse
|
|
7057
|
+
*/
|
|
7058
|
+
async listHiMarketConsumers(request) {
|
|
7059
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7060
|
+
let headers = {};
|
|
7061
|
+
return await this.listHiMarketConsumersWithOptions(request, headers, runtime);
|
|
7062
|
+
}
|
|
7063
|
+
/**
|
|
7064
|
+
* Retrieves a list of API operations.
|
|
5861
7065
|
*
|
|
5862
7066
|
* @param request - ListHttpApiOperationsRequest
|
|
5863
7067
|
* @param headers - map
|
|
@@ -5924,7 +7128,7 @@ class Client extends openapi_core_1.default {
|
|
|
5924
7128
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHttpApiOperationsResponse({}));
|
|
5925
7129
|
}
|
|
5926
7130
|
/**
|
|
5927
|
-
* Retrieves
|
|
7131
|
+
* Retrieves a list of API operations.
|
|
5928
7132
|
*
|
|
5929
7133
|
* @param request - ListHttpApiOperationsRequest
|
|
5930
7134
|
* @returns ListHttpApiOperationsResponse
|
|
@@ -6109,7 +7313,7 @@ class Client extends openapi_core_1.default {
|
|
|
6109
7313
|
return await this.listHttpApisWithOptions(request, headers, runtime);
|
|
6110
7314
|
}
|
|
6111
7315
|
/**
|
|
6112
|
-
*
|
|
7316
|
+
* Retrieves gateways on which a plugin can be installed.
|
|
6113
7317
|
*
|
|
6114
7318
|
* @param request - ListInstallableGatewaysRequest
|
|
6115
7319
|
* @param headers - map
|
|
@@ -6146,7 +7350,7 @@ class Client extends openapi_core_1.default {
|
|
|
6146
7350
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstallableGatewaysResponse({}));
|
|
6147
7351
|
}
|
|
6148
7352
|
/**
|
|
6149
|
-
*
|
|
7353
|
+
* Retrieves gateways on which a plugin can be installed.
|
|
6150
7354
|
*
|
|
6151
7355
|
* @param request - ListInstallableGatewaysRequest
|
|
6152
7356
|
* @returns ListInstallableGatewaysResponse
|
|
@@ -6157,7 +7361,7 @@ class Client extends openapi_core_1.default {
|
|
|
6157
7361
|
return await this.listInstallableGatewaysWithOptions(pluginClassId, request, headers, runtime);
|
|
6158
7362
|
}
|
|
6159
7363
|
/**
|
|
6160
|
-
* Queries the
|
|
7364
|
+
* Queries the list of clusters that can be added as Kubernetes sources.
|
|
6161
7365
|
*
|
|
6162
7366
|
* @param request - ListK8sClusterSourcesRequest
|
|
6163
7367
|
* @param headers - map
|
|
@@ -6188,7 +7392,7 @@ class Client extends openapi_core_1.default {
|
|
|
6188
7392
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListK8sClusterSourcesResponse({}));
|
|
6189
7393
|
}
|
|
6190
7394
|
/**
|
|
6191
|
-
* Queries the
|
|
7395
|
+
* Queries the list of clusters that can be added as Kubernetes sources.
|
|
6192
7396
|
*
|
|
6193
7397
|
* @param request - ListK8sClusterSourcesRequest
|
|
6194
7398
|
* @returns ListK8sClusterSourcesResponse
|
|
@@ -6199,7 +7403,44 @@ class Client extends openapi_core_1.default {
|
|
|
6199
7403
|
return await this.listK8sClusterSourcesWithOptions(gatewayId, request, headers, runtime);
|
|
6200
7404
|
}
|
|
6201
7405
|
/**
|
|
6202
|
-
*
|
|
7406
|
+
* Queries the details of MCP tools included in an API product of the MCP Server type and returns a list of tools. Each tool contains three text members (name, title, and description) and four map structure members (inputSchema, outputSchema, annotations, and meta).
|
|
7407
|
+
*
|
|
7408
|
+
* @param request - ListMcpProductToolsRequest
|
|
7409
|
+
* @param headers - map
|
|
7410
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7411
|
+
* @returns ListMcpProductToolsResponse
|
|
7412
|
+
*/
|
|
7413
|
+
async listMcpProductToolsWithOptions(productId, request, headers, runtime) {
|
|
7414
|
+
request.validate();
|
|
7415
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7416
|
+
headers: headers,
|
|
7417
|
+
});
|
|
7418
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7419
|
+
action: "ListMcpProductTools",
|
|
7420
|
+
version: "2024-03-27",
|
|
7421
|
+
protocol: "HTTPS",
|
|
7422
|
+
pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/tools`,
|
|
7423
|
+
method: "GET",
|
|
7424
|
+
authType: "AK",
|
|
7425
|
+
style: "ROA",
|
|
7426
|
+
reqBodyType: "json",
|
|
7427
|
+
bodyType: "json",
|
|
7428
|
+
});
|
|
7429
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMcpProductToolsResponse({}));
|
|
7430
|
+
}
|
|
7431
|
+
/**
|
|
7432
|
+
* Queries the details of MCP tools included in an API product of the MCP Server type and returns a list of tools. Each tool contains three text members (name, title, and description) and four map structure members (inputSchema, outputSchema, annotations, and meta).
|
|
7433
|
+
*
|
|
7434
|
+
* @param request - ListMcpProductToolsRequest
|
|
7435
|
+
* @returns ListMcpProductToolsResponse
|
|
7436
|
+
*/
|
|
7437
|
+
async listMcpProductTools(productId, request) {
|
|
7438
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7439
|
+
let headers = {};
|
|
7440
|
+
return await this.listMcpProductToolsWithOptions(productId, request, headers, runtime);
|
|
7441
|
+
}
|
|
7442
|
+
/**
|
|
7443
|
+
* Retrieves a list of MCP servers.
|
|
6203
7444
|
*
|
|
6204
7445
|
* @remarks
|
|
6205
7446
|
* The operation supports creating multiple services.
|
|
@@ -6251,7 +7492,7 @@ class Client extends openapi_core_1.default {
|
|
|
6251
7492
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMcpServersResponse({}));
|
|
6252
7493
|
}
|
|
6253
7494
|
/**
|
|
6254
|
-
* Retrieves
|
|
7495
|
+
* Retrieves a list of MCP servers.
|
|
6255
7496
|
*
|
|
6256
7497
|
* @remarks
|
|
6257
7498
|
* The operation supports creating multiple services.
|
|
@@ -6265,7 +7506,7 @@ class Client extends openapi_core_1.default {
|
|
|
6265
7506
|
return await this.listMcpServersWithOptions(request, headers, runtime);
|
|
6266
7507
|
}
|
|
6267
7508
|
/**
|
|
6268
|
-
*
|
|
7509
|
+
* Lists migration tasks.
|
|
6269
7510
|
*
|
|
6270
7511
|
* @param request - ListMigrationTasksRequest
|
|
6271
7512
|
* @param headers - map
|
|
@@ -6299,7 +7540,7 @@ class Client extends openapi_core_1.default {
|
|
|
6299
7540
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMigrationTasksResponse({}));
|
|
6300
7541
|
}
|
|
6301
7542
|
/**
|
|
6302
|
-
*
|
|
7543
|
+
* Lists migration tasks.
|
|
6303
7544
|
*
|
|
6304
7545
|
* @param request - ListMigrationTasksRequest
|
|
6305
7546
|
* @returns ListMigrationTasksResponse
|
|
@@ -6310,7 +7551,49 @@ class Client extends openapi_core_1.default {
|
|
|
6310
7551
|
return await this.listMigrationTasksWithOptions(request, headers, runtime);
|
|
6311
7552
|
}
|
|
6312
7553
|
/**
|
|
6313
|
-
* Queries the
|
|
7554
|
+
* Queries a list of model cards and returns the model name, provider, and source identifier for each card, along with its features, pricing, meta, availablePaths, and snapshots structures. The only request parameter is the provider identifier.
|
|
7555
|
+
*
|
|
7556
|
+
* @param request - ListModelCardsRequest
|
|
7557
|
+
* @param headers - map
|
|
7558
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7559
|
+
* @returns ListModelCardsResponse
|
|
7560
|
+
*/
|
|
7561
|
+
async listModelCardsWithOptions(request, headers, runtime) {
|
|
7562
|
+
request.validate();
|
|
7563
|
+
let query = {};
|
|
7564
|
+
if (!$dara.isNull(request.provider)) {
|
|
7565
|
+
query["provider"] = request.provider;
|
|
7566
|
+
}
|
|
7567
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7568
|
+
headers: headers,
|
|
7569
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7570
|
+
});
|
|
7571
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7572
|
+
action: "ListModelCards",
|
|
7573
|
+
version: "2024-03-27",
|
|
7574
|
+
protocol: "HTTPS",
|
|
7575
|
+
pathname: `/v1/model-cards`,
|
|
7576
|
+
method: "GET",
|
|
7577
|
+
authType: "AK",
|
|
7578
|
+
style: "ROA",
|
|
7579
|
+
reqBodyType: "json",
|
|
7580
|
+
bodyType: "json",
|
|
7581
|
+
});
|
|
7582
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListModelCardsResponse({}));
|
|
7583
|
+
}
|
|
7584
|
+
/**
|
|
7585
|
+
* Queries a list of model cards and returns the model name, provider, and source identifier for each card, along with its features, pricing, meta, availablePaths, and snapshots structures. The only request parameter is the provider identifier.
|
|
7586
|
+
*
|
|
7587
|
+
* @param request - ListModelCardsRequest
|
|
7588
|
+
* @returns ListModelCardsResponse
|
|
7589
|
+
*/
|
|
7590
|
+
async listModelCards(request) {
|
|
7591
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7592
|
+
let headers = {};
|
|
7593
|
+
return await this.listModelCardsWithOptions(request, headers, runtime);
|
|
7594
|
+
}
|
|
7595
|
+
/**
|
|
7596
|
+
* Queries the list of instances that can be added as Nacos sources.
|
|
6314
7597
|
*
|
|
6315
7598
|
* @param request - ListMseNacosSourcesRequest
|
|
6316
7599
|
* @param headers - map
|
|
@@ -6336,7 +7619,7 @@ class Client extends openapi_core_1.default {
|
|
|
6336
7619
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMseNacosSourcesResponse({}));
|
|
6337
7620
|
}
|
|
6338
7621
|
/**
|
|
6339
|
-
* Queries the
|
|
7622
|
+
* Queries the list of instances that can be added as Nacos sources.
|
|
6340
7623
|
*
|
|
6341
7624
|
* @param request - ListMseNacosSourcesRequest
|
|
6342
7625
|
* @returns ListMseNacosSourcesResponse
|
|
@@ -6347,7 +7630,7 @@ class Client extends openapi_core_1.default {
|
|
|
6347
7630
|
return await this.listMseNacosSourcesWithOptions(gatewayId, request, headers, runtime);
|
|
6348
7631
|
}
|
|
6349
7632
|
/**
|
|
6350
|
-
* Retrieves the
|
|
7633
|
+
* Retrieves the list of plugin mounts.
|
|
6351
7634
|
*
|
|
6352
7635
|
* @param request - ListPluginAttachmentsRequest
|
|
6353
7636
|
* @param headers - map
|
|
@@ -6402,7 +7685,7 @@ class Client extends openapi_core_1.default {
|
|
|
6402
7685
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginAttachmentsResponse({}));
|
|
6403
7686
|
}
|
|
6404
7687
|
/**
|
|
6405
|
-
* Retrieves the
|
|
7688
|
+
* Retrieves the list of plugin mounts.
|
|
6406
7689
|
*
|
|
6407
7690
|
* @param request - ListPluginAttachmentsRequest
|
|
6408
7691
|
* @returns ListPluginAttachmentsResponse
|
|
@@ -6491,7 +7774,7 @@ class Client extends openapi_core_1.default {
|
|
|
6491
7774
|
return await this.listPluginClassesWithOptions(request, headers, runtime);
|
|
6492
7775
|
}
|
|
6493
7776
|
/**
|
|
6494
|
-
*
|
|
7777
|
+
* Queries the list of repositories and organization information for custom plugins hosted on Codeup. Before calling this operation, enable code hosting on Codeup, create organizations and repositories, and authorize API Gateway to access the Codeup account.
|
|
6495
7778
|
*
|
|
6496
7779
|
* @param request - ListPluginRepositoriesRequest
|
|
6497
7780
|
* @param headers - map
|
|
@@ -6517,7 +7800,7 @@ class Client extends openapi_core_1.default {
|
|
|
6517
7800
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginRepositoriesResponse({}));
|
|
6518
7801
|
}
|
|
6519
7802
|
/**
|
|
6520
|
-
*
|
|
7803
|
+
* Queries the list of repositories and organization information for custom plugins hosted on Codeup. Before calling this operation, enable code hosting on Codeup, create organizations and repositories, and authorize API Gateway to access the Codeup account.
|
|
6521
7804
|
*
|
|
6522
7805
|
* @param request - ListPluginRepositoriesRequest
|
|
6523
7806
|
* @returns ListPluginRepositoriesResponse
|
|
@@ -6528,7 +7811,7 @@ class Client extends openapi_core_1.default {
|
|
|
6528
7811
|
return await this.listPluginRepositoriesWithOptions(request, headers, runtime);
|
|
6529
7812
|
}
|
|
6530
7813
|
/**
|
|
6531
|
-
*
|
|
7814
|
+
* Retrieves the list of plugin WebIDE workspaces for the current user.
|
|
6532
7815
|
*
|
|
6533
7816
|
* @param request - ListPluginWorkspaceRequest
|
|
6534
7817
|
* @param headers - map
|
|
@@ -6559,7 +7842,7 @@ class Client extends openapi_core_1.default {
|
|
|
6559
7842
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginWorkspaceResponse({}));
|
|
6560
7843
|
}
|
|
6561
7844
|
/**
|
|
6562
|
-
*
|
|
7845
|
+
* Retrieves the list of plugin WebIDE workspaces for the current user.
|
|
6563
7846
|
*
|
|
6564
7847
|
* @param request - ListPluginWorkspaceRequest
|
|
6565
7848
|
* @returns ListPluginWorkspaceResponse
|
|
@@ -6570,7 +7853,7 @@ class Client extends openapi_core_1.default {
|
|
|
6570
7853
|
return await this.listPluginWorkspaceWithOptions(request, headers, runtime);
|
|
6571
7854
|
}
|
|
6572
7855
|
/**
|
|
6573
|
-
* Retrieves a list of
|
|
7856
|
+
* Retrieves a list of plug-ins.
|
|
6574
7857
|
*
|
|
6575
7858
|
* @param request - ListPluginsRequest
|
|
6576
7859
|
* @param headers - map
|
|
@@ -6628,7 +7911,7 @@ class Client extends openapi_core_1.default {
|
|
|
6628
7911
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginsResponse({}));
|
|
6629
7912
|
}
|
|
6630
7913
|
/**
|
|
6631
|
-
* Retrieves a list of
|
|
7914
|
+
* Retrieves a list of plug-ins.
|
|
6632
7915
|
*
|
|
6633
7916
|
* @param request - ListPluginsRequest
|
|
6634
7917
|
* @returns ListPluginsResponse
|
|
@@ -6756,70 +8039,73 @@ class Client extends openapi_core_1.default {
|
|
|
6756
8039
|
return await this.listPolicyClassesWithOptions(request, headers, runtime);
|
|
6757
8040
|
}
|
|
6758
8041
|
/**
|
|
6759
|
-
*
|
|
8042
|
+
* Performs a paged query to retrieve the list of published API products on a specified HiMarket developer portal. This paging operation returns a list where each item includes the publication record ID, API product ID, API product name, and API product type.
|
|
6760
8043
|
*
|
|
6761
|
-
* @param request -
|
|
8044
|
+
* @param request - ListPortalPublicationsRequest
|
|
6762
8045
|
* @param headers - map
|
|
6763
8046
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6764
|
-
* @returns
|
|
8047
|
+
* @returns ListPortalPublicationsResponse
|
|
6765
8048
|
*/
|
|
6766
|
-
async
|
|
8049
|
+
async listPortalPublicationsWithOptions(portalId, request, headers, runtime) {
|
|
6767
8050
|
request.validate();
|
|
6768
8051
|
let query = {};
|
|
6769
|
-
if (!$dara.isNull(request.maxResults)) {
|
|
6770
|
-
query["maxResults"] = request.maxResults;
|
|
6771
|
-
}
|
|
6772
|
-
if (!$dara.isNull(request.nextToken)) {
|
|
6773
|
-
query["nextToken"] = request.nextToken;
|
|
6774
|
-
}
|
|
6775
8052
|
if (!$dara.isNull(request.pageNumber)) {
|
|
6776
8053
|
query["pageNumber"] = request.pageNumber;
|
|
6777
8054
|
}
|
|
6778
8055
|
if (!$dara.isNull(request.pageSize)) {
|
|
6779
8056
|
query["pageSize"] = request.pageSize;
|
|
6780
8057
|
}
|
|
8058
|
+
if (!$dara.isNull(request.productName)) {
|
|
8059
|
+
query["productName"] = request.productName;
|
|
8060
|
+
}
|
|
6781
8061
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6782
8062
|
headers: headers,
|
|
6783
8063
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6784
8064
|
});
|
|
6785
8065
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6786
|
-
action: "
|
|
8066
|
+
action: "ListPortalPublications",
|
|
6787
8067
|
version: "2024-03-27",
|
|
6788
8068
|
protocol: "HTTPS",
|
|
6789
|
-
pathname: `/v1/
|
|
8069
|
+
pathname: `/himarket/v1/portals/${$dara.URL.percentEncode(portalId)}/publications`,
|
|
6790
8070
|
method: "GET",
|
|
6791
8071
|
authType: "AK",
|
|
6792
8072
|
style: "ROA",
|
|
6793
8073
|
reqBodyType: "json",
|
|
6794
8074
|
bodyType: "json",
|
|
6795
8075
|
});
|
|
6796
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
8076
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPortalPublicationsResponse({}));
|
|
6797
8077
|
}
|
|
6798
8078
|
/**
|
|
6799
|
-
*
|
|
8079
|
+
* Performs a paged query to retrieve the list of published API products on a specified HiMarket developer portal. This paging operation returns a list where each item includes the publication record ID, API product ID, API product name, and API product type.
|
|
6800
8080
|
*
|
|
6801
|
-
* @param request -
|
|
6802
|
-
* @returns
|
|
8081
|
+
* @param request - ListPortalPublicationsRequest
|
|
8082
|
+
* @returns ListPortalPublicationsResponse
|
|
6803
8083
|
*/
|
|
6804
|
-
async
|
|
8084
|
+
async listPortalPublications(portalId, request) {
|
|
6805
8085
|
let runtime = new $dara.RuntimeOptions({});
|
|
6806
8086
|
let headers = {};
|
|
6807
|
-
return await this.
|
|
8087
|
+
return await this.listPortalPublicationsWithOptions(portalId, request, headers, runtime);
|
|
6808
8088
|
}
|
|
6809
8089
|
/**
|
|
6810
|
-
*
|
|
6811
|
-
*
|
|
6812
|
-
* @remarks
|
|
6813
|
-
* This operation supports creating multiple services.
|
|
8090
|
+
* Queries the list of HiMarket developer portals under the current tenant by using paging. Each list item returns the portal ID, portal name, portal description, region ID, portal configuration, and portal domain configuration.
|
|
6814
8091
|
*
|
|
6815
|
-
* @param request -
|
|
8092
|
+
* @param request - ListPortalsRequest
|
|
6816
8093
|
* @param headers - map
|
|
6817
8094
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6818
|
-
* @returns
|
|
8095
|
+
* @returns ListPortalsResponse
|
|
6819
8096
|
*/
|
|
6820
|
-
async
|
|
8097
|
+
async listPortalsWithOptions(request, headers, runtime) {
|
|
6821
8098
|
request.validate();
|
|
6822
8099
|
let query = {};
|
|
8100
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
8101
|
+
query["maxResults"] = request.maxResults;
|
|
8102
|
+
}
|
|
8103
|
+
if (!$dara.isNull(request.name)) {
|
|
8104
|
+
query["name"] = request.name;
|
|
8105
|
+
}
|
|
8106
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
8107
|
+
query["nextToken"] = request.nextToken;
|
|
8108
|
+
}
|
|
6823
8109
|
if (!$dara.isNull(request.pageNumber)) {
|
|
6824
8110
|
query["pageNumber"] = request.pageNumber;
|
|
6825
8111
|
}
|
|
@@ -6831,64 +8117,478 @@ class Client extends openapi_core_1.default {
|
|
|
6831
8117
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6832
8118
|
});
|
|
6833
8119
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6834
|
-
action: "
|
|
8120
|
+
action: "ListPortals",
|
|
6835
8121
|
version: "2024-03-27",
|
|
6836
8122
|
protocol: "HTTPS",
|
|
6837
|
-
pathname: `/v1/
|
|
8123
|
+
pathname: `/himarket/v1/portals`,
|
|
6838
8124
|
method: "GET",
|
|
6839
8125
|
authType: "AK",
|
|
6840
8126
|
style: "ROA",
|
|
6841
8127
|
reqBodyType: "json",
|
|
6842
8128
|
bodyType: "json",
|
|
6843
8129
|
});
|
|
6844
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
8130
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPortalsResponse({}));
|
|
6845
8131
|
}
|
|
6846
8132
|
/**
|
|
6847
|
-
*
|
|
8133
|
+
* Queries the list of HiMarket developer portals under the current tenant by using paging. Each list item returns the portal ID, portal name, portal description, region ID, portal configuration, and portal domain configuration.
|
|
6848
8134
|
*
|
|
6849
|
-
* @
|
|
6850
|
-
*
|
|
6851
|
-
*
|
|
6852
|
-
* @param request - ListSecretReferencesRequest
|
|
6853
|
-
* @returns ListSecretReferencesResponse
|
|
8135
|
+
* @param request - ListPortalsRequest
|
|
8136
|
+
* @returns ListPortalsResponse
|
|
6854
8137
|
*/
|
|
6855
|
-
async
|
|
8138
|
+
async listPortals(request) {
|
|
6856
8139
|
let runtime = new $dara.RuntimeOptions({});
|
|
6857
8140
|
let headers = {};
|
|
6858
|
-
return await this.
|
|
8141
|
+
return await this.listPortalsWithOptions(request, headers, runtime);
|
|
6859
8142
|
}
|
|
6860
8143
|
/**
|
|
6861
|
-
*
|
|
8144
|
+
* Queries the unmanaged security groups available for private endpoints.
|
|
6862
8145
|
*
|
|
6863
8146
|
* @remarks
|
|
6864
|
-
* The operation supports creating multiple services.
|
|
8147
|
+
* The API operation supports creating multiple services.
|
|
6865
8148
|
*
|
|
6866
|
-
* @param request -
|
|
8149
|
+
* @param request - ListPrivateLinkSecurityGroupsRequest
|
|
6867
8150
|
* @param headers - map
|
|
6868
8151
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6869
|
-
* @returns
|
|
8152
|
+
* @returns ListPrivateLinkSecurityGroupsResponse
|
|
6870
8153
|
*/
|
|
6871
|
-
async
|
|
8154
|
+
async listPrivateLinkSecurityGroupsWithOptions(request, headers, runtime) {
|
|
6872
8155
|
request.validate();
|
|
6873
8156
|
let query = {};
|
|
6874
|
-
if (!$dara.isNull(request.
|
|
6875
|
-
query["
|
|
6876
|
-
}
|
|
6877
|
-
if (!$dara.isNull(request.nameLike)) {
|
|
6878
|
-
query["nameLike"] = request.nameLike;
|
|
8157
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
8158
|
+
query["maxResults"] = request.maxResults;
|
|
6879
8159
|
}
|
|
6880
|
-
if (!$dara.isNull(request.
|
|
6881
|
-
query["
|
|
8160
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
8161
|
+
query["nextToken"] = request.nextToken;
|
|
6882
8162
|
}
|
|
6883
|
-
if (!$dara.isNull(request.
|
|
6884
|
-
query["
|
|
8163
|
+
if (!$dara.isNull(request.vpcId)) {
|
|
8164
|
+
query["vpcId"] = request.vpcId;
|
|
6885
8165
|
}
|
|
6886
8166
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6887
8167
|
headers: headers,
|
|
6888
8168
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6889
8169
|
});
|
|
6890
8170
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6891
|
-
action: "
|
|
8171
|
+
action: "ListPrivateLinkSecurityGroups",
|
|
8172
|
+
version: "2024-03-27",
|
|
8173
|
+
protocol: "HTTPS",
|
|
8174
|
+
pathname: `/v1/private-link-security-groups`,
|
|
8175
|
+
method: "GET",
|
|
8176
|
+
authType: "AK",
|
|
8177
|
+
style: "ROA",
|
|
8178
|
+
reqBodyType: "json",
|
|
8179
|
+
bodyType: "json",
|
|
8180
|
+
});
|
|
8181
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPrivateLinkSecurityGroupsResponse({}));
|
|
8182
|
+
}
|
|
8183
|
+
/**
|
|
8184
|
+
* Queries the unmanaged security groups available for private endpoints.
|
|
8185
|
+
*
|
|
8186
|
+
* @remarks
|
|
8187
|
+
* The API operation supports creating multiple services.
|
|
8188
|
+
*
|
|
8189
|
+
* @param request - ListPrivateLinkSecurityGroupsRequest
|
|
8190
|
+
* @returns ListPrivateLinkSecurityGroupsResponse
|
|
8191
|
+
*/
|
|
8192
|
+
async listPrivateLinkSecurityGroups(request) {
|
|
8193
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8194
|
+
let headers = {};
|
|
8195
|
+
return await this.listPrivateLinkSecurityGroupsWithOptions(request, headers, runtime);
|
|
8196
|
+
}
|
|
8197
|
+
/**
|
|
8198
|
+
* Performs a paging query on the product categories under the current tenant. You can search for categories by name keywords. The list items return the category ID, name, description, and icon.
|
|
8199
|
+
*
|
|
8200
|
+
* @param request - ListProductCategoriesRequest
|
|
8201
|
+
* @param headers - map
|
|
8202
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8203
|
+
* @returns ListProductCategoriesResponse
|
|
8204
|
+
*/
|
|
8205
|
+
async listProductCategoriesWithOptions(request, headers, runtime) {
|
|
8206
|
+
request.validate();
|
|
8207
|
+
let query = {};
|
|
8208
|
+
if (!$dara.isNull(request.name)) {
|
|
8209
|
+
query["name"] = request.name;
|
|
8210
|
+
}
|
|
8211
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8212
|
+
query["pageNumber"] = request.pageNumber;
|
|
8213
|
+
}
|
|
8214
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8215
|
+
query["pageSize"] = request.pageSize;
|
|
8216
|
+
}
|
|
8217
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8218
|
+
headers: headers,
|
|
8219
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8220
|
+
});
|
|
8221
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8222
|
+
action: "ListProductCategories",
|
|
8223
|
+
version: "2024-03-27",
|
|
8224
|
+
protocol: "HTTPS",
|
|
8225
|
+
pathname: `/himarket/v1/product-categories`,
|
|
8226
|
+
method: "GET",
|
|
8227
|
+
authType: "AK",
|
|
8228
|
+
style: "ROA",
|
|
8229
|
+
reqBodyType: "json",
|
|
8230
|
+
bodyType: "json",
|
|
8231
|
+
});
|
|
8232
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductCategoriesResponse({}));
|
|
8233
|
+
}
|
|
8234
|
+
/**
|
|
8235
|
+
* Performs a paging query on the product categories under the current tenant. You can search for categories by name keywords. The list items return the category ID, name, description, and icon.
|
|
8236
|
+
*
|
|
8237
|
+
* @param request - ListProductCategoriesRequest
|
|
8238
|
+
* @returns ListProductCategoriesResponse
|
|
8239
|
+
*/
|
|
8240
|
+
async listProductCategories(request) {
|
|
8241
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8242
|
+
let headers = {};
|
|
8243
|
+
return await this.listProductCategoriesWithOptions(request, headers, runtime);
|
|
8244
|
+
}
|
|
8245
|
+
/**
|
|
8246
|
+
* Performs a paged query on the publication information of a specified API product, which is the list of portal records to which the product is published. Each list item includes the publication record ID, portal ID, portal name, API product ID, API product name, and API product type. You can query the records by portal name and perform a parameter query by using paging parameters.
|
|
8247
|
+
*
|
|
8248
|
+
* @param request - ListProductPublicationsRequest
|
|
8249
|
+
* @param headers - map
|
|
8250
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8251
|
+
* @returns ListProductPublicationsResponse
|
|
8252
|
+
*/
|
|
8253
|
+
async listProductPublicationsWithOptions(productId, request, headers, runtime) {
|
|
8254
|
+
request.validate();
|
|
8255
|
+
let query = {};
|
|
8256
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8257
|
+
query["pageNumber"] = request.pageNumber;
|
|
8258
|
+
}
|
|
8259
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8260
|
+
query["pageSize"] = request.pageSize;
|
|
8261
|
+
}
|
|
8262
|
+
if (!$dara.isNull(request.portalName)) {
|
|
8263
|
+
query["portalName"] = request.portalName;
|
|
8264
|
+
}
|
|
8265
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8266
|
+
headers: headers,
|
|
8267
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8268
|
+
});
|
|
8269
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8270
|
+
action: "ListProductPublications",
|
|
8271
|
+
version: "2024-03-27",
|
|
8272
|
+
protocol: "HTTPS",
|
|
8273
|
+
pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/publications`,
|
|
8274
|
+
method: "GET",
|
|
8275
|
+
authType: "AK",
|
|
8276
|
+
style: "ROA",
|
|
8277
|
+
reqBodyType: "json",
|
|
8278
|
+
bodyType: "json",
|
|
8279
|
+
});
|
|
8280
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductPublicationsResponse({}));
|
|
8281
|
+
}
|
|
8282
|
+
/**
|
|
8283
|
+
* Performs a paged query on the publication information of a specified API product, which is the list of portal records to which the product is published. Each list item includes the publication record ID, portal ID, portal name, API product ID, API product name, and API product type. You can query the records by portal name and perform a parameter query by using paging parameters.
|
|
8284
|
+
*
|
|
8285
|
+
* @param request - ListProductPublicationsRequest
|
|
8286
|
+
* @returns ListProductPublicationsResponse
|
|
8287
|
+
*/
|
|
8288
|
+
async listProductPublications(productId, request) {
|
|
8289
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8290
|
+
let headers = {};
|
|
8291
|
+
return await this.listProductPublicationsWithOptions(productId, request, headers, runtime);
|
|
8292
|
+
}
|
|
8293
|
+
/**
|
|
8294
|
+
* Performs a paging query to retrieve the list of subscription records for a specified API product. The records can be filtered by subscription status and searched by consumer name keywords. Each record includes the subscription ID, API product ID and name, API product type, consumer ID and name, and subscription status.
|
|
8295
|
+
*
|
|
8296
|
+
* @param request - ListProductSubscriptionsRequest
|
|
8297
|
+
* @param headers - map
|
|
8298
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8299
|
+
* @returns ListProductSubscriptionsResponse
|
|
8300
|
+
*/
|
|
8301
|
+
async listProductSubscriptionsWithOptions(productId, request, headers, runtime) {
|
|
8302
|
+
request.validate();
|
|
8303
|
+
let query = {};
|
|
8304
|
+
if (!$dara.isNull(request.consumerName)) {
|
|
8305
|
+
query["consumerName"] = request.consumerName;
|
|
8306
|
+
}
|
|
8307
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8308
|
+
query["pageNumber"] = request.pageNumber;
|
|
8309
|
+
}
|
|
8310
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8311
|
+
query["pageSize"] = request.pageSize;
|
|
8312
|
+
}
|
|
8313
|
+
if (!$dara.isNull(request.status)) {
|
|
8314
|
+
query["status"] = request.status;
|
|
8315
|
+
}
|
|
8316
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8317
|
+
headers: headers,
|
|
8318
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8319
|
+
});
|
|
8320
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8321
|
+
action: "ListProductSubscriptions",
|
|
8322
|
+
version: "2024-03-27",
|
|
8323
|
+
protocol: "HTTPS",
|
|
8324
|
+
pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/subscriptions`,
|
|
8325
|
+
method: "GET",
|
|
8326
|
+
authType: "AK",
|
|
8327
|
+
style: "ROA",
|
|
8328
|
+
reqBodyType: "json",
|
|
8329
|
+
bodyType: "json",
|
|
8330
|
+
});
|
|
8331
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductSubscriptionsResponse({}));
|
|
8332
|
+
}
|
|
8333
|
+
/**
|
|
8334
|
+
* Performs a paging query to retrieve the list of subscription records for a specified API product. The records can be filtered by subscription status and searched by consumer name keywords. Each record includes the subscription ID, API product ID and name, API product type, consumer ID and name, and subscription status.
|
|
8335
|
+
*
|
|
8336
|
+
* @param request - ListProductSubscriptionsRequest
|
|
8337
|
+
* @returns ListProductSubscriptionsResponse
|
|
8338
|
+
*/
|
|
8339
|
+
async listProductSubscriptions(productId, request) {
|
|
8340
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8341
|
+
let headers = {};
|
|
8342
|
+
return await this.listProductSubscriptionsWithOptions(productId, request, headers, runtime);
|
|
8343
|
+
}
|
|
8344
|
+
/**
|
|
8345
|
+
* Performs a paged query to retrieve the list of API products under the current tenant. Request parameters can specify the product name, product type, product status, product categories, and the portal where the product is published. List items return the product ID, name, description, status, type, plaintext documentation, icon, product categorization, whether to automatically approve subscribe requests, and MCP, agent, model, and product capability configurations.
|
|
8346
|
+
*
|
|
8347
|
+
* @param request - ListProductsRequest
|
|
8348
|
+
* @param headers - map
|
|
8349
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8350
|
+
* @returns ListProductsResponse
|
|
8351
|
+
*/
|
|
8352
|
+
async listProductsWithOptions(request, headers, runtime) {
|
|
8353
|
+
request.validate();
|
|
8354
|
+
let query = {};
|
|
8355
|
+
if (!$dara.isNull(request.categoryIds)) {
|
|
8356
|
+
query["categoryIds"] = request.categoryIds;
|
|
8357
|
+
}
|
|
8358
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
8359
|
+
query["maxResults"] = request.maxResults;
|
|
8360
|
+
}
|
|
8361
|
+
if (!$dara.isNull(request.name)) {
|
|
8362
|
+
query["name"] = request.name;
|
|
8363
|
+
}
|
|
8364
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
8365
|
+
query["nextToken"] = request.nextToken;
|
|
8366
|
+
}
|
|
8367
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8368
|
+
query["pageNumber"] = request.pageNumber;
|
|
8369
|
+
}
|
|
8370
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8371
|
+
query["pageSize"] = request.pageSize;
|
|
8372
|
+
}
|
|
8373
|
+
if (!$dara.isNull(request.portalId)) {
|
|
8374
|
+
query["portalId"] = request.portalId;
|
|
8375
|
+
}
|
|
8376
|
+
if (!$dara.isNull(request.status)) {
|
|
8377
|
+
query["status"] = request.status;
|
|
8378
|
+
}
|
|
8379
|
+
if (!$dara.isNull(request.type)) {
|
|
8380
|
+
query["type"] = request.type;
|
|
8381
|
+
}
|
|
8382
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8383
|
+
headers: headers,
|
|
8384
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8385
|
+
});
|
|
8386
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8387
|
+
action: "ListProducts",
|
|
8388
|
+
version: "2024-03-27",
|
|
8389
|
+
protocol: "HTTPS",
|
|
8390
|
+
pathname: `/himarket/v1/products`,
|
|
8391
|
+
method: "GET",
|
|
8392
|
+
authType: "AK",
|
|
8393
|
+
style: "ROA",
|
|
8394
|
+
reqBodyType: "json",
|
|
8395
|
+
bodyType: "json",
|
|
8396
|
+
});
|
|
8397
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductsResponse({}));
|
|
8398
|
+
}
|
|
8399
|
+
/**
|
|
8400
|
+
* Performs a paged query to retrieve the list of API products under the current tenant. Request parameters can specify the product name, product type, product status, product categories, and the portal where the product is published. List items return the product ID, name, description, status, type, plaintext documentation, icon, product categorization, whether to automatically approve subscribe requests, and MCP, agent, model, and product capability configurations.
|
|
8401
|
+
*
|
|
8402
|
+
* @param request - ListProductsRequest
|
|
8403
|
+
* @returns ListProductsResponse
|
|
8404
|
+
*/
|
|
8405
|
+
async listProducts(request) {
|
|
8406
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8407
|
+
let headers = {};
|
|
8408
|
+
return await this.listProductsWithOptions(request, headers, runtime);
|
|
8409
|
+
}
|
|
8410
|
+
/**
|
|
8411
|
+
* Performs a paged query to retrieve the list of API products that can be published to a specified HiMarket developer portal. The request accepts the portal ID, API product name, and paging parameters, and the response returns the API product ID, API product name, and API product description for each item.
|
|
8412
|
+
*
|
|
8413
|
+
* @param request - ListPublishableProductsRequest
|
|
8414
|
+
* @param headers - map
|
|
8415
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8416
|
+
* @returns ListPublishableProductsResponse
|
|
8417
|
+
*/
|
|
8418
|
+
async listPublishableProductsWithOptions(portalId, request, headers, runtime) {
|
|
8419
|
+
request.validate();
|
|
8420
|
+
let query = {};
|
|
8421
|
+
if (!$dara.isNull(request.name)) {
|
|
8422
|
+
query["name"] = request.name;
|
|
8423
|
+
}
|
|
8424
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8425
|
+
query["pageNumber"] = request.pageNumber;
|
|
8426
|
+
}
|
|
8427
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8428
|
+
query["pageSize"] = request.pageSize;
|
|
8429
|
+
}
|
|
8430
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8431
|
+
headers: headers,
|
|
8432
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8433
|
+
});
|
|
8434
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8435
|
+
action: "ListPublishableProducts",
|
|
8436
|
+
version: "2024-03-27",
|
|
8437
|
+
protocol: "HTTPS",
|
|
8438
|
+
pathname: `/himarket/v1/portals/${$dara.URL.percentEncode(portalId)}/publishable-products`,
|
|
8439
|
+
method: "GET",
|
|
8440
|
+
authType: "AK",
|
|
8441
|
+
style: "ROA",
|
|
8442
|
+
reqBodyType: "json",
|
|
8443
|
+
bodyType: "json",
|
|
8444
|
+
});
|
|
8445
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPublishableProductsResponse({}));
|
|
8446
|
+
}
|
|
8447
|
+
/**
|
|
8448
|
+
* Performs a paged query to retrieve the list of API products that can be published to a specified HiMarket developer portal. The request accepts the portal ID, API product name, and paging parameters, and the response returns the API product ID, API product name, and API product description for each item.
|
|
8449
|
+
*
|
|
8450
|
+
* @param request - ListPublishableProductsRequest
|
|
8451
|
+
* @returns ListPublishableProductsResponse
|
|
8452
|
+
*/
|
|
8453
|
+
async listPublishableProducts(portalId, request) {
|
|
8454
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8455
|
+
let headers = {};
|
|
8456
|
+
return await this.listPublishableProductsWithOptions(portalId, request, headers, runtime);
|
|
8457
|
+
}
|
|
8458
|
+
/**
|
|
8459
|
+
* Queries risk detection results.
|
|
8460
|
+
*
|
|
8461
|
+
* @param request - ListRiskCheckResultsRequest
|
|
8462
|
+
* @param headers - map
|
|
8463
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8464
|
+
* @returns ListRiskCheckResultsResponse
|
|
8465
|
+
*/
|
|
8466
|
+
async listRiskCheckResultsWithOptions(gatewayId, request, headers, runtime) {
|
|
8467
|
+
request.validate();
|
|
8468
|
+
let query = {};
|
|
8469
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
8470
|
+
query["maxResults"] = request.maxResults;
|
|
8471
|
+
}
|
|
8472
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
8473
|
+
query["nextToken"] = request.nextToken;
|
|
8474
|
+
}
|
|
8475
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8476
|
+
query["pageNumber"] = request.pageNumber;
|
|
8477
|
+
}
|
|
8478
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8479
|
+
query["pageSize"] = request.pageSize;
|
|
8480
|
+
}
|
|
8481
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8482
|
+
headers: headers,
|
|
8483
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8484
|
+
});
|
|
8485
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8486
|
+
action: "ListRiskCheckResults",
|
|
8487
|
+
version: "2024-03-27",
|
|
8488
|
+
protocol: "HTTPS",
|
|
8489
|
+
pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/risk-check/results`,
|
|
8490
|
+
method: "GET",
|
|
8491
|
+
authType: "AK",
|
|
8492
|
+
style: "ROA",
|
|
8493
|
+
reqBodyType: "json",
|
|
8494
|
+
bodyType: "json",
|
|
8495
|
+
});
|
|
8496
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListRiskCheckResultsResponse({}));
|
|
8497
|
+
}
|
|
8498
|
+
/**
|
|
8499
|
+
* Queries risk detection results.
|
|
8500
|
+
*
|
|
8501
|
+
* @param request - ListRiskCheckResultsRequest
|
|
8502
|
+
* @returns ListRiskCheckResultsResponse
|
|
8503
|
+
*/
|
|
8504
|
+
async listRiskCheckResults(gatewayId, request) {
|
|
8505
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8506
|
+
let headers = {};
|
|
8507
|
+
return await this.listRiskCheckResultsWithOptions(gatewayId, request, headers, runtime);
|
|
8508
|
+
}
|
|
8509
|
+
/**
|
|
8510
|
+
* Lists secret references.
|
|
8511
|
+
*
|
|
8512
|
+
* @remarks
|
|
8513
|
+
* The operation supports creating multiple services.
|
|
8514
|
+
*
|
|
8515
|
+
* @param request - ListSecretReferencesRequest
|
|
8516
|
+
* @param headers - map
|
|
8517
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8518
|
+
* @returns ListSecretReferencesResponse
|
|
8519
|
+
*/
|
|
8520
|
+
async listSecretReferencesWithOptions(secretId, request, headers, runtime) {
|
|
8521
|
+
request.validate();
|
|
8522
|
+
let query = {};
|
|
8523
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8524
|
+
query["pageNumber"] = request.pageNumber;
|
|
8525
|
+
}
|
|
8526
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8527
|
+
query["pageSize"] = request.pageSize;
|
|
8528
|
+
}
|
|
8529
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8530
|
+
headers: headers,
|
|
8531
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8532
|
+
});
|
|
8533
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8534
|
+
action: "ListSecretReferences",
|
|
8535
|
+
version: "2024-03-27",
|
|
8536
|
+
protocol: "HTTPS",
|
|
8537
|
+
pathname: `/v1/secrets/${$dara.URL.percentEncode(secretId)}/references`,
|
|
8538
|
+
method: "GET",
|
|
8539
|
+
authType: "AK",
|
|
8540
|
+
style: "ROA",
|
|
8541
|
+
reqBodyType: "json",
|
|
8542
|
+
bodyType: "json",
|
|
8543
|
+
});
|
|
8544
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSecretReferencesResponse({}));
|
|
8545
|
+
}
|
|
8546
|
+
/**
|
|
8547
|
+
* Lists secret references.
|
|
8548
|
+
*
|
|
8549
|
+
* @remarks
|
|
8550
|
+
* The operation supports creating multiple services.
|
|
8551
|
+
*
|
|
8552
|
+
* @param request - ListSecretReferencesRequest
|
|
8553
|
+
* @returns ListSecretReferencesResponse
|
|
8554
|
+
*/
|
|
8555
|
+
async listSecretReferences(secretId, request) {
|
|
8556
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8557
|
+
let headers = {};
|
|
8558
|
+
return await this.listSecretReferencesWithOptions(secretId, request, headers, runtime);
|
|
8559
|
+
}
|
|
8560
|
+
/**
|
|
8561
|
+
* Lists keys.
|
|
8562
|
+
*
|
|
8563
|
+
* @remarks
|
|
8564
|
+
* The operation supports creating multiple services.
|
|
8565
|
+
*
|
|
8566
|
+
* @param request - ListSecretsRequest
|
|
8567
|
+
* @param headers - map
|
|
8568
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8569
|
+
* @returns ListSecretsResponse
|
|
8570
|
+
*/
|
|
8571
|
+
async listSecretsWithOptions(request, headers, runtime) {
|
|
8572
|
+
request.validate();
|
|
8573
|
+
let query = {};
|
|
8574
|
+
if (!$dara.isNull(request.gatewayType)) {
|
|
8575
|
+
query["gatewayType"] = request.gatewayType;
|
|
8576
|
+
}
|
|
8577
|
+
if (!$dara.isNull(request.nameLike)) {
|
|
8578
|
+
query["nameLike"] = request.nameLike;
|
|
8579
|
+
}
|
|
8580
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8581
|
+
query["pageNumber"] = request.pageNumber;
|
|
8582
|
+
}
|
|
8583
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8584
|
+
query["pageSize"] = request.pageSize;
|
|
8585
|
+
}
|
|
8586
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8587
|
+
headers: headers,
|
|
8588
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8589
|
+
});
|
|
8590
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8591
|
+
action: "ListSecrets",
|
|
6892
8592
|
version: "2024-03-27",
|
|
6893
8593
|
protocol: "HTTPS",
|
|
6894
8594
|
pathname: `/v1/secrets`,
|
|
@@ -6915,7 +8615,7 @@ class Client extends openapi_core_1.default {
|
|
|
6915
8615
|
return await this.listSecretsWithOptions(request, headers, runtime);
|
|
6916
8616
|
}
|
|
6917
8617
|
/**
|
|
6918
|
-
* Retrieves
|
|
8618
|
+
* Retrieves the list of services.
|
|
6919
8619
|
*
|
|
6920
8620
|
* @param request - ListServicesRequest
|
|
6921
8621
|
* @param headers - map
|
|
@@ -6964,7 +8664,7 @@ class Client extends openapi_core_1.default {
|
|
|
6964
8664
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServicesResponse({}));
|
|
6965
8665
|
}
|
|
6966
8666
|
/**
|
|
6967
|
-
* Retrieves
|
|
8667
|
+
* Retrieves the list of services.
|
|
6968
8668
|
*
|
|
6969
8669
|
* @param request - ListServicesRequest
|
|
6970
8670
|
* @returns ListServicesResponse
|
|
@@ -6975,7 +8675,7 @@ class Client extends openapi_core_1.default {
|
|
|
6975
8675
|
return await this.listServicesWithOptions(request, headers, runtime);
|
|
6976
8676
|
}
|
|
6977
8677
|
/**
|
|
6978
|
-
*
|
|
8678
|
+
* Retrieves a list of sources.
|
|
6979
8679
|
*
|
|
6980
8680
|
* @param request - ListSourcesRequest
|
|
6981
8681
|
* @param headers - map
|
|
@@ -7018,7 +8718,7 @@ class Client extends openapi_core_1.default {
|
|
|
7018
8718
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSourcesResponse({}));
|
|
7019
8719
|
}
|
|
7020
8720
|
/**
|
|
7021
|
-
*
|
|
8721
|
+
* Retrieves a list of sources.
|
|
7022
8722
|
*
|
|
7023
8723
|
* @param request - ListSourcesRequest
|
|
7024
8724
|
* @returns ListSourcesResponse
|
|
@@ -7080,7 +8780,7 @@ class Client extends openapi_core_1.default {
|
|
|
7080
8780
|
return await this.listSslCertsWithOptions(request, headers, runtime);
|
|
7081
8781
|
}
|
|
7082
8782
|
/**
|
|
7083
|
-
*
|
|
8783
|
+
* Lists MCP servers that are pending synchronization.
|
|
7084
8784
|
*
|
|
7085
8785
|
* @param request - ListSyncMCPServerRequest
|
|
7086
8786
|
* @param headers - map
|
|
@@ -7117,7 +8817,7 @@ class Client extends openapi_core_1.default {
|
|
|
7117
8817
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSyncMCPServerResponse({}));
|
|
7118
8818
|
}
|
|
7119
8819
|
/**
|
|
7120
|
-
*
|
|
8820
|
+
* Lists MCP servers that are pending synchronization.
|
|
7121
8821
|
*
|
|
7122
8822
|
* @param request - ListSyncMCPServerRequest
|
|
7123
8823
|
* @returns ListSyncMCPServerResponse
|
|
@@ -7128,7 +8828,7 @@ class Client extends openapi_core_1.default {
|
|
|
7128
8828
|
return await this.listSyncMCPServerWithOptions(request, headers, runtime);
|
|
7129
8829
|
}
|
|
7130
8830
|
/**
|
|
7131
|
-
* Retrieves
|
|
8831
|
+
* Retrieves a list of resource tags.
|
|
7132
8832
|
*
|
|
7133
8833
|
* @param tmpReq - ListTagResourcesRequest
|
|
7134
8834
|
* @param headers - map
|
|
@@ -7176,7 +8876,7 @@ class Client extends openapi_core_1.default {
|
|
|
7176
8876
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
|
|
7177
8877
|
}
|
|
7178
8878
|
/**
|
|
7179
|
-
* Retrieves
|
|
8879
|
+
* Retrieves a list of resource tags.
|
|
7180
8880
|
*
|
|
7181
8881
|
* @param request - ListTagResourcesRequest
|
|
7182
8882
|
* @returns ListTagResourcesResponse
|
|
@@ -7187,7 +8887,7 @@ class Client extends openapi_core_1.default {
|
|
|
7187
8887
|
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
7188
8888
|
}
|
|
7189
8889
|
/**
|
|
7190
|
-
* Retrieves the zones available for a cloud-native API gateway in a
|
|
8890
|
+
* Retrieves the zones available for a cloud-native API gateway in a specified region.
|
|
7191
8891
|
*
|
|
7192
8892
|
* @param request - ListZonesRequest
|
|
7193
8893
|
* @param headers - map
|
|
@@ -7218,7 +8918,7 @@ class Client extends openapi_core_1.default {
|
|
|
7218
8918
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListZonesResponse({}));
|
|
7219
8919
|
}
|
|
7220
8920
|
/**
|
|
7221
|
-
* Retrieves the zones available for a cloud-native API gateway in a
|
|
8921
|
+
* Retrieves the zones available for a cloud-native API gateway in a specified region.
|
|
7222
8922
|
*
|
|
7223
8923
|
* @param request - ListZonesRequest
|
|
7224
8924
|
* @returns ListZonesResponse
|
|
@@ -7228,6 +8928,130 @@ class Client extends openapi_core_1.default {
|
|
|
7228
8928
|
let headers = {};
|
|
7229
8929
|
return await this.listZonesWithOptions(request, headers, runtime);
|
|
7230
8930
|
}
|
|
8931
|
+
/**
|
|
8932
|
+
* Logs in to a HiMarket developer account with a developer username and password, and returns the accessToken and expiresIn fields in the data object of a successful response.
|
|
8933
|
+
*
|
|
8934
|
+
* @param request - LoginDeveloperRequest
|
|
8935
|
+
* @param headers - map
|
|
8936
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8937
|
+
* @returns LoginDeveloperResponse
|
|
8938
|
+
*/
|
|
8939
|
+
async loginDeveloperWithOptions(request, headers, runtime) {
|
|
8940
|
+
request.validate();
|
|
8941
|
+
let body = {};
|
|
8942
|
+
if (!$dara.isNull(request.password)) {
|
|
8943
|
+
body["password"] = request.password;
|
|
8944
|
+
}
|
|
8945
|
+
if (!$dara.isNull(request.username)) {
|
|
8946
|
+
body["username"] = request.username;
|
|
8947
|
+
}
|
|
8948
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8949
|
+
headers: headers,
|
|
8950
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
8951
|
+
});
|
|
8952
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8953
|
+
action: "LoginDeveloper",
|
|
8954
|
+
version: "2024-03-27",
|
|
8955
|
+
protocol: "HTTPS",
|
|
8956
|
+
pathname: `/himarket/v1/developers/login`,
|
|
8957
|
+
method: "POST",
|
|
8958
|
+
authType: "AK",
|
|
8959
|
+
style: "ROA",
|
|
8960
|
+
reqBodyType: "json",
|
|
8961
|
+
bodyType: "json",
|
|
8962
|
+
});
|
|
8963
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.LoginDeveloperResponse({}));
|
|
8964
|
+
}
|
|
8965
|
+
/**
|
|
8966
|
+
* Logs in to a HiMarket developer account with a developer username and password, and returns the accessToken and expiresIn fields in the data object of a successful response.
|
|
8967
|
+
*
|
|
8968
|
+
* @param request - LoginDeveloperRequest
|
|
8969
|
+
* @returns LoginDeveloperResponse
|
|
8970
|
+
*/
|
|
8971
|
+
async loginDeveloper(request) {
|
|
8972
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8973
|
+
let headers = {};
|
|
8974
|
+
return await this.loginDeveloperWithOptions(request, headers, runtime);
|
|
8975
|
+
}
|
|
8976
|
+
/**
|
|
8977
|
+
* Logs out a HiMarket developer account. This operation has no business request parameters. A successful response returns only the requestId, code, and message fields.
|
|
8978
|
+
*
|
|
8979
|
+
* @param request - LogoutDeveloperRequest
|
|
8980
|
+
* @param headers - map
|
|
8981
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8982
|
+
* @returns LogoutDeveloperResponse
|
|
8983
|
+
*/
|
|
8984
|
+
async logoutDeveloperWithOptions(request, headers, runtime) {
|
|
8985
|
+
request.validate();
|
|
8986
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8987
|
+
headers: headers,
|
|
8988
|
+
});
|
|
8989
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8990
|
+
action: "LogoutDeveloper",
|
|
8991
|
+
version: "2024-03-27",
|
|
8992
|
+
protocol: "HTTPS",
|
|
8993
|
+
pathname: `/himarket/v1/developers/logout`,
|
|
8994
|
+
method: "POST",
|
|
8995
|
+
authType: "AK",
|
|
8996
|
+
style: "ROA",
|
|
8997
|
+
reqBodyType: "json",
|
|
8998
|
+
bodyType: "json",
|
|
8999
|
+
});
|
|
9000
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.LogoutDeveloperResponse({}));
|
|
9001
|
+
}
|
|
9002
|
+
/**
|
|
9003
|
+
* Logs out a HiMarket developer account. This operation has no business request parameters. A successful response returns only the requestId, code, and message fields.
|
|
9004
|
+
*
|
|
9005
|
+
* @param request - LogoutDeveloperRequest
|
|
9006
|
+
* @returns LogoutDeveloperResponse
|
|
9007
|
+
*/
|
|
9008
|
+
async logoutDeveloper(request) {
|
|
9009
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9010
|
+
let headers = {};
|
|
9011
|
+
return await this.logoutDeveloperWithOptions(request, headers, runtime);
|
|
9012
|
+
}
|
|
9013
|
+
/**
|
|
9014
|
+
* Publishes a specified API product to a specified HiMarket portal. The path parameter specifies the API product ID, and the request body specifies the target portal ID. This operation returns the publication record ID for the publication. You can query the publication record by calling ListProductPublications and unpublish the product by calling UnpublishProduct at /himarket/v1/products/{productId}/publications/{publicationId}.
|
|
9015
|
+
*
|
|
9016
|
+
* @param request - PublishProductRequest
|
|
9017
|
+
* @param headers - map
|
|
9018
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9019
|
+
* @returns PublishProductResponse
|
|
9020
|
+
*/
|
|
9021
|
+
async publishProductWithOptions(productId, request, headers, runtime) {
|
|
9022
|
+
request.validate();
|
|
9023
|
+
let body = {};
|
|
9024
|
+
if (!$dara.isNull(request.portalId)) {
|
|
9025
|
+
body["portalId"] = request.portalId;
|
|
9026
|
+
}
|
|
9027
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9028
|
+
headers: headers,
|
|
9029
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
9030
|
+
});
|
|
9031
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9032
|
+
action: "PublishProduct",
|
|
9033
|
+
version: "2024-03-27",
|
|
9034
|
+
protocol: "HTTPS",
|
|
9035
|
+
pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/publications`,
|
|
9036
|
+
method: "POST",
|
|
9037
|
+
authType: "AK",
|
|
9038
|
+
style: "ROA",
|
|
9039
|
+
reqBodyType: "json",
|
|
9040
|
+
bodyType: "json",
|
|
9041
|
+
});
|
|
9042
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PublishProductResponse({}));
|
|
9043
|
+
}
|
|
9044
|
+
/**
|
|
9045
|
+
* Publishes a specified API product to a specified HiMarket portal. The path parameter specifies the API product ID, and the request body specifies the target portal ID. This operation returns the publication record ID for the publication. You can query the publication record by calling ListProductPublications and unpublish the product by calling UnpublishProduct at /himarket/v1/products/{productId}/publications/{publicationId}.
|
|
9046
|
+
*
|
|
9047
|
+
* @param request - PublishProductRequest
|
|
9048
|
+
* @returns PublishProductResponse
|
|
9049
|
+
*/
|
|
9050
|
+
async publishProduct(productId, request) {
|
|
9051
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9052
|
+
let headers = {};
|
|
9053
|
+
return await this.publishProductWithOptions(productId, request, headers, runtime);
|
|
9054
|
+
}
|
|
7231
9055
|
/**
|
|
7232
9056
|
* Queries the list of consumer authorization rules.
|
|
7233
9057
|
*
|
|
@@ -7310,7 +9134,7 @@ class Client extends openapi_core_1.default {
|
|
|
7310
9134
|
return await this.queryConsumerAuthorizationRulesWithOptions(request, headers, runtime);
|
|
7311
9135
|
}
|
|
7312
9136
|
/**
|
|
7313
|
-
*
|
|
9137
|
+
* Refreshes the OAuth code for the plugin-managed repository.
|
|
7314
9138
|
*
|
|
7315
9139
|
* @param request - RefreshPluginOAuthCodeRequest
|
|
7316
9140
|
* @param headers - map
|
|
@@ -7341,7 +9165,7 @@ class Client extends openapi_core_1.default {
|
|
|
7341
9165
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RefreshPluginOAuthCodeResponse({}));
|
|
7342
9166
|
}
|
|
7343
9167
|
/**
|
|
7344
|
-
*
|
|
9168
|
+
* Refreshes the OAuth code for the plugin-managed repository.
|
|
7345
9169
|
*
|
|
7346
9170
|
* @param request - RefreshPluginOAuthCodeRequest
|
|
7347
9171
|
* @returns RefreshPluginOAuthCodeResponse
|
|
@@ -7393,8 +9217,8 @@ class Client extends openapi_core_1.default {
|
|
|
7393
9217
|
* > Recommended call logic:
|
|
7394
9218
|
* > - 1. Perform a dry run to check for rule conflicts.
|
|
7395
9219
|
* > - - Set dryRun to true.
|
|
7396
|
-
* > - - The response contains a conflict preview with
|
|
7397
|
-
* > - 2.
|
|
9220
|
+
* > - - The response contains a conflict preview with conflictHash.
|
|
9221
|
+
* > - 2. Submit the request after confirmation.
|
|
7398
9222
|
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
7399
9223
|
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
7400
9224
|
*
|
|
@@ -7456,8 +9280,8 @@ class Client extends openapi_core_1.default {
|
|
|
7456
9280
|
* > Recommended call logic:
|
|
7457
9281
|
* > - 1. Perform a dry run to check for rule conflicts.
|
|
7458
9282
|
* > - - Set dryRun to true.
|
|
7459
|
-
* > - - The response contains a conflict preview with
|
|
7460
|
-
* > - 2.
|
|
9283
|
+
* > - - The response contains a conflict preview with conflictHash.
|
|
9284
|
+
* > - 2. Submit the request after confirmation.
|
|
7461
9285
|
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
7462
9286
|
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
7463
9287
|
*
|
|
@@ -7474,36 +9298,79 @@ class Client extends openapi_core_1.default {
|
|
|
7474
9298
|
*
|
|
7475
9299
|
* @param headers - map
|
|
7476
9300
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
7477
|
-
* @returns RestartGatewayResponse
|
|
9301
|
+
* @returns RestartGatewayResponse
|
|
9302
|
+
*/
|
|
9303
|
+
async restartGatewayWithOptions(gatewayId, headers, runtime) {
|
|
9304
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9305
|
+
headers: headers,
|
|
9306
|
+
});
|
|
9307
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9308
|
+
action: "RestartGateway",
|
|
9309
|
+
version: "2024-03-27",
|
|
9310
|
+
protocol: "HTTPS",
|
|
9311
|
+
pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/restart`,
|
|
9312
|
+
method: "POST",
|
|
9313
|
+
authType: "AK",
|
|
9314
|
+
style: "ROA",
|
|
9315
|
+
reqBodyType: "json",
|
|
9316
|
+
bodyType: "json",
|
|
9317
|
+
});
|
|
9318
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartGatewayResponse({}));
|
|
9319
|
+
}
|
|
9320
|
+
/**
|
|
9321
|
+
* Restarts a gateway.
|
|
9322
|
+
* @returns RestartGatewayResponse
|
|
9323
|
+
*/
|
|
9324
|
+
async restartGateway(gatewayId) {
|
|
9325
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9326
|
+
let headers = {};
|
|
9327
|
+
return await this.restartGatewayWithOptions(gatewayId, headers, runtime);
|
|
9328
|
+
}
|
|
9329
|
+
/**
|
|
9330
|
+
* Queries the currently active credentials for the AI service.
|
|
9331
|
+
*
|
|
9332
|
+
* @remarks
|
|
9333
|
+
* Queries the currently active credentials for the AI service.
|
|
9334
|
+
*
|
|
9335
|
+
* @param request - RevealServiceCredentialRequest
|
|
9336
|
+
* @param headers - map
|
|
9337
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9338
|
+
* @returns RevealServiceCredentialResponse
|
|
7478
9339
|
*/
|
|
7479
|
-
async
|
|
9340
|
+
async revealServiceCredentialWithOptions(serviceId, request, headers, runtime) {
|
|
9341
|
+
request.validate();
|
|
7480
9342
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7481
9343
|
headers: headers,
|
|
7482
9344
|
});
|
|
7483
9345
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7484
|
-
action: "
|
|
9346
|
+
action: "RevealServiceCredential",
|
|
7485
9347
|
version: "2024-03-27",
|
|
7486
9348
|
protocol: "HTTPS",
|
|
7487
|
-
pathname: `/v1/
|
|
9349
|
+
pathname: `/v1/services/${$dara.URL.percentEncode(serviceId)}/reveal-credential`,
|
|
7488
9350
|
method: "POST",
|
|
7489
9351
|
authType: "AK",
|
|
7490
9352
|
style: "ROA",
|
|
7491
9353
|
reqBodyType: "json",
|
|
7492
9354
|
bodyType: "json",
|
|
7493
9355
|
});
|
|
7494
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
9356
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevealServiceCredentialResponse({}));
|
|
7495
9357
|
}
|
|
7496
9358
|
/**
|
|
7497
|
-
*
|
|
7498
|
-
*
|
|
9359
|
+
* Queries the currently active credentials for the AI service.
|
|
9360
|
+
*
|
|
9361
|
+
* @remarks
|
|
9362
|
+
* Queries the currently active credentials for the AI service.
|
|
9363
|
+
*
|
|
9364
|
+
* @param request - RevealServiceCredentialRequest
|
|
9365
|
+
* @returns RevealServiceCredentialResponse
|
|
7499
9366
|
*/
|
|
7500
|
-
async
|
|
9367
|
+
async revealServiceCredential(serviceId, request) {
|
|
7501
9368
|
let runtime = new $dara.RuntimeOptions({});
|
|
7502
9369
|
let headers = {};
|
|
7503
|
-
return await this.
|
|
9370
|
+
return await this.revealServiceCredentialWithOptions(serviceId, request, headers, runtime);
|
|
7504
9371
|
}
|
|
7505
9372
|
/**
|
|
7506
|
-
*
|
|
9373
|
+
* Runs a pipeline in a plug-in workspace.
|
|
7507
9374
|
*
|
|
7508
9375
|
* @param request - RunPluginPipelineRequest
|
|
7509
9376
|
* @param headers - map
|
|
@@ -7529,7 +9396,7 @@ class Client extends openapi_core_1.default {
|
|
|
7529
9396
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunPluginPipelineResponse({}));
|
|
7530
9397
|
}
|
|
7531
9398
|
/**
|
|
7532
|
-
*
|
|
9399
|
+
* Runs a pipeline in a plug-in workspace.
|
|
7533
9400
|
*
|
|
7534
9401
|
* @param request - RunPluginPipelineRequest
|
|
7535
9402
|
* @returns RunPluginPipelineResponse
|
|
@@ -7539,6 +9406,48 @@ class Client extends openapi_core_1.default {
|
|
|
7539
9406
|
let headers = {};
|
|
7540
9407
|
return await this.runPluginPipelineWithOptions(workspaceId, request, headers, runtime);
|
|
7541
9408
|
}
|
|
9409
|
+
/**
|
|
9410
|
+
* Subscribes to an API product for a specified HiMarket consumer. The path parameter specifies the consumer ID, and the request body specifies the ID of the API product to subscribe to. The response includes the subscription ID, API product ID and name, API product type, consumer ID and name, and subscription status of the subscription record.
|
|
9411
|
+
*
|
|
9412
|
+
* @param request - SubscribeProductRequest
|
|
9413
|
+
* @param headers - map
|
|
9414
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9415
|
+
* @returns SubscribeProductResponse
|
|
9416
|
+
*/
|
|
9417
|
+
async subscribeProductWithOptions(consumerId, request, headers, runtime) {
|
|
9418
|
+
request.validate();
|
|
9419
|
+
let body = {};
|
|
9420
|
+
if (!$dara.isNull(request.productId)) {
|
|
9421
|
+
body["productId"] = request.productId;
|
|
9422
|
+
}
|
|
9423
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9424
|
+
headers: headers,
|
|
9425
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
9426
|
+
});
|
|
9427
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9428
|
+
action: "SubscribeProduct",
|
|
9429
|
+
version: "2024-03-27",
|
|
9430
|
+
protocol: "HTTPS",
|
|
9431
|
+
pathname: `/himarket/v1/consumers/${$dara.URL.percentEncode(consumerId)}/subscriptions`,
|
|
9432
|
+
method: "POST",
|
|
9433
|
+
authType: "AK",
|
|
9434
|
+
style: "ROA",
|
|
9435
|
+
reqBodyType: "json",
|
|
9436
|
+
bodyType: "json",
|
|
9437
|
+
});
|
|
9438
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SubscribeProductResponse({}));
|
|
9439
|
+
}
|
|
9440
|
+
/**
|
|
9441
|
+
* Subscribes to an API product for a specified HiMarket consumer. The path parameter specifies the consumer ID, and the request body specifies the ID of the API product to subscribe to. The response includes the subscription ID, API product ID and name, API product type, consumer ID and name, and subscription status of the subscription record.
|
|
9442
|
+
*
|
|
9443
|
+
* @param request - SubscribeProductRequest
|
|
9444
|
+
* @returns SubscribeProductResponse
|
|
9445
|
+
*/
|
|
9446
|
+
async subscribeProduct(consumerId, request) {
|
|
9447
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9448
|
+
let headers = {};
|
|
9449
|
+
return await this.subscribeProductWithOptions(consumerId, request, headers, runtime);
|
|
9450
|
+
}
|
|
7542
9451
|
/**
|
|
7543
9452
|
* Syncs an external MCP server.
|
|
7544
9453
|
*
|
|
@@ -7642,7 +9551,7 @@ class Client extends openapi_core_1.default {
|
|
|
7642
9551
|
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
7643
9552
|
}
|
|
7644
9553
|
/**
|
|
7645
|
-
* Cancels the
|
|
9554
|
+
* Cancels the publishing of an MCP server.
|
|
7646
9555
|
*
|
|
7647
9556
|
* @param headers - map
|
|
7648
9557
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7666,7 +9575,7 @@ class Client extends openapi_core_1.default {
|
|
|
7666
9575
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnDeployMcpServerResponse({}));
|
|
7667
9576
|
}
|
|
7668
9577
|
/**
|
|
7669
|
-
* Cancels the
|
|
9578
|
+
* Cancels the publishing of an MCP server.
|
|
7670
9579
|
* @returns UnDeployMcpServerResponse
|
|
7671
9580
|
*/
|
|
7672
9581
|
async unDeployMcpServer(mcpServerId) {
|
|
@@ -7758,6 +9667,43 @@ class Client extends openapi_core_1.default {
|
|
|
7758
9667
|
let headers = {};
|
|
7759
9668
|
return await this.uninstallPluginWithOptions(pluginId, headers, runtime);
|
|
7760
9669
|
}
|
|
9670
|
+
/**
|
|
9671
|
+
* Takes a publication record of an API product offline based on the API product ID and publication record ID. Both identifiers are parameters in the /himarket/v1/products/{productId}/publications/{publicationId} path. The publication record is created by the PublishProduct operation and can be queried by using the ListProductPublications operation. This operation only affects the publication record and does not delete the API product itself. To delete a product, use the DeleteProduct operation. The response returns only the requestId, code, and message.
|
|
9672
|
+
*
|
|
9673
|
+
* @param request - UnpublishProductRequest
|
|
9674
|
+
* @param headers - map
|
|
9675
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9676
|
+
* @returns UnpublishProductResponse
|
|
9677
|
+
*/
|
|
9678
|
+
async unpublishProductWithOptions(productId, publicationId, request, headers, runtime) {
|
|
9679
|
+
request.validate();
|
|
9680
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9681
|
+
headers: headers,
|
|
9682
|
+
});
|
|
9683
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9684
|
+
action: "UnpublishProduct",
|
|
9685
|
+
version: "2024-03-27",
|
|
9686
|
+
protocol: "HTTPS",
|
|
9687
|
+
pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/publications/${$dara.URL.percentEncode(publicationId)}`,
|
|
9688
|
+
method: "DELETE",
|
|
9689
|
+
authType: "AK",
|
|
9690
|
+
style: "ROA",
|
|
9691
|
+
reqBodyType: "json",
|
|
9692
|
+
bodyType: "json",
|
|
9693
|
+
});
|
|
9694
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnpublishProductResponse({}));
|
|
9695
|
+
}
|
|
9696
|
+
/**
|
|
9697
|
+
* Takes a publication record of an API product offline based on the API product ID and publication record ID. Both identifiers are parameters in the /himarket/v1/products/{productId}/publications/{publicationId} path. The publication record is created by the PublishProduct operation and can be queried by using the ListProductPublications operation. This operation only affects the publication record and does not delete the API product itself. To delete a product, use the DeleteProduct operation. The response returns only the requestId, code, and message.
|
|
9698
|
+
*
|
|
9699
|
+
* @param request - UnpublishProductRequest
|
|
9700
|
+
* @returns UnpublishProductResponse
|
|
9701
|
+
*/
|
|
9702
|
+
async unpublishProduct(productId, publicationId, request) {
|
|
9703
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9704
|
+
let headers = {};
|
|
9705
|
+
return await this.unpublishProductWithOptions(productId, publicationId, request, headers, runtime);
|
|
9706
|
+
}
|
|
7761
9707
|
/**
|
|
7762
9708
|
* Removes tags from resources.
|
|
7763
9709
|
*
|
|
@@ -7980,7 +9926,7 @@ class Client extends openapi_core_1.default {
|
|
|
7980
9926
|
return await this.updateAndAttachPolicyWithOptions(policyId, request, headers, runtime);
|
|
7981
9927
|
}
|
|
7982
9928
|
/**
|
|
7983
|
-
*
|
|
9929
|
+
* Updates an authorization rule.
|
|
7984
9930
|
*
|
|
7985
9931
|
* @param request - UpdateAuthorizationRuleRequest
|
|
7986
9932
|
* @param headers - map
|
|
@@ -8011,7 +9957,7 @@ class Client extends openapi_core_1.default {
|
|
|
8011
9957
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAuthorizationRuleResponse({}));
|
|
8012
9958
|
}
|
|
8013
9959
|
/**
|
|
8014
|
-
*
|
|
9960
|
+
* Updates an authorization rule.
|
|
8015
9961
|
*
|
|
8016
9962
|
* @param request - UpdateAuthorizationRuleRequest
|
|
8017
9963
|
* @returns UpdateAuthorizationRuleResponse
|
|
@@ -8021,6 +9967,51 @@ class Client extends openapi_core_1.default {
|
|
|
8021
9967
|
let headers = {};
|
|
8022
9968
|
return await this.updateAuthorizationRuleWithOptions(consumerAuthorizationRuleId, request, headers, runtime);
|
|
8023
9969
|
}
|
|
9970
|
+
/**
|
|
9971
|
+
* Adds or removes API products in batches under a specified product category. The path parameter specifies the category ID, the action in the request body specifies the operation direction, and productIds specifies the list of API product IDs to process. The response returns only the requestId, code, and message without returning item-by-item processing results.
|
|
9972
|
+
*
|
|
9973
|
+
* @param request - UpdateCategoryProductsRequest
|
|
9974
|
+
* @param headers - map
|
|
9975
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9976
|
+
* @returns UpdateCategoryProductsResponse
|
|
9977
|
+
*/
|
|
9978
|
+
async updateCategoryProductsWithOptions(categoryId, request, headers, runtime) {
|
|
9979
|
+
request.validate();
|
|
9980
|
+
let body = {};
|
|
9981
|
+
if (!$dara.isNull(request.action)) {
|
|
9982
|
+
body["action"] = request.action;
|
|
9983
|
+
}
|
|
9984
|
+
if (!$dara.isNull(request.productIds)) {
|
|
9985
|
+
body["productIds"] = request.productIds;
|
|
9986
|
+
}
|
|
9987
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9988
|
+
headers: headers,
|
|
9989
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
9990
|
+
});
|
|
9991
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9992
|
+
action: "UpdateCategoryProducts",
|
|
9993
|
+
version: "2024-03-27",
|
|
9994
|
+
protocol: "HTTPS",
|
|
9995
|
+
pathname: `/himarket/v1/product-categories/${$dara.URL.percentEncode(categoryId)}/products`,
|
|
9996
|
+
method: "POST",
|
|
9997
|
+
authType: "AK",
|
|
9998
|
+
style: "ROA",
|
|
9999
|
+
reqBodyType: "json",
|
|
10000
|
+
bodyType: "json",
|
|
10001
|
+
});
|
|
10002
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCategoryProductsResponse({}));
|
|
10003
|
+
}
|
|
10004
|
+
/**
|
|
10005
|
+
* Adds or removes API products in batches under a specified product category. The path parameter specifies the category ID, the action in the request body specifies the operation direction, and productIds specifies the list of API product IDs to process. The response returns only the requestId, code, and message without returning item-by-item processing results.
|
|
10006
|
+
*
|
|
10007
|
+
* @param request - UpdateCategoryProductsRequest
|
|
10008
|
+
* @returns UpdateCategoryProductsResponse
|
|
10009
|
+
*/
|
|
10010
|
+
async updateCategoryProducts(categoryId, request) {
|
|
10011
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
10012
|
+
let headers = {};
|
|
10013
|
+
return await this.updateCategoryProductsWithOptions(categoryId, request, headers, runtime);
|
|
10014
|
+
}
|
|
8024
10015
|
/**
|
|
8025
10016
|
* Updates a consumer.
|
|
8026
10017
|
*
|
|
@@ -8079,7 +10070,7 @@ class Client extends openapi_core_1.default {
|
|
|
8079
10070
|
* Updates a consumer authorization rule.
|
|
8080
10071
|
*
|
|
8081
10072
|
* @remarks
|
|
8082
|
-
* This API
|
|
10073
|
+
* This API operation is replaced by UpdateAuthorizationRule. The new API path is /v1/authorization-rules/{consumerAuthorizationRuleId}. When you call the new API operation, you only need to provide consumerAuthorizationRuleId in the path and the resources array in the request body. The consumerId parameter is no longer required.
|
|
8083
10074
|
*
|
|
8084
10075
|
* @param request - UpdateConsumerAuthorizationRuleRequest
|
|
8085
10076
|
* @param headers - map
|
|
@@ -8119,7 +10110,7 @@ class Client extends openapi_core_1.default {
|
|
|
8119
10110
|
* Updates a consumer authorization rule.
|
|
8120
10111
|
*
|
|
8121
10112
|
* @remarks
|
|
8122
|
-
* This API
|
|
10113
|
+
* This API operation is replaced by UpdateAuthorizationRule. The new API path is /v1/authorization-rules/{consumerAuthorizationRuleId}. When you call the new API operation, you only need to provide consumerAuthorizationRuleId in the path and the resources array in the request body. The consumerId parameter is no longer required.
|
|
8123
10114
|
*
|
|
8124
10115
|
* @param request - UpdateConsumerAuthorizationRuleRequest
|
|
8125
10116
|
* @returns UpdateConsumerAuthorizationRuleResponse
|
|
@@ -8174,11 +10165,56 @@ class Client extends openapi_core_1.default {
|
|
|
8174
10165
|
let headers = {};
|
|
8175
10166
|
return await this.updateConsumerGroupWithOptions(consumerGroupId, request, headers, runtime);
|
|
8176
10167
|
}
|
|
10168
|
+
/**
|
|
10169
|
+
* Updates the status of a HiMarket developer by developer ID. The request body specifies the target status and portal ID. A successful response returns only the requestId, code, and message, without returning the updated developer information.
|
|
10170
|
+
*
|
|
10171
|
+
* @param request - UpdateDeveloperStatusRequest
|
|
10172
|
+
* @param headers - map
|
|
10173
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10174
|
+
* @returns UpdateDeveloperStatusResponse
|
|
10175
|
+
*/
|
|
10176
|
+
async updateDeveloperStatusWithOptions(developerId, request, headers, runtime) {
|
|
10177
|
+
request.validate();
|
|
10178
|
+
let body = {};
|
|
10179
|
+
if (!$dara.isNull(request.portalId)) {
|
|
10180
|
+
body["portalId"] = request.portalId;
|
|
10181
|
+
}
|
|
10182
|
+
if (!$dara.isNull(request.status)) {
|
|
10183
|
+
body["status"] = request.status;
|
|
10184
|
+
}
|
|
10185
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10186
|
+
headers: headers,
|
|
10187
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
10188
|
+
});
|
|
10189
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
10190
|
+
action: "UpdateDeveloperStatus",
|
|
10191
|
+
version: "2024-03-27",
|
|
10192
|
+
protocol: "HTTPS",
|
|
10193
|
+
pathname: `/himarket/v1/developers/${$dara.URL.percentEncode(developerId)}/status`,
|
|
10194
|
+
method: "PATCH",
|
|
10195
|
+
authType: "AK",
|
|
10196
|
+
style: "ROA",
|
|
10197
|
+
reqBodyType: "json",
|
|
10198
|
+
bodyType: "json",
|
|
10199
|
+
});
|
|
10200
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateDeveloperStatusResponse({}));
|
|
10201
|
+
}
|
|
10202
|
+
/**
|
|
10203
|
+
* Updates the status of a HiMarket developer by developer ID. The request body specifies the target status and portal ID. A successful response returns only the requestId, code, and message, without returning the updated developer information.
|
|
10204
|
+
*
|
|
10205
|
+
* @param request - UpdateDeveloperStatusRequest
|
|
10206
|
+
* @returns UpdateDeveloperStatusResponse
|
|
10207
|
+
*/
|
|
10208
|
+
async updateDeveloperStatus(developerId, request) {
|
|
10209
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
10210
|
+
let headers = {};
|
|
10211
|
+
return await this.updateDeveloperStatusWithOptions(developerId, request, headers, runtime);
|
|
10212
|
+
}
|
|
8177
10213
|
/**
|
|
8178
10214
|
* Updates a domain name.
|
|
8179
10215
|
*
|
|
8180
10216
|
* @remarks
|
|
8181
|
-
* Only sources of the **Container Service** type
|
|
10217
|
+
* Only sources of the **Container Service** type can update the listener Ingress configuration.
|
|
8182
10218
|
*
|
|
8183
10219
|
* @param request - UpdateDomainRequest
|
|
8184
10220
|
* @param headers - map
|
|
@@ -8242,7 +10278,7 @@ class Client extends openapi_core_1.default {
|
|
|
8242
10278
|
* Updates a domain name.
|
|
8243
10279
|
*
|
|
8244
10280
|
* @remarks
|
|
8245
|
-
* Only sources of the **Container Service** type
|
|
10281
|
+
* Only sources of the **Container Service** type can update the listener Ingress configuration.
|
|
8246
10282
|
*
|
|
8247
10283
|
* @param request - UpdateDomainRequest
|
|
8248
10284
|
* @returns UpdateDomainResponse
|
|
@@ -8303,7 +10339,7 @@ class Client extends openapi_core_1.default {
|
|
|
8303
10339
|
return await this.updateEnvironmentWithOptions(environmentId, request, headers, runtime);
|
|
8304
10340
|
}
|
|
8305
10341
|
/**
|
|
8306
|
-
*
|
|
10342
|
+
* Updates the elastic policy of a gateway.
|
|
8307
10343
|
*
|
|
8308
10344
|
* @param request - UpdateGatewayElasticPolicyRequest
|
|
8309
10345
|
* @param headers - map
|
|
@@ -8334,7 +10370,7 @@ class Client extends openapi_core_1.default {
|
|
|
8334
10370
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayElasticPolicyResponse({}));
|
|
8335
10371
|
}
|
|
8336
10372
|
/**
|
|
8337
|
-
*
|
|
10373
|
+
* Updates the elastic policy of a gateway.
|
|
8338
10374
|
*
|
|
8339
10375
|
* @param request - UpdateGatewayElasticPolicyRequest
|
|
8340
10376
|
* @returns UpdateGatewayElasticPolicyResponse
|
|
@@ -8387,7 +10423,7 @@ class Client extends openapi_core_1.default {
|
|
|
8387
10423
|
return await this.updateGatewayFeatureWithOptions(gatewayId, name, request, headers, runtime);
|
|
8388
10424
|
}
|
|
8389
10425
|
/**
|
|
8390
|
-
*
|
|
10426
|
+
* Updates a Gateway Load Balancer (GWLB).
|
|
8391
10427
|
*
|
|
8392
10428
|
* @param request - UpdateGatewayLoadBalancerRequest
|
|
8393
10429
|
* @param headers - map
|
|
@@ -8424,7 +10460,7 @@ class Client extends openapi_core_1.default {
|
|
|
8424
10460
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayLoadBalancerResponse({}));
|
|
8425
10461
|
}
|
|
8426
10462
|
/**
|
|
8427
|
-
*
|
|
10463
|
+
* Updates a Gateway Load Balancer (GWLB).
|
|
8428
10464
|
*
|
|
8429
10465
|
* @param request - UpdateGatewayLoadBalancerRequest
|
|
8430
10466
|
* @returns UpdateGatewayLoadBalancerResponse
|
|
@@ -8435,7 +10471,10 @@ class Client extends openapi_core_1.default {
|
|
|
8435
10471
|
return await this.updateGatewayLoadBalancerWithOptions(gatewayId, request, headers, runtime);
|
|
8436
10472
|
}
|
|
8437
10473
|
/**
|
|
8438
|
-
*
|
|
10474
|
+
* Modifies the O&M window of a gateway.
|
|
10475
|
+
*
|
|
10476
|
+
* @remarks
|
|
10477
|
+
* Modifies the O&M time window of a gateway. This feature is supported only by specific gateway types. If the current gateway does not support modifying the O&M time window, the API returns 409 Conflict.GatewayNotSupportAutoMaintenance.
|
|
8439
10478
|
*
|
|
8440
10479
|
* @param request - UpdateGatewayMaintenancePeriodRequest
|
|
8441
10480
|
* @param headers - map
|
|
@@ -8466,7 +10505,10 @@ class Client extends openapi_core_1.default {
|
|
|
8466
10505
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayMaintenancePeriodResponse({}));
|
|
8467
10506
|
}
|
|
8468
10507
|
/**
|
|
8469
|
-
*
|
|
10508
|
+
* Modifies the O&M window of a gateway.
|
|
10509
|
+
*
|
|
10510
|
+
* @remarks
|
|
10511
|
+
* Modifies the O&M time window of a gateway. This feature is supported only by specific gateway types. If the current gateway does not support modifying the O&M time window, the API returns 409 Conflict.GatewayNotSupportAutoMaintenance.
|
|
8470
10512
|
*
|
|
8471
10513
|
* @param request - UpdateGatewayMaintenancePeriodRequest
|
|
8472
10514
|
* @returns UpdateGatewayMaintenancePeriodResponse
|
|
@@ -8524,17 +10566,17 @@ class Client extends openapi_core_1.default {
|
|
|
8524
10566
|
return await this.updateGatewayNameWithOptions(gatewayId, request, headers, runtime);
|
|
8525
10567
|
}
|
|
8526
10568
|
/**
|
|
8527
|
-
*
|
|
10569
|
+
* Updates a quota throttling rule on a gateway.
|
|
8528
10570
|
*
|
|
8529
10571
|
* @remarks
|
|
8530
|
-
*
|
|
8531
|
-
* >
|
|
8532
|
-
* > -
|
|
8533
|
-
* > - - Set dryRun
|
|
8534
|
-
* > - - The response
|
|
8535
|
-
* > -
|
|
8536
|
-
* > - -
|
|
8537
|
-
* > - -
|
|
10572
|
+
* This operation updates a quota rule on a gateway. Note that this operation takes effect only on AI gateways of a version later than 2.1.21. The update retains the historical usage of the consumption subjects on the rule.
|
|
10573
|
+
* > Recommended call logic:
|
|
10574
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
10575
|
+
* > - - Set dryRun=true.
|
|
10576
|
+
* > - - The response returns a conflict preview containing a conflictHash.
|
|
10577
|
+
* > - 2. Formally submit the request after confirmation.
|
|
10578
|
+
* > - - If no conflicts exist: Set dryRun=false and overwrite=false.
|
|
10579
|
+
* > - - If conflicts exist and you confirm to overwrite: Set dryRun=false, overwrite=true, and conflictHash=<the value returned in the previous step>.
|
|
8538
10580
|
*
|
|
8539
10581
|
* @param request - UpdateGatewayQuotaRuleRequest
|
|
8540
10582
|
* @param headers - map
|
|
@@ -8586,17 +10628,17 @@ class Client extends openapi_core_1.default {
|
|
|
8586
10628
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayQuotaRuleResponse({}));
|
|
8587
10629
|
}
|
|
8588
10630
|
/**
|
|
8589
|
-
*
|
|
10631
|
+
* Updates a quota throttling rule on a gateway.
|
|
8590
10632
|
*
|
|
8591
10633
|
* @remarks
|
|
8592
|
-
*
|
|
8593
|
-
* >
|
|
8594
|
-
* > -
|
|
8595
|
-
* > - - Set dryRun
|
|
8596
|
-
* > - - The response
|
|
8597
|
-
* > -
|
|
8598
|
-
* > - -
|
|
8599
|
-
* > - -
|
|
10634
|
+
* This operation updates a quota rule on a gateway. Note that this operation takes effect only on AI gateways of a version later than 2.1.21. The update retains the historical usage of the consumption subjects on the rule.
|
|
10635
|
+
* > Recommended call logic:
|
|
10636
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
10637
|
+
* > - - Set dryRun=true.
|
|
10638
|
+
* > - - The response returns a conflict preview containing a conflictHash.
|
|
10639
|
+
* > - 2. Formally submit the request after confirmation.
|
|
10640
|
+
* > - - If no conflicts exist: Set dryRun=false and overwrite=false.
|
|
10641
|
+
* > - - If conflicts exist and you confirm to overwrite: Set dryRun=false, overwrite=true, and conflictHash=<the value returned in the previous step>.
|
|
8600
10642
|
*
|
|
8601
10643
|
* @param request - UpdateGatewayQuotaRuleRequest
|
|
8602
10644
|
* @returns UpdateGatewayQuotaRuleResponse
|
|
@@ -8786,7 +10828,7 @@ class Client extends openapi_core_1.default {
|
|
|
8786
10828
|
return await this.updateHttpApiOperationWithOptions(httpApiId, operationId, request, headers, runtime);
|
|
8787
10829
|
}
|
|
8788
10830
|
/**
|
|
8789
|
-
* Updates a route
|
|
10831
|
+
* Updates a route for an HTTP API.
|
|
8790
10832
|
*
|
|
8791
10833
|
* @param request - UpdateHttpApiRouteRequest
|
|
8792
10834
|
* @param headers - map
|
|
@@ -8835,7 +10877,7 @@ class Client extends openapi_core_1.default {
|
|
|
8835
10877
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateHttpApiRouteResponse({}));
|
|
8836
10878
|
}
|
|
8837
10879
|
/**
|
|
8838
|
-
* Updates a route
|
|
10880
|
+
* Updates a route for an HTTP API.
|
|
8839
10881
|
*
|
|
8840
10882
|
* @param request - UpdateHttpApiRouteRequest
|
|
8841
10883
|
* @returns UpdateHttpApiRouteResponse
|
|
@@ -8849,7 +10891,7 @@ class Client extends openapi_core_1.default {
|
|
|
8849
10891
|
* Updates an MCP server.
|
|
8850
10892
|
*
|
|
8851
10893
|
* @remarks
|
|
8852
|
-
* Only sources of the **Container Service** type
|
|
10894
|
+
* Only sources of the **Container Service** type can update the Ingress listener configuration.
|
|
8853
10895
|
*
|
|
8854
10896
|
* @param request - UpdateMcpServerRequest
|
|
8855
10897
|
* @param headers - map
|
|
@@ -8916,7 +10958,7 @@ class Client extends openapi_core_1.default {
|
|
|
8916
10958
|
* Updates an MCP server.
|
|
8917
10959
|
*
|
|
8918
10960
|
* @remarks
|
|
8919
|
-
* Only sources of the **Container Service** type
|
|
10961
|
+
* Only sources of the **Container Service** type can update the Ingress listener configuration.
|
|
8920
10962
|
*
|
|
8921
10963
|
* @param request - UpdateMcpServerRequest
|
|
8922
10964
|
* @returns UpdateMcpServerResponse
|
|
@@ -8927,7 +10969,7 @@ class Client extends openapi_core_1.default {
|
|
|
8927
10969
|
return await this.updateMcpServerWithOptions(mcpServerId, request, headers, runtime);
|
|
8928
10970
|
}
|
|
8929
10971
|
/**
|
|
8930
|
-
*
|
|
10972
|
+
* Updates a migration task.
|
|
8931
10973
|
*
|
|
8932
10974
|
* @param request - UpdateMigrationTaskRequest
|
|
8933
10975
|
* @param headers - map
|
|
@@ -8979,7 +11021,7 @@ class Client extends openapi_core_1.default {
|
|
|
8979
11021
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMigrationTaskResponse({}));
|
|
8980
11022
|
}
|
|
8981
11023
|
/**
|
|
8982
|
-
*
|
|
11024
|
+
* Updates a migration task.
|
|
8983
11025
|
*
|
|
8984
11026
|
* @param request - UpdateMigrationTaskRequest
|
|
8985
11027
|
* @returns UpdateMigrationTaskResponse
|
|
@@ -8990,7 +11032,7 @@ class Client extends openapi_core_1.default {
|
|
|
8990
11032
|
return await this.updateMigrationTaskWithOptions(taskId, request, headers, runtime);
|
|
8991
11033
|
}
|
|
8992
11034
|
/**
|
|
8993
|
-
*
|
|
11035
|
+
* Changes the network access type of a gateway.
|
|
8994
11036
|
*
|
|
8995
11037
|
* @param request - UpdateNetworkAccessRequest
|
|
8996
11038
|
* @param headers - map
|
|
@@ -9021,7 +11063,7 @@ class Client extends openapi_core_1.default {
|
|
|
9021
11063
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateNetworkAccessResponse({}));
|
|
9022
11064
|
}
|
|
9023
11065
|
/**
|
|
9024
|
-
*
|
|
11066
|
+
* Changes the network access type of a gateway.
|
|
9025
11067
|
*
|
|
9026
11068
|
* @param request - UpdateNetworkAccessRequest
|
|
9027
11069
|
* @returns UpdateNetworkAccessResponse
|
|
@@ -9128,7 +11170,176 @@ class Client extends openapi_core_1.default {
|
|
|
9128
11170
|
return await this.updatePolicyWithOptions(policyId, request, headers, runtime);
|
|
9129
11171
|
}
|
|
9130
11172
|
/**
|
|
9131
|
-
*
|
|
11173
|
+
* Updates the name, description, and portal configurations of a HiMarket developer portal by portal ID. The request body is in JSON format. A successful response returns the ID of the updated portal.
|
|
11174
|
+
*
|
|
11175
|
+
* @param request - UpdatePortalRequest
|
|
11176
|
+
* @param headers - map
|
|
11177
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11178
|
+
* @returns UpdatePortalResponse
|
|
11179
|
+
*/
|
|
11180
|
+
async updatePortalWithOptions(portalId, request, headers, runtime) {
|
|
11181
|
+
request.validate();
|
|
11182
|
+
let query = {};
|
|
11183
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
11184
|
+
query["clientToken"] = request.clientToken;
|
|
11185
|
+
}
|
|
11186
|
+
let body = {};
|
|
11187
|
+
if (!$dara.isNull(request.description)) {
|
|
11188
|
+
body["description"] = request.description;
|
|
11189
|
+
}
|
|
11190
|
+
if (!$dara.isNull(request.name)) {
|
|
11191
|
+
body["name"] = request.name;
|
|
11192
|
+
}
|
|
11193
|
+
if (!$dara.isNull(request.portalSettingConfig)) {
|
|
11194
|
+
body["portalSettingConfig"] = request.portalSettingConfig;
|
|
11195
|
+
}
|
|
11196
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11197
|
+
headers: headers,
|
|
11198
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11199
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
11200
|
+
});
|
|
11201
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11202
|
+
action: "UpdatePortal",
|
|
11203
|
+
version: "2024-03-27",
|
|
11204
|
+
protocol: "HTTPS",
|
|
11205
|
+
pathname: `/himarket/v1/portals/${$dara.URL.percentEncode(portalId)}`,
|
|
11206
|
+
method: "PUT",
|
|
11207
|
+
authType: "AK",
|
|
11208
|
+
style: "ROA",
|
|
11209
|
+
reqBodyType: "json",
|
|
11210
|
+
bodyType: "json",
|
|
11211
|
+
});
|
|
11212
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePortalResponse({}));
|
|
11213
|
+
}
|
|
11214
|
+
/**
|
|
11215
|
+
* Updates the name, description, and portal configurations of a HiMarket developer portal by portal ID. The request body is in JSON format. A successful response returns the ID of the updated portal.
|
|
11216
|
+
*
|
|
11217
|
+
* @param request - UpdatePortalRequest
|
|
11218
|
+
* @returns UpdatePortalResponse
|
|
11219
|
+
*/
|
|
11220
|
+
async updatePortal(portalId, request) {
|
|
11221
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11222
|
+
let headers = {};
|
|
11223
|
+
return await this.updatePortalWithOptions(portalId, request, headers, runtime);
|
|
11224
|
+
}
|
|
11225
|
+
/**
|
|
11226
|
+
* Updates the name, description, type, documentation, icon, automatic subscription approval, product category, and product capabilities of an API product by API product ID. The request body is in JSON format. A successful response returns only the requestId, code, and message, and does not return the updated product information.
|
|
11227
|
+
*
|
|
11228
|
+
* @param request - UpdateProductRequest
|
|
11229
|
+
* @param headers - map
|
|
11230
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11231
|
+
* @returns UpdateProductResponse
|
|
11232
|
+
*/
|
|
11233
|
+
async updateProductWithOptions(productId, request, headers, runtime) {
|
|
11234
|
+
request.validate();
|
|
11235
|
+
let query = {};
|
|
11236
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
11237
|
+
query["clientToken"] = request.clientToken;
|
|
11238
|
+
}
|
|
11239
|
+
let body = {};
|
|
11240
|
+
if (!$dara.isNull(request.autoApprove)) {
|
|
11241
|
+
body["autoApprove"] = request.autoApprove;
|
|
11242
|
+
}
|
|
11243
|
+
if (!$dara.isNull(request.categories)) {
|
|
11244
|
+
body["categories"] = request.categories;
|
|
11245
|
+
}
|
|
11246
|
+
if (!$dara.isNull(request.description)) {
|
|
11247
|
+
body["description"] = request.description;
|
|
11248
|
+
}
|
|
11249
|
+
if (!$dara.isNull(request.document)) {
|
|
11250
|
+
body["document"] = request.document;
|
|
11251
|
+
}
|
|
11252
|
+
if (!$dara.isNull(request.feature)) {
|
|
11253
|
+
body["feature"] = request.feature;
|
|
11254
|
+
}
|
|
11255
|
+
if (!$dara.isNull(request.icon)) {
|
|
11256
|
+
body["icon"] = request.icon;
|
|
11257
|
+
}
|
|
11258
|
+
if (!$dara.isNull(request.name)) {
|
|
11259
|
+
body["name"] = request.name;
|
|
11260
|
+
}
|
|
11261
|
+
if (!$dara.isNull(request.type)) {
|
|
11262
|
+
body["type"] = request.type;
|
|
11263
|
+
}
|
|
11264
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11265
|
+
headers: headers,
|
|
11266
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11267
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
11268
|
+
});
|
|
11269
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11270
|
+
action: "UpdateProduct",
|
|
11271
|
+
version: "2024-03-27",
|
|
11272
|
+
protocol: "HTTPS",
|
|
11273
|
+
pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}`,
|
|
11274
|
+
method: "PUT",
|
|
11275
|
+
authType: "AK",
|
|
11276
|
+
style: "ROA",
|
|
11277
|
+
reqBodyType: "json",
|
|
11278
|
+
bodyType: "json",
|
|
11279
|
+
});
|
|
11280
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateProductResponse({}));
|
|
11281
|
+
}
|
|
11282
|
+
/**
|
|
11283
|
+
* Updates the name, description, type, documentation, icon, automatic subscription approval, product category, and product capabilities of an API product by API product ID. The request body is in JSON format. A successful response returns only the requestId, code, and message, and does not return the updated product information.
|
|
11284
|
+
*
|
|
11285
|
+
* @param request - UpdateProductRequest
|
|
11286
|
+
* @returns UpdateProductResponse
|
|
11287
|
+
*/
|
|
11288
|
+
async updateProduct(productId, request) {
|
|
11289
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11290
|
+
let headers = {};
|
|
11291
|
+
return await this.updateProductWithOptions(productId, request, headers, runtime);
|
|
11292
|
+
}
|
|
11293
|
+
/**
|
|
11294
|
+
* Updates the name, description, and icon of a product category by ID. The request body is in JSON format, and the response returns only the request ID, status code, and response message.
|
|
11295
|
+
*
|
|
11296
|
+
* @param request - UpdateProductCategoryRequest
|
|
11297
|
+
* @param headers - map
|
|
11298
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11299
|
+
* @returns UpdateProductCategoryResponse
|
|
11300
|
+
*/
|
|
11301
|
+
async updateProductCategoryWithOptions(categoryId, request, headers, runtime) {
|
|
11302
|
+
request.validate();
|
|
11303
|
+
let body = {};
|
|
11304
|
+
if (!$dara.isNull(request.description)) {
|
|
11305
|
+
body["description"] = request.description;
|
|
11306
|
+
}
|
|
11307
|
+
if (!$dara.isNull(request.icon)) {
|
|
11308
|
+
body["icon"] = request.icon;
|
|
11309
|
+
}
|
|
11310
|
+
if (!$dara.isNull(request.name)) {
|
|
11311
|
+
body["name"] = request.name;
|
|
11312
|
+
}
|
|
11313
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11314
|
+
headers: headers,
|
|
11315
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
11316
|
+
});
|
|
11317
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11318
|
+
action: "UpdateProductCategory",
|
|
11319
|
+
version: "2024-03-27",
|
|
11320
|
+
protocol: "HTTPS",
|
|
11321
|
+
pathname: `/himarket/v1/product-categories/${$dara.URL.percentEncode(categoryId)}`,
|
|
11322
|
+
method: "PUT",
|
|
11323
|
+
authType: "AK",
|
|
11324
|
+
style: "ROA",
|
|
11325
|
+
reqBodyType: "json",
|
|
11326
|
+
bodyType: "json",
|
|
11327
|
+
});
|
|
11328
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateProductCategoryResponse({}));
|
|
11329
|
+
}
|
|
11330
|
+
/**
|
|
11331
|
+
* Updates the name, description, and icon of a product category by ID. The request body is in JSON format, and the response returns only the request ID, status code, and response message.
|
|
11332
|
+
*
|
|
11333
|
+
* @param request - UpdateProductCategoryRequest
|
|
11334
|
+
* @returns UpdateProductCategoryResponse
|
|
11335
|
+
*/
|
|
11336
|
+
async updateProductCategory(categoryId, request) {
|
|
11337
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11338
|
+
let headers = {};
|
|
11339
|
+
return await this.updateProductCategoryWithOptions(categoryId, request, headers, runtime);
|
|
11340
|
+
}
|
|
11341
|
+
/**
|
|
11342
|
+
* Updates the notification configuration for risk items.
|
|
9132
11343
|
*
|
|
9133
11344
|
* @param request - UpdateRiskNotificationRequest
|
|
9134
11345
|
* @param headers - map
|
|
@@ -9162,7 +11373,7 @@ class Client extends openapi_core_1.default {
|
|
|
9162
11373
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateRiskNotificationResponse({}));
|
|
9163
11374
|
}
|
|
9164
11375
|
/**
|
|
9165
|
-
*
|
|
11376
|
+
* Updates the notification configuration for risk items.
|
|
9166
11377
|
*
|
|
9167
11378
|
* @param request - UpdateRiskNotificationRequest
|
|
9168
11379
|
* @returns UpdateRiskNotificationResponse
|
|
@@ -9173,10 +11384,10 @@ class Client extends openapi_core_1.default {
|
|
|
9173
11384
|
return await this.updateRiskNotificationWithOptions(gatewayId, request, headers, runtime);
|
|
9174
11385
|
}
|
|
9175
11386
|
/**
|
|
9176
|
-
* Updates a
|
|
11387
|
+
* Updates a secret.
|
|
9177
11388
|
*
|
|
9178
11389
|
* @remarks
|
|
9179
|
-
* Only sources of the **container service** type allow you to update the
|
|
11390
|
+
* Only sources of the **container service** type allow you to update the listener Ingress configuration.
|
|
9180
11391
|
*
|
|
9181
11392
|
* @param request - UpdateSecretRequest
|
|
9182
11393
|
* @param headers - map
|
|
@@ -9207,10 +11418,10 @@ class Client extends openapi_core_1.default {
|
|
|
9207
11418
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSecretResponse({}));
|
|
9208
11419
|
}
|
|
9209
11420
|
/**
|
|
9210
|
-
* Updates a
|
|
11421
|
+
* Updates a secret.
|
|
9211
11422
|
*
|
|
9212
11423
|
* @remarks
|
|
9213
|
-
* Only sources of the **container service** type allow you to update the
|
|
11424
|
+
* Only sources of the **container service** type allow you to update the listener Ingress configuration.
|
|
9214
11425
|
*
|
|
9215
11426
|
* @param request - UpdateSecretRequest
|
|
9216
11427
|
* @returns UpdateSecretResponse
|
|
@@ -9221,7 +11432,7 @@ class Client extends openapi_core_1.default {
|
|
|
9221
11432
|
return await this.updateSecretWithOptions(secretId, request, headers, runtime);
|
|
9222
11433
|
}
|
|
9223
11434
|
/**
|
|
9224
|
-
* Updates a service.
|
|
11435
|
+
* Updates a service. Supports updating the health check configuration, DNS domain names, and static address configurations of the service.
|
|
9225
11436
|
*
|
|
9226
11437
|
* @param request - UpdateServiceRequest
|
|
9227
11438
|
* @param headers - map
|
|
@@ -9240,6 +11451,12 @@ class Client extends openapi_core_1.default {
|
|
|
9240
11451
|
if (!$dara.isNull(request.aiServiceConfig)) {
|
|
9241
11452
|
body["aiServiceConfig"] = request.aiServiceConfig;
|
|
9242
11453
|
}
|
|
11454
|
+
if (!$dara.isNull(request.apiKeyReferencesToAdd)) {
|
|
11455
|
+
body["apiKeyReferencesToAdd"] = request.apiKeyReferencesToAdd;
|
|
11456
|
+
}
|
|
11457
|
+
if (!$dara.isNull(request.apiKeysToAdd)) {
|
|
11458
|
+
body["apiKeysToAdd"] = request.apiKeysToAdd;
|
|
11459
|
+
}
|
|
9243
11460
|
if (!$dara.isNull(request.dnsServers)) {
|
|
9244
11461
|
body["dnsServers"] = request.dnsServers;
|
|
9245
11462
|
}
|
|
@@ -9279,7 +11496,7 @@ class Client extends openapi_core_1.default {
|
|
|
9279
11496
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateServiceResponse({}));
|
|
9280
11497
|
}
|
|
9281
11498
|
/**
|
|
9282
|
-
* Updates a service.
|
|
11499
|
+
* Updates a service. Supports updating the health check configuration, DNS domain names, and static address configurations of the service.
|
|
9283
11500
|
*
|
|
9284
11501
|
* @param request - UpdateServiceRequest
|
|
9285
11502
|
* @returns UpdateServiceResponse
|
|
@@ -9374,7 +11591,7 @@ class Client extends openapi_core_1.default {
|
|
|
9374
11591
|
return await this.upgradeGatewayWithOptions(gatewayId, request, headers, runtime);
|
|
9375
11592
|
}
|
|
9376
11593
|
/**
|
|
9377
|
-
*
|
|
11594
|
+
* Validates a migration task.
|
|
9378
11595
|
*
|
|
9379
11596
|
* @param request - VerifyMigrationTaskRequest
|
|
9380
11597
|
* @param headers - map
|
|
@@ -9400,7 +11617,7 @@ class Client extends openapi_core_1.default {
|
|
|
9400
11617
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VerifyMigrationTaskResponse({}));
|
|
9401
11618
|
}
|
|
9402
11619
|
/**
|
|
9403
|
-
*
|
|
11620
|
+
* Validates a migration task.
|
|
9404
11621
|
*
|
|
9405
11622
|
* @param request - VerifyMigrationTaskRequest
|
|
9406
11623
|
* @returns VerifyMigrationTaskResponse
|