MedicalScribeResultStream¶
Union Type¶
MedicalScribeResultStream
module-attribute
¶
MedicalScribeResultStream = Union[MedicalScribeResultStreamTranscriptEvent | MedicalScribeResultStreamBadRequestException | MedicalScribeResultStreamLimitExceededException | MedicalScribeResultStreamInternalFailureException | MedicalScribeResultStreamConflictException | MedicalScribeResultStreamServiceUnavailableException | MedicalScribeResultStreamUnknown]
Result stream where you will receive the output events. The details are
provided in the MedicalScribeTranscriptEvent object.
Union Member Types¶
MedicalScribeResultStreamTranscriptEvent
dataclass
¶
The transcript event that contains real-time transcription results.
Attributes¶
MedicalScribeResultStreamBadRequestException
dataclass
¶
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.
Attributes¶
MedicalScribeResultStreamLimitExceededException
dataclass
¶
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.
Attributes¶
MedicalScribeResultStreamInternalFailureException
dataclass
¶
A problem occurred while processing the audio. Amazon Transcribe terminated processing.
Attributes¶
MedicalScribeResultStreamConflictException
dataclass
¶
A new stream started with the same session ID. The current stream has been terminated.