| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Polly.Types.Lexicon
Description
Documentation
Provides lexicon name and lexicon content in string format. For more information, see Pronunciation Lexicon Specification (PLS) Version 1.0.
See: newLexicon smart constructor.
Constructors
| Lexicon' | |
Instances
| FromJSON Lexicon Source # | |
| Generic Lexicon Source # | |
| Show Lexicon Source # | |
| NFData Lexicon Source # | |
Defined in Amazonka.Polly.Types.Lexicon | |
| Eq Lexicon Source # | |
| Hashable Lexicon Source # | |
Defined in Amazonka.Polly.Types.Lexicon | |
| type Rep Lexicon Source # | |
Defined in Amazonka.Polly.Types.Lexicon type Rep Lexicon = D1 ('MetaData "Lexicon" "Amazonka.Polly.Types.Lexicon" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "Lexicon'" 'PrefixI 'True) (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
newLexicon :: Lexicon Source #
Create a value of Lexicon with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:content:Lexicon', lexicon_content - Lexicon content in string format. The content of a lexicon must be in
PLS format.
$sel:name:Lexicon', lexicon_name - Name of the lexicon.