davsclaus opened a new pull request, #28376: URL: https://github.com/apache/camel/pull/28376
_Claude Code on behalf of davsclaus_ Bug fixes for seven AWS components, found while adding the catalog body types (CAMEL-24961). One commit; every behaviour fix has a unit test that failed before it. | JIRA | Component | Fix | |---|---|---| | [CAMEL-26072](https://issues.apache.org/jira/browse/CAMEL-26072) | aws2-polly | `textType` and `outputFormat` have no default, so their headers are read (SSML was spoken as text); TEXT and MP3 when neither is set; new `CamelAwsPollyNextToken` header (in and out) for the list operations; lexicon names trimmed; docs | | [CAMEL-26073](https://issues.apache.org/jira/browse/CAMEL-26073) | aws2-translate | each language from its option or else its header (one option sent no other language); a missing language fails clearly; Croatian is `hr` (was `cr`, Cree); docs | | [CAMEL-26074](https://issues.apache.org/jira/browse/CAMEL-26074) | aws2-textract | `CamelAwsTextractFeatureTypes` takes Strings (was a `ClassCastException`); the start operations set `CamelAwsTextractJobId`, so a get step that follows works; docs on which S3 location and body are used | | [CAMEL-26077](https://issues.apache.org/jira/browse/CAMEL-26077) | aws2-timestream | describeScheduledQuery sends the ARN; no operation, an operation of the other client type and an unknown client type fail clearly (an operation option already at start); header descriptions and types | | [CAMEL-26078](https://issues.apache.org/jira/browse/CAMEL-26078) | aws-cloudtrail | the CloudEvent data type says `application/json`; an event without data or time no longer fails every poll; docs | | [CAMEL-26079](https://issues.apache.org/jira/browse/CAMEL-26079) | aws2-polly, textract, sns, s3 | trace logs and the 404 check of an AWS error without details no longer fail with a `NullPointerException` (aws-config and rekognition are in #28353, which changes the same files) | | [CAMEL-26092](https://issues.apache.org/jira/browse/CAMEL-26092) | aws2-s3-vectors | the consumer and producer no longer set the bucket and index headers, which sent the next step to that bucket and index; get/delete take the keys from the body first; data, metadata and distance are returned; the metadata filter is applied; new `CamelAwsS3VectorsDistance` header; the threshold and score, which never worked, are deprecated; metadata values of any JSON scalar type; option enums as in the SDK | | [CAMEL-26094](https://issues.apache.org/jira/browse/CAMEL-26094) | aws-security-hub | a filters/update header of another type fails (JSON text filters returned every finding); findings as any collection or array; batchImportFindings fails when findings are not imported; docs | Behaviour changes are in the 4.24 upgrade guide; the main ones: the polly headers are now used, s3-vectors no longer sets the bucket and index headers and get/delete read the keys from the body first, security-hub batchImportFindings fails on failed findings, translate's `CROATIAN` is `hr`. Not in this PR: CAMEL-26069 and CAMEL-26071 (bedrock) wait for #28353. Catalog JSON and docs copied, endpoint and component DSLs regenerated. Main only. The stacked body-type PRs #28340, #28343, #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]
