Skip to main content

terminologies

Creates, updates, deletes, gets or lists a terminologies resource.

Overview

Nameterminologies
TypeResource
Idaws.translate.terminologies

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
auxiliary_data_locationobjectThe 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 terminology resource. The location is returned as a presigned URL to that has a 30-minute expiration.
terminology_data_locationobjectThe Amazon S3 location of the most recent custom terminology 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.
terminology_propertiesobjectThe properties of the custom terminology being retrieved.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_terminologyselectregionRetrieves a custom terminology.
delete_terminologydeleteregionA synchronous action that deletes a custom terminology.
list_terminologiesexecregionProvides a list of custom terminologies associated with your account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves a custom terminology.

SELECT
auxiliary_data_location,
terminology_data_location,
terminology_properties
FROM aws.translate.terminologies
WHERE region = '{{ region }}' -- required
;

DELETE examples

A synchronous action that deletes a custom terminology.

DELETE FROM aws.translate.terminologies
WHERE region = '{{ region }}' --required
;

Lifecycle Methods

Provides a list of custom terminologies associated with your account.

EXEC aws.translate.terminologies.list_terminologies
@region='{{ region }}' --required
@@json=
'{
"NextToken": "{{ NextToken }}",
"MaxResults": {{ MaxResults }}
}'
;