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

Defined in Network.AWS.Polly.GetLexicon

Data GetLexicon Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

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

Defined in Network.AWS.Polly.GetLexicon

Generic GetLexicon Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

Associated Types

type Rep GetLexicon :: Type -> Type #

Hashable GetLexicon Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

AWSRequest GetLexicon Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

Associated Types

type Rs GetLexicon :: Type #

ToHeaders GetLexicon Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

Methods

toHeaders :: GetLexicon -> [Header] #

ToPath GetLexicon Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

ToQuery GetLexicon Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

NFData GetLexicon Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

Methods

rnf :: GetLexicon -> () #

type Rep GetLexicon Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

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

Defined in Network.AWS.Polly.GetLexicon

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

Defined in Network.AWS.Polly.GetLexicon

Data GetLexiconResponse Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

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

Defined in Network.AWS.Polly.GetLexicon

Generic GetLexiconResponse Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

Associated Types

type Rep GetLexiconResponse :: Type -> Type #

NFData GetLexiconResponse Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

Methods

rnf :: GetLexiconResponse -> () #

type Rep GetLexiconResponse Source # 
Instance details

Defined in Network.AWS.Polly.GetLexicon

type Rep GetLexiconResponse = D1 (MetaData "GetLexiconResponse" "Network.AWS.Polly.GetLexicon" "amazonka-polly-1.6.1-F2G7y4pa5Zy7tjUQirknXR" False) (C1 (MetaCons "GetLexiconResponse'" PrefixI True) (S1 (MetaSel (Just "_glrsLexiconAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LexiconAttributes)) :*: (S1 (MetaSel (Just "_glrsLexicon") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Lexicon)) :*: S1 (MetaSel (Just "_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.