amazonka-transcribe-1.6.0: Amazon Transcribe Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Transcribe.StartTranscriptionJob

Contents

Description

Starts an asynchronous job to transcribe speech to text.

Synopsis

Creating a Request

startTranscriptionJob Source #

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 - A Settings 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

Eq StartTranscriptionJob Source # 
Data StartTranscriptionJob Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StartTranscriptionJob -> c StartTranscriptionJob #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StartTranscriptionJob #

toConstr :: StartTranscriptionJob -> Constr #

dataTypeOf :: StartTranscriptionJob -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StartTranscriptionJob) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StartTranscriptionJob) #

gmapT :: (forall b. Data b => b -> b) -> StartTranscriptionJob -> StartTranscriptionJob #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StartTranscriptionJob -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StartTranscriptionJob -> r #

gmapQ :: (forall d. Data d => d -> u) -> StartTranscriptionJob -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StartTranscriptionJob -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StartTranscriptionJob -> m StartTranscriptionJob #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StartTranscriptionJob -> m StartTranscriptionJob #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StartTranscriptionJob -> m StartTranscriptionJob #

Read StartTranscriptionJob Source # 
Show StartTranscriptionJob Source # 
Generic StartTranscriptionJob Source # 
Hashable StartTranscriptionJob Source # 
ToJSON StartTranscriptionJob Source # 
NFData StartTranscriptionJob Source # 

Methods

rnf :: StartTranscriptionJob -> () #

AWSRequest StartTranscriptionJob Source # 
ToHeaders StartTranscriptionJob Source # 
ToPath StartTranscriptionJob Source # 
ToQuery StartTranscriptionJob Source # 
type Rep StartTranscriptionJob Source # 
type Rep StartTranscriptionJob = D1 * (MetaData "StartTranscriptionJob" "Network.AWS.Transcribe.StartTranscriptionJob" "amazonka-transcribe-1.6.0-EAJHmFqYXYhFnJ8LH2D7KC" False) (C1 * (MetaCons "StartTranscriptionJob'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_stjSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Settings))) ((:*:) * (S1 * (MetaSel (Just Symbol "_stjMediaSampleRateHertz") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_stjTranscriptionJobName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_stjLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * LanguageCode)) ((:*:) * (S1 * (MetaSel (Just Symbol "_stjMediaFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * MediaFormat)) (S1 * (MetaSel (Just Symbol "_stjMedia") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Media))))))
type Rs StartTranscriptionJob Source # 

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:

data StartTranscriptionJobResponse Source #

See: startTranscriptionJobResponse smart constructor.

Instances

Eq StartTranscriptionJobResponse Source # 
Data StartTranscriptionJobResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StartTranscriptionJobResponse -> c StartTranscriptionJobResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StartTranscriptionJobResponse #

toConstr :: StartTranscriptionJobResponse -> Constr #

dataTypeOf :: StartTranscriptionJobResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StartTranscriptionJobResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StartTranscriptionJobResponse) #

gmapT :: (forall b. Data b => b -> b) -> StartTranscriptionJobResponse -> StartTranscriptionJobResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StartTranscriptionJobResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StartTranscriptionJobResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> StartTranscriptionJobResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StartTranscriptionJobResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StartTranscriptionJobResponse -> m StartTranscriptionJobResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StartTranscriptionJobResponse -> m StartTranscriptionJobResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StartTranscriptionJobResponse -> m StartTranscriptionJobResponse #

Read StartTranscriptionJobResponse Source # 
Show StartTranscriptionJobResponse Source # 
Generic StartTranscriptionJobResponse Source # 
NFData StartTranscriptionJobResponse Source # 
type Rep StartTranscriptionJobResponse Source # 
type Rep StartTranscriptionJobResponse = D1 * (MetaData "StartTranscriptionJobResponse" "Network.AWS.Transcribe.StartTranscriptionJob" "amazonka-transcribe-1.6.0-EAJHmFqYXYhFnJ8LH2D7KC" False) (C1 * (MetaCons "StartTranscriptionJobResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_stjrsTranscriptionJob") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe TranscriptionJob))) (S1 * (MetaSel (Just Symbol "_stjrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

stjrsTranscriptionJob :: Lens' StartTranscriptionJobResponse (Maybe TranscriptionJob) Source #

An object containing details of the asynchronous transcription job.