in src/main/java/com/amazonaws/neptune/auth/NeptuneSigV4SignerBase.java [135:152]
public NeptuneSigV4SignerBase(final String regionName,
final AwsCredentialsProvider awsCredentialsProvider,
final String serviceName)
throws NeptuneSigV4SignerException {
checkNotNull(regionName, "The region name must not be null");
checkNotNull(awsCredentialsProvider, "The credentials provider must not be null");
checkNotNull(serviceName, "The serviceName must not be null");
this.awsCredentialsProvider = awsCredentialsProvider;
this.awsRegion = Region.of(regionName);
this.serviceName = serviceName;
// initialize the signer
// => 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 = Aws4Signer.create();
}