Learn R Programming

aws.s3 (version 0.2.2)

delete_website: Bucket Website configuration

Description

Get/Put/Delete the website configuration for a bucket.

Usage

delete_website(bucket, ...)

put_website(bucket, ...)

get_website(bucket, ...)

Arguments

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

Value

For put_website and get_website, a list containing the website configuration, if one has been set. For delete_website: TRUE if successful, FALSE otherwise. An aws_error object may be returned if the request failed.

References

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