replication: Bucket replication

Description Usage Arguments Details Value References

Description

Get/Delete the replication configuration for a bucket.

Usage

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

put_replication(bucket, request_body, ...)

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.

request_body

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

Details

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

Value

For get_replication: A list containing the replication configuration, if one has been set. For delete_replication: TRUE if successful, FALSE otherwise.

References

API Documentation: PUT replication API Documentation: GET replication API Documentation: DELETE replication


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