From a9917258818e4f8a58f98b41d33d7ed618bb4b84 Mon Sep 17 00:00:00 2001 From: Zach Beane Date: Sat, 21 Jan 2012 09:13:07 -0500 Subject: [PATCH] First cut of lifecycle-related documentation. --- doc/index.html | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/doc/index.html b/doc/index.html index 497a8a9..5001c97 100644 --- a/doc/index.html +++ b/doc/index.html @@ -553,6 +553,72 @@ bucket with the given name. +
+ +
+ bucket-lifecycle + + bucket + + => rules-list +
+ +
+

Returns a list of lifecycle rules + for bucket. Signals a NO-SUCH-LIFECYCLE-CONFIGURATION + error if the bucket has no lifecycle rules configured. + +

Bucket lifecycle rules are used to control the automatic + deletion of objects in a bucket. For more information about + bucket lifecycle configuration, + see Object + Expiration in the Amazon S3 developer documentation. +

+
+ +
+ +
+ (setf bucket-lifecycle) + + rules bucket + + => | +
+ +
+

Sets the lifecycle configuration of bucket to the + list of bucket lifecycle rules rules. To create a + bucket lifecycle rule, use LIFECYCLE-RULE. +

+
+ +
+ +
+ lifecycle-rule + + &key + prefix + days + + => rule +
+ +
+

Creates a rule object suitable for passing + to (SETF + BUCKET-LIFECYCLE). + +

prefix is a string; all objects in a bucket with + keys matching the prefix will be affected by the rule. + +

days is the number of days after which a matching + object is deleted. +

+
+ +

Querying Buckets

-- 2.11.4.GIT