Replace awslabs' AWSRequestSigningApacheInterceptor with a generated AWS SDK v2 interceptor

Apache 2.0

Replaces each new AWSRequestSigningApacheInterceptor(service, signer, credentials) with new AwsSigV4RequestInterceptor(service, region, credentials), a class generated into the project that signs Apache HttpClient 4 requests with AWS SDK v2's AwsV4HttpSigner. The service and region come from the local AWS4Signer, which is removed. Java credentials are passed through for AWS's v2 migration to retype; Kotlin credentials are mapped here. Vendored copies of the interceptor are deleted. Sites that cannot be migrated are marked and listed in a data table. Use it through the AWS SDK v1 to v2 migration, which finishes the credentials.

org.openrewrite.aws.signing.ReplaceAwsRequestSigningApacheInterceptor

Optional

generateHelpersBoolean

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.signing.ReplaceAwsRequestSigningApacheInterceptor

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