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 |
Stores a pronunciation lexicon in an AWS Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation.
For more information, see Managing Lexicons .
Synopsis
- putLexicon :: Text -> Text -> PutLexicon
- data PutLexicon
- plName :: Lens' PutLexicon Text
- plContent :: Lens' PutLexicon Text
- putLexiconResponse :: Int -> PutLexiconResponse
- data PutLexiconResponse
- plrsResponseStatus :: Lens' PutLexiconResponse Int
Creating a Request
:: Text | |
-> Text | |
-> PutLexicon |
Creates a value of PutLexicon
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutLexicon Source #
See: putLexicon
smart constructor.
Instances
Request Lenses
plName :: Lens' PutLexicon Text Source #
Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long.
Destructuring the Response
Creates a value of PutLexiconResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
plrsResponseStatus
- -- | The response status code.
data PutLexiconResponse Source #
See: putLexiconResponse
smart constructor.
Instances
Response Lenses
plrsResponseStatus :: Lens' PutLexiconResponse Int Source #
- - | The response status code.