Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3. Parallel data files contain examples of source phrases and their translations from your translation memory. By adding parallel data, you can influence the style, tone, and word choice in your translation output.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request POST 'http://translate.{region}.amazonaws.com/' \
--header'X-Amz-Target;' \
--header'Content-Type: application/json' \
--data-raw''
Response Response Example
200 - Example 1
{"Name":"string","Status":"CREATING"}
Request
Header Params
X-Amz-Target
string
required
Body Params application/json
Name
string
required
A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.
>= 1 characters<= 256 characters
Match pattern:
^([A-Za-z0-9-]_?)+$
Description
string
optional
A custom description for the parallel data resource in Amazon Translate.
<= 256 characters
Match pattern:
[\P{M}\p{M}]{0,256}
ParallelDataConfig
object
required
Specifies the format and S3 location of the parallel data input file.
S3Uri
string
required
The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.
<= 1024 characters
Match pattern:
s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
Format
enum<string>
required
The format of the parallel data input file.
Allowed values:
TSVCSVTMX
EncryptionKey
object(EncryptionKey)
optional
The encryption key used to encrypt this object.
Type
enum<string>
required
The type of encryption key used by Amazon Translate to encrypt custom terminologies.
Allowed value:
KMS
Id
string
required
The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.