Migrate AWS SDK v1 request handler chain overrides
Apache 2.0Translates a project's com/amazonaws/services/<service>/request.handlers or request.handler2s file, which replaces SDK v1's built-in handler chain for that service, and then deletes it. Leaving out SQS's MessageMD5ChecksumHandler becomes checksumValidationEnabled(false) on every SQS client builder of the module, Java or Kotlin, and SqsClient.create() becomes such a builder. Files that list custom handlers, or drop a handler v2 cannot turn off, are kept.
org. openrewrite. aws. sdk. MigrateAwsRequestHandlerOverridesmod run . --recipe= org. openrewrite. aws. sdk. MigrateAwsRequestHandlerOverridesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.