Move AWS SDK v1-bound libraries to their SDK v2 releases
Apache 2.0Runs before software.amazon.awssdk.v2migration.AwsSdkJavaV1ToV2. Moves libraries that require or bring in AWS SDK for Java v1 to their releases built on SDK v2, so that v2-migration's retyping of the clients passed to them lines up: Amazon SQS Java Messaging Library 1.x to 2.x, X-Ray's v1 SDK instrumentation to the v2 instrumentation, Secrets Manager caching 1.x to 2.x, aws-lambda-java-events before 3 to 3.x, and Kinesis Producer Library 0.x to 1.x. Kinesis Client Library 1.x consumers are ported to KCL 2.x where they only use the mapped APIs; other uses and their dependency are marked for a hand port.
org. openrewrite. aws. sdk. MigrateAwsSdkV1BoundLibrariesmod run . --recipe= org. openrewrite. aws. sdk. MigrateAwsSdkV1BoundLibrariesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.