davsclaus opened a new pull request, #28365:
URL: https://github.com/apache/camel/pull/28365

   _Claude Code on behalf of davsclaus_
   
   Bug fixes for eleven AWS components, found while adding the catalog body 
types (CAMEL-24961). One commit; every fix has a unit test that failed before 
it.
   
   | JIRA | Component | Fix |
   |---|---|---|
   | [CAMEL-25925](https://issues.apache.org/jira/browse/CAMEL-25925) | 
aws2-sqs | sendBatchMessage of more than 10 entries: the body is one 
`SendMessageBatchResponse` with the entries of all the requests, not the last 
one only; non-String elements are converted |
   | [CAMEL-25936](https://issues.apache.org/jira/browse/CAMEL-25936) | aws2-s3 
| headBucket and headObject take the bucket from the endpoint and the key from 
`keyName`, as the other operations do |
   | [CAMEL-25958](https://issues.apache.org/jira/browse/CAMEL-25958) | 
aws2-kinesis | a `Path` body is one record with the file content; a body that 
does not convert fails with `InvalidPayloadException` (was an NPE) |
   | [CAMEL-26030](https://issues.apache.org/jira/browse/CAMEL-26030) | 
aws2-ddb | correct catalog types of six headers; `CamelAwsDdbNextToken` 
documented; DescribeTable/DeleteTable no longer set `CamelAwsDdbTableName`, 
which sent the next step to that table; UpdateTable sets its result headers; 
Query/Scan ask for the consumed capacity; ddbstream lists its headers; docs |
   | [CAMEL-26043](https://issues.apache.org/jira/browse/CAMEL-26043) | 
aws2-ddb | the `aws2-ddb:application-json` transformer takes the operation from 
the route only (header or `operation` exchange property); without one the 
endpoint's operation applies; a body `operation` field fails unless it matches 
the route |
   | [CAMEL-26031](https://issues.apache.org/jira/browse/CAMEL-26031) | aws2-cw 
| a Collection or array of `MetricDatum` is sent, other elements fail clearly; 
a `Date` timestamp is used; the unit matches in any case |
   | [CAMEL-26033](https://issues.apache.org/jira/browse/CAMEL-26033) | 
aws2-lambda | invokeFunction without a body sends no payload (was an NPE), text 
in UTF-8; createFunction/updateFunction: the zip file header or S3 location 
wins over the body, never both, a body that is not the zip fails clearly; docs |
   | [CAMEL-26034](https://issues.apache.org/jira/browse/CAMEL-26034) | 
aws2-eventbridge | putEvent fails when EventBridge rejects the event; no body 
throws `InvalidPayloadException` itself; resource ARNs trimmed; putRule without 
a pattern fails clearly; docs |
   | [CAMEL-26035](https://issues.apache.org/jira/browse/CAMEL-26035) | 
aws2-ses | Java docs example; cc/bcc for raw mails; no body fails before 
calling SES; typo |
   | [CAMEL-26040](https://issues.apache.org/jira/browse/CAMEL-26040) | 
aws2-ses | a `RawMessage` body is sent with `sendRawEmail`, a 
`SendRawEmailRequest` body as it is |
   | [CAMEL-26036](https://issues.apache.org/jira/browse/CAMEL-26036) | 
aws-secrets-manager | `binaryPayload=true` stores the bytes of the body (not 
the Base64 text); getSecret/batchGetSecret give `byte[]` for a binary secret 
and a String for a string secret; the `aws:` properties function reads a binary 
secret as UTF-8; batchGetSecret fails on errors; no operation fails clearly |
   | [CAMEL-26037](https://issues.apache.org/jira/browse/CAMEL-26037) | 
aws2-iam (+ aws2-kms) | access key status in any case; clearer message for an 
empty pojoRequest body |
   | [CAMEL-26038](https://issues.apache.org/jira/browse/CAMEL-26038) | 
aws2-sts | docs; `StsAssumeRoleIT` creates its role and is enabled again (run 
against the test-infra container) |
   
   Behaviour changes are in the 4.24 upgrade guide. The ones to note:
   - aws2-ddb JSON transformer: a route that chose the operation in the JSON 
body must set the `CamelAwsDdbOperation` header or the `operation` exchange 
property. The aws-ddb-sink Kamelet sets the property and is not affected.
   - aws-secrets-manager: binary secrets written with `binaryPayload=true` by 
earlier Camel versions hold the Base64 text of the value and now read back as 
that text.
   - aws2-eventbridge putEvent now fails on a rejected event; aws2-ses 
`RawMessage` bodies are sent as raw mails.
   
   Catalog JSON and docs copied, endpoint and component DSLs regenerated. Main 
only.
   
   The stacked body-type PRs #28314, #28275 and #28251 touch the same endpoints 
and generated JSON; whichever merges second regenerates.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to