import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DisconnectParticipantRequest, DisconnectParticipantResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DisconnectParticipantCommand}. */ export interface DisconnectParticipantCommandInput extends DisconnectParticipantRequest { } /** * @public * * The output of {@link DisconnectParticipantCommand}. */ export interface DisconnectParticipantCommandOutput extends DisconnectParticipantResponse, __MetadataBearer { } declare const DisconnectParticipantCommand_base: { new (input: DisconnectParticipantCommandInput): import("@smithy/core/client").CommandImpl; new (input: DisconnectParticipantCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Disconnects a participant.

*

For security recommendations, see Connect Customer Chat security best practices.

* *

* ConnectionToken is used for invoking this API instead of * ParticipantToken.

*
*

The Amazon Connect Participant Service APIs do not use Signature Version 4 * authentication.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectParticipantClient, DisconnectParticipantCommand } from "@aws-sdk/client-connectparticipant"; // ES Modules import * // const { ConnectParticipantClient, DisconnectParticipantCommand } = require("@aws-sdk/client-connectparticipant"); // CommonJS import * // import type { ConnectParticipantClientConfig } from "@aws-sdk/client-connectparticipant"; * const config = {}; // type is ConnectParticipantClientConfig * const client = new ConnectParticipantClient(config); * const input = { // DisconnectParticipantRequest * ClientToken: "STRING_VALUE", * ConnectionToken: "STRING_VALUE", // required * }; * const command = new DisconnectParticipantCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DisconnectParticipantCommandInput - {@link DisconnectParticipantCommandInput} * @returns {@link DisconnectParticipantCommandOutput} * @see {@link DisconnectParticipantCommandInput} for command's `input` shape. * @see {@link DisconnectParticipantCommandOutput} for command's `response` shape. * @see {@link ConnectParticipantClientResolvedConfig | config} for ConnectParticipantClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

This exception occurs when there is an internal failure in the Amazon Connect service.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by Amazon Connect.

* * @throws {@link ConnectParticipantServiceException} *

Base exception class for all service exceptions from ConnectParticipant service.

* * * @public */ export declare class DisconnectParticipantCommand extends DisconnectParticipantCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DisconnectParticipantRequest; output: {}; }; sdk: { input: DisconnectParticipantCommandInput; output: DisconnectParticipantCommandOutput; }; }; }