'Configure lifecycle for this bucket.
:type lifecycle_config: :class:`boto.gs.lifecycle.LifecycleConfig`
:param lifecycle_config: The lifecycle configuration you want
to configure for this bucket.'

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

    xml = lifecycle_config.to_xml()
    response = self.connection.make_request('PUT', get_utf8_value(self.name), data=get_utf8_value(xml), query_args=LIFECYCLE_ARG, headers=headers)
    body = response.read()
    if (response.status == 200):
        return True
    else:
        raise self.connection.provider.storage_response_error(response.status, response.reason, body)
