Migrate camel-aws2-s3 listObjects to V2 API

Apache 2.0

Migrates ListObjectsRequest/Response to ListObjectsV2Request/Response for the listObjects operation (pojoRequest=true only).

org.apache.camel.upgrade.camel421.migrateAws2S3ListObjectsApi
mod run . --recipe=org.apache.camel.upgrade.camel421.migrateAws2S3ListObjectsApi

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change type ListObjectsRequest to ListObjectsV2Request
  2. Change type ListObjectsResponse to ListObjectsV2Response