class_docstr: Checks for the status of a submitted job_id to AWS Batch until it reaches a failure or a success state.
  
  BatchSensorTrigger is fired as deferred class with params to poll the job state in Triggerer.
  
  :param job_id: the job ID, to poll for job completion or not
  :param region_name: AWS region name to use
      Override the region_name in connection (if provided)
  :param aws_conn_id: connection id of AWS credentials / region name. If None,
      credential boto3 strategy will be used
  :param poke_interval: polling period in seconds to check for the status of the job
code: def hook(self) -> BatchClientHook:
      return BatchClientHook(
          aws_conn_id=self.aws_conn_id, region_name=self.region_name
      )
  
imports: from __future__ import annotations
  import asyncio
  import itertools
  from functools import cached_property
  from typing import TYPE_CHECKING, Any
  from botocore.exceptions import WaiterError
  from deprecated import deprecated
  from airflow.exceptions import AirflowProviderDeprecationWarning
  from airflow.providers.amazon.aws.hooks.batch_client import BatchClientHook
  from airflow.providers.amazon.aws.triggers.base import AwsBaseWaiterTrigger
  from airflow.triggers.base import BaseTrigger, TriggerEvent
label_desc: Use image node_id 3 for calling the BatchSensorTrigger obj's underlying member method code with example usage: obj.hook() and returns: BatchClientHook