[ 
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)

Reply via email to