Migrate AWS SDK v1 EndpointConfiguration values
Apache 2.0Runs before builder folding. Where an AwsClientBuilder.EndpointConfiguration is returned, passed or kept in a variable but never given to a client builder, it becomes a generated AwsEndpointConfiguration holding the endpoint and signing region with v1's getters. Projects that also pass a non-inline EndpointConfiguration to a builder, read it back from a builder or extend AwsClientBuilder are left alone.
org. openrewrite. aws. sdk. MigrateAwsEndpointConfigurationValuesOptional
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. MigrateAwsEndpointConfigurationValuesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.