class_docstr: Calls an endpoint on an HTTP system to execute an action and store the result in S3.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:HttpToS3Operator`
  
  :param http_conn_id: The :ref:`http connection<howto/connection:http>` to run
      the operator against
  :param endpoint: The relative part of the full url. (templated)
  :param method: The HTTP method to use, default = "POST"
  :param data: The data to pass. POST-data in POST/PUT and params
      in the URL for a GET request. (templated)
  :param headers: The HTTP headers to be added to the GET request
  :param response_check: A check against the 'requests' response object.
      The callable takes the response object as the first positional argument
      and optionally any number of keyword arguments available in the context dictionary.
      It should return True for 'pass' and False otherwise.
  :param response_filter: A function allowing you to manipulate the response
      text. e.g response_filter=lambda response: json.loads(response.text).
      The callable takes the response object as the first positional argument
      and optionally any number of keyword arguments available in the context dictionary.
  :param extra_options: Extra options for the 'requests' library, see the
      'requests' documentation (options to modify timeout, ssl, etc.)
  :param log_response: Log the response (default: False)
  :param auth_type: The auth type for the service
  :param tcp_keep_alive: Enable TCP Keep Alive for the connection.
  :param tcp_keep_alive_idle: The TCP Keep Alive Idle parameter (corresponds to ``socket.TCP_KEEPIDLE``).
  :param tcp_keep_alive_count: The TCP Keep Alive count parameter (corresponds to ``socket.TCP_KEEPCNT``)
  :param tcp_keep_alive_interval: The TCP Keep Alive interval parameter (corresponds to
      ``socket.TCP_KEEPINTVL``)
  :param s3_bucket: Name of the S3 bucket where to save the object. (templated)
      It should be omitted when ``s3_key`` is provided as a full s3:// url.
  :param s3_key: The key of the object to be created. (templated)
      It can be either full s3:// style url or relative path from root level.
      When it's specified as a full s3:// url, please omit ``s3_bucket``.
  :param replace: If True, it will overwrite the key if it already exists
  :param encrypt: If True, the file will be encrypted on the server-side
      by S3 and will be stored in an encrypted form while at rest in S3.
  :param acl_policy: String specifying the canned ACL policy for the file being
      uploaded to the S3 bucket.
  :param aws_conn_id: Connection id of the S3 connection to use
  :param verify: Whether or not to verify SSL certificates for S3 connection.
      By default SSL certificates are verified.
  
      You can provide the following values:
  
      - False: do not validate SSL certificates. SSL will still be used,
               but SSL certificates will not be
               verified.
      - path/to/cert/bundle.pem: A filename of the CA cert bundle to uses.
               You can specify this argument if you want to use a different
               CA cert bundle than the one used by botocore.
class_docstr_tok: ["Calls","an","endpoint","on","an","HTTP","system","to","execute","an","action","and","store","the","result","in","S3",".","..","seealso",":",":","For","more","information","on","how","to","use","this","operator",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/operator",":","HttpToS3Operator","`",":","param","http_conn_id",":","The",":","ref",":","`","http","connection","<","howto\/connection",":","http",">","`","to","run","the","operator","against",":","param","endpoint",":","The","relative","part","of","the","full","url",".","(","templated",")",":","param","method",":","The","HTTP","method","to","use",",","default","=","``","POST","''",":","param","data",":","The","data","to","pass",".","POST-data","in","POST\/PUT","and","params","in","the","URL","for","a","GET","request",".","(","templated",")",":","param","headers",":","The","HTTP","headers","to","be","added","to","the","GET","request",":","param","response_check",":","A","check","against","the","'requests","'","response","object",".","The","callable","takes","the","response","object","as","the","first","positional","argument","and","optionally","any","number","of","keyword","arguments","available","in","the","context","dictionary",".","It","should","return","True","for","'pass","'","and","False","otherwise",".",":","param","response_filter",":","A","function","allowing","you","to","manipulate","the","response","text",".","e.g","response_filter=lambda","response",":","json.loads","(","response.text",")",".","The","callable","takes","the","response","object","as","the","first","positional","argument","and","optionally","any","number","of","keyword","arguments","available","in","the","context","dictionary",".",":","param","extra_options",":","Extra","options","for","the","'requests","'","library",",","see","the","'requests","'","documentation","(","options","to","modify","timeout",",","ssl",",","etc",".",")",":","param","log_response",":","Log","the","response","(","default",":","False",")",":","param","auth_type",":","The","auth","type","for","the","service",":","param","tcp_keep_alive",":","Enable","TCP","Keep","Alive","for","the","connection",".",":","param","tcp_keep_alive_idle",":","The","TCP","Keep","Alive","Idle","parameter","(","corresponds","to","``","socket.TCP_KEEPIDLE","``",")",".",":","param","tcp_keep_alive_count",":","The","TCP","Keep","Alive","count","parameter","(","corresponds","to","``","socket.TCP_KEEPCNT","``",")",":","param","tcp_keep_alive_interval",":","The","TCP","Keep","Alive","interval","parameter","(","corresponds","to","``","socket.TCP_KEEPINTVL","``",")",":","param","s3_bucket",":","Name","of","the","S3","bucket","where","to","save","the","object",".","(","templated",")","It","should","be","omitted","when","``","s3_key","``","is","provided","as","a","full","s3",":","\/\/","url",".",":","param","s3_key",":","The","key","of","the","object","to","be","created",".","(","templated",")","It","can","be","either","full","s3",":","\/\/","style","url","or","relative","path","from","root","level",".","When","it","'s","specified","as","a","full","s3",":","\/\/","url",",","please","omit","``","s3_bucket","``",".",":","param","replace",":","If","True",",","it","will","overwrite","the","key","if","it","already","exists",":","param","encrypt",":","If","True",",","the","file","will","be","encrypted","on","the","server-side","by","S3","and","will","be","stored","in","an","encrypted","form","while","at","rest","in","S3",".",":","param","acl_policy",":","String","specifying","the","canned","ACL","policy","for","the","file","being","uploaded","to","the","S3","bucket",".",":","param","aws_conn_id",":","Connection","id","of","the","S3","connection","to","use",":","param","verify",":","Whether","or","not","to","verify","SSL","certificates","for","S3","connection",".","By","default","SSL","certificates","are","verified",".","You","can","provide","the","following","values",":","-","False",":","do","not","validate","SSL","certificates",".","SSL","will","still","be","used",",","but","SSL","certificates","will","not","be","verified",".","-","path\/to\/cert\/bundle.pem",":","A","filename","of","the","CA","cert","bundle","to","uses",".","You","can","specify","this","argument","if","you","want","to","use","a","different","CA","cert","bundle","than","the","one","used","by","botocore","."]
docstr: Create and return an S3Hook.
docstr_tok: ["Create","and","return","an","S3Hook","."]
code: def s3_hook(self) -> S3Hook:
      """Create and return an S3Hook."""
      return S3Hook(
          aws_conn_id=self.aws_conn_id,
          verify=self.verify,
      )
  
file_path: airflow/airflow/providers/amazon/aws/transfers/http_to_s3.py
imports: from __future__ import annotations
  from functools import cached_property
  from typing import TYPE_CHECKING, Any
  from airflow.models import BaseOperator
  from airflow.providers.amazon.aws.hooks.s3 import S3Hook
  from airflow.providers.http.hooks.http import HttpHook
label_desc: Use image node_id 3 for calling the HttpToS3Operator obj's underlying member method code with example usage: obj.s3_hook() and returns: S3Hook