delete_object: Delete object

Description Usage Arguments Details Value References See Also

View source: R/delete_object.R

Description

Deletes one or more objects from an S3 bucket.

Usage

1
delete_object(object, bucket, quiet = TRUE, ...)

Arguments

object

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.

bucket

Character string with the name of the bucket, or an object of class “s3_bucket”.

quiet

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.

Details

object can be a single object key, an object of class “s3_object”, or a list of either.

Value

TRUE if successful, otherwise an object of class aws_error details if not.

References

API Documentation

See Also

put_object


aws.s3 documentation built on April 14, 2020, 5:15 p.m.