Align AWS SDK v1 client bean declarations with SDK v2
ProprietaryOn @Bean methods that return an SDK v1 client, drops destroyMethod = "shutdown" (v2 clients close with close(), which Spring infers) and, where a bean declared as a sync client returns the async client, declares the async type, unless the sync type is injected elsewhere in the module.
io. moderne. java. spring. cloud. aws. AlignAwsClientBeanDeclarationsmod run . --recipe= io. moderne. java. spring. cloud. aws. AlignAwsClientBeanDeclarationsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.