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

Defined in Network.AWS.Transcribe.GetVocabulary

Data GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

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

Defined in Network.AWS.Transcribe.GetVocabulary

Show GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

Generic GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

Associated Types

type Rep GetVocabulary :: Type -> Type #

Hashable GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

ToJSON GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

AWSRequest GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

Associated Types

type Rs GetVocabulary :: Type #

ToHeaders GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

ToPath GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

ToQuery GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

NFData GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

Methods

rnf :: GetVocabulary -> () #

type Rep GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

type Rep GetVocabulary = D1 (MetaData "GetVocabulary" "Network.AWS.Transcribe.GetVocabulary" "amazonka-transcribe-1.6.1-Koaeka5K8V48iEa2FfLRg8" True) (C1 (MetaCons "GetVocabulary'" PrefixI True) (S1 (MetaSel (Just "_gvVocabularyName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetVocabulary Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

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

Defined in Network.AWS.Transcribe.GetVocabulary

Data GetVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

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

Defined in Network.AWS.Transcribe.GetVocabulary

Show GetVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

Generic GetVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

Associated Types

type Rep GetVocabularyResponse :: Type -> Type #

NFData GetVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

Methods

rnf :: GetVocabularyResponse -> () #

type Rep GetVocabularyResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.GetVocabulary

type Rep GetVocabularyResponse = D1 (MetaData "GetVocabularyResponse" "Network.AWS.Transcribe.GetVocabulary" "amazonka-transcribe-1.6.1-Koaeka5K8V48iEa2FfLRg8" False) (C1 (MetaCons "GetVocabularyResponse'" PrefixI True) ((S1 (MetaSel (Just "_gvrsFailureReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gvrsLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 (MetaSel (Just "_gvrsDownloadURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_gvrsVocabularyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gvrsLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_gvrsVocabularyState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VocabularyState)) :*: S1 (MetaSel (Just "_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.