import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetMedicalScribeStreamRequest, GetMedicalScribeStreamResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetMedicalScribeStreamCommand}. */ export interface GetMedicalScribeStreamCommandInput extends GetMedicalScribeStreamRequest { } /** * @public * * The output of {@link GetMedicalScribeStreamCommand}. */ export interface GetMedicalScribeStreamCommandOutput extends GetMedicalScribeStreamResponse, __MetadataBearer { } declare const GetMedicalScribeStreamCommand_base: { new (input: GetMedicalScribeStreamCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetMedicalScribeStreamCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Provides details about the specified Amazon Web Services HealthScribe streaming session. * To view the status of the streaming session, check the StreamStatus field in the response. To get the * details of post-stream analytics, including its status, check the PostStreamAnalyticsResult field in the response. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TranscribeStreamingClient, GetMedicalScribeStreamCommand } from "@aws-sdk/client-transcribe-streaming"; // ES Modules import * // const { TranscribeStreamingClient, GetMedicalScribeStreamCommand } = require("@aws-sdk/client-transcribe-streaming"); // CommonJS import * // import type { TranscribeStreamingClientConfig } from "@aws-sdk/client-transcribe-streaming"; * const config = {}; // type is TranscribeStreamingClientConfig * const client = new TranscribeStreamingClient(config); * const input = { // GetMedicalScribeStreamRequest * SessionId: "STRING_VALUE", // required * }; * const command = new GetMedicalScribeStreamCommand(input); * const response = await client.send(command); * // { // GetMedicalScribeStreamResponse * // MedicalScribeStreamDetails: { // MedicalScribeStreamDetails * // SessionId: "STRING_VALUE", * // StreamCreatedAt: new Date("TIMESTAMP"), * // StreamEndedAt: new Date("TIMESTAMP"), * // LanguageCode: "en-US", * // MediaSampleRateHertz: Number("int"), * // MediaEncoding: "pcm" || "ogg-opus" || "flac", * // VocabularyName: "STRING_VALUE", * // VocabularyFilterName: "STRING_VALUE", * // VocabularyFilterMethod: "remove" || "mask" || "tag", * // ResourceAccessRoleArn: "STRING_VALUE", * // ChannelDefinitions: [ // MedicalScribeChannelDefinitions * // { // MedicalScribeChannelDefinition * // ChannelId: Number("int"), // required * // ParticipantRole: "PATIENT" || "CLINICIAN", // required * // }, * // ], * // EncryptionSettings: { // MedicalScribeEncryptionSettings * // KmsEncryptionContext: { // KMSEncryptionContextMap * // "": "STRING_VALUE", * // }, * // KmsKeyId: "STRING_VALUE", // required * // }, * // StreamStatus: "IN_PROGRESS" || "PAUSED" || "FAILED" || "COMPLETED", * // PostStreamAnalyticsSettings: { // MedicalScribePostStreamAnalyticsSettings * // ClinicalNoteGenerationSettings: { // ClinicalNoteGenerationSettings * // OutputBucketName: "STRING_VALUE", // required * // NoteTemplate: "HISTORY_AND_PHYSICAL" || "GIRPP" || "DAP" || "SIRP" || "BIRP" || "BEHAVIORAL_SOAP" || "PHYSICAL_SOAP", * // }, * // }, * // PostStreamAnalyticsResult: { // MedicalScribePostStreamAnalyticsResult * // ClinicalNoteGenerationResult: { // ClinicalNoteGenerationResult * // ClinicalNoteOutputLocation: "STRING_VALUE", * // TranscriptOutputLocation: "STRING_VALUE", * // Status: "IN_PROGRESS" || "FAILED" || "COMPLETED", * // FailureReason: "STRING_VALUE", * // }, * // }, * // MedicalScribeContextProvided: true || false, * // }, * // }; * * ``` * * @param GetMedicalScribeStreamCommandInput - {@link GetMedicalScribeStreamCommandInput} * @returns {@link GetMedicalScribeStreamCommandOutput} * @see {@link GetMedicalScribeStreamCommandInput} for command's `input` shape. * @see {@link GetMedicalScribeStreamCommandOutput} for command's `response` shape. * @see {@link TranscribeStreamingClientResolvedConfig | config} for TranscribeStreamingClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

One or more arguments to the StartStreamTranscription, * StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription * operation was not valid. For example, MediaEncoding or LanguageCode * used unsupported values. Check the specified parameters and try your request again.

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

A problem occurred while processing the audio. Amazon Transcribe terminated * processing.

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

Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream * service quota. This error can also occur if a stream exceeds the maximum session duration. In rare * cases, this error can also occur if you increase your number of concurrent streams too quickly. * Reduce your number of concurrent streams and try your request again using an exponential backoff * strategy.

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

The request references a resource which doesn't exist.

* * @throws {@link TranscribeStreamingServiceException} *

Base exception class for all service exceptions from TranscribeStreaming service.

* * * @public */ export declare class GetMedicalScribeStreamCommand extends GetMedicalScribeStreamCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetMedicalScribeStreamRequest; output: GetMedicalScribeStreamResponse; }; sdk: { input: GetMedicalScribeStreamCommandInput; output: GetMedicalScribeStreamCommandOutput; }; }; }