Description
Bug description
When using any of the AWS / Bedrock models, the documentation states "The region property is compulsory." But this should not be the case since SpringAI uses the AWS SDK for Java, and it provides a default region resolver. This will automatically look in AWS's configuration files such as ~.aws/config, which is where AWS developers would often set the region, especially if profiles are involved.
See https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/region-selection.html
Environment
Currently observed in SpringAI 1.0.0, any model.
Steps to reproduce
Configure a local environment for AWS usage with the "aws configure" command, setting any region other than us-east-1. Write code to use any Bedrock model, do not set the region using "spring.ai.bedrock.aws.region". Enable your bedrock models in the same region configured above. Run and get a permission error, because SpringAI has not followed the AWS Java SDK's default behavior.
Expected behavior
I would expect SpringAI, using the AWS SDK for Java, to follow the same (or similar) region resolution rules, certainly not omitting the shared config file at ~.aws/config
Minimal Complete Reproducible example
See above for steps to reproduce