Copyright | (c) 2013-2021 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 |
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.
Instances
Eq Lexicon Source # | |
Show Lexicon Source # | |
Generic Lexicon Source # | |
NFData Lexicon Source # | |
Defined in Amazonka.Polly.Types.Lexicon | |
Hashable Lexicon Source # | |
Defined in Amazonka.Polly.Types.Lexicon | |
FromJSON Lexicon Source # | |
type Rep Lexicon Source # | |
Defined in Amazonka.Polly.Types.Lexicon type Rep Lexicon = D1 ('MetaData "Lexicon" "Amazonka.Polly.Types.Lexicon" "libZSservicesZSamazonka-pollyZSamazonka-polly" '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.