Skip to content

Get Terminology

translate_get_terminology R Documentation

Retrieves a custom terminology

Description

Retrieves a custom terminology.

Usage

translate_get_terminology(Name, TerminologyDataFormat)

Arguments

Name

[required] The name of the custom terminology being retrieved.

TerminologyDataFormat

The data format of the custom terminology being retrieved.

If you don't specify this parameter, Amazon Translate returns a file with the same format as the file that was imported to create the terminology.

If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as the input file that was imported to create it. Otherwise, Amazon Translate throws an error.

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"
  ),
  TerminologyDataLocation = list(
    RepositoryType = "string",
    Location = "string"
  ),
  AuxiliaryDataLocation = list(
    RepositoryType = "string",
    Location = "string"
  )
)

Request syntax

svc$get_terminology(
  Name = "string",
  TerminologyDataFormat = "CSV"|"TMX"|"TSV"
)