You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2023/10/24 16:25:00 UTC
[jira] [Updated] (CAMEL-20025) camel-aws - Should we make region an enum
[ https://issues.apache.org/jira/browse/CAMEL-20025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino updated CAMEL-20025:
-------------------------------------
Fix Version/s: 4.2.0
(was: 4.x)
> camel-aws - Should we make region an enum
> -----------------------------------------
>
> Key: CAMEL-20025
> URL: https://issues.apache.org/jira/browse/CAMEL-20025
> Project: Camel
> Issue Type: Improvement
> Components: camel-aws
> Reporter: Claus Ibsen
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 4.2.0
>
>
> All the aws components has to set region as option. Its a string type.
> But the AWS client requests to map this to a Region enum class, that has hardcoded all known regions in the AWS SDK. There is about 40 regions in total.
> We could make region a Region instead of String in the code, then it will be an enum automatic with those values.
> This makes tooling more friendly as they would show a list of enums to choose among.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)