You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/05/19 12:07:37 UTC

[camel-kamelets] 21/22: Turn AWS Region into an enum - AWS Translate Action

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch aws-region-enum
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit f48dfba2f7449438a77c2ab695cd9e8ae8a8abae
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu May 19 14:05:11 2022 +0200

    Turn AWS Region into an enum - AWS Translate Action
---
 kamelets/aws-translate-action.kamelet.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kamelets/aws-translate-action.kamelet.yaml b/kamelets/aws-translate-action.kamelet.yaml
index f5fa9213..593135f4 100644
--- a/kamelets/aws-translate-action.kamelet.yaml
+++ b/kamelets/aws-translate-action.kamelet.yaml
@@ -63,6 +63,7 @@ spec:
         description: The AWS region to connect to.
         type: string
         example: eu-west-1
+        enum: ["af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", "ca-central-1", "eu-central-1", "eu-north-1", "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", "fips-us-east-1", "fips-us-east-2", "fips-us-west-1", "fips-us-west-2", "me-south-1", "sa-east-1", "us-east-1", "us-east-2", "us-west-1", "us-west-2", "cn-north-1", "cn-northwest-1", "us-gov-east-1", "us-gov-west-1", "us-iso-east [...]
       sourceLanguage:
         title: Source Language
         description: The source language of the translating text. Possible values are ARABIC("ar"), CHINESE_SIMPLIFIED("zh"), CHINESE_TRADITIONAL("zh-TW"), CZECH("cs"), DANISH("da"), DUTCH("nl"), ENGLISH("en"), FINNISH("fi"), FRENCH("fr"), GERMAN("de"), HEBREW("he"), HINDI("hi"), INDONESIAN("id"), ITALIAN("it"), JAPANESE("ja"), KOREAN("ko"), MALAY("ms"), NORWEGIAN("no"), PERSIAN("fa"), POLISH("pl"), PORTUGUESE("pt"), RUSSIAN("ru"), SPANISH("es"), SWEDISH("sv") and TURKISH("tr").