libZSservicesZSamazonka-pollyZSamazonka-polly
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Polly.Types.Lexicon

Description

 
Synopsis

Documentation

data Lexicon Source #

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' 

Fields

Instances

Instances details
Eq Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

Methods

(==) :: Lexicon -> Lexicon -> Bool #

(/=) :: Lexicon -> Lexicon -> Bool #

Show Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

Generic Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

Associated Types

type Rep Lexicon :: Type -> Type #

Methods

from :: Lexicon -> Rep Lexicon x #

to :: Rep Lexicon x -> Lexicon #

NFData Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

Methods

rnf :: Lexicon -> () #

Hashable Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

Methods

hashWithSalt :: Int -> Lexicon -> Int #

hash :: Lexicon -> Int #

FromJSON Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

type Rep Lexicon Source # 
Instance details

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.

lexicon_content :: Lens' Lexicon (Maybe Text) Source #

Lexicon content in string format. The content of a lexicon must be in PLS format.

lexicon_name :: Lens' Lexicon (Maybe Text) Source #

Name of the lexicon.