| 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.Connect.Types.Vocabulary
Description
Synopsis
- data Vocabulary = Vocabulary' {
- content :: Maybe Text
- failureReason :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- name :: Text
- id :: Text
- arn :: Text
- languageCode :: VocabularyLanguageCode
- state :: VocabularyState
- lastModifiedTime :: POSIX
- newVocabulary :: Text -> Text -> Text -> VocabularyLanguageCode -> VocabularyState -> UTCTime -> Vocabulary
- vocabulary_content :: Lens' Vocabulary (Maybe Text)
- vocabulary_failureReason :: Lens' Vocabulary (Maybe Text)
- vocabulary_tags :: Lens' Vocabulary (Maybe (HashMap Text Text))
- vocabulary_name :: Lens' Vocabulary Text
- vocabulary_id :: Lens' Vocabulary Text
- vocabulary_arn :: Lens' Vocabulary Text
- vocabulary_languageCode :: Lens' Vocabulary VocabularyLanguageCode
- vocabulary_state :: Lens' Vocabulary VocabularyState
- vocabulary_lastModifiedTime :: Lens' Vocabulary UTCTime
Documentation
data Vocabulary Source #
Contains information about a custom vocabulary.
See: newVocabulary smart constructor.
Constructors
| Vocabulary' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> VocabularyLanguageCode | |
| -> VocabularyState | |
| -> UTCTime | |
| -> Vocabulary |
Create a value of Vocabulary 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:content:Vocabulary', vocabulary_content - The content of the custom vocabulary in plain-text format with a table
of values. Each row in the table represents a word or a phrase,
described with Phrase, IPA, SoundsLike, and DisplayAs fields.
Separate the fields with TAB characters. For more information, see
Create a custom vocabulary using a table.
$sel:failureReason:Vocabulary', vocabulary_failureReason - The reason why the custom vocabulary was not created.
$sel:tags:Vocabulary', vocabulary_tags - The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
$sel:name:Vocabulary', vocabulary_name - A unique name of the custom vocabulary.
$sel:id:Vocabulary', vocabulary_id - The identifier of the custom vocabulary.
$sel:arn:Vocabulary', vocabulary_arn - The Amazon Resource Name (ARN) of the custom vocabulary.
$sel:languageCode:Vocabulary', vocabulary_languageCode - The language code of the vocabulary entries. For a list of languages and
their corresponding language codes, see
What is Amazon Transcribe?
$sel:state:Vocabulary', vocabulary_state - The current state of the custom vocabulary.
$sel:lastModifiedTime:Vocabulary', vocabulary_lastModifiedTime - The timestamp when the custom vocabulary was last modified.
vocabulary_content :: Lens' Vocabulary (Maybe Text) Source #
The content of the custom vocabulary in plain-text format with a table
of values. Each row in the table represents a word or a phrase,
described with Phrase, IPA, SoundsLike, and DisplayAs fields.
Separate the fields with TAB characters. For more information, see
Create a custom vocabulary using a table.
vocabulary_failureReason :: Lens' Vocabulary (Maybe Text) Source #
The reason why the custom vocabulary was not created.
vocabulary_tags :: Lens' Vocabulary (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
vocabulary_name :: Lens' Vocabulary Text Source #
A unique name of the custom vocabulary.
vocabulary_id :: Lens' Vocabulary Text Source #
The identifier of the custom vocabulary.
vocabulary_arn :: Lens' Vocabulary Text Source #
The Amazon Resource Name (ARN) of the custom vocabulary.
vocabulary_languageCode :: Lens' Vocabulary VocabularyLanguageCode Source #
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
vocabulary_state :: Lens' Vocabulary VocabularyState Source #
The current state of the custom vocabulary.
vocabulary_lastModifiedTime :: Lens' Vocabulary UTCTime Source #
The timestamp when the custom vocabulary was last modified.