aws_transcribe_streaming library
This library provides AWS Transcribe Streaming client for producing real-time transcriptions for your media content using HTTP/2.
Classes
- Alternative
- A list of possible alternative transcriptions for the input audio.
- Entity
- Contains entities identified as personally identifiable information (PII) in your transcription output, along with various associated attributes.
- EventStreamBoolHeader
- EventStreamHeader with a boolean value.
- EventStreamByteArrayHeader
- EventStreamHeader with a byte array value.
- EventStreamByteHeader
- EventStreamHeader with a byte value.
-
EventStreamHeader<
T> - Base class for all Event Stream message headers.
- EventStreamIntegerHeader
- EventStreamHeader with an integer value.
- EventStreamLongHeader
- EventStreamHeader with a long value.
- EventStreamMessage
- An Event Stream message.
- EventStreamShortHeader
- EventStreamHeader with a short value.
- EventStreamStringHeader
- EventStreamHeader with a string value.
- EventStreamTimestampHeader
- EventStreamHeader with a timestamp value.
- EventStreamUuidHeader
- EventStreamHeader with a UUID value.
- Item
- A word, phrase, or punctuation mark in your transcription output, along with various associated attributes, such as confidence score, type, and start and end times.
- LanguageWithScore
- The language code that represents the language identified in your audio, including the associated confidence score.
- PlainTextTranscriptionStrategy
- A transcription strategy that simply concatenates the transcripts into a plain text.
- Result
-
The
Result
associated with a TranscriptEvent. - StartStreamTranscriptionRequest
- Starts a HTTP/2 stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application.
- StartStreamTranscriptionResponse
- Response for the StartStreamTranscriptionRequest.
- TranscribeStreamingClient
- A client for the Amazon Transcribe Streaming API.
- TranscribeStreamingRequest
- A base class for a request to the Amazon Transcribe Streaming API.
- Transcript
-
The
Transcript
associated with a TranscriptEvent. - TranscriptEvent
-
The
TranscriptEvent
associated with atranscriptEventStream
returned from TranscribeStreamingClient.startStreamTranscription. - TranscriptEventStreamDecoder
- Converts a stream of TranscriptEvents into a single String.
- TranscriptionBuildingStrategy
- A strategy for building a transcription from a list of Results.
Enums
- ContentIdentificationType
-
Possible values for the
contentIdentificationType
parameter of a StartStreamTranscriptionRequest. - ContentRedactionType
-
Possible values for the
contentRedactionType
parameter of a StartStreamTranscriptionRequest. - ItemType
- The type of Item identified in a transcription.
- LanguageCode
-
Possible values for the
languageCode
parameter of a StartStreamTranscriptionRequest. - MediaEncoding
-
Possible values for the
mediaEncoding
parameter of a StartStreamTranscriptionRequest. - PartialResultsStability
-
Possible values for the
partialResultsStability
parameter of a StartStreamTranscriptionRequest. - VocabularyFilterMethod
-
Possible values for the
vocabularyFilterMethod
parameter of a StartStreamTranscriptionRequest.
Exceptions / Errors
- BadRequestException
- One or more arguments of StartStreamTranscriptionRequest were invalid.
- ConflictException
- A new stream started with the same session ID.
- EventStreamDecodeException
- The event stream message cannot be decoded.
- EventStreamException
- The event stream message coding/decoding exception.
- EventStreamHeaderDecodeException
- The event stream message header cannot be decoded.
- InternalFailureException
- A problem occurred while processing the audio.
- InvalidSignatureException
- The provided request signature is not valid.
- LimitExceededException
- Your client has exceeded one of the Amazon Transcribe limits.
- ProtocolException
- Data interchange protocol violation.
- The service is currently unavailable.
- TranscribeStreamingException
- Base class for all exceptions generated by the library.
- TranscribeStreamingServiceClientException
- Base class for all client-side exceptions generated by AWS Transcribe Streaming service.
- TranscribeStreamingServiceException
- Base class for all exceptions generated by AWS Transcribe Streaming service.
- TranscribeStreamingServiceServerException
- Base class for all server-side exceptions generated by AWS Transcribe Streaming service.
- UnexpectedExceptionTypeException
- The received exception has unexpected type.
- UnexpectedMessageTypeException
- The received message has unexpected type.