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 |
Synopsis
- data LexiconAttributes = LexiconAttributes' {
- languageCode :: Maybe LanguageCode
- size :: Maybe Int
- lexemesCount :: Maybe Int
- lexiconArn :: Maybe Text
- alphabet :: Maybe Text
- lastModified :: Maybe POSIX
- newLexiconAttributes :: LexiconAttributes
- lexiconAttributes_languageCode :: Lens' LexiconAttributes (Maybe LanguageCode)
- lexiconAttributes_size :: Lens' LexiconAttributes (Maybe Int)
- lexiconAttributes_lexemesCount :: Lens' LexiconAttributes (Maybe Int)
- lexiconAttributes_lexiconArn :: Lens' LexiconAttributes (Maybe Text)
- lexiconAttributes_alphabet :: Lens' LexiconAttributes (Maybe Text)
- lexiconAttributes_lastModified :: Lens' LexiconAttributes (Maybe UTCTime)
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.
LexiconAttributes' | |
|
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: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_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_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).