aws-transcribe-ws-0.0.1.0: Websocket streaming to Amazon Transcribe service
Safe HaskellNone
LanguageHaskell2010

AWS.Transcribe.Client

Synopsis

Documentation

runClient Source #

Arguments

:: Credentials

AWS Credentials

-> Settings

Session settings

-> Channel

Transcribe channel

-> IO () 

Start a WebSocket client. The client will probe the channel for incoming ByteString, encode it in the expected Event Stream and transmit them to the AWS Transcribe endpoint. When a response is received it will be written in the channel.

Sending an empty ByteString will close the WebSocket connection. Receiving any kind of exception from AWS Transcribe will also close the connection.