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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ecedc1cb99e58b211989e81f600c76808c5e932d
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Feb 27 18:09:32 2020 +0100

    CAMEL-14520 - Create an AWS-Kinesis component based on SDK v2, changed 
region description
---
 .../camel/component/aws2/firehose/KinesisFirehose2Configuration.java  | 4 ++--
 .../apache/camel/component/aws2/kinesis/Kinesis2Configuration.java    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Configuration.java
 
b/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Configuration.java
index f44feda..0733d93 100644
--- 
a/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Configuration.java
+++ 
b/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Configuration.java
@@ -35,8 +35,8 @@ public class KinesisFirehose2Configuration implements 
Cloneable {
     private String accessKey;
     @UriParam(label = "security", secret = true, description = "Amazon AWS 
Secret Key")
     private String secretKey;
-    @UriParam(description = "The region in which Kinesis client needs to work. 
When using this parameter, the configuration will expect the capitalized name 
of the region (for example AP_EAST_1)"
-                            + "You'll need to use the name 
Regions.EU_WEST_1.name()")
+    @UriParam(description = "The region in which Kinesis Firehose client needs 
to work. When using this parameter, the configuration will expect the lowercase 
name of the "
+                            + "region (for example ap-east-1) You'll need to 
use the name Region.EU_WEST_1.id()")
     private String region;
     @UriParam(description = "Amazon Kinesis Firehose client to use for all 
requests for this endpoint")
     private FirehoseClient amazonKinesisFirehoseClient;
diff --git 
a/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/kinesis/Kinesis2Configuration.java
 
b/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/kinesis/Kinesis2Configuration.java
index b5b844c..dff2092 100644
--- 
a/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/kinesis/Kinesis2Configuration.java
+++ 
b/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/kinesis/Kinesis2Configuration.java
@@ -35,8 +35,8 @@ public class Kinesis2Configuration implements Cloneable {
     private String accessKey;
     @UriParam(label = "security", secret = true, description = "Amazon AWS 
Secret Key")
     private String secretKey;
-    @UriParam(description = "The region in which Kinesis client needs to work. 
When using this parameter, the configuration will expect the capitalized name 
of the region (for example AP_EAST_1)"
-                            + "You'll need to use the name 
Regions.EU_WEST_1.name()")
+    @UriParam(description = "The region in which Kinesis Firehose client needs 
to work. When using this parameter, the configuration will expect the lowercase 
name of the "
+                          + "region (for example ap-east-1) You'll need to use 
the name Region.EU_WEST_1.id()")
     private String region;
     @UriParam(description = "Amazon Kinesis client to use for all requests for 
this endpoint")
     private KinesisClient amazonKinesisClient;

Reply via email to