Skip to content

Commit

Permalink
Convert all the parameters with multiple possible values to enum - AW…
Browse files Browse the repository at this point in the history
…S Translate

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Feb 3, 2023
1 parent 6deac31 commit f10eb28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kamelets/aws-translate-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ spec:
example: it
targetLanguage:
title: Target Language
description: The target 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 target language of the translating text.
type: string
example: en
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"]
useDefaultCredentialsProvider:
title: Default Credentials Provider
description: Set whether the Translate client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
Expand Down

0 comments on commit f10eb28

Please sign in to comment.