Delete an object
Example: Delete an Object from a Bucket using the s3Client.deleteObject() method
AmazonS3 s3Client = new AmazonS3Client();
s3Client.setEndpoint("https://systemname.example.com");
s3Client.deleteObject( 1
"sample", 2
"myFile.txt" 3
);
1 Delete the Object, passing…
2 The name of the Bucket that stores the Object.
3 The name of the Object to be deleted.