Currently, I make a GetObjectMetaDataRequest, if the GetObjectMetaDataResponse throw an exception means the object doesn\'t exist. Is there a bette
GetObjectMetaDataRequest
GetObjectMetaDataResponse
Try this solution, it works for me.
AmazonS3Client client = new AmazonS3Client(accessKey, secretKey, regionEndpoint); S3FileInfo s3FileInfo = new S3FileInfo(client, bucketName, fileName); return s3FileInfo.Exists;