Migrate AWS SDK v1 ClientConfiguration shared between methods
Apache 2.0Runs before software.amazon.awssdk.v2migration.AwsSdkJavaV1ToV2. Where a ClientConfiguration is returned, passed as a parameter or kept in a field, it becomes a generated AwsClientConfiguration with v1's accessors and defaults, and withClientConfiguration on a client builder becomes AwsClientConfiguration.applyTo, which sets the v2 builder's override configuration and Apache HTTP client settings.
org. openrewrite. aws. sdk. MigrateSharedAwsClientConfigurationOptional
Whether to generate the helper classes that the changes use. Compositions that limit where helpers are generated set it to false and generate them with org.openrewrite.aws.sdk.GenerateAwsSdkV2Helpers. Defaults to true.
mod run . --recipe= org. openrewrite. aws. sdk. MigrateSharedAwsClientConfigurationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.