get_replication {aws.s3}R Documentation

Bucket replication

Description

Get/Delete the replication configuration for a bucket.

Usage

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


[Package aws.s3 version 0.3.21 Index]