| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Polly.GetLexicon
Description
Returns the content of the specified pronunciation lexicon stored in an AWS Region. For more information, see Managing Lexicons .
- getLexicon :: Text -> GetLexicon
- data GetLexicon
- glName :: Lens' GetLexicon Text
- getLexiconResponse :: Int -> GetLexiconResponse
- data GetLexiconResponse
- glrsLexiconAttributes :: Lens' GetLexiconResponse (Maybe LexiconAttributes)
- glrsLexicon :: Lens' GetLexiconResponse (Maybe Lexicon)
- glrsResponseStatus :: Lens' GetLexiconResponse Int
Creating a Request
Arguments
| :: Text | |
| -> 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:
glName- Name of the lexicon.
data GetLexicon Source #
See: getLexicon smart constructor.
Instances
Request Lenses
Destructuring the Response
Arguments
| :: Int | |
| -> GetLexiconResponse |
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.
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.