import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient"; import type { StopContactStreamingRequest, StopContactStreamingResponse } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StopContactStreamingCommand}. */ export interface StopContactStreamingCommandInput extends StopContactStreamingRequest { } /** * @public * * The output of {@link StopContactStreamingCommand}. */ export interface StopContactStreamingCommandOutput extends StopContactStreamingResponse, __MetadataBearer { } declare const StopContactStreamingCommand_base: { new (input: StopContactStreamingCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: StopContactStreamingCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Ends message streaming on a specified contact. To restart message streaming on that contact, call the StartContactStreaming * API.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectClient, StopContactStreamingCommand } from "@aws-sdk/client-connect"; // ES Modules import * // const { ConnectClient, StopContactStreamingCommand } = require("@aws-sdk/client-connect"); // CommonJS import * // import type { ConnectClientConfig } from "@aws-sdk/client-connect"; * const config = {}; // type is ConnectClientConfig * const client = new ConnectClient(config); * const input = { // StopContactStreamingRequest * InstanceId: "STRING_VALUE", // required * ContactId: "STRING_VALUE", // required * StreamingId: "STRING_VALUE", // required * }; * const command = new StopContactStreamingCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param StopContactStreamingCommandInput - {@link StopContactStreamingCommandInput} * @returns {@link StopContactStreamingCommandOutput} * @see {@link StopContactStreamingCommandInput} for command's `input` shape. * @see {@link StopContactStreamingCommandOutput} for command's `response` shape. * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape. * * @throws {@link InternalServiceException} (server fault) *

Request processing failed because of an error or failure with the service.

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

One or more of the specified parameters are not valid.

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

The request is not valid.

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

The specified resource was not found.

* * @throws {@link ConnectServiceException} *

Base exception class for all service exceptions from Connect service.

* * * @public */ export declare class StopContactStreamingCommand extends StopContactStreamingCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StopContactStreamingRequest; output: {}; }; sdk: { input: StopContactStreamingCommandInput; output: StopContactStreamingCommandOutput; }; }; }