Learn R Programming

aws.s3 (version 0.2.2)

get_replication: Bucket replication

Description

Get/Delete the replication configuration for a bucket.

Usage

get_replication(bucket, ...)

delete_replication(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 get_replication: A list containing the replication configuration, if one has been set. For delete_replication: TRUE if successful, FALSE otherwise.

Details

get_replication gets the current replication policy. delete_replication deletes the replication policy for a bucket.

References

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