import { AbstractClient } from "../../../common/abstract_client"; import { ClientConfig } from "../../../common/interface"; import { CreateCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayLLMModelServicesResponse, ModifyCloudNativeAPIGatewayConsumerGroupResponse, DescribeCloudNativeAPIGatewayMCPServerACLRequest, DeleteCloudNativeAPIGatewayMCPToolResponse, CreateCloudNativeAPIGatewayMCPServerRequest, DeleteCloudNativeAPIGatewaySecretKeyRequest, DeleteCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewaySecretKeyValueRequest, DeleteCloudNativeAPIGatewayConsumerResponse, RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse, DescribeCloudNativeAPIGatewayMCPServerAuthResponse, DescribeCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewayLLMModelServiceRequest, ModifyCloudNativeAPIGatewaySecretKeyResponse, AddCloudNativeAPIGatewayConsumerInGroupResponse, DescribeCloudNativeAPIGatewayMCPToolACLListResponse, ModifyCloudNativeAPIGatewayMCPServerAuthResponse, CreateCloudNativeAPIGatewayConsumerGroupRequest, ModifyCloudNativeAPIGatewayLLMModelAPIResponse, ModifyCloudNativeAPIGatewayLLMModelServiceResponse, RemoveCloudNativeAPIGatewayConsumerInGroupRequest, CreateCloudNativeAPIGatewayLLMModelServiceRequest, DescribeCloudNativeAPIGatewayLLMModelServicesRequest, CreateCloudNativeAPIGatewayLLMModelAPIRequest, DescribeCloudNativeAPIGatewayConsumerGroupRequest, DescribeCloudNativeAPIGatewayMCPToolACLListRequest, DescribeCNGWServicesWithRoutesResponse, DescribeCloudNativeAPIGatewayLLMModelAPIsRequest, ModifyCloudNativeAPIGatewayMCPServerACLRequest, CreateCloudNativeAPIGatewayLLMModelServiceResponse, ModifyCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayConsumerResponse, DescribeCloudNativeAPIGatewayMCPToolListRequest, DeleteCloudNativeAPIGatewayMCPServerResponse, ModifyCloudNativeAPIGatewayMCPToolRequest, DeleteCloudNativeAPIGatewayLLMModelAPIRequest, DeleteCloudNativeAPIGatewayLLMModelServiceResponse, DescribeCloudNativeAPIGatewayMCPToolResponse, ModifyCloudNativeAPIGatewayMCPToolACLResponse, DescribeCloudNativeAPIGatewayMCPToolsFromFileRequest, CreateCloudNativeAPIGatewayConsumerGroupResponse, UpdateCloudNativeAPIGatewayMCPToolsResponse, DescribeCloudNativeAPIGatewayLLMModelAPIResponse, DescribeCloudNativeAPIGatewayLLMModelAPIRequest, BindCloudNativeAPIGatewaySecretKeyRequest, ModifyCloudNativeAPIGatewayConsumerResponse, ModifyCloudNativeAPIGatewayMCPServerACLResponse, DeleteCloudNativeAPIGatewayMCPServerRequest, ModifyCloudNativeAPIGatewayMCPServerStatusResponse, DeleteCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsRequest, CreateCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayMCPServerResponse, ModifyCloudNativeAPIGatewayMCPToolACLRequest, CreateCloudNativeAPIGatewayMCPServerResponse, UpdateCloudNativeAPIGatewayMCPToolsRequest, CreateCloudNativeAPIGatewayConsumerRequest, ModifyCloudNativeAPIGatewayMCPServerStatusRequest, ModifyCloudNativeAPIGatewayMCPToolResponse, RemoveCloudNativeAPIGatewayConsumerInGroupResponse, DescribeCloudNativeAPIGatewayLLMModelAPIsResponse, AddCloudNativeAPIGatewayConsumerInGroupRequest, CreateCloudNativeAPIGatewayConsumerResponse, DeleteCloudNativeAPIGatewayLLMModelAPIResponse, UnbindCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolsFromFileResponse, ModifyCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse, DescribeCNGWServicesWithRoutesRequest, DescribeCloudNativeAPIGatewayMCPServerACLResponse, ModifyCloudNativeAPIGatewayMCPServerResponse, DescribeCloudNativeAPIGatewayLLMModelServiceResponse, DescribeCloudNativeAPIGatewaySecretKeyRequest, ModifyCloudNativeAPIGatewayMCPServerRequest, AddCloudNativeAPIGatewayConsumerGroupAuthResponse, DescribeCloudNativeAPIGatewaySecretKeyValueResponse, DeleteCloudNativeAPIGatewayConsumerRequest, ModifyCloudNativeAPIGatewayMCPToolStatusResponse, ModifyCloudNativeAPIGatewayConsumerGroupRequest, UnbindCloudNativeAPIGatewaySecretKeyRequest, BindCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolListResponse, DeleteCloudNativeAPIGatewayConsumerGroupRequest, RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest, DescribeCloudNativeAPIGatewayMCPServerListRequest, DescribeCloudNativeAPIGatewayConsumerGroupResponse, ModifyCloudNativeAPIGatewayMCPServerAuthRequest, DescribeCloudNativeAPIGatewayMCPServerRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageListRequest, ModifyCloudNativeAPIGatewayMCPToolStatusRequest, AddCloudNativeAPIGatewayConsumerGroupAuthRequest, CreateCloudNativeAPIGatewayMCPToolResponse, ModifyCloudNativeAPIGatewayLLMModelServiceRequest, DescribeCloudNativeAPIGatewayMCPServerListResponse, CreateCloudNativeAPIGatewayLLMModelAPIResponse, CreateCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPServerAuthRequest, DeleteCloudNativeAPIGatewayLLMModelServiceRequest, DeleteCloudNativeAPIGatewayConsumerGroupResponse, ModifyCloudNativeAPIGatewayLLMModelAPIRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageListResponse } from "./cngw_models"; /** * cngw client * @class */ export declare class Client extends AbstractClient { constructor(clientConfig: ClientConfig); /** * 删除AI 网关消费者(被绑定到消费者组/密钥时需先解绑)。 */ DeleteCloudNativeAPIGatewayConsumer(req: DeleteCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayConsumerResponse) => void): Promise; /** * 修改消费者组。 */ ModifyCloudNativeAPIGatewayConsumerGroup(req: ModifyCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise; /** * 删除AI网关MCP服务 */ DeleteCloudNativeAPIGatewayMCPServer(req: DeleteCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayMCPServerResponse) => void): Promise; /** * 创建消费者密钥。 */ CreateCloudNativeAPIGatewaySecretKey(req: CreateCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewaySecretKeyResponse) => void): Promise; /** * 修改 MCP Server ACL */ ModifyCloudNativeAPIGatewayMCPServerACL(req: ModifyCloudNativeAPIGatewayMCPServerACLRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerACLResponse) => void): Promise; /** * 从资源(模型 API / MCP Server)移除消费者组授权。 */ RemoveCloudNativeAPIGatewayConsumerGroupAuth(req: RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest, cb?: (error: string, rep: RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse) => void): Promise; /** * 删除AI网关MCP Tool */ DeleteCloudNativeAPIGatewayMCPTool(req: DeleteCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayMCPToolResponse) => void): Promise; /** * 创建 LLM 模型 API。 */ CreateCloudNativeAPIGatewayLLMModelAPI(req: CreateCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise; /** * 查询单个 LLM 模型 API 详情。 */ DescribeCloudNativeAPIGatewayLLMModelAPI(req: DescribeCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise; /** * 修改 MCP Server Tool ACL */ ModifyCloudNativeAPIGatewayMCPToolACL(req: ModifyCloudNativeAPIGatewayMCPToolACLRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPToolACLResponse) => void): Promise; /** * AI网关修改MCP Tool上下线状态 */ ModifyCloudNativeAPIGatewayMCPToolStatus(req: ModifyCloudNativeAPIGatewayMCPToolStatusRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPToolStatusResponse) => void): Promise; /** * 解绑密钥 */ UnbindCloudNativeAPIGatewaySecretKey(req: UnbindCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: UnbindCloudNativeAPIGatewaySecretKeyResponse) => void): Promise; /** * 修改 LLM 模型服务。 */ ModifyCloudNativeAPIGatewayLLMModelService(req: ModifyCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise; /** * 查询消费者组详情。 */ DescribeCloudNativeAPIGatewayConsumerGroup(req: DescribeCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise; /** * 将消费者从消费者组移除。 */ RemoveCloudNativeAPIGatewayConsumerInGroup(req: RemoveCloudNativeAPIGatewayConsumerInGroupRequest, cb?: (error: string, rep: RemoveCloudNativeAPIGatewayConsumerInGroupResponse) => void): Promise; /** * 查看 MCP Server ACL */ DescribeCloudNativeAPIGatewayMCPServerACL(req: DescribeCloudNativeAPIGatewayMCPServerACLRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerACLResponse) => void): Promise; /** * 查询云原生网关 MCP Server 下所有 Tool 的 ACL 状态一览(含 Server ACLType 回显)。 */ DescribeCloudNativeAPIGatewayMCPToolACLList(req: DescribeCloudNativeAPIGatewayMCPToolACLListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPToolACLListResponse) => void): Promise; /** * 创建 LLM 模型服务。同一网关下 Name 唯一。 */ CreateCloudNativeAPIGatewayLLMModelService(req: CreateCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise; /** * 查询AI 网关MCP服务信息 */ DescribeCloudNativeAPIGatewayMCPServer(req: DescribeCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerResponse) => void): Promise; /** * 查询指定网关实例下的所有 LLM 模型 API 列表。支持按名称关键词模糊搜索、按过滤器筛选,以及分页查询。用于绑定场景时,可通过 ConsumerGroupId 和 UseToBind 参数筛选可绑定的模型 API。 */ DescribeCloudNativeAPIGatewayLLMModelAPIs(req: DescribeCloudNativeAPIGatewayLLMModelAPIsRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelAPIsResponse) => void): Promise; /** * 将消费者添加到消费者组。 */ AddCloudNativeAPIGatewayConsumerInGroup(req: AddCloudNativeAPIGatewayConsumerInGroupRequest, cb?: (error: string, rep: AddCloudNativeAPIGatewayConsumerInGroupResponse) => void): Promise; /** * 修改AI网关消费者 */ ModifyCloudNativeAPIGatewayConsumer(req: ModifyCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayConsumerResponse) => void): Promise; /** * 查询云原生网关服务和路由列表 */ DescribeCNGWServicesWithRoutes(req: DescribeCNGWServicesWithRoutesRequest, cb?: (error: string, rep: DescribeCNGWServicesWithRoutesResponse) => void): Promise; /** * 修改MCP服务配置 */ ModifyCloudNativeAPIGatewayMCPServer(req: ModifyCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerResponse) => void): Promise; /** * AI网关查询MCP服务列表 */ DescribeCloudNativeAPIGatewayMCPServerList(req: DescribeCloudNativeAPIGatewayMCPServerListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerListResponse) => void): Promise; /** * 查询 MCP Server 的认证配置 */ DescribeCloudNativeAPIGatewayMCPServerAuth(req: DescribeCloudNativeAPIGatewayMCPServerAuthRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerAuthResponse) => void): Promise; /** * 删除 LLM 模型 API。 */ DeleteCloudNativeAPIGatewayLLMModelAPI(req: DeleteCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise; /** * 删除消费者密钥(被绑定时需先解绑)。 */ DeleteCloudNativeAPIGatewaySecretKey(req: DeleteCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewaySecretKeyResponse) => void): Promise; /** * 查询单个 LLM 模型服务详情。 */ DescribeCloudNativeAPIGatewayLLMModelService(req: DescribeCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise; /** * 修改 LLM 模型 API。 */ ModifyCloudNativeAPIGatewayLLMModelAPI(req: ModifyCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise; /** * 查询 AI 网关Token 消耗统计汇总 */ DescribeCloudNativeAPIGatewayLLMTokenUsageStatistics(req: DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse) => void): Promise; /** * 创建AI 网关消费者组 */ CreateCloudNativeAPIGatewayConsumerGroup(req: CreateCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise; /** * 查看AI网关MCP Tool */ DescribeCloudNativeAPIGatewayMCPTool(req: DescribeCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPToolResponse) => void): Promise; /** * 创建AI网关MCP Tool */ CreateCloudNativeAPIGatewayMCPTool(req: CreateCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayMCPToolResponse) => void): Promise; /** * 修改AI网关MCP Tool */ ModifyCloudNativeAPIGatewayMCPTool(req: ModifyCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPToolResponse) => void): Promise; /** * 批量导入从OpenAPI文件中解析的MCP Tools */ UpdateCloudNativeAPIGatewayMCPTools(req: UpdateCloudNativeAPIGatewayMCPToolsRequest, cb?: (error: string, rep: UpdateCloudNativeAPIGatewayMCPToolsResponse) => void): Promise; /** * 修改 MCP Server 的认证配置 */ ModifyCloudNativeAPIGatewayMCPServerAuth(req: ModifyCloudNativeAPIGatewayMCPServerAuthRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerAuthResponse) => void): Promise; /** * 查询密钥明文值(KMS 类型密钥不可获取)。 */ DescribeCloudNativeAPIGatewaySecretKeyValue(req: DescribeCloudNativeAPIGatewaySecretKeyValueRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewaySecretKeyValueResponse) => void): Promise; /** * 创建AI 网关MCP Server */ ModifyCloudNativeAPIGatewayMCPServerStatus(req: ModifyCloudNativeAPIGatewayMCPServerStatusRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerStatusResponse) => void): Promise; /** * 创建AI网关MCP Server */ CreateCloudNativeAPIGatewayMCPServer(req: CreateCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayMCPServerResponse) => void): Promise; /** * 修改AI网关密钥 */ ModifyCloudNativeAPIGatewaySecretKey(req: ModifyCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewaySecretKeyResponse) => void): Promise; /** * 查询 AI 网关Token 消耗统计 */ DescribeCloudNativeAPIGatewayLLMTokenUsageList(req: DescribeCloudNativeAPIGatewayLLMTokenUsageListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMTokenUsageListResponse) => void): Promise; /** * 查询 AI 网关MCP Tool 列表 */ DescribeCloudNativeAPIGatewayMCPToolList(req: DescribeCloudNativeAPIGatewayMCPToolListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPToolListResponse) => void): Promise; /** * 删除 LLM 模型服务(被模型 API 绑定时需先解绑)。 */ DeleteCloudNativeAPIGatewayLLMModelService(req: DeleteCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise; /** * 查询云原生消费者详情 */ DescribeCloudNativeAPIGatewayConsumer(req: DescribeCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayConsumerResponse) => void): Promise; /** * 查询密钥详情(SecretValue 字段会被掩码)。 */ DescribeCloudNativeAPIGatewaySecretKey(req: DescribeCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewaySecretKeyResponse) => void): Promise; /** * 为资源(模型 API / MCP Server)添加消费者组授权。 */ AddCloudNativeAPIGatewayConsumerGroupAuth(req: AddCloudNativeAPIGatewayConsumerGroupAuthRequest, cb?: (error: string, rep: AddCloudNativeAPIGatewayConsumerGroupAuthResponse) => void): Promise; /** * 添加密钥与资源的引用关系接口 */ BindCloudNativeAPIGatewaySecretKey(req: BindCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: BindCloudNativeAPIGatewaySecretKeyResponse) => void): Promise; /** * 查询 LLM 模型服务列表。 */ DescribeCloudNativeAPIGatewayLLMModelServices(req: DescribeCloudNativeAPIGatewayLLMModelServicesRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelServicesResponse) => void): Promise; /** * 从OpenAPI文件中解析出可导入的MCP tools */ DescribeCloudNativeAPIGatewayMCPToolsFromFile(req: DescribeCloudNativeAPIGatewayMCPToolsFromFileRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPToolsFromFileResponse) => void): Promise; /** * 删除AI网关消费者组 */ DeleteCloudNativeAPIGatewayConsumerGroup(req: DeleteCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise; /** * 创建AI网关消费者。 */ CreateCloudNativeAPIGatewayConsumer(req: CreateCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayConsumerResponse) => void): Promise; }