Complete the migration of binary DynamoDB AttributeValues

Apache 2.0

Runs after software.amazon.awssdk.v2migration.AwsSdkJavaV1ToV2. Wraps the ByteBuffers that v1's setB, withBS and setBS took in v2's SdkBytes.fromByteBuffer, and converts the SdkBytes that v2's bs() returns back to the ByteBuffers v1's getBS() returned.

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

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