'Sets or updates a bucket\'s lifecycle configuration.'

def configure_lifecycle(self, lifecycle_config, validate=False, headers=None):

    self._check_bucket_uri('configure_lifecycle')
    bucket = self.get_bucket(validate, headers)
    bucket.configure_lifecycle(lifecycle_config, headers)
