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.UpdateVocabulary

Contents

Description

Updates an existing vocabulary with new values.

Synopsis

Creating a Request

updateVocabulary Source #

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

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

  • uvVocabularyName - The name of the vocabulary to update. The name is case-sensitive.
  • uvLanguageCode - The language code of the vocabulary entries.
  • uvPhrases - An array of strings containing the vocabulary entries.

data UpdateVocabulary Source #

See: updateVocabulary smart constructor.

Instances

Eq UpdateVocabulary Source # 
Data UpdateVocabulary Source # 

Methods

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

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

toConstr :: UpdateVocabulary -> Constr #

dataTypeOf :: UpdateVocabulary -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateVocabulary -> () #

AWSRequest UpdateVocabulary Source # 
ToHeaders UpdateVocabulary Source # 
ToPath UpdateVocabulary Source # 
ToQuery UpdateVocabulary Source # 
type Rep UpdateVocabulary Source # 
type Rep UpdateVocabulary = D1 * (MetaData "UpdateVocabulary" "Network.AWS.Transcribe.UpdateVocabulary" "amazonka-transcribe-1.6.0-EAJHmFqYXYhFnJ8LH2D7KC" False) (C1 * (MetaCons "UpdateVocabulary'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uvVocabularyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_uvLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * LanguageCode)) (S1 * (MetaSel (Just Symbol "_uvPhrases") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Text])))))
type Rs UpdateVocabulary Source # 

Request Lenses

uvVocabularyName :: Lens' UpdateVocabulary Text Source #

The name of the vocabulary to update. The name is case-sensitive.

uvLanguageCode :: Lens' UpdateVocabulary LanguageCode Source #

The language code of the vocabulary entries.

uvPhrases :: Lens' UpdateVocabulary [Text] Source #

An array of strings containing the vocabulary entries.

Destructuring the Response

updateVocabularyResponse Source #

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

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

data UpdateVocabularyResponse Source #

See: updateVocabularyResponse smart constructor.

Instances

Eq UpdateVocabularyResponse Source # 
Data UpdateVocabularyResponse Source # 

Methods

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

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

toConstr :: UpdateVocabularyResponse -> Constr #

dataTypeOf :: UpdateVocabularyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateVocabularyResponse Source # 
Show UpdateVocabularyResponse Source # 
Generic UpdateVocabularyResponse Source # 
NFData UpdateVocabularyResponse Source # 
type Rep UpdateVocabularyResponse Source # 
type Rep UpdateVocabularyResponse = D1 * (MetaData "UpdateVocabularyResponse" "Network.AWS.Transcribe.UpdateVocabulary" "amazonka-transcribe-1.6.0-EAJHmFqYXYhFnJ8LH2D7KC" False) (C1 * (MetaCons "UpdateVocabularyResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uvrsLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe LanguageCode))) (S1 * (MetaSel (Just Symbol "_uvrsVocabularyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uvrsLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uvrsVocabularyState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe VocabularyState))) (S1 * (MetaSel (Just Symbol "_uvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

uvrsLanguageCode :: Lens' UpdateVocabularyResponse (Maybe LanguageCode) Source #

The language code of the vocabulary entries.

uvrsVocabularyName :: Lens' UpdateVocabularyResponse (Maybe Text) Source #

The name of the vocabulary that was updated.

uvrsLastModifiedTime :: Lens' UpdateVocabularyResponse (Maybe UTCTime) Source #

The date and time that the vocabulary was updated.

uvrsVocabularyState :: Lens' UpdateVocabularyResponse (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.