Skip to content

aws.translate.get_parallel_data

Example SQL Queries

SELECT * FROM
aws.translate.get_parallel_data
WHERE
"name" = 'VALUE';

Description

Provides information about a parallel data resource.

Table Definition

Column NameColumn Data Type
name Required Input Column

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

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
auxiliary_data_location

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.

STRUCT(
"repository_type" VARCHAR,
"location" VARCHAR
)
Show child fields
auxiliary_data_location.location

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.

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.

auxiliary_data_location.repository_type

Describes the repository that contains the parallel data input file.

data_location

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.

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.

STRUCT(
"repository_type" VARCHAR,
"location" VARCHAR
)
Show child fields
data_location.location

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.

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.

data_location.repository_type

Describes the repository that contains the parallel data input file.

latest_update_attempt_auxiliary_data_location

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.

STRUCT(
"repository_type" VARCHAR,
"location" VARCHAR
)
Show child fields
latest_update_attempt_auxiliary_data_location.location

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.

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.

latest_update_attempt_auxiliary_data_location.repository_type

Describes the repository that contains the parallel data input file.

parallel_data_properties

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

STRUCT(
"name" VARCHAR,
"arn" VARCHAR,
"description" VARCHAR,
"status" VARCHAR,
"source_language_code" VARCHAR,
"target_language_codes" VARCHAR[],
"parallel_data_config" STRUCT(
"s3_uri" VARCHAR,
"format" VARCHAR
),
"message" VARCHAR,
"imported_data_size" BIGINT,
"imported_record_count" BIGINT,
"failed_record_count" BIGINT,
"skipped_record_count" BIGINT,
"encryption_key" STRUCT(
"type" VARCHAR,
"id" VARCHAR
),
"created_at" TIMESTAMP_S,
"last_updated_at" TIMESTAMP_S,
"latest_update_attempt_status" VARCHAR,
"latest_update_attempt_at" TIMESTAMP_S
)
Show child fields
parallel_data_properties.arn

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

parallel_data_properties.created_at

The time at which the parallel data resource was created.

parallel_data_properties.description

The description assigned to the parallel data resource.

parallel_data_properties.encryption_key

The encryption key used to encrypt this object.

Show child fields
parallel_data_properties.encryption_key.id

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

parallel_data_properties.encryption_key.type

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

parallel_data_properties.failed_record_count

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

parallel_data_properties.imported_data_size

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.

parallel_data_properties.imported_record_count

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

parallel_data_properties.last_updated_at

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

parallel_data_properties.latest_update_attempt_at

The time that the most recent update was attempted.

parallel_data_properties.latest_update_attempt_status

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

parallel_data_properties.message

Additional information from Amazon Translate about the parallel data resource.

parallel_data_properties.name

The custom name assigned to the parallel data resource.

parallel_data_properties.parallel_data_config

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

Show child fields
parallel_data_properties.parallel_data_config.format

The format of the parallel data input file.

parallel_data_properties.parallel_data_config.s3_uri

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.

parallel_data_properties.skipped_record_count

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.

parallel_data_properties.source_language_code

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

parallel_data_properties.status

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

parallel_data_properties.target_language_codes[]