You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/10/22 20:36:00 UTC

[jira] [Created] (CAMEL-26037) camel-aws2-iam - CamelAwsIAMAccessKeyStatus takes Active and Inactive only

Claus Ibsen created CAMEL-26037:
-----------------------------------

             Summary: camel-aws2-iam - CamelAwsIAMAccessKeyStatus takes Active and Inactive only
                 Key: CAMEL-26037
                 URL: https://issues.apache.org/jira/browse/CAMEL-26037
             Project: Camel
          Issue Type: Bug
          Components: camel-aws2
    Affects Versions: 4.18.0, 4.22.0, 4.23.0
            Reporter: Claus Ibsen
             Fix For: 4.24.0


Found while adding the catalog body types of aws2-iam (CAMEL-24961).

h4. 1. CamelAwsIAMAccessKeyStatus takes Active and Inactive only

The header is described as "active and inactive" ({{IAM2Constants}}, main 07d2e7a987bc, lines 31-33), but {{StatusType.fromValue}} matches {{Active}} and {{Inactive}} exactly ({{IAM2Producer}}, line 401). Checked on 4.24.0-SNAPSHOT with {{camel run}} against the AWS emulator of {{camel infra run aws}}: updateAccessKey with "inactive" failed with "Status must be Active or Inactive."; "Inactive" worked.

*Proposed change*: match the status in any case, or name the exact values in the header description.

h4. Also read in the code, not run

* With pojoRequest=true an empty text body is reported as "Expected body of type ... but was null" (line 981); aws2-kms does the same (line 270).

_Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)