Login to follow
AWSTranslate

AWSTranslate (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 19 September 2024 by OutSystems Labs
AWSTranslate

AWSTranslate (ODC)

Documentation
0.1.0

Amazon Translate is a text translation service that uses advanced machine learning technologies to provide high-quality translation on demand. You can use Amazon Translate to translate unstructured text documents or to build applications that work in multiple languages.

Amazon Translate provides translation between a source language (the input language) and a target language (the output language). A source language-target language combination is known as a language pair.

Requirements

To use this connector you must have:

See the AWS documentation for detailed information and instructions on getting started, developing, and working with Amazon Translate.

Once you have those, make sure to configure the connector to use them in the authentication.

Configuration and authentication

To configure your connector to access Amazon Translate, you need the following information:

  • The access key ID of your AWS access key

  • The secret access key of your AWS access key

  • The AWS Region of the service endpoint to which you want to connect. To reduce latency, choose a region close to your application server. See the API documentation for the list of region Names.

Use the above authentication information to fill in the AWSCredentials parameters in all of the public actions available in the AmazonTranslate module. The parameters are:

  • AccessKeyId

  • SecretKey

  • Region


Each time you run an action from the connector, authentication in Amazon Translate follows this logic:

  • If the AWSCredentials input parameter is passed (this parameter is mandatory), the parameter values are used to authenticate.

  • If the values in the AWSCredentials input parameter are not set or don’t carry the correct credentials, the exception “Invalid credentials to Amazon Translate service." occurs.

With this design, you have the flexibility to define a set of AWS credentials for specific actions.


Using the Amazon Translate Connector


On your app, add AmazonTranslate as a dependency and choose the actions you want to use.

The available actions are:

To do real-time translations:

  • TranslateText - Translates input text from the source language to the target language. It’s designed for interactive applications that work on one document at a time.

For a list of available languages and language codes, see Supported Languages and Language Codes.

This component is based on the AWS SDK for .NET v3.