website: Bucket Website configuration

Description Usage Arguments Value References

Description

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

Usage

1
2
3
4
5
delete_website(bucket, ...)

put_website(bucket, request_body, ...)

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.

request_body

A character string containing an XML request body, as defined in the specification in the API Documentation.

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

API Documentation: PUT website API Documentation: GET website API Documentation: DELETE website


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