Migrate AWS SDK v1 ProfilesConfigFile
Apache 2.0Runs before software.amazon.awssdk.v2migration.AwsSdkJavaV1ToV2, which does not map ProfilesConfigFile. A profiles file becomes a ProfileFileSupplier that reloads the file when it changes, and ProfileCredentialsProvider built from one becomes the v2 provider's builder. v1's timed refresh setters are removed, since the supplier already rereads a changed file.
org. openrewrite. aws. sdk. MigrateAwsProfilesConfigFilemod run . --recipe= org. openrewrite. aws. sdk. MigrateAwsProfilesConfigFileInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.