import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ApiGatewayManagementApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayManagementApiClient"; import type { DeleteConnectionRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteConnectionCommand}. */ export interface DeleteConnectionCommandInput extends DeleteConnectionRequest { } /** * @public * * The output of {@link DeleteConnectionCommand}. */ export interface DeleteConnectionCommandOutput extends __MetadataBearer { } declare const DeleteConnectionCommand_base: { new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Delete the connection with the provided id.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApiGatewayManagementApiClient, DeleteConnectionCommand } from "@aws-sdk/client-apigatewaymanagementapi"; // ES Modules import * // const { ApiGatewayManagementApiClient, DeleteConnectionCommand } = require("@aws-sdk/client-apigatewaymanagementapi"); // CommonJS import * // import type { ApiGatewayManagementApiClientConfig } from "@aws-sdk/client-apigatewaymanagementapi"; * const config = {}; // type is ApiGatewayManagementApiClientConfig * const client = new ApiGatewayManagementApiClient(config); * const input = { // DeleteConnectionRequest * ConnectionId: "STRING_VALUE", // required * }; * const command = new DeleteConnectionCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteConnectionCommandInput - {@link DeleteConnectionCommandInput} * @returns {@link DeleteConnectionCommandOutput} * @see {@link DeleteConnectionCommandInput} for command's `input` shape. * @see {@link DeleteConnectionCommandOutput} for command's `response` shape. * @see {@link ApiGatewayManagementApiClientResolvedConfig | config} for ApiGatewayManagementApiClient's `config` shape. * * @throws {@link ForbiddenException} (client fault) *

The caller is not authorized to invoke this operation.

* * @throws {@link GoneException} (client fault) *

The connection with the provided id no longer exists.

* * @throws {@link LimitExceededException} (client fault) *

The client is sending more than the allowed number of requests per unit of time or the WebSocket client side buffer is full.

* * @throws {@link ApiGatewayManagementApiServiceException} *

Base exception class for all service exceptions from ApiGatewayManagementApi service.

* * * @public */ export declare class DeleteConnectionCommand extends DeleteConnectionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteConnectionRequest; output: {}; }; sdk: { input: DeleteConnectionCommandInput; output: DeleteConnectionCommandOutput; }; }; }