Description Usage Arguments Details Value References Examples
Get/Put versioning settings or retrieve versions of bucket objects.
1 2 3 4 5 | get_versions(bucket, ...)
get_versioning(bucket, ...)
put_versioning(bucket, status = c("Enabled", "Suspended"), ...)
|
bucket |
Character string with the name of the bucket, or an object of class “s3_bucket”. |
... |
Additional arguments passed to |
status |
Character string specifying whether versioning should be “Enabled” or “Suspended”. |
get_versioning
returns the versioning status of a bucket; put_versioning
sets the versioning status. get_versions
returns information about bucket versions.
For get_versioning
: If versioning has never been enabled or suspend, the value is NULL
. Otherwise, the status is returned (either “Enabled” or “Suspended”). For put_versioning
: If versioning has never been enabled or suspend, the value is NULL
. Otherwise, the status is returned (either “Enabled” or “Suspended”).
For get_versions
: A list.
API Documentation API Documentation API Documentation
1 2 3 4 5 6 | ## Not run:
put_versioning("mybucket")
get_versioning("mybucket")
get_versions("mybucket")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.