remove object command running sucessfully but the object is still there.

0 votes
C:\Users\jino>aws s3api delete-object --bucket testdm --key testdb

C:\Users\jino>aws s3 ls s3://testdm
2018-11-26 16:25:29         64 testdb.json

I am trying to execute this command and accordingly the file should get deleted, but its not.

Nov 26, 2018 in AWS by Jino
• 5,550 points
38 views

1 answer to this question.

0 votes
The command is running successfully because there are no errors there,

What you are missing is the full name of the object.

Always remember to mention the complete name else it won't recognize the file.

Hope it helps.
answered Nov 26, 2018 by Priyaj
• 56,160 points

Related Questions In AWS

0 votes
1 answer

Is there a Command line tool to access Amazon Athena?

The AWS command line tool supports Amazon Athena operations. 1. ...READ MORE

answered Jan 16 in AWS by rishab
167 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 56,160 points
150 views
0 votes
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 56,160 points
279 views
0 votes
2 answers
0 votes
1 answer

What is the difference between Amazon Cloudfront and S3

major difference is that cloudfront allows you ...READ MORE

answered Jul 9, 2018 in AWS by Priyaj
• 56,160 points
99 views