Copyright | (c) 2013-2017 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 |
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
:: 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.
Request Lenses
Destructuring the Response
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.