- Newest
- Most votes
- Most comments
Hello.
Is there a fee for DeleteObject api call? AWS sales rep told me that the cost is $0.00044 per 1,000 DELETE requests plus the fee for LIST requests.
As you know, there is a charge for LIST requests, but I don't think there is a charge for deleting objects.
https://aws.amazon.com/s3/pricing/?nc1=h_ls
DELETE and CANCEL requests are free.
Is DeleteObjects cheaper than DeleteObject? With DeleteObjects, I can delete more objects in one request that will save me a lot in total.
As answered above, the documentation states that there is no charge for DELETE requests.
Regarding LIST requests, will it be more expensive if I use DeleteObject instead of DeleteObjects?
"DeleteObjects" can include multiple objects to be deleted at the time of request.
When it comes to millions of objects, it is necessary to make a LIST request to search for objects to be deleted, so I expect that the fees will be similar for both.
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/delete-objects.html
Relevant content
- asked a month ago
- asked 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a month ago
Hi Riku. Thanks a lot for your answer. If I delete 1000 objects, will it result in 1,000 LIST requests? Does DeleteObjects make just 1 LIST request for 1,000 objects whereas DeleteObject makes 1 LIST request for each object, resulting in 1000 LIST requests for 1000 objects? Thanks again.
The "DeleteObject" and "DeleteObjects" APIs themselves do not perform the LIST API. If you run the LIST API yourself to find objects to include in a "DeleteObject" or "DeleteObjects" API request, you will be charged a fee. In other words, if you already know the object name and path to be deleted, there is no need to run the LIST API, so there is no charge.