| 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.LexiconAttributes
Description
Synopsis
- data LexiconAttributes = LexiconAttributes' {
- alphabet :: Maybe Text
- languageCode :: Maybe LanguageCode
- lastModified :: Maybe POSIX
- lexemesCount :: Maybe Int
- lexiconArn :: Maybe Text
- size :: Maybe Int
- newLexiconAttributes :: LexiconAttributes
- lexiconAttributes_alphabet :: Lens' LexiconAttributes (Maybe Text)
- lexiconAttributes_languageCode :: Lens' LexiconAttributes (Maybe LanguageCode)
- lexiconAttributes_lastModified :: Lens' LexiconAttributes (Maybe UTCTime)
- lexiconAttributes_lexemesCount :: Lens' LexiconAttributes (Maybe Int)
- lexiconAttributes_lexiconArn :: Lens' LexiconAttributes (Maybe Text)
- lexiconAttributes_size :: Lens' LexiconAttributes (Maybe Int)
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
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_lexemesCount :: Lens' LexiconAttributes (Maybe Int) Source #
Number of lexemes in the lexicon.
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.