amazonka-polly-2.0: Amazon Polly SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Show LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

NFData LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Methods

rnf :: LexiconAttributes -> () #

Eq LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Hashable 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" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "LexiconAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alphabet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "lexemesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "lexiconArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

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:alphabet:LexiconAttributes', lexiconAttributes_alphabet - Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.

$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:lastModified:LexiconAttributes', lexiconAttributes_lastModified - Date lexicon was last modified (a timestamp value).

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

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

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

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

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

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_lastModified :: Lens' LexiconAttributes (Maybe UTCTime) Source #

Date lexicon was last modified (a timestamp value).

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

Amazon Resource Name (ARN) of the lexicon.

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

Total size of the lexicon, in characters.