def get_all_topics(self, next_token=None):
        params = {'ContentType' : 'JSON'}
        if next_token:
            params['NextToken'] = next_token
        response = self.make_request('ListTopics', params, '/', 'GET')
        body = response.read()
        if response.status == 200:
            return json.loads(body)
        else:
            boto.log.error('%s %s' % (response.status, response.reason))
            boto.log.error('%s' % body)
            raise self.ResponseError(response.status, response.reason, body)
:type next_token: string
dataset/ETHPy150Open darcyliu/storyboard/boto/sns/connection.py/SNSConnection.get_all_topics