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

   Backport of #25343 to camel-4.14.x.
   
   `Lambda2Producer.updateFunction()` validated that a body / S3 bucket / S3 
key was present, then discarded them and built an `UpdateFunctionCodeRequest` 
with only `functionName` (+ optional `publish`). AWS `UpdateFunctionCode` 
requires a code source, so every call failed and the operation was unusable in 
the default (non-pojoRequest) mode. The code source (S3 
bucket/key/object-version, ZIP_FILE header path, message body) is now assembled 
on the request, mirroring `createFunction`. Also fixes the misleading 
`deleteEventSourceMapping` validation message.
   
   Adds `LambdaProducerTest.lambdaUpdateFunctionTest`; full 
`LambdaProducerTest` green on this branch.
   
   🤖 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