From 5e334bd0dfd4d884b29281c1617436c8d71be612 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:36:03 +0000 Subject: [PATCH] Update wiki Home page for aws2-translate --- Home.md | 56 ++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 14 deletions(-) diff --git a/Home.md b/Home.md index 93a012c..bc4acba 100644 --- a/Home.md +++ b/Home.md @@ -1,21 +1,49 @@ -# Deploy the Project on CamelX Platform +# AWS Translate -Deploy on CamelX Platform in three steps +Translate texts using AWS Translate and AWS SDK version 2.x. -## Step 1: Create a release -From the project space, click on **"Create a release"** +## Metadata -The new version is automatically available in the list +| Property | Value | +|----------|-------| +| Scheme | `aws2-translate` | +| Support Level | Stable | +| Labels | cloud,management | +| Version | 4.10.2 | -## Step 2: Deploy -Click on **"Deploy"** +## Maven Dependency -- **Version:** Select the desired release -- **Environment:** Choose `Development`, `Staging`, or `Production` -- **Configuration:** Select the configuration source -- **Resources:** Set CPU and Memory +```xml + + org.apache.camel + camel-aws2-translate + 4.10.2 + +``` -## Step 3: Expose -Enable **"Expose"** +## Endpoint Properties -Choose an **API Gateway** (Internal, Public, etc.) +| Name | Type | Required | Default | Description | +|------|------|----------|---------|-------------| +| `label` | string | ✓ | | Logical name | +| `autodetectSourceLanguage` | boolean | | `false` | Being able to autodetect the source language | +| `operation` | object | ✓ | `translateText` | The operation to perform | +| `overrideEndpoint` | boolean | | `false` | Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option | +| `pojoRequest` | boolean | | `false` | If we want to use a POJO request as body or not | +| `region` | string | | | The region in which the Translate client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | +| `sourceLanguage` | string | | | Source language to use | +| `targetLanguage` | string | | | Target language to use | +| `uriEndpointOverride` | string | | | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | +| `lazyStartProducer` | boolean | | `false` | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. | +| `translateClient` | object | | | To use an existing configured AWS Translate client | +| `proxyHost` | string | | | To define a proxy host when instantiating the Translate client | +| `proxyPort` | integer | | | To define a proxy port when instantiating the Translate client | +| `proxyProtocol` | object | | `HTTPS` | To define a proxy protocol when instantiating the Translate client | +| `accessKey` | string | | | Amazon AWS Access Key | +| `profileCredentialsName` | string | | | If using a profile credentials provider, this parameter will set the profile name | +| `secretKey` | string | | | Amazon AWS Secret Key | +| `sessionToken` | string | | | Amazon AWS Session Token used when the user needs to assume an IAM role | +| `trustAllCertificates` | boolean | | `false` | If we want to trust all certificates in case of overriding the endpoint | +| `useDefaultCredentialsProvider` | boolean | | `false` | Set whether the Translate client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. | +| `useProfileCredentialsProvider` | boolean | | `false` | Set whether the Translate client should expect to load credentials through a profile credentials provider. | +| `useSessionCredentials` | boolean | | `false` | Set whether the Translate client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume an IAM role for doing operations in Translate. |