code: def submit(self):
          
          self.sign()
          url = self.endpoint.get_uri()
          method = self.endpoint.method
          params = self.signature.get_canonical_query_params()
          headers = {}
          kwargs = {"method": method}
          if method == "POST":
              headers["Content-Type"] = "application/x-www-form-urlencoded"
              kwargs["postdata"] = params
          else:
              url += "?%s" % params
          if self.endpoint.get_host() != self.endpoint.get_canonical_host():
              headers["Host"] = self.endpoint.get_canonical_host()
          if headers:
              kwargs["headers"] = headers
          if self.timeout:
              kwargs["timeout"] = self.timeout
          d = self.get_page(url, **kwargs)
          return d.addErrback(ec2_error_wrapper)
docs: Submit this query.
  
          @return: A deferred from get_page