':returns: The list of buckets found for this account'

def _get_buckets(self):

    try:
        return self.get_connection().get_all_buckets()
    except S3ResponseError as e:
        if (e.error_code == u'InvalidAccessKeyId'):
            logger.info('Received    an    Error    from    AWS:\n    %s', e.body)
            raise InvalidCredentials()
        raise
