TranscriptResultStream¶
Union Type¶
TranscriptResultStream
module-attribute
¶
TranscriptResultStream = Union[TranscriptResultStreamTranscriptEvent | TranscriptResultStreamBadRequestException | TranscriptResultStreamLimitExceededException | TranscriptResultStreamInternalFailureException | TranscriptResultStreamConflictException | TranscriptResultStreamServiceUnavailableException | TranscriptResultStreamUnknown]
Contains detailed information about your streaming session.
Union Member Types¶
TranscriptResultStreamTranscriptEvent
dataclass
¶
Contains Transcript, which contains Results. The object contains a
set of transcription results from one or more audio segments, along with
additional information per your request parameters.
Attributes¶
TranscriptResultStreamBadRequestException
dataclass
¶
A client error occurred when the stream was created. Check the parameters of the request and try your request again.
Attributes¶
TranscriptResultStreamLimitExceededException
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¶
TranscriptResultStreamInternalFailureException
dataclass
¶
A problem occurred while processing the audio. Amazon Transcribe terminated processing.
Attributes¶
TranscriptResultStreamConflictException
dataclass
¶
A new stream started with the same session ID. The current stream has been terminated.