in src/main/java/com/amazonaws/neptune/auth/NeptuneSigV4SignerBase.java [85:101]
public NeptuneSigV4SignerBase(
final String regionName, final AWSCredentialsProvider awsCredentialsProvider)
throws NeptuneSigV4SignerException {
checkNotNull(regionName, "The region name must not be null");
checkNotNull(awsCredentialsProvider, "The credentials provider must not be null");
this.awsCredentialsProvider = awsCredentialsProvider;
// initialize the signer delegate
// => note that using the signer with multiple threads is safe as long as we do not
// change the configuration; so what we do here is setting the configuration on init
// and, forthon, will only call the aws4Signer.sign() method
aws4Signer = new AWS4Signer();
aws4Signer.setRegionName(regionName);
aws4Signer.setServiceName(NEPTUNE_SERVICE_NAME);
}