Skip to content

s3.delLifeCycle()

tbruyelle edited this page May 25, 2012 · 2 revisions

About

S3 helper for deleting the bucket's lifecycle configuration. This method removes all rules added to the lifecycle configuration. It's used on s3.delLifeCycleRule() when the last rule is dropped, because S3 doesn't accept empty lifecycle configuration.

Reference

s3.delLifeCycle(callback)
  • 'callback' - the callback that is executed when the processing finishes. It has a couple of arguments: error and result.
    • If there's an error, the callback receives the error argument as Error instance.
    • If the error argument is null, then the response argument contains the response.headers object as returned by the node.js core HTTPS client.
Clone this wiki locally