Deletes one or more objects from an S3 bucket.
delete_object(object, bucket, quiet = TRUE, ...)
Character string with the object key, or an object of class “s3_object”. In most cases, if object
is specified as the latter, bucket
can be omitted because the bucket name will be extracted from “Bucket” slot in object
.
Character string with the name of the bucket, or an object of class “s3_bucket”.
A logical indicating whether (when object
is a list of multiple objects), to run the operation in “quiet” mode. Ignored otherwise. See API documentation for details.
Additional arguments passed to s3HTTP
.
TRUE
if successful, otherwise an object of class aws_error details if not.
object
can be a single object key, an object of class “s3_object”, or a list of either.