String name
The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.
Constraints:
Length: 1 - 256
Pattern: ^([A-Za-z0-9-]_?)+$
List<E> terms
The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.
String name
The name of the custom terminology being deleted.
Constraints:
Length: 1 - 256
Pattern: ^([A-Za-z0-9-]_?)+$
String detectedLanguageCode
The language code of the auto-detected language from Amazon Comprehend.
Constraints:
Length: 2 - 5
String type
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
Constraints:
Allowed Values: KMS
String id
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.
Constraints:
Length: 1 - 400
Pattern:
(arn:aws((-us-gov)|(-cn))?:kms:)?([a-z]{2}-[a-z]+-\d:)?(\d
{12}:)?(((key/)?[a-zA-Z0-9-_]+)|(alias/[a-zA-Z0-9:/_-]+))
TerminologyProperties terminologyProperties
The properties of the custom terminology being retrieved.
TerminologyDataLocation terminologyDataLocation
The data location of the custom terminology being retrieved. The custom terminology file is returned in a presigned url that has a 30 minute expiration.
String name
The name of the custom terminology being imported.
Constraints:
Length: 1 - 256
Pattern: ^([A-Za-z0-9-]_?)+$
String mergeStrategy
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.
Constraints:
Allowed Values: OVERWRITE
String description
The description of the custom terminology being imported.
Constraints:
Length: - 256
Pattern: [\P{M}\p{M}]{0,256}
TerminologyData terminologyData
The terminology data for the custom terminology being imported.
EncryptionKey encryptionKey
The encryption key for the custom terminology being imported.
TerminologyProperties terminologyProperties
The properties of the custom terminology being imported.
String nextToken
If the result of the request to ListTerminologies was truncated, include the NextToken to fetch the next group of custom terminologies.
Constraints:
Length: - 8192
Pattern: \p{ASCII}{0,8192}
Integer maxResults
The maximum number of custom terminologies returned per list request.
Constraints:
Range: 1 - 500
List<E> terminologyPropertiesList
The properties list of the custom terminologies returned on the list request.
String nextToken
If the response to the ListTerminologies was truncated, the NextToken fetches the next group of custom terminologies.
Constraints:
Length: - 8192
Pattern: \p{ASCII}{0,8192}
String sourceText
The source text of the term being translated by the custom terminology.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
String targetText
The target text of the term being translated by the custom terminology.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
ByteBuffer file
The file containing the custom terminology data.
Constraints:
Length: - 10485760
String format
The data format of the custom terminology. Either CSV or TMX.
Constraints:
Allowed Values: CSV, TMX
String name
The name of the custom terminology.
Constraints:
Length: 1 - 256
Pattern: ^([A-Za-z0-9-]_?)+$
String description
The description of the custom terminology properties.
Constraints:
Length: - 256
Pattern: [\P{M}\p{M}]{0,256}
String arn
The Amazon Resource Name (ARN) of the custom terminology.
Constraints:
Pattern:
^arn:aws((-us-gov)|(-cn))?:translate:[a-zA-Z0-9-]+:[0-9]{12
}:terminology/.+?/.+?$
String sourceLanguageCode
The language code for the source text of the translation request for which the custom terminology is being used.
Constraints:
Length: 2 - 5
List<E> targetLanguageCodes
The language codes for the target languages available with the custom terminology file. All possible target languages are returned in array.
EncryptionKey encryptionKey
The encryption key for the custom terminology.
Integer sizeBytes
The size of the file used when importing a custom terminology.
Integer termCount
The number of terms included in the custom terminology.
Date createdAt
The time at which the custom terminology was created, based on the timestamp.
Date lastUpdatedAt
The time at which the custom terminology was last update, based on the timestamp.
String text
The text to translate. The text string can be a maximum of 5,000 bytes long. Depending on your character set, this may be fewer than 5,000 characters.
Constraints:
Length: 1 - 5000
Pattern: [\P{M}\p{M}]{1,5000}
List<E> terminologyNames
The TerminologyNames list that is taken as input to the TranslateText request. This has a minimum length of 0 and a maximum length of 1.
String sourceLanguageCode
The language code for the language of the source text. The language must be a language supported by Amazon Translate.
To have Amazon Translate determine the source language of your text, you
can specify auto in the SourceLanguageCode
field. If you specify auto, Amazon Translate will call
Amazon Comprehend to determine the source language.
Constraints:
Length: 2 - 5
String targetLanguageCode
The language code requested for the language of the target text. The language must be a language supported by Amazon Translate.
Constraints:
Length: 2 - 5
String translatedText
The the translated text. The maximum length of this text is 5kb.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
String sourceLanguageCode
The language code for the language of the source text.
Constraints:
Length: 2 - 5
String targetLanguageCode
The language code for the language of the target text.
Constraints:
Length: 2 - 5
List<E> appliedTerminologies
The names of the custom terminologies applied to the input text by Amazon Translate for the translated text response.
Copyright © 2019. All rights reserved.