Learn R Programming

aws.s3 (version 0.2.2)

bucket_exists: Bucket exists?

Description

Check whether a bucket exists and is accessible with the current authentication keys.

Usage

bucket_exists(bucket, ...)

Arguments

bucket
Character string with the name of the bucket, or an object of class “s3_bucket”.
Additional arguments passed to s3HTTP.

Value

TRUE if bucket exists and is accessible, else FALSE.

References

http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketHEAD.html