'Returns a bucket\'s lifecycle configuration.'

def get_lifecycle_config(self, validate=False, headers=None):

    self._check_bucket_uri('get_lifecycle_config')
    bucket = self.get_bucket(validate, headers)
    lifecycle_config = bucket.get_lifecycle_config(headers)
    self.check_response(lifecycle_config, 'lifecycle', self.uri)
    return lifecycle_config
