| 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.Translate.Types.TerminologyProperties
Description
Synopsis
- data TerminologyProperties = TerminologyProperties' {
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- description :: Maybe Text
- directionality :: Maybe Directionality
- encryptionKey :: Maybe EncryptionKey
- format :: Maybe TerminologyDataFormat
- lastUpdatedAt :: Maybe POSIX
- message :: Maybe Text
- name :: Maybe Text
- sizeBytes :: Maybe Int
- skippedTermCount :: Maybe Int
- sourceLanguageCode :: Maybe Text
- targetLanguageCodes :: Maybe [Text]
- termCount :: Maybe Int
- newTerminologyProperties :: TerminologyProperties
- terminologyProperties_arn :: Lens' TerminologyProperties (Maybe Text)
- terminologyProperties_createdAt :: Lens' TerminologyProperties (Maybe UTCTime)
- terminologyProperties_description :: Lens' TerminologyProperties (Maybe Text)
- terminologyProperties_directionality :: Lens' TerminologyProperties (Maybe Directionality)
- terminologyProperties_encryptionKey :: Lens' TerminologyProperties (Maybe EncryptionKey)
- terminologyProperties_format :: Lens' TerminologyProperties (Maybe TerminologyDataFormat)
- terminologyProperties_lastUpdatedAt :: Lens' TerminologyProperties (Maybe UTCTime)
- terminologyProperties_message :: Lens' TerminologyProperties (Maybe Text)
- terminologyProperties_name :: Lens' TerminologyProperties (Maybe Text)
- terminologyProperties_sizeBytes :: Lens' TerminologyProperties (Maybe Int)
- terminologyProperties_skippedTermCount :: Lens' TerminologyProperties (Maybe Int)
- terminologyProperties_sourceLanguageCode :: Lens' TerminologyProperties (Maybe Text)
- terminologyProperties_targetLanguageCodes :: Lens' TerminologyProperties (Maybe [Text])
- terminologyProperties_termCount :: Lens' TerminologyProperties (Maybe Int)
Documentation
data TerminologyProperties Source #
The properties of the custom terminology.
See: newTerminologyProperties smart constructor.
Constructors
| TerminologyProperties' | |
Fields
| |
Instances
newTerminologyProperties :: TerminologyProperties Source #
Create a value of TerminologyProperties 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:arn:TerminologyProperties', terminologyProperties_arn - The Amazon Resource Name (ARN) of the custom terminology.
$sel:createdAt:TerminologyProperties', terminologyProperties_createdAt - The time at which the custom terminology was created, based on the
timestamp.
$sel:description:TerminologyProperties', terminologyProperties_description - The description of the custom terminology properties.
$sel:directionality:TerminologyProperties', terminologyProperties_directionality - The directionality of your terminology resource indicates whether it has
one source language (uni-directional) or multiple (multi-directional).
- UNI
- The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
- MULTI
- Any language in the terminology resource can be the source language.
$sel:encryptionKey:TerminologyProperties', terminologyProperties_encryptionKey - The encryption key for the custom terminology.
$sel:format:TerminologyProperties', terminologyProperties_format - The format of the custom terminology input file.
$sel:lastUpdatedAt:TerminologyProperties', terminologyProperties_lastUpdatedAt - The time at which the custom terminology was last update, based on the
timestamp.
$sel:message:TerminologyProperties', terminologyProperties_message - Additional information from Amazon Translate about the terminology
resource.
$sel:name:TerminologyProperties', terminologyProperties_name - The name of the custom terminology.
$sel:sizeBytes:TerminologyProperties', terminologyProperties_sizeBytes - The size of the file used when importing a custom terminology.
$sel:skippedTermCount:TerminologyProperties', terminologyProperties_skippedTermCount - The number of terms in the input file that Amazon Translate skipped when
you created or updated the terminology resource.
$sel:sourceLanguageCode:TerminologyProperties', terminologyProperties_sourceLanguageCode - The language code for the source text of the translation request for
which the custom terminology is being used.
$sel:targetLanguageCodes:TerminologyProperties', terminologyProperties_targetLanguageCodes - The language codes for the target languages available with the custom
terminology resource. All possible target languages are returned in
array.
$sel:termCount:TerminologyProperties', terminologyProperties_termCount - The number of terms included in the custom terminology.
terminologyProperties_arn :: Lens' TerminologyProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) of the custom terminology.
terminologyProperties_createdAt :: Lens' TerminologyProperties (Maybe UTCTime) Source #
The time at which the custom terminology was created, based on the timestamp.
terminologyProperties_description :: Lens' TerminologyProperties (Maybe Text) Source #
The description of the custom terminology properties.
terminologyProperties_directionality :: Lens' TerminologyProperties (Maybe Directionality) Source #
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).
- UNI
- The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
- MULTI
- Any language in the terminology resource can be the source language.
terminologyProperties_encryptionKey :: Lens' TerminologyProperties (Maybe EncryptionKey) Source #
The encryption key for the custom terminology.
terminologyProperties_format :: Lens' TerminologyProperties (Maybe TerminologyDataFormat) Source #
The format of the custom terminology input file.
terminologyProperties_lastUpdatedAt :: Lens' TerminologyProperties (Maybe UTCTime) Source #
The time at which the custom terminology was last update, based on the timestamp.
terminologyProperties_message :: Lens' TerminologyProperties (Maybe Text) Source #
Additional information from Amazon Translate about the terminology resource.
terminologyProperties_name :: Lens' TerminologyProperties (Maybe Text) Source #
The name of the custom terminology.
terminologyProperties_sizeBytes :: Lens' TerminologyProperties (Maybe Int) Source #
The size of the file used when importing a custom terminology.
terminologyProperties_skippedTermCount :: Lens' TerminologyProperties (Maybe Int) Source #
The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.
terminologyProperties_sourceLanguageCode :: Lens' TerminologyProperties (Maybe Text) Source #
The language code for the source text of the translation request for which the custom terminology is being used.
terminologyProperties_targetLanguageCodes :: Lens' TerminologyProperties (Maybe [Text]) Source #
The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.
terminologyProperties_termCount :: Lens' TerminologyProperties (Maybe Int) Source #
The number of terms included in the custom terminology.