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 |
Synopsis
- data VocabularyInfo = VocabularyInfo' {}
- newVocabularyInfo :: VocabularyInfo
- vocabularyInfo_languageCode :: Lens' VocabularyInfo (Maybe LanguageCode)
- vocabularyInfo_lastModifiedTime :: Lens' VocabularyInfo (Maybe UTCTime)
- vocabularyInfo_vocabularyName :: Lens' VocabularyInfo (Maybe Text)
- vocabularyInfo_vocabularyState :: Lens' VocabularyInfo (Maybe VocabularyState)
Documentation
data VocabularyInfo Source #
Provides information about a custom vocabulary, including the language of the custom vocabulary, when it was last modified, its name, and the processing state.
See: newVocabularyInfo
smart constructor.
VocabularyInfo' | |
|
Instances
newVocabularyInfo :: VocabularyInfo Source #
Create a value of VocabularyInfo
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:VocabularyInfo'
, vocabularyInfo_languageCode
- The language code used to create your custom vocabulary. Each custom
vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same
language as the custom vocabulary. For example, if you create a custom
vocabulary using US English (en-US
), you can only apply this custom
vocabulary to files that contain English audio.
$sel:lastModifiedTime:VocabularyInfo'
, vocabularyInfo_lastModifiedTime
- The date and time the specified custom vocabulary was last modified.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
example, 2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on
May 4, 2022.
$sel:vocabularyName:VocabularyInfo'
, vocabularyInfo_vocabularyName
- A unique name, chosen by you, for your custom vocabulary. This name is
case sensitive, cannot contain spaces, and must be unique within an
Amazon Web Services account.
$sel:vocabularyState:VocabularyInfo'
, vocabularyInfo_vocabularyState
- The processing state of your custom vocabulary. If the state is READY
,
you can use the custom vocabulary in a StartTranscriptionJob
request.
vocabularyInfo_languageCode :: Lens' VocabularyInfo (Maybe LanguageCode) Source #
The language code used to create your custom vocabulary. Each custom vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same
language as the custom vocabulary. For example, if you create a custom
vocabulary using US English (en-US
), you can only apply this custom
vocabulary to files that contain English audio.
vocabularyInfo_lastModifiedTime :: Lens' VocabularyInfo (Maybe UTCTime) Source #
The date and time the specified custom vocabulary was last modified.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
example, 2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on
May 4, 2022.
vocabularyInfo_vocabularyName :: Lens' VocabularyInfo (Maybe Text) Source #
A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
vocabularyInfo_vocabularyState :: Lens' VocabularyInfo (Maybe VocabularyState) Source #
The processing state of your custom vocabulary. If the state is READY
,
you can use the custom vocabulary in a StartTranscriptionJob
request.