This PRs handles Moved Permanently error while calling HEAD Bucket
List Buckets API returns all buckets in an account regardless of region client used for request. However, the subsequent Head bucket request works for buckets in the same account and returns 301 Moved Permanently error for buckets in different regions.
This PR ensures we are not logging an error when bucket is in a different region.
Description
This PRs handles Moved Permanently error while calling HEAD Bucket
Testing Performed
Tested changes locally