'Removes an S3 bucket.
In order to remove the bucket, it must first be empty. If the bucket is
not empty, an ``S3ResponseError`` will be raised.
:type bucket_name: string
:param bucket_name: The name of the bucket
:type headers: dict
:param headers: Additional headers to pass along with the request to
AWS.'

def delete_bucket(self, bucket, headers=None):

    response = self.make_request('DELETE', bucket, headers=headers)
    body = response.read()
    if (response.status != 204):
        raise self.provider.storage_response_error(response.status, response.reason, body)
