makeBucket: Create a top-level S3 bucket

Description Usage Arguments Value Author(s) References See Also

Description

This function creates a top-level bucket for containing objects.

Usage

1
makeBucket(name, location = NA, auth = getOption("AmazonS3"), curl = getCurlHandle(), virtual = TRUE)

Arguments

name

the name of the new S3 bucket to create.

location

a string that specifies where the bucket should be located, i.e. US or Europe.

auth

a named character vector giving the AWS key and secret as a c(key = secret).

curl

a curl handle that the caller can specif to reuse an existing object that is resused across different libcurl calls.

virtual

a logical value indicating whether to use the virtual host mechanism or s3.amazonaws.com/bucket/obj format. The default argument is most likely the appropriate value.

Value

A logical value indicating whether the request was successful.

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://docs.amazonwebservices.com/AmazonS3/latest/gsg/

See Also

listBucket listBuckets getFile addFile


duncantl/RAmazonS3 documentation built on May 15, 2019, 5:26 p.m.