}
@Override
public Signer getSignerByURI(URI uri) {
// Don't modify the signer region, if the client is configured with region override
AmazonWebServiceClient awsClient = getAwsClient();
if (awsClient != null &&
awsClient.getSignerRegionOverride() != null) {
return signer;
}
// Otherwise, re-adjust the signer region in order to
// account for endpoint change after a 307 redirect