public S3Object getObject ( String bucketName , String objectKey ) { try { return s3Client . getObject ( bucketName , objectKey ) ; } catch ( AmazonServiceException e ) { logger . error ( "Failed to get object " + objectKey + " from s3 bucket " + bucketName ) ; throw e ; } }
Download an S3 object .