Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

100
Views
S3 Java API Acknowledgement

I am writing a java program to add/delete/modify files in an S3 bucket.If I use

client.deleteObject(bucketName, key)

the key if it exists gets deleted and if that key is invalid, nothing happens.

Is there any way to get acknowledgement of deleteObject() and putObject() so that one can know that an add or delete option has successfully been done? This is definitely required in deleteObject() where I want to confirm if the given key exists or not.

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

First of all the AWS SDK is pretty good documented. That is you should probably consult the JavaDoc first.

Regarding your question, the methods AmazonS3.putObject(PutObjectRequest) and AmazonS3.deleteObjects(DeleteObjectsRequest) return a PutObjectResult or a DeleteObjectsResult. These objects contain the wanted information...

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!