I am using .net and I am trying to remove an object from my S3 bucket. I tried the following:
Amazon.S3.AmazonS3Client client = new Amazon.S3.AmazonS3Client(Properties.Settings.Default.AmazonS3VideoSrcKey, Properties.Settings.Default.AmazonS3VideoSrcSecret); client.DeleteObject(new Amazon.S3.Model.DeleteObjectRequest() { BucketName = "xxxx", Key = "http://....../filename"});
I do not believe IsDeleteMarker true.
What could be wrong?
thanks
source share