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

Contents

Description

Gets information about a vocabulary.

Synopsis

Creating a Request

getVocabulary Source #

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

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

  • gvVocabularyName - The name of the vocabulary to return information about. The name is case-sensitive.

data GetVocabulary Source #

See: getVocabulary smart constructor.

Instances

Eq GetVocabulary Source # 
Data GetVocabulary Source # 

Methods

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

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

toConstr :: GetVocabulary -> Constr #

dataTypeOf :: GetVocabulary -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetVocabulary Source # 
Show GetVocabulary Source # 
Generic GetVocabulary Source # 

Associated Types

type Rep GetVocabulary :: * -> * #

Hashable GetVocabulary Source # 
ToJSON GetVocabulary Source # 
NFData GetVocabulary Source # 

Methods

rnf :: GetVocabulary -> () #

AWSRequest GetVocabulary Source # 
ToHeaders GetVocabulary Source # 
ToPath GetVocabulary Source # 
ToQuery GetVocabulary Source # 
type Rep GetVocabulary Source # 
type Rep GetVocabulary = D1 * (MetaData "GetVocabulary" "Network.AWS.Transcribe.GetVocabulary" "amazonka-transcribe-1.6.0-EAJHmFqYXYhFnJ8LH2D7KC" True) (C1 * (MetaCons "GetVocabulary'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gvVocabularyName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetVocabulary Source # 

Request Lenses

gvVocabularyName :: Lens' GetVocabulary Text Source #

The name of the vocabulary to return information about. The name is case-sensitive.

Destructuring the Response

getVocabularyResponse Source #

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

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

data GetVocabularyResponse Source #

See: getVocabularyResponse smart constructor.

Instances

Eq GetVocabularyResponse Source # 
Data GetVocabularyResponse Source # 

Methods

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

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

toConstr :: GetVocabularyResponse -> Constr #

dataTypeOf :: GetVocabularyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetVocabularyResponse Source # 
Show GetVocabularyResponse Source # 
Generic GetVocabularyResponse Source # 
NFData GetVocabularyResponse Source # 

Methods

rnf :: GetVocabularyResponse -> () #

type Rep GetVocabularyResponse Source # 
type Rep GetVocabularyResponse = D1 * (MetaData "GetVocabularyResponse" "Network.AWS.Transcribe.GetVocabulary" "amazonka-transcribe-1.6.0-EAJHmFqYXYhFnJ8LH2D7KC" False) (C1 * (MetaCons "GetVocabularyResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gvrsFailureReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gvrsLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe LanguageCode))) (S1 * (MetaSel (Just Symbol "_gvrsDownloadURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gvrsVocabularyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gvrsLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gvrsVocabularyState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe VocabularyState))) (S1 * (MetaSel (Just Symbol "_gvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

gvrsFailureReason :: Lens' GetVocabularyResponse (Maybe Text) Source #

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

gvrsLanguageCode :: Lens' GetVocabularyResponse (Maybe LanguageCode) Source #

The language code of the vocabulary entries.

gvrsDownloadURI :: Lens' GetVocabularyResponse (Maybe Text) Source #

The S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. The URI is available for a limited time.

gvrsVocabularyName :: Lens' GetVocabularyResponse (Maybe Text) Source #

The name of the vocabulary to return.

gvrsLastModifiedTime :: Lens' GetVocabularyResponse (Maybe UTCTime) Source #

The date and time that the vocabulary was last modified.

gvrsVocabularyState :: Lens' GetVocabularyResponse (Maybe VocabularyState) Source #

The processing state of the vocabulary.

gvrsResponseStatus :: Lens' GetVocabularyResponse Int Source #

  • - | The response status code.