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 { StartContactStreamingRequest, StartContactStreamingResponse } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StartContactStreamingCommand}. */ export interface StartContactStreamingCommandInput extends StartContactStreamingRequest { } /** * @public * * The output of {@link StartContactStreamingCommand}. */ export interface StartContactStreamingCommandOutput extends StartContactStreamingResponse, __MetadataBearer { } declare const StartContactStreamingCommand_base: { new (input: StartContactStreamingCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: StartContactStreamingCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Initiates real-time message streaming for a new chat contact.

*

For more information about message streaming, see Enable real-time chat message streaming in the * Amazon Connect Administrator Guide.

*

For more information about chat, see the following topics in the Amazon Connect * Administrator Guide:

* * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectClient, StartContactStreamingCommand } from "@aws-sdk/client-connect"; // ES Modules import * // const { ConnectClient, StartContactStreamingCommand } = 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 = { // StartContactStreamingRequest * InstanceId: "STRING_VALUE", // required * ContactId: "STRING_VALUE", // required * ChatStreamingConfiguration: { // ChatStreamingConfiguration * StreamingEndpointArn: "STRING_VALUE", // required * }, * ClientToken: "STRING_VALUE", // required * }; * const command = new StartContactStreamingCommand(input); * const response = await client.send(command); * // { // StartContactStreamingResponse * // StreamingId: "STRING_VALUE", // required * // }; * * ``` * * @param StartContactStreamingCommandInput - {@link StartContactStreamingCommandInput} * @returns {@link StartContactStreamingCommandOutput} * @see {@link StartContactStreamingCommandInput} for command's `input` shape. * @see {@link StartContactStreamingCommandOutput} 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 LimitExceededException} (client fault) *

The allowed limit for the resource has been exceeded.

* * @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 StartContactStreamingCommand extends StartContactStreamingCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartContactStreamingRequest; output: StartContactStreamingResponse; }; sdk: { input: StartContactStreamingCommandInput; output: StartContactStreamingCommandOutput; }; }; }