-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathlifecycle.Rd
More file actions
32 lines (28 loc) · 1.31 KB
/
lifecycle.Rd
File metadata and controls
32 lines (28 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lifecycle.R
\name{get_lifecycle}
\alias{get_lifecycle}
\alias{put_lifecycle}
\alias{delete_lifecycle}
\title{Lifecycle}
\usage{
get_lifecycle(bucket, ...)
put_lifecycle(bucket, request_body, ...)
delete_lifecycle(bucket, ...)
}
\arguments{
\item{bucket}{Character string with the name of the bucket, or an object of class \dQuote{s3_bucket}.}
\item{\dots}{Additional arguments passed to \code{\link{s3HTTP}}.}
\item{request_body}{A character string containing an XML request body, as defined in the specification in the \href{http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html}{API Documentation}.}
}
\value{
For \code{get_lifecycle}: a list with lifecycle configuration, if it has been configured. For \code{delete_lifecycle}: \code{TRUE} if successful, \code{FALSE} otherwise.
}
\description{
Get/Put/Delete the lifecycle configuration information for a bucket.
}
\references{
\href{http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html}{API Documentation: PUT lifecycle}
\href{http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlifecycle.html}{API Documentation: GET lifecycle}
\href{http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketDELETElifecycle.html}{API Documentation: DELETE lifecycle}
}