class_docstr: Interact with Amazon Athena.
  
  Provide thick wrapper around
  :external+boto3:py:class:`boto3.client("athena") <Athena.Client>`.
  
  :param sleep_time: obsolete, please use the parameter of `poll_query_status` method instead
  :param log_query: Whether to log athena query and other execution params
      when it's executed. Defaults to *True*.
  
  Additional arguments (such as ``aws_conn_id``) may be specified and
  are passed down to the underlying AwsBaseHook.
  
  .. seealso::
      - :class:`airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook`
class_docstr_tok: ["Interact","with","Amazon","Athena",".","Provide","thick","wrapper","around",":","external+boto3",":","py",":","class",":","`","boto3.client","(","``","athena","''",")","<","Athena.Client",">","`",".",":","param","sleep_time",":","obsolete",",","please","use","the","parameter","of","`","poll_query_status","`","method","instead",":","param","log_query",":","Whether","to","log","athena","query","and","other","execution","params","when","it","'s","executed",".","Defaults","to","*","True","*",".","Additional","arguments","(","such","as","``","aws_conn_id","``",")","may","be","specified","and","are","passed","down","to","the","underlying","AwsBaseHook",".","..","seealso",":",":","-",":","class",":","`","airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook","`"]
docstr: Cancel the submitted query.
  
  .. seealso::
      - :external+boto3:py:meth:`Athena.Client.stop_query_execution`
  
  :param query_execution_id: Id of submitted athena query
docstr_tok: ["Cancel","the","submitted","query",".","..","seealso",":",":","-",":","external+boto3",":","py",":","meth",":","`","Athena.Client.stop_query_execution","`",":","param","query_execution_id",":","Id","of","submitted","athena","query"]
code: def stop_query(self, query_execution_id: str) -> dict:
      """Cancel the submitted query.
  
      .. seealso::
          - :external+boto3:py:meth:`Athena.Client.stop_query_execution`
  
      :param query_execution_id: Id of submitted athena query
      """
      self.log.info(
          "Stopping Query with executionId - %s", query_execution_id
      )
      return self.get_conn().stop_query_execution(
          QueryExecutionId=query_execution_id
      )
  
file_path: airflow/airflow/providers/amazon/aws/hooks/athena.py
imports: from __future__ import annotations
  import warnings
  from typing import TYPE_CHECKING, Any
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.providers.amazon.aws.hooks.base_aws import AwsBaseHook
  from airflow.providers.amazon.aws.utils.waiter_with_logging import wait
label_desc: Use image node_id 10 for calling the AthenaHook obj's underlying member method code with example usage: obj.stop_query(query_execution_id) and returns: self