[ aws . translate ]

get-parallel-data

Description

Provides information about a parallel data resource.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  get-parallel-data
--name <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--name (string)

The name of the parallel data resource that is being retrieved.

--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. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.

See ‘aws help’ for descriptions of global parameters.

Output

ParallelDataProperties -> (structure)

The properties of the parallel data resource that is being retrieved.

Name -> (string)

The custom name assigned to the parallel data resource.

Arn -> (string)

The Amazon Resource Name (ARN) of the parallel data resource.

Description -> (string)

The description assigned to the parallel data resource.

Status -> (string)

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

SourceLanguageCode -> (string)

The source language of the translations in the parallel data file.

TargetLanguageCodes -> (list)

The language codes for the target languages available in the parallel data file. All possible target languages are returned as an array.

(string)

ParallelDataConfig -> (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.

Message -> (string)

Additional information from Amazon Translate about the parallel data resource.

ImportedDataSize -> (long)

The number of UTF-8 characters that Amazon Translate imported from the parallel data input file. This number includes only the characters in your translation examples. It does not include characters that are used to format your file. For example, if you provided a Translation Memory Exchange (.tmx) file, this number does not include the tags.

ImportedRecordCount -> (long)

The number of records successfully imported from the parallel data input file.

FailedRecordCount -> (long)

The number of records unsuccessfully imported from the parallel data input file.

SkippedRecordCount -> (long)

The number of items in the input file that Amazon Translate skipped when you created or updated the parallel data resource. For example, Amazon Translate skips empty records, empty target texts, and empty lines.

EncryptionKey -> (structure)

The encryption key used to encrypt this object.

Type -> (string)

The type of encryption key used by Amazon Translate to encrypt this object.

Id -> (string)

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

CreatedAt -> (timestamp)

The time at which the parallel data resource was created.

LastUpdatedAt -> (timestamp)

The time at which the parallel data resource was last updated.

LatestUpdateAttemptStatus -> (string)

The status of the most recent update attempt for the parallel data resource.

LatestUpdateAttemptAt -> (timestamp)

The time that the most recent update was attempted.

DataLocation -> (structure)

The Amazon S3 location of the most recent parallel data input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration.

Warning

Amazon Translate doesn’t scan all input files for the risk of CSV injection attacks.

CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

RepositoryType -> (string)

Describes the repository that contains the parallel data input file.

Location -> (string)

The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30-minute expiration.

Warning

Amazon Translate doesn’t scan all input files for the risk of CSV injection attacks.

CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

AuxiliaryDataLocation -> (structure)

The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

RepositoryType -> (string)

Describes the repository that contains the parallel data input file.

Location -> (string)

The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30-minute expiration.

Warning

Amazon Translate doesn’t scan all input files for the risk of CSV injection attacks.

CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

LatestUpdateAttemptAuxiliaryDataLocation -> (structure)

The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to update a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

RepositoryType -> (string)

Describes the repository that contains the parallel data input file.

Location -> (string)

The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30-minute expiration.

Warning

Amazon Translate doesn’t scan all input files for the risk of CSV injection attacks.

CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.