Learn R Programming

aws.s3 (version 0.1.34)

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. An aws_error object may be returned if the request failed.

References

API Documentation