amazonka-polly-1.6.1: Amazon Polly 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.Polly.ListLexicons

Contents

Description

Returns a list of pronunciation lexicons stored in an AWS Region. For more information, see Managing Lexicons .

Synopsis

Creating a Request

listLexicons :: ListLexicons Source #

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

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

  • llNextToken - An opaque pagination token returned from previous ListLexicons operation. If present, indicates where to continue the list of lexicons.

data ListLexicons Source #

See: listLexicons smart constructor.

Instances
Eq ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Data ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Methods

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

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

toConstr :: ListLexicons -> Constr #

dataTypeOf :: ListLexicons -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Show ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Generic ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Associated Types

type Rep ListLexicons :: Type -> Type #

Hashable ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

AWSRequest ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Associated Types

type Rs ListLexicons :: Type #

ToHeaders ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

ToPath ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

ToQuery ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

NFData ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Methods

rnf :: ListLexicons -> () #

type Rep ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

type Rep ListLexicons = D1 (MetaData "ListLexicons" "Network.AWS.Polly.ListLexicons" "amazonka-polly-1.6.1-F2G7y4pa5Zy7tjUQirknXR" True) (C1 (MetaCons "ListLexicons'" PrefixI True) (S1 (MetaSel (Just "_llNextToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs ListLexicons Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Request Lenses

llNextToken :: Lens' ListLexicons (Maybe Text) Source #

An opaque pagination token returned from previous ListLexicons operation. If present, indicates where to continue the list of lexicons.

Destructuring the Response

listLexiconsResponse Source #

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

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

  • llrsLexicons - A list of lexicon names and attributes.
  • llrsNextToken - The pagination token to use in the next request to continue the listing of lexicons. NextToken is returned only if the response is truncated.
  • llrsResponseStatus - -- | The response status code.

data ListLexiconsResponse Source #

See: listLexiconsResponse smart constructor.

Instances
Eq ListLexiconsResponse Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Data ListLexiconsResponse Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Methods

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

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

toConstr :: ListLexiconsResponse -> Constr #

dataTypeOf :: ListLexiconsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListLexiconsResponse Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Generic ListLexiconsResponse Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Associated Types

type Rep ListLexiconsResponse :: Type -> Type #

NFData ListLexiconsResponse Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

Methods

rnf :: ListLexiconsResponse -> () #

type Rep ListLexiconsResponse Source # 
Instance details

Defined in Network.AWS.Polly.ListLexicons

type Rep ListLexiconsResponse = D1 (MetaData "ListLexiconsResponse" "Network.AWS.Polly.ListLexicons" "amazonka-polly-1.6.1-F2G7y4pa5Zy7tjUQirknXR" False) (C1 (MetaCons "ListLexiconsResponse'" PrefixI True) (S1 (MetaSel (Just "_llrsLexicons") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LexiconDescription])) :*: (S1 (MetaSel (Just "_llrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_llrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

llrsLexicons :: Lens' ListLexiconsResponse [LexiconDescription] Source #

A list of lexicon names and attributes.

llrsNextToken :: Lens' ListLexiconsResponse (Maybe Text) Source #

The pagination token to use in the next request to continue the listing of lexicons. NextToken is returned only if the response is truncated.

llrsResponseStatus :: Lens' ListLexiconsResponse Int Source #

  • - | The response status code.