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

Contents

Description

Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.

Synopsis

Creating a Request

listVocabularies :: ListVocabularies Source #

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

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

  • lvNameContains - When specified, the vocabularies returned in the list are limited to vocabularies whose name contains the specified string. The search is case-insensitive, ListVocabularies will return both "vocabularyname" and VocabularyName in the response list.
  • lvNextToken - If the result of the previous request to ListVocabularies was truncated, include the NextToken to fetch the next set of jobs.
  • lvStateEquals - When specified, only returns vocabularies with the VocabularyState field equal to the specified state.
  • lvMaxResults - The maximum number of vocabularies to return in the response. If there are fewer results in the list, this response contains only the actual results.

data ListVocabularies Source #

See: listVocabularies smart constructor.

Instances
Eq ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Data ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Methods

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

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

toConstr :: ListVocabularies -> Constr #

dataTypeOf :: ListVocabularies -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Show ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Generic ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Associated Types

type Rep ListVocabularies :: Type -> Type #

Hashable ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

ToJSON ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

AWSRequest ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Associated Types

type Rs ListVocabularies :: Type #

ToHeaders ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

ToPath ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

ToQuery ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

NFData ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Methods

rnf :: ListVocabularies -> () #

type Rep ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

type Rep ListVocabularies = D1 (MetaData "ListVocabularies" "Network.AWS.Transcribe.ListVocabularies" "amazonka-transcribe-1.6.1-Koaeka5K8V48iEa2FfLRg8" False) (C1 (MetaCons "ListVocabularies'" PrefixI True) ((S1 (MetaSel (Just "_lvNameContains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lvNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lvStateEquals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VocabularyState)) :*: S1 (MetaSel (Just "_lvMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListVocabularies Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Request Lenses

lvNameContains :: Lens' ListVocabularies (Maybe Text) Source #

When specified, the vocabularies returned in the list are limited to vocabularies whose name contains the specified string. The search is case-insensitive, ListVocabularies will return both "vocabularyname" and VocabularyName in the response list.

lvNextToken :: Lens' ListVocabularies (Maybe Text) Source #

If the result of the previous request to ListVocabularies was truncated, include the NextToken to fetch the next set of jobs.

lvStateEquals :: Lens' ListVocabularies (Maybe VocabularyState) Source #

When specified, only returns vocabularies with the VocabularyState field equal to the specified state.

lvMaxResults :: Lens' ListVocabularies (Maybe Natural) Source #

The maximum number of vocabularies to return in the response. If there are fewer results in the list, this response contains only the actual results.

Destructuring the Response

listVocabulariesResponse Source #

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

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

  • lvrsVocabularies - A list of objects that describe the vocabularies that match the search criteria in the request.
  • lvrsStatus - The requested vocabulary state.
  • lvrsNextToken - The ListVocabularies operation returns a page of vocabularies at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns the NextPage token. Include the token in the next request to the ListVocabularies operation to return in the next page of jobs.
  • lvrsResponseStatus - -- | The response status code.

data ListVocabulariesResponse Source #

See: listVocabulariesResponse smart constructor.

Instances
Eq ListVocabulariesResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Data ListVocabulariesResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Methods

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

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

toConstr :: ListVocabulariesResponse -> Constr #

dataTypeOf :: ListVocabulariesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListVocabulariesResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Show ListVocabulariesResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Generic ListVocabulariesResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

Associated Types

type Rep ListVocabulariesResponse :: Type -> Type #

NFData ListVocabulariesResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

type Rep ListVocabulariesResponse Source # 
Instance details

Defined in Network.AWS.Transcribe.ListVocabularies

type Rep ListVocabulariesResponse = D1 (MetaData "ListVocabulariesResponse" "Network.AWS.Transcribe.ListVocabularies" "amazonka-transcribe-1.6.1-Koaeka5K8V48iEa2FfLRg8" False) (C1 (MetaCons "ListVocabulariesResponse'" PrefixI True) ((S1 (MetaSel (Just "_lvrsVocabularies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [VocabularyInfo])) :*: S1 (MetaSel (Just "_lvrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TranscriptionJobStatus))) :*: (S1 (MetaSel (Just "_lvrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lvrsVocabularies :: Lens' ListVocabulariesResponse [VocabularyInfo] Source #

A list of objects that describe the vocabularies that match the search criteria in the request.

lvrsNextToken :: Lens' ListVocabulariesResponse (Maybe Text) Source #

The ListVocabularies operation returns a page of vocabularies at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns the NextPage token. Include the token in the next request to the ListVocabularies operation to return in the next page of jobs.