class_docstr: Return True if inactivity_period has passed with no increase in the number of objects matching prefix.
  
  Note, this sensor will not behave correctly in reschedule mode, as the state of the listed
  objects in the S3 bucket will be lost between rescheduled invocations.
  
  .. seealso::
      For more information on how to use this sensor, take a look at the guide:
      :ref:`howto/sensor:S3KeysUnchangedSensor`
  
  :param bucket_name: Name of the S3 bucket
  :param prefix: The prefix being waited on. Relative path from bucket root level.
  :param aws_conn_id: a reference to the s3 connection
  :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
               (unless use_ssl is False), 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.
  :param inactivity_period: The total seconds of inactivity to designate
      keys unchanged. Note, this mechanism is not real time and
      this operator may not return until a poke_interval after this period
      has passed with no additional objects sensed.
  :param min_objects: The minimum number of objects needed for keys unchanged
      sensor to be considered valid.
  :param previous_objects: The set of object ids found during the last poke.
  :param allow_delete: Should this sensor consider objects being deleted
      between pokes valid behavior. If true a warning message will be logged
      when this happens. If false an error will be raised.
  :param deferrable: Run sensor in the deferrable mode
class_docstr_tok: ["Return","True","if","inactivity_period","has","passed","with","no","increase","in","the","number","of","objects","matching","prefix",".","Note",",","this","sensor","will","not","behave","correctly","in","reschedule","mode",",","as","the","state","of","the","listed","objects","in","the","S3","bucket","will","be","lost","between","rescheduled","invocations",".","..","seealso",":",":","For","more","information","on","how","to","use","this","sensor",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/sensor",":","S3KeysUnchangedSensor","`",":","param","bucket_name",":","Name","of","the","S3","bucket",":","param","prefix",":","The","prefix","being","waited","on",".","Relative","path","from","bucket","root","level",".",":","param","aws_conn_id",":","a","reference","to","the","s3","connection",":","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","(","unless","use_ssl","is","False",")",",","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",".",":","param","inactivity_period",":","The","total","seconds","of","inactivity","to","designate","keys","unchanged",".","Note",",","this","mechanism","is","not","real","time","and","this","operator","may","not","return","until","a","poke_interval","after","this","period","has","passed","with","no","additional","objects","sensed",".",":","param","min_objects",":","The","minimum","number","of","objects","needed","for","keys","unchanged","sensor","to","be","considered","valid",".",":","param","previous_objects",":","The","set","of","object","ids","found","during","the","last","poke",".",":","param","allow_delete",":","Should","this","sensor","consider","objects","being","deleted","between","pokes","valid","behavior",".","If","true","a","warning","message","will","be","logged","when","this","happens",".","If","false","an","error","will","be","raised",".",":","param","deferrable",":","Run","sensor","in","the","deferrable","mode"]
docstr: Airflow runs this method on the worker and defers using the trigger if deferrable is True.
docstr_tok: ["Airflow","runs","this","method","on","the","worker","and","defers","using","the","trigger","if","deferrable","is","True","."]
code: def execute(self, context: Context) -> None:
      """Airflow runs this method on the worker and defers using the trigger if deferrable is True."""
      if not self.deferrable:
          super().execute(context)
      else:
          if not self.poke(context):
              self.defer(
                  timeout=timedelta(seconds=self.timeout),
                  trigger=S3KeysUnchangedTrigger(
                      bucket_name=self.bucket_name,
                      prefix=self.prefix,
                      inactivity_period=self.inactivity_period,
                      min_objects=self.min_objects,
                      previous_objects=self.previous_objects,
                      inactivity_seconds=self.inactivity_seconds,
                      allow_delete=self.allow_delete,
                      aws_conn_id=self.aws_conn_id,
                      verify=self.verify,
                      last_activity_time=self.last_activity_time,
                  ),
                  method_name="execute_complete",
              )
  
imports: from __future__ import annotations
  import fnmatch
  import os
  import re
  from datetime import datetime, timedelta
  from functools import cached_property
  from typing import TYPE_CHECKING, Any, Callable, Sequence, cast
  from deprecated import deprecated
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning, AirflowSkipException
  from airflow.providers.amazon.aws.hooks.s3 import S3Hook
  from airflow.providers.amazon.aws.triggers.s3 import S3KeysUnchangedTrigger, S3KeyTrigger
  from airflow.sensors.base import BaseSensorOperator, poke_mode_only
label_desc: Use image node_id 5 for calling the S3KeysUnchangedSensor obj's underlying member method code with example usage: obj.execute(context) without return types