[ aws . translate ]

create-parallel-data

Description

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.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  create-parallel-data
--name <value>
[--description <value>]
--parallel-data-config <value>
[--encryption-key <value>]
[--client-token <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--name (string)

A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.

--description (string)

A custom description for the parallel data resource in Amazon Translate.

--parallel-data-config (structure)

Specifies the format and S3 location of the parallel data input file.

S3Uri -> (string)

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.

Format -> (string)

The format of the parallel data input file.

Shorthand Syntax:

S3Uri=string,Format=string

JSON Syntax:

{
  "S3Uri": "string",
  "Format": "TSV"|"CSV"|"TMX"
}

--encryption-key (structure)

The encryption key used to encrypt this object.

Type -> (string)

The type of encryption key used by Amazon Translate to encrypt custom terminologies.

Id -> (string)

The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.

Shorthand Syntax:

Type=string,Id=string

JSON Syntax:

{
  "Type": "KMS",
  "Id": "string"
}

--client-token (string)

A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See ‘aws help’ for descriptions of global parameters.

Output

Name -> (string)

The custom name that you assigned to the parallel data resource.

Status -> (string)

The status of the parallel data resource. When the resource is ready for you to use, the status is ACTIVE .