#NEWLINE# def get_all_topics( self , next_token = None ) : #NEWLINE# #INDENT# '\n        :type next_token: string\n        :param next_token: Token returned by the previous call to\n                           this method.\n\n        ' #NEWLINE# params = { #NEWLINE# #INDENT# 'ContentType' : 'JSON' , #NEWLINE# #UNINDENT# } #NEWLINE# if next_token : #NEWLINE# #INDENT# params [ 'NextToken' ] = next_token #NEWLINE# #UNINDENT# response = self . make_request ( 'ListTopics' , params , '/' , 'GET' ) #NEWLINE# body = response . read ( ) #NEWLINE# if ( response . status == 200 ) : #NEWLINE# #INDENT# return json . loads ( body ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# boto . log . error ( ( '%s %s' % ( response . status , response . reason ) ) ) #NEWLINE# boto . log . error ( ( '%s' % body ) ) #NEWLINE# raise self . ResponseError ( response . status , response . reason , body )