Method: Aws::S3::Client#delete_object
- Defined in:
- lib/aws-sdk-s3/client.rb
#delete_object(params = {}) ⇒ Types::DeleteObjectOutput
Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn’t a null version, Amazon S3 does not remove any objects.
1241 1242 1243 1244 |
# File 'lib/aws-sdk-s3/client.rb', line 1241 def delete_object(params = {}, = {}) req = build_request(:delete_object, params) req.send_request() end |