From 72d385e915b4a8180c78436fe3e8c48abf754a6a Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Mon, 6 Feb 2023 18:33:22 +0100 Subject: [PATCH] Convert all the parameters with multiple possible values to enum - AWS Translate Signed-off-by: Andrea Cosentino --- .../main/resources/kamelets/aws-translate-action.kamelet.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml index db91242a3..5b958cf19 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml @@ -65,9 +65,10 @@ spec: enum: ["ap-south-1", "eu-south-1", "us-gov-east-1", "me-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-northeast-2", "ap-northeast-1", "me-south-1", "sa-east-1", "ap-east-1", "cn-north-1", "us-gov-west-1", "ap-southeast-1", "ap-southeast-2", "us-iso-east-1", "ap-southeast-3", "us-east-1", "us-east-2", "cn-northwest-1", "us-isob-east-1", "aws-global", "aws-cn-global", "aws-us-gov-global", "aws-iso-global", "aws-iso-b-global"] 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"). + description: The source language of the translating text. type: string example: it + enum: ["ar", "zh", "zh-TW", "cs", "da", "nl", "en", "fi", "fr", "de", "he", "hi", "id", "it", "ja", "ko", "ms", "no", "fa", "pl", "pt", "ru", "es", "sv", "tr"] targetLanguage: title: Target Language description: The target language of the translating text.