import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConnectContactLensClientResolvedConfig } from "../ConnectContactLensClient"; import type { ListRealtimeContactAnalysisSegmentsRequest, ListRealtimeContactAnalysisSegmentsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListRealtimeContactAnalysisSegmentsCommand}. */ export interface ListRealtimeContactAnalysisSegmentsCommandInput extends ListRealtimeContactAnalysisSegmentsRequest { } /** * @public * * The output of {@link ListRealtimeContactAnalysisSegmentsCommand}. */ export interface ListRealtimeContactAnalysisSegmentsCommandOutput extends ListRealtimeContactAnalysisSegmentsResponse, __MetadataBearer { } declare const ListRealtimeContactAnalysisSegmentsCommand_base: { new (input: ListRealtimeContactAnalysisSegmentsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListRealtimeContactAnalysisSegmentsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Provides a list of analysis segments for a real-time analysis session.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectContactLensClient, ListRealtimeContactAnalysisSegmentsCommand } from "@aws-sdk/client-connect-contact-lens"; // ES Modules import * // const { ConnectContactLensClient, ListRealtimeContactAnalysisSegmentsCommand } = require("@aws-sdk/client-connect-contact-lens"); // CommonJS import * // import type { ConnectContactLensClientConfig } from "@aws-sdk/client-connect-contact-lens"; * const config = {}; // type is ConnectContactLensClientConfig * const client = new ConnectContactLensClient(config); * const input = { // ListRealtimeContactAnalysisSegmentsRequest * InstanceId: "STRING_VALUE", // required * ContactId: "STRING_VALUE", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListRealtimeContactAnalysisSegmentsCommand(input); * const response = await client.send(command); * // { // ListRealtimeContactAnalysisSegmentsResponse * // Segments: [ // RealtimeContactAnalysisSegments // required * // { // RealtimeContactAnalysisSegment * // Transcript: { // Transcript * // Id: "STRING_VALUE", // required * // ParticipantId: "STRING_VALUE", // required * // ParticipantRole: "STRING_VALUE", // required * // Content: "STRING_VALUE", // required * // BeginOffsetMillis: Number("int"), // required * // EndOffsetMillis: Number("int"), // required * // Sentiment: "POSITIVE" || "NEUTRAL" || "NEGATIVE", * // IssuesDetected: [ // IssuesDetected * // { // IssueDetected * // CharacterOffsets: { // CharacterOffsets * // BeginOffsetChar: Number("int"), // required * // EndOffsetChar: Number("int"), // required * // }, * // }, * // ], * // }, * // Categories: { // Categories * // MatchedCategories: [ // MatchedCategories // required * // "STRING_VALUE", * // ], * // MatchedDetails: { // MatchedDetails // required * // "": { // CategoryDetails * // PointsOfInterest: [ // PointsOfInterest // required * // { // PointOfInterest * // BeginOffsetMillis: Number("int"), // required * // EndOffsetMillis: Number("int"), // required * // }, * // ], * // }, * // }, * // }, * // PostContactSummary: { // PostContactSummary * // Content: "STRING_VALUE", * // Status: "FAILED" || "COMPLETED", // required * // FailureCode: "QUOTA_EXCEEDED" || "INSUFFICIENT_CONVERSATION_CONTENT" || "FAILED_SAFETY_GUIDELINES" || "INVALID_ANALYSIS_CONFIGURATION" || "INTERNAL_ERROR", * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListRealtimeContactAnalysisSegmentsCommandInput - {@link ListRealtimeContactAnalysisSegmentsCommandInput} * @returns {@link ListRealtimeContactAnalysisSegmentsCommandOutput} * @see {@link ListRealtimeContactAnalysisSegmentsCommandInput} for command's `input` shape. * @see {@link ListRealtimeContactAnalysisSegmentsCommandOutput} for command's `response` shape. * @see {@link ConnectContactLensClientResolvedConfig | config} for ConnectContactLensClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

Request processing failed due to an error or failure with the service.

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

The request is not valid.

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

The specified resource was not found.

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

The throttling limit has been exceeded.

* * @throws {@link ConnectContactLensServiceException} *

Base exception class for all service exceptions from ConnectContactLens service.

* * * @public */ export declare class ListRealtimeContactAnalysisSegmentsCommand extends ListRealtimeContactAnalysisSegmentsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRealtimeContactAnalysisSegmentsRequest; output: ListRealtimeContactAnalysisSegmentsResponse; }; sdk: { input: ListRealtimeContactAnalysisSegmentsCommandInput; output: ListRealtimeContactAnalysisSegmentsCommandOutput; }; }; }