amazonka-polly-1.5.0: Amazon Polly SDK.

Copyright(c) 2013-2017 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.GetLexicon

Contents

Description

Returns the content of the specified pronunciation lexicon stored in an AWS Region. For more information, see Managing Lexicons .

Synopsis

Creating a Request

getLexicon Source #

Arguments

:: Text

glName

-> GetLexicon 

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

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

data GetLexicon Source #

See: getLexicon smart constructor.

Instances

Eq GetLexicon Source # 
Data GetLexicon Source # 

Methods

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

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

toConstr :: GetLexicon -> Constr #

dataTypeOf :: GetLexicon -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetLexicon Source # 
Generic GetLexicon Source # 

Associated Types

type Rep GetLexicon :: * -> * #

Hashable GetLexicon Source # 
NFData GetLexicon Source # 

Methods

rnf :: GetLexicon -> () #

AWSRequest GetLexicon Source # 
ToQuery GetLexicon Source # 
ToPath GetLexicon Source # 
ToHeaders GetLexicon Source # 

Methods

toHeaders :: GetLexicon -> [Header] #

type Rep GetLexicon Source # 
type Rep GetLexicon = D1 (MetaData "GetLexicon" "Network.AWS.Polly.GetLexicon" "amazonka-polly-1.5.0-6GQgazTF7VkDmpcwDjBhon" True) (C1 (MetaCons "GetLexicon'" PrefixI True) (S1 (MetaSel (Just Symbol "_glName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Sensitive Text))))
type Rs GetLexicon Source # 

Request Lenses

glName :: Lens' GetLexicon Text Source #

Name of the lexicon.

Destructuring the Response

getLexiconResponse Source #

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

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

  • glrsLexiconAttributes - Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes.
  • glrsLexicon - Lexicon object that provides name and the string content of the lexicon.
  • glrsResponseStatus - -- | The response status code.

data GetLexiconResponse Source #

See: getLexiconResponse smart constructor.

Instances

Eq GetLexiconResponse Source # 
Data GetLexiconResponse Source # 

Methods

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

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

toConstr :: GetLexiconResponse -> Constr #

dataTypeOf :: GetLexiconResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetLexiconResponse Source # 
Generic GetLexiconResponse Source # 
NFData GetLexiconResponse Source # 

Methods

rnf :: GetLexiconResponse -> () #

type Rep GetLexiconResponse Source # 
type Rep GetLexiconResponse = D1 (MetaData "GetLexiconResponse" "Network.AWS.Polly.GetLexicon" "amazonka-polly-1.5.0-6GQgazTF7VkDmpcwDjBhon" False) (C1 (MetaCons "GetLexiconResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_glrsLexiconAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LexiconAttributes))) ((:*:) (S1 (MetaSel (Just Symbol "_glrsLexicon") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Lexicon))) (S1 (MetaSel (Just Symbol "_glrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

glrsLexiconAttributes :: Lens' GetLexiconResponse (Maybe LexiconAttributes) Source #

Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes.

glrsLexicon :: Lens' GetLexiconResponse (Maybe Lexicon) Source #

Lexicon object that provides name and the string content of the lexicon.

glrsResponseStatus :: Lens' GetLexiconResponse Int Source #

  • - | The response status code.