Migrate X-Ray TracingHandler to TracingInterceptor

Apache 2.0

Replaces withRequestHandlers(new TracingHandler(..)) on an AWS SDK v2 client builder with a TracingInterceptor added to the builder's ClientOverrideConfiguration: a new one when the builder has none, otherwise the existing one, since a second overrideConfiguration would replace the first. TracingHandler(AWSXRay.getGlobalRecorder()) becomes TracingInterceptor(), which uses the same global recorder.

org.openrewrite.aws.sdk.MigrateXRayTracingHandler
mod run . --recipe=org.openrewrite.aws.sdk.MigrateXRayTracingHandler

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.