Migrate AWS SDK v1 web identity token and assume role credentials providers

Apache 2.0

v2-migration only renames WebIdentityTokenCredentialsProvider and STSAssumeRoleSessionCredentialsProvider, whose v2 counterparts have no public constructors. Their constructors, factories and builders become WebIdentityTokenFileCredentialsProvider.create() or its builder, and a StsAssumeRoleCredentialsProvider built from an StsClient and an AssumeRoleRequest.

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

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