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.LexiconAttributes

Description

 
Synopsis

Documentation

data LexiconAttributes Source #

Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see Managing Lexicons.

See: newLexiconAttributes smart constructor.

Constructors

LexiconAttributes' 

Fields

Instances

Instances details
Eq LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Read LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Show LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Generic LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Associated Types

type Rep LexiconAttributes :: Type -> Type #

NFData LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Methods

rnf :: LexiconAttributes -> () #

Hashable LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

FromJSON LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

type Rep LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

type Rep LexiconAttributes = D1 ('MetaData "LexiconAttributes" "Amazonka.Polly.Types.LexiconAttributes" "libZSservicesZSamazonka-pollyZSamazonka-polly" 'False) (C1 ('MetaCons "LexiconAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: (S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "lexemesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "lexiconArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "alphabet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newLexiconAttributes :: LexiconAttributes Source #

Create a value of LexiconAttributes 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:languageCode:LexiconAttributes', lexiconAttributes_languageCode - Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.

$sel:size:LexiconAttributes', lexiconAttributes_size - Total size of the lexicon, in characters.

$sel:lexemesCount:LexiconAttributes', lexiconAttributes_lexemesCount - Number of lexemes in the lexicon.

$sel:lexiconArn:LexiconAttributes', lexiconAttributes_lexiconArn - Amazon Resource Name (ARN) of the lexicon.

$sel:alphabet:LexiconAttributes', lexiconAttributes_alphabet - Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.

$sel:lastModified:LexiconAttributes', lexiconAttributes_lastModified - Date lexicon was last modified (a timestamp value).

lexiconAttributes_languageCode :: Lens' LexiconAttributes (Maybe LanguageCode) Source #

Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.

lexiconAttributes_size :: Lens' LexiconAttributes (Maybe Int) Source #

Total size of the lexicon, in characters.

lexiconAttributes_lexiconArn :: Lens' LexiconAttributes (Maybe Text) Source #

Amazon Resource Name (ARN) of the lexicon.

lexiconAttributes_alphabet :: Lens' LexiconAttributes (Maybe Text) Source #

Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.

lexiconAttributes_lastModified :: Lens' LexiconAttributes (Maybe UTCTime) Source #

Date lexicon was last modified (a timestamp value).