public AmazonS3Client(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration) {
super(clientConfiguration);
this.awsCredentials = awsCredentials;
setEndpoint(Constants.S3_HOSTNAME);
client = new HttpClient(clientConfiguration);
requestHandlers = new HandlerChainFactory().newRequestHandlerChain(
"/com/amazonaws/services/s3/request.handlers");
}