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/09/15 07:24:42 UTC

[camel] 02/02: Camel-AWS2-IAM: listAccessKey request old behavior

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 57e0f9bfe8c4e2ce18f70e81558153ec57e69d41
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Sep 15 09:21:57 2020 +0200

    Camel-AWS2-IAM: listAccessKey request old behavior
---
 .../src/main/java/org/apache/camel/component/aws2/iam/IAM2Producer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws2-iam/src/main/java/org/apache/camel/component/aws2/iam/IAM2Producer.java b/components/camel-aws2-iam/src/main/java/org/apache/camel/component/aws2/iam/IAM2Producer.java
index 9171065..80dbe7f 100644
--- a/components/camel-aws2-iam/src/main/java/org/apache/camel/component/aws2/iam/IAM2Producer.java
+++ b/components/camel-aws2-iam/src/main/java/org/apache/camel/component/aws2/iam/IAM2Producer.java
@@ -156,7 +156,7 @@ public class IAM2Producer extends DefaultProducer {
         } else {
             ListAccessKeysResponse response;
             try {
-                response = iamClient.listAccessKeys(ListAccessKeysRequest.builder().build());
+                response = iamClient.listAccessKeys();
             } catch (AwsServiceException ase) {
                 LOG.trace("List Access Keys command returned the error code {}", ase.getMessage());
                 throw ase;