#NEWLINE# def _canonicalize( self , parameters ) : #NEWLINE# #INDENT# '\n        Canonicalize parameters for use with AWS Authorization.\n\n        **Arguments:**\n         * *parameters* -- Key value pairs of parameters\n\n        **Returns:**\n         * A safe-quoted string representation of the parameters.\n        ' #NEWLINE# parameters = parameters . items ( ) #NEWLINE# parameters . sort ( ( lambda x , y : cmp ( x [ 0 ] , y [ 0 ] ) ) ) #NEWLINE# return '&' . join ( [ safe_quote_tuple ( x ) for x in parameters ] )