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.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 # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

Data UpdateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

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 # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

Show UpdateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

Generic UpdateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

Associated Types

type Rep UpdateVocabulary :: Type -> Type #

Hashable UpdateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

ToJSON UpdateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

AWSRequest UpdateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

Associated Types

type Rs UpdateVocabulary :: Type #

ToHeaders UpdateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

ToPath UpdateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

ToQuery UpdateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

NFData UpdateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

Methods

rnf :: UpdateVocabulary -> () #

type Rep UpdateVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

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

Defined in Network.AWS.Transcribe.UpdateVocabulary

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 # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

Data UpdateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

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 # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

Show UpdateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

Generic UpdateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

Associated Types

type Rep UpdateVocabularyResponse :: Type -> Type #

NFData UpdateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

type Rep UpdateVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.UpdateVocabulary

type Rep UpdateVocabularyResponse = D1 (MetaData "UpdateVocabularyResponse" "Network.AWS.Transcribe.UpdateVocabulary" "amazonka-transcribe-1.6.1-Koaeka5K8V48iEa2FfLRg8" False) (C1 (MetaCons "UpdateVocabularyResponse'" PrefixI True) ((S1 (MetaSel (Just "_uvrsLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 (MetaSel (Just "_uvrsVocabularyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_uvrsLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_uvrsVocabularyState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VocabularyState)) :*: S1 (MetaSel (Just "_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.