Migrate AWS SDK v1 client setup in Kotlin to v2

Apache 2.0

AWS's v2-migration does not support Kotlin, so this converts the Kotlin shapes it would handle in Java: client builder chains, defaultClient(), legacy client constructors, credentials providers, Regions, the client and credential types, S3/SNS/SQS requests, client calls and result properties, and StringUtils. Kotlin files that use the DynamoDB mapper, document API or DynamoDB Local are left to the DynamoDB migration. Remaining v1 calls are marked.

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

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