def canonical_query
      query.map{|param,value| [AwsRequest.aws_encode(param), AwsRequest.aws_encode(value)]}.sort
    end
def canonical_query
      query.map{|param,value| [AwsRequest.aws_encode(param), AwsRequest.aws_encode(value)]}.sort
    end
Canonical query for task 1. Uses the AwsRequest::aws_encode for AWS
 encoding rules.