Import Terminology
translate_import_terminology | R Documentation |
Creates or updates a custom terminology, depending on whether one already exists for the given terminology name¶
Description¶
Creates or updates a custom terminology, depending on whether one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. The only supported merge strategy is OVERWRITE, where the imported terminology overwrites the existing terminology of the same name.
If you import a terminology that overwrites an existing one, the new terminology takes up to 10 minutes to fully propagate. After that, translations have access to the new terminology.
Usage¶
translate_import_terminology(Name, MergeStrategy, Description,
TerminologyData, EncryptionKey, Tags)
Arguments¶
Name
[required] The name of the custom terminology being imported.
MergeStrategy
[required] The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. In this case, the imported terminology will overwrite an existing terminology of the same name.
Description
The description of the custom terminology being imported.
TerminologyData
[required] The terminology data for the custom terminology being imported.
EncryptionKey
The encryption key for the custom terminology being imported.
Tags
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
Value¶
A list with the following syntax:
list(
TerminologyProperties = list(
Name = "string",
Description = "string",
Arn = "string",
SourceLanguageCode = "string",
TargetLanguageCodes = list(
"string"
),
EncryptionKey = list(
Type = "KMS",
Id = "string"
),
SizeBytes = 123,
TermCount = 123,
CreatedAt = as.POSIXct(
"2015-01-01"
),
LastUpdatedAt = as.POSIXct(
"2015-01-01"
),
Directionality = "UNI"|"MULTI",
Message = "string",
SkippedTermCount = 123,
Format = "CSV"|"TMX"|"TSV"
),
AuxiliaryDataLocation = list(
RepositoryType = "string",
Location = "string"
)
)
Request syntax¶
svc$import_terminology(
Name = "string",
MergeStrategy = "OVERWRITE",
Description = "string",
TerminologyData = list(
File = raw,
Format = "CSV"|"TMX"|"TSV",
Directionality = "UNI"|"MULTI"
),
EncryptionKey = list(
Type = "KMS",
Id = "string"
),
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)