Skip to content

s3.delLifeCycleRule()

tbruyelle edited this page May 25, 2012 · 3 revisions

About

S3 helper for deleting a specific rule of the bucket's lifecycle configuration. An error is returned if the bucket has no lifecycle configuration.

Reference

s3.delLifeCycleRule(id, callback)
  • 'id' - the rule id that will be deleted
  • '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