You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/07/31 10:24:05 UTC

[camel] branch master updated: Camel-AWS2-IAM: Fixed example for createUser

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


The following commit(s) were added to refs/heads/master by this push:
     new b198300  Camel-AWS2-IAM: Fixed example for createUser
b198300 is described below

commit b1983001046a7ad52f079bf78b568ebcd5828292
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 31 12:23:26 2020 +0200

    Camel-AWS2-IAM: Fixed example for createUser
---
 components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc b/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
index e48161c..9760b92 100644
--- a/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
+++ b/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
@@ -165,7 +165,7 @@ Camel-AWS2 IAM component provides the following operation on the producer side:
 [source,java]
 --------------------------------------------------------------------------------
 from("direct:createUser")
-    .setHeader(IAMConstants.GROUP_NAME, constant("camel"))
+    .setHeader(IAMConstants.USERNAME, constant("camel"))
     .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=createUser")
 --------------------------------------------------------------------------------