Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data StreamingResponse
- data StreamingError
- data TranscriptEvent
- transcript :: Iso' TranscriptEvent Transcript
- data Transcript
- results :: Iso' Transcript [Result]
- data Result
- alternatives :: Lens' Result [Alternative]
- channelId :: Lens' Result (Maybe Text)
- endTime :: Lens' Result Double
- isPartial :: Lens' Result Bool
- resultId :: Lens' Result Text
- startTime :: Lens' Result Double
- data Alternative
- items :: Lens' Alternative [Item]
- altTranscript :: Lens' Alternative (Maybe Text)
- data Item
- confidence :: Lens' Item (Maybe Double)
- content :: Lens' Item (Maybe Text)
- iEndTime :: Lens' Item (Maybe Double)
- speaker :: Lens' Item (Maybe Text)
- stable :: Lens' Item (Maybe Bool)
- iStartTime :: Lens' Item (Maybe Double)
- itemType :: Lens' Item (Maybe ItemType)
- vocabularyFilterMatch :: Lens' Item (Maybe Bool)
- data ItemType
Documentation
data StreamingResponse Source #
Instances
Eq StreamingResponse Source # | |
Defined in AWS.Transcribe.StreamingResponse (==) :: StreamingResponse -> StreamingResponse -> Bool # (/=) :: StreamingResponse -> StreamingResponse -> Bool # | |
Show StreamingResponse Source # | |
Defined in AWS.Transcribe.StreamingResponse showsPrec :: Int -> StreamingResponse -> ShowS # show :: StreamingResponse -> String # showList :: [StreamingResponse] -> ShowS # |
data StreamingError Source #
BadRequestException | |
InternalFailureException | |
LimitExceededException | |
UnrecognizedClientException | |
TranscriptEventError String | An error in decoding a |
OtherStreamingError Message String | An unrecognised exception type or a binary decoding error. The original message is returned along with a possible description of the error |
Instances
Eq StreamingError Source # | |
Defined in AWS.Transcribe.StreamingResponse (==) :: StreamingError -> StreamingError -> Bool # (/=) :: StreamingError -> StreamingError -> Bool # | |
Show StreamingError Source # | |
Defined in AWS.Transcribe.StreamingResponse showsPrec :: Int -> StreamingError -> ShowS # show :: StreamingError -> String # showList :: [StreamingError] -> ShowS # |
data TranscriptEvent Source #
Instances
Eq TranscriptEvent Source # | |
Defined in AWS.Transcribe.StreamingResponse (==) :: TranscriptEvent -> TranscriptEvent -> Bool # (/=) :: TranscriptEvent -> TranscriptEvent -> Bool # | |
Show TranscriptEvent Source # | |
Defined in AWS.Transcribe.StreamingResponse showsPrec :: Int -> TranscriptEvent -> ShowS # show :: TranscriptEvent -> String # showList :: [TranscriptEvent] -> ShowS # | |
FromJSON TranscriptEvent Source # | |
Defined in AWS.Transcribe.StreamingResponse parseJSON :: Value -> Parser TranscriptEvent # parseJSONList :: Value -> Parser [TranscriptEvent] # |
data Transcript Source #
Instances
Eq Transcript Source # | |
Defined in AWS.Transcribe.StreamingResponse (==) :: Transcript -> Transcript -> Bool # (/=) :: Transcript -> Transcript -> Bool # | |
Show Transcript Source # | |
Defined in AWS.Transcribe.StreamingResponse showsPrec :: Int -> Transcript -> ShowS # show :: Transcript -> String # showList :: [Transcript] -> ShowS # | |
FromJSON Transcript Source # | |
Defined in AWS.Transcribe.StreamingResponse parseJSON :: Value -> Parser Transcript # parseJSONList :: Value -> Parser [Transcript] # |
data Alternative Source #
Instances
Eq Alternative Source # | |
Defined in AWS.Transcribe.Alternative (==) :: Alternative -> Alternative -> Bool # (/=) :: Alternative -> Alternative -> Bool # | |
Show Alternative Source # | |
Defined in AWS.Transcribe.Alternative showsPrec :: Int -> Alternative -> ShowS # show :: Alternative -> String # showList :: [Alternative] -> ShowS # | |
ToJSON Alternative Source # | |
Defined in AWS.Transcribe.Alternative toJSON :: Alternative -> Value # toEncoding :: Alternative -> Encoding # toJSONList :: [Alternative] -> Value # toEncodingList :: [Alternative] -> Encoding # | |
FromJSON Alternative Source # | |
Defined in AWS.Transcribe.Alternative parseJSON :: Value -> Parser Alternative # parseJSONList :: Value -> Parser [Alternative] # |
A word, phrase, or punctuation mark that is transcribed from the input audio. https://docs.aws.amazon.com/transcribe/latest/dg/API_streaming_Item.html