amazonka-transcribe-1.6.1: 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.CreateVocabulary

Contents

Description

Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.

Synopsis

Creating a Request

createVocabulary Source #

Creates a value of CreateVocabulary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cvVocabularyName - The name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive.
  • cvLanguageCode - The language code of the vocabulary entries.
  • cvPhrases - An array of strings that contains the vocabulary entries.

data CreateVocabulary Source #

See: createVocabulary smart constructor.

Instances
Eq CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Data CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Methods

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

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

toConstr :: CreateVocabulary -> Constr #

dataTypeOf :: CreateVocabulary -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Show CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Generic CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Associated Types

type Rep CreateVocabulary :: Type -> Type #

Hashable CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

ToJSON CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

AWSRequest CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Associated Types

type Rs CreateVocabulary :: Type #

ToHeaders CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

ToPath CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

ToQuery CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

NFData CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Methods

rnf :: CreateVocabulary -> () #

type Rep CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

type Rep CreateVocabulary = D1 (MetaData "CreateVocabulary" "Network.AWS.Transcribe.CreateVocabulary" "amazonka-transcribe-1.6.1-Koaeka5K8V48iEa2FfLRg8" False) (C1 (MetaCons "CreateVocabulary'" PrefixI True) (S1 (MetaSel (Just "_cvVocabularyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cvLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LanguageCode) :*: S1 (MetaSel (Just "_cvPhrases") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs CreateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Request Lenses

cvVocabularyName :: Lens' CreateVocabulary Text Source #

The name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive.

cvLanguageCode :: Lens' CreateVocabulary LanguageCode Source #

The language code of the vocabulary entries.

cvPhrases :: Lens' CreateVocabulary [Text] Source #

An array of strings that contains the vocabulary entries.

Destructuring the Response

createVocabularyResponse Source #

Creates a value of CreateVocabularyResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateVocabularyResponse Source #

See: createVocabularyResponse smart constructor.

Instances
Eq CreateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Data CreateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Methods

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

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

toConstr :: CreateVocabularyResponse -> Constr #

dataTypeOf :: CreateVocabularyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Show CreateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Generic CreateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

Associated Types

type Rep CreateVocabularyResponse :: Type -> Type #

NFData CreateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

type Rep CreateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.CreateVocabulary

type Rep CreateVocabularyResponse = D1 (MetaData "CreateVocabularyResponse" "Network.AWS.Transcribe.CreateVocabulary" "amazonka-transcribe-1.6.1-Koaeka5K8V48iEa2FfLRg8" False) (C1 (MetaCons "CreateVocabularyResponse'" PrefixI True) ((S1 (MetaSel (Just "_cvrsFailureReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cvrsLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 (MetaSel (Just "_cvrsVocabularyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cvrsLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_cvrsVocabularyState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VocabularyState)) :*: S1 (MetaSel (Just "_cvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

cvrsFailureReason :: Lens' CreateVocabularyResponse (Maybe Text) Source #

If the VocabularyState field is FAILED , this field contains information about why the job failed.

cvrsLanguageCode :: Lens' CreateVocabularyResponse (Maybe LanguageCode) Source #

The language code of the vocabulary entries.

cvrsLastModifiedTime :: Lens' CreateVocabularyResponse (Maybe UTCTime) Source #

The date and time that the vocabulary was created.

cvrsVocabularyState :: Lens' CreateVocabularyResponse (Maybe VocabularyState) Source #

The processing state of the vocabulary. When the VocabularyState field contains READY the vocabulary is ready to be used in a StartTranscriptionJob request.