terminologies
Creates, updates, deletes, gets or lists a terminologies resource.
Overview
| Name | terminologies |
| Type | Resource |
| Id | aws.translate.terminologies |
Fields
The following fields are returned by SELECT queries:
- get_terminology
| Name | Datatype | Description |
|---|---|---|
auxiliary_data_location | object | 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 terminology resource. The location is returned as a presigned URL to that has a 30-minute expiration. |
terminology_data_location | object | The 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_properties | object | The properties of the custom terminology being retrieved. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_terminology | select | region | Retrieves a custom terminology. | |
delete_terminology | delete | region | A synchronous action that deletes a custom terminology. | |
list_terminologies | exec | region | Provides 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_terminology
Retrieves a custom terminology.
SELECT
auxiliary_data_location,
terminology_data_location,
terminology_properties
FROM aws.translate.terminologies
WHERE region = '{{ region }}' -- required
;
DELETE examples
- delete_terminology
A synchronous action that deletes a custom terminology.
DELETE FROM aws.translate.terminologies
WHERE region = '{{ region }}' --required
;
Lifecycle Methods
- list_terminologies
Provides a list of custom terminologies associated with your account.
EXEC aws.translate.terminologies.list_terminologies
@region='{{ region }}' --required
@@json=
'{
"NextToken": "{{ NextToken }}",
"MaxResults": {{ MaxResults }}
}'
;