Skip to content

Adapter - Amazon Translate

This page describes version 2.0.13 of the adapter.

Overview

This adapter uses Amazon Web Services Translate API to translate text between different languages.

Please refer to Amazon's Documentation for information about Amazon's Translate API.

Configuration

All of the Amazon adapters, require a region, accessKey and secretKey. The regions list can be in Amazon's documentation. The accessKey and secretKey are accessed by logging in to your amazon account.

Accessing Secret Key

The secretKey can only be accessed once, directly after the accessKey and secretKey are generated.



Properties

Name Display Is Required Comments Type Default Value Maximum Value Minimum Value Maximum Length Minimum Length
region Region True The Amazon (AWS) region to run the commands on. string us-west-1 1024 1
accessKey Access Key True The Amazon account's Access Key. password 1024 1
secretKey Secret Key True The Amazon account's Secret Key. password 1024 1
roleArn Role ARN False The optional role ARN to assume. string 2048 1
externalId External ID False The external id to pass if assuming a role. password 1024 1



Commands

Translate Text (translateText)

Translate supplied text with source and target language codes to send to Amazon.

Request Properties

Name Display Description Is Required Type
sourceLanguageCode Source Language Code The language of the text that the user is sending Amazon. True string
targetLanguageCode Target Language Code The language to translate the supplied text to. True string
text Text The text to be translated by Amazon. True string

Response Properties

Name Description Type
status The general status of the executed command. Typically a success or failure message. string
translatedText The text that was translated from Source Language Code to Target Language Code. string
targetLanguageCode The language to translate the text to. string
sourceLanguageCode The language the text is in. string

Release History

Version Type Description Tracking # Date
2.0.1 Initial First release in the Adapter Type store.
2.0.10 Maintenance Updated third-party components and improved maintainability. NAP-11518
2.0.11 Maintenance Updated third-party components and improved maintainability. NAP-23945 2022-11-30
2.0.12 Bug Fix Fixed bug in amazon-polly NAP-24722 2023-02-02
2.0.13 Maintenance Updated third-party components and improved maintainability. NAP-27635 2024-07-31

Categories