Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Starts an asynchronous job to transcribe speech to text.
Synopsis
- startTranscriptionJob :: Text -> LanguageCode -> MediaFormat -> Media -> StartTranscriptionJob
- data StartTranscriptionJob
- stjSettings :: Lens' StartTranscriptionJob (Maybe Settings)
- stjMediaSampleRateHertz :: Lens' StartTranscriptionJob (Maybe Natural)
- stjTranscriptionJobName :: Lens' StartTranscriptionJob Text
- stjLanguageCode :: Lens' StartTranscriptionJob LanguageCode
- stjMediaFormat :: Lens' StartTranscriptionJob MediaFormat
- stjMedia :: Lens' StartTranscriptionJob Media
- startTranscriptionJobResponse :: Int -> StartTranscriptionJobResponse
- data StartTranscriptionJobResponse
- stjrsTranscriptionJob :: Lens' StartTranscriptionJobResponse (Maybe TranscriptionJob)
- stjrsResponseStatus :: Lens' StartTranscriptionJobResponse Int
Creating a Request
startTranscriptionJob Source #
:: Text | |
-> LanguageCode | |
-> MediaFormat | |
-> Media | |
-> StartTranscriptionJob |
Creates a value of StartTranscriptionJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
stjSettings
- ASettings
object that provides optional settings for a transcription job.stjMediaSampleRateHertz
- The sample rate, in Hertz, of the audio track in the input media file.stjTranscriptionJobName
- The name of the job. The name must be unique within an AWS account.stjLanguageCode
- The language code for the language used in the input media file.stjMediaFormat
- The format of the input media file.stjMedia
- An object that describes the input media for a transcription job.
data StartTranscriptionJob Source #
See: startTranscriptionJob
smart constructor.
Instances
Request Lenses
stjSettings :: Lens' StartTranscriptionJob (Maybe Settings) Source #
A Settings
object that provides optional settings for a transcription job.
stjMediaSampleRateHertz :: Lens' StartTranscriptionJob (Maybe Natural) Source #
The sample rate, in Hertz, of the audio track in the input media file.
stjTranscriptionJobName :: Lens' StartTranscriptionJob Text Source #
The name of the job. The name must be unique within an AWS account.
stjLanguageCode :: Lens' StartTranscriptionJob LanguageCode Source #
The language code for the language used in the input media file.
stjMediaFormat :: Lens' StartTranscriptionJob MediaFormat Source #
The format of the input media file.
stjMedia :: Lens' StartTranscriptionJob Media Source #
An object that describes the input media for a transcription job.
Destructuring the Response
startTranscriptionJobResponse Source #
Creates a value of StartTranscriptionJobResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
stjrsTranscriptionJob
- An object containing details of the asynchronous transcription job.stjrsResponseStatus
- -- | The response status code.
data StartTranscriptionJobResponse Source #
See: startTranscriptionJobResponse
smart constructor.
Instances
Response Lenses
stjrsTranscriptionJob :: Lens' StartTranscriptionJobResponse (Maybe TranscriptionJob) Source #
An object containing details of the asynchronous transcription job.
stjrsResponseStatus :: Lens' StartTranscriptionJobResponse Int Source #
- - | The response status code.