UNPKG

tencentcloud-sdk-nodejs

Version:
207 lines (206 loc) 19.8 kB
import { AbstractClient } from "../../../common/abstract_client"; import { ClientConfig } from "../../../common/interface"; import { CreateCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayLLMModelServicesResponse, ModifyCloudNativeAPIGatewayConsumerGroupResponse, DescribeCloudNativeAPIGatewayMCPServerACLRequest, DeleteCloudNativeAPIGatewayMCPToolResponse, CreateCloudNativeAPIGatewayMCPServerRequest, DeleteCloudNativeAPIGatewaySecretKeyRequest, DeleteCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewaySecretKeyValueRequest, DeleteCloudNativeAPIGatewayConsumerResponse, RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse, ModifyCloudNativeAPIGatewayMCPServerRequest, DescribeCloudNativeAPIGatewayMCPServerAuthResponse, DescribeCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewayLLMModelServiceRequest, ModifyCloudNativeAPIGatewaySecretKeyResponse, AddCloudNativeAPIGatewayConsumerInGroupResponse, DescribeCloudNativeAPIGatewayMCPToolACLListResponse, ModifyCloudNativeAPIGatewayMCPServerAuthResponse, CreateCloudNativeAPIGatewayConsumerGroupRequest, ModifyCloudNativeAPIGatewayLLMModelAPIResponse, ModifyCloudNativeAPIGatewayLLMModelServiceResponse, CreateCloudNativeAPIGatewayLLMModelServiceResponse, RemoveCloudNativeAPIGatewayConsumerInGroupRequest, CreateCloudNativeAPIGatewayLLMModelServiceRequest, DescribeCloudNativeAPIGatewayLLMModelServicesRequest, CreateCloudNativeAPIGatewayLLMModelAPIRequest, DescribeCloudNativeAPIGatewayConsumerGroupRequest, DescribeCloudNativeAPIGatewayLLMModelAPIsRequest, ModifyCloudNativeAPIGatewayMCPServerACLRequest, ModifyCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayConsumerResponse, DescribeCloudNativeAPIGatewayMCPToolListRequest, DeleteCloudNativeAPIGatewayMCPServerResponse, ModifyCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayMCPToolACLListRequest, DeleteCloudNativeAPIGatewayLLMModelServiceResponse, DescribeCloudNativeAPIGatewayMCPToolResponse, ModifyCloudNativeAPIGatewayMCPToolACLResponse, CreateCloudNativeAPIGatewayConsumerGroupResponse, DescribeCloudNativeAPIGatewayLLMModelAPIResponse, ModifyCloudNativeAPIGatewayMCPServerStatusResponse, DescribeCloudNativeAPIGatewayLLMModelAPIRequest, CreateCloudNativeAPIGatewayConsumerRequest, BindCloudNativeAPIGatewaySecretKeyRequest, ModifyCloudNativeAPIGatewayConsumerResponse, ModifyCloudNativeAPIGatewayMCPServerACLResponse, DeleteCloudNativeAPIGatewayMCPServerRequest, DeleteCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsRequest, CreateCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayMCPServerResponse, ModifyCloudNativeAPIGatewayMCPToolACLRequest, CreateCloudNativeAPIGatewayMCPServerResponse, DeleteCloudNativeAPIGatewayLLMModelAPIRequest, ModifyCloudNativeAPIGatewayMCPServerStatusRequest, ModifyCloudNativeAPIGatewayMCPToolResponse, RemoveCloudNativeAPIGatewayConsumerInGroupResponse, DescribeCloudNativeAPIGatewayLLMModelAPIsResponse, AddCloudNativeAPIGatewayConsumerInGroupRequest, CreateCloudNativeAPIGatewayConsumerResponse, DeleteCloudNativeAPIGatewayLLMModelAPIResponse, UnbindCloudNativeAPIGatewaySecretKeyResponse, ModifyCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse, DescribeCloudNativeAPIGatewayMCPServerACLResponse, ModifyCloudNativeAPIGatewayMCPServerResponse, DescribeCloudNativeAPIGatewayLLMModelServiceResponse, DescribeCloudNativeAPIGatewaySecretKeyRequest, AddCloudNativeAPIGatewayConsumerGroupAuthResponse, DeleteCloudNativeAPIGatewayConsumerRequest, ModifyCloudNativeAPIGatewayMCPToolStatusResponse, ModifyCloudNativeAPIGatewayConsumerGroupRequest, UnbindCloudNativeAPIGatewaySecretKeyRequest, BindCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolListResponse, DeleteCloudNativeAPIGatewayConsumerGroupRequest, RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest, DescribeCloudNativeAPIGatewayMCPServerListRequest, DescribeCloudNativeAPIGatewayConsumerGroupResponse, ModifyCloudNativeAPIGatewayMCPServerAuthRequest, DescribeCloudNativeAPIGatewayMCPServerRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageListRequest, ModifyCloudNativeAPIGatewayMCPToolStatusRequest, AddCloudNativeAPIGatewayConsumerGroupAuthRequest, DescribeCloudNativeAPIGatewaySecretKeyValueResponse, CreateCloudNativeAPIGatewayMCPToolResponse, ModifyCloudNativeAPIGatewayLLMModelServiceRequest, DescribeCloudNativeAPIGatewayMCPServerListResponse, CreateCloudNativeAPIGatewayLLMModelAPIResponse, DescribeCloudNativeAPIGatewayMCPServerAuthRequest, DeleteCloudNativeAPIGatewayLLMModelServiceRequest, DeleteCloudNativeAPIGatewayConsumerGroupResponse, ModifyCloudNativeAPIGatewayLLMModelAPIRequest, CreateCloudNativeAPIGatewaySecretKeyResponse, 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<DeleteCloudNativeAPIGatewayConsumerResponse>; /** * 修改消费者组。 */ ModifyCloudNativeAPIGatewayConsumerGroup(req: ModifyCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise<ModifyCloudNativeAPIGatewayConsumerGroupResponse>; /** * 删除AI网关MCP服务 */ DeleteCloudNativeAPIGatewayMCPServer(req: DeleteCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayMCPServerResponse) => void): Promise<DeleteCloudNativeAPIGatewayMCPServerResponse>; /** * 创建消费者密钥。 */ CreateCloudNativeAPIGatewaySecretKey(req: CreateCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<CreateCloudNativeAPIGatewaySecretKeyResponse>; /** * 修改 MCP Server ACL */ ModifyCloudNativeAPIGatewayMCPServerACL(req: ModifyCloudNativeAPIGatewayMCPServerACLRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerACLResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPServerACLResponse>; /** * 从资源(模型 API / MCP Server)移除消费者组授权。 */ RemoveCloudNativeAPIGatewayConsumerGroupAuth(req: RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest, cb?: (error: string, rep: RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse) => void): Promise<RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse>; /** * 删除AI网关MCP Tool */ DeleteCloudNativeAPIGatewayMCPTool(req: DeleteCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayMCPToolResponse) => void): Promise<DeleteCloudNativeAPIGatewayMCPToolResponse>; /** * 创建 LLM 模型 API。 */ CreateCloudNativeAPIGatewayLLMModelAPI(req: CreateCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise<CreateCloudNativeAPIGatewayLLMModelAPIResponse>; /** * 查询单个 LLM 模型 API 详情。 */ DescribeCloudNativeAPIGatewayLLMModelAPI(req: DescribeCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMModelAPIResponse>; /** * 修改 MCP Server Tool ACL */ ModifyCloudNativeAPIGatewayMCPToolACL(req: ModifyCloudNativeAPIGatewayMCPToolACLRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPToolACLResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPToolACLResponse>; /** * AI网关修改MCP Tool上下线状态 */ ModifyCloudNativeAPIGatewayMCPToolStatus(req: ModifyCloudNativeAPIGatewayMCPToolStatusRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPToolStatusResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPToolStatusResponse>; /** * 解绑密钥 */ UnbindCloudNativeAPIGatewaySecretKey(req: UnbindCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: UnbindCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<UnbindCloudNativeAPIGatewaySecretKeyResponse>; /** * 修改 LLM 模型服务。 */ ModifyCloudNativeAPIGatewayLLMModelService(req: ModifyCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise<ModifyCloudNativeAPIGatewayLLMModelServiceResponse>; /** * 查询消费者组详情。 */ DescribeCloudNativeAPIGatewayConsumerGroup(req: DescribeCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise<DescribeCloudNativeAPIGatewayConsumerGroupResponse>; /** * 将消费者从消费者组移除。 */ RemoveCloudNativeAPIGatewayConsumerInGroup(req: RemoveCloudNativeAPIGatewayConsumerInGroupRequest, cb?: (error: string, rep: RemoveCloudNativeAPIGatewayConsumerInGroupResponse) => void): Promise<RemoveCloudNativeAPIGatewayConsumerInGroupResponse>; /** * 查看 MCP Server ACL */ DescribeCloudNativeAPIGatewayMCPServerACL(req: DescribeCloudNativeAPIGatewayMCPServerACLRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerACLResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPServerACLResponse>; /** * 查询云原生网关 MCP Server 下所有 Tool 的 ACL 状态一览(含 Server ACLType 回显)。 */ DescribeCloudNativeAPIGatewayMCPToolACLList(req: DescribeCloudNativeAPIGatewayMCPToolACLListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPToolACLListResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPToolACLListResponse>; /** * 创建 LLM 模型服务。同一网关下 Name 唯一。 */ CreateCloudNativeAPIGatewayLLMModelService(req: CreateCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise<CreateCloudNativeAPIGatewayLLMModelServiceResponse>; /** * 查询AI 网关MCP服务信息 */ DescribeCloudNativeAPIGatewayMCPServer(req: DescribeCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPServerResponse>; /** * 查询 LLM 模型 API 列表。 */ DescribeCloudNativeAPIGatewayLLMModelAPIs(req: DescribeCloudNativeAPIGatewayLLMModelAPIsRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelAPIsResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMModelAPIsResponse>; /** * 将消费者添加到消费者组。 */ AddCloudNativeAPIGatewayConsumerInGroup(req: AddCloudNativeAPIGatewayConsumerInGroupRequest, cb?: (error: string, rep: AddCloudNativeAPIGatewayConsumerInGroupResponse) => void): Promise<AddCloudNativeAPIGatewayConsumerInGroupResponse>; /** * 修改AI网关消费者 */ ModifyCloudNativeAPIGatewayConsumer(req: ModifyCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayConsumerResponse) => void): Promise<ModifyCloudNativeAPIGatewayConsumerResponse>; /** * 修改MCP服务配置 */ ModifyCloudNativeAPIGatewayMCPServer(req: ModifyCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPServerResponse>; /** * AI网关查询MCP服务列表 */ DescribeCloudNativeAPIGatewayMCPServerList(req: DescribeCloudNativeAPIGatewayMCPServerListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerListResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPServerListResponse>; /** * 查询 MCP Server 的认证配置 */ DescribeCloudNativeAPIGatewayMCPServerAuth(req: DescribeCloudNativeAPIGatewayMCPServerAuthRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPServerAuthResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPServerAuthResponse>; /** * 删除 LLM 模型 API。 */ DeleteCloudNativeAPIGatewayLLMModelAPI(req: DeleteCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise<DeleteCloudNativeAPIGatewayLLMModelAPIResponse>; /** * 删除消费者密钥(被绑定时需先解绑)。 */ DeleteCloudNativeAPIGatewaySecretKey(req: DeleteCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<DeleteCloudNativeAPIGatewaySecretKeyResponse>; /** * 查询单个 LLM 模型服务详情。 */ DescribeCloudNativeAPIGatewayLLMModelService(req: DescribeCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMModelServiceResponse>; /** * 修改 LLM 模型 API。 */ ModifyCloudNativeAPIGatewayLLMModelAPI(req: ModifyCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise<ModifyCloudNativeAPIGatewayLLMModelAPIResponse>; /** * 查询 AI 网关Token 消耗统计汇总 */ DescribeCloudNativeAPIGatewayLLMTokenUsageStatistics(req: DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse>; /** * 创建AI 网关消费者组 */ CreateCloudNativeAPIGatewayConsumerGroup(req: CreateCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise<CreateCloudNativeAPIGatewayConsumerGroupResponse>; /** * 查看AI网关MCP Tool */ DescribeCloudNativeAPIGatewayMCPTool(req: DescribeCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPToolResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPToolResponse>; /** * 创建AI网关MCP Tool */ CreateCloudNativeAPIGatewayMCPTool(req: CreateCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayMCPToolResponse) => void): Promise<CreateCloudNativeAPIGatewayMCPToolResponse>; /** * 修改AI网关MCP Tool */ ModifyCloudNativeAPIGatewayMCPTool(req: ModifyCloudNativeAPIGatewayMCPToolRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPToolResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPToolResponse>; /** * 修改 MCP Server 的认证配置 */ ModifyCloudNativeAPIGatewayMCPServerAuth(req: ModifyCloudNativeAPIGatewayMCPServerAuthRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerAuthResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPServerAuthResponse>; /** * 查询密钥明文值(KMS 类型密钥不可获取)。 */ DescribeCloudNativeAPIGatewaySecretKeyValue(req: DescribeCloudNativeAPIGatewaySecretKeyValueRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewaySecretKeyValueResponse) => void): Promise<DescribeCloudNativeAPIGatewaySecretKeyValueResponse>; /** * 创建AI 网关MCP Server */ ModifyCloudNativeAPIGatewayMCPServerStatus(req: ModifyCloudNativeAPIGatewayMCPServerStatusRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerStatusResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPServerStatusResponse>; /** * 创建AI网关MCP Server */ CreateCloudNativeAPIGatewayMCPServer(req: CreateCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayMCPServerResponse) => void): Promise<CreateCloudNativeAPIGatewayMCPServerResponse>; /** * 修改AI网关密钥 */ ModifyCloudNativeAPIGatewaySecretKey(req: ModifyCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<ModifyCloudNativeAPIGatewaySecretKeyResponse>; /** * 查询 AI 网关Token 消耗统计 */ DescribeCloudNativeAPIGatewayLLMTokenUsageList(req: DescribeCloudNativeAPIGatewayLLMTokenUsageListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMTokenUsageListResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMTokenUsageListResponse>; /** * 查询 AI 网关MCP Tool 列表 */ DescribeCloudNativeAPIGatewayMCPToolList(req: DescribeCloudNativeAPIGatewayMCPToolListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayMCPToolListResponse) => void): Promise<DescribeCloudNativeAPIGatewayMCPToolListResponse>; /** * 删除 LLM 模型服务(被模型 API 绑定时需先解绑)。 */ DeleteCloudNativeAPIGatewayLLMModelService(req: DeleteCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise<DeleteCloudNativeAPIGatewayLLMModelServiceResponse>; /** * 查询云原生消费者详情 */ DescribeCloudNativeAPIGatewayConsumer(req: DescribeCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayConsumerResponse) => void): Promise<DescribeCloudNativeAPIGatewayConsumerResponse>; /** * 查询密钥详情(SecretValue 字段会被掩码)。 */ DescribeCloudNativeAPIGatewaySecretKey(req: DescribeCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<DescribeCloudNativeAPIGatewaySecretKeyResponse>; /** * 为资源(模型 API / MCP Server)添加消费者组授权。 */ AddCloudNativeAPIGatewayConsumerGroupAuth(req: AddCloudNativeAPIGatewayConsumerGroupAuthRequest, cb?: (error: string, rep: AddCloudNativeAPIGatewayConsumerGroupAuthResponse) => void): Promise<AddCloudNativeAPIGatewayConsumerGroupAuthResponse>; /** * 添加密钥与资源的引用关系接口 */ BindCloudNativeAPIGatewaySecretKey(req: BindCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: BindCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<BindCloudNativeAPIGatewaySecretKeyResponse>; /** * 查询 LLM 模型服务列表。 */ DescribeCloudNativeAPIGatewayLLMModelServices(req: DescribeCloudNativeAPIGatewayLLMModelServicesRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayLLMModelServicesResponse) => void): Promise<DescribeCloudNativeAPIGatewayLLMModelServicesResponse>; /** * 删除AI网关消费者组 */ DeleteCloudNativeAPIGatewayConsumerGroup(req: DeleteCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise<DeleteCloudNativeAPIGatewayConsumerGroupResponse>; /** * 创建AI网关消费者。 */ CreateCloudNativeAPIGatewayConsumer(req: CreateCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayConsumerResponse) => void): Promise<CreateCloudNativeAPIGatewayConsumerResponse>; }