SaltwaterC/aws2js — pull request #37 by tbruyelle (2012-05-15 17:24:34+00:00)
Title: Add S3 lifecycle configuration management

added the following methods :
- getLifeCycle : return the bucket lifcycle configuration if it has one,
or 400 error if not (S3 behaviour).
- delLifeCycle : remove the bucket lifecycle configuration (all rules).
- putLifeCycleRule : add a new lifecycle rule to the bucket lifecycle
configuration. If the bucket hasn't lifecycle config, then create a
new one.
- delLifeCycleRule : remove a lifecycle rule. If the rule is not found
returns an error.