import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteConnectionRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @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(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Disconnects a connected MQTT client from Amazon Web Services IoT Core. When you disconnect a client, Amazon Web Services IoT Core closes the client's network connection and optionally cleans the session state.

*

Requires permission to access the DeleteConnection action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTDataPlaneClient, DeleteConnectionCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import * // const { IoTDataPlaneClient, DeleteConnectionCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import * // import type { IoTDataPlaneClientConfig } from "@aws-sdk/client-iot-data-plane"; * const config = {}; // type is IoTDataPlaneClientConfig * const client = new IoTDataPlaneClient(config); * const input = { // DeleteConnectionRequest * clientId: "STRING_VALUE", // required * cleanSession: true || false, * preventWillMessage: true || false, * }; * 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 IoTDataPlaneClientResolvedConfig | config} for IoTDataPlaneClient's `config` shape. * * @throws {@link ForbiddenException} (client fault) *

The caller isn't authorized to make the request.

* * @throws {@link InternalFailureException} (server fault) *

An unexpected error has occurred.

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

The request is not valid.

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

The specified resource does not exist.

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

The rate exceeds the limit.

* * @throws {@link IoTDataPlaneServiceException} *

Base exception class for all service exceptions from IoTDataPlane 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; }; }; }