class_docstr: Used to create custom Boto3 Waiters.
  
  For more details, see airflow/providers/amazon/aws/waiters/README.md
class_docstr_tok: ["Used","to","create","custom","Boto3","Waiters",".","For","more","details",",","see","airflow\/providers\/amazon\/aws\/waiters\/README.md"]
code: def waiter(self, waiter_name: str) -> Waiter:
      if self.deferrable:
          return self._get_async_waiter_with_client(
              waiter_name=waiter_name
          )
  
      return create_waiter_with_client(
          waiter_name=waiter_name,
          waiter_model=self.model,
          client=self.client,
      )
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from botocore.waiter import Waiter, WaiterModel, create_waiter_with_client
label_desc: Use image node_id 3 for calling the BaseBotoWaiter obj's underlying member method code with example usage: obj.waiter(waiter_name) and returns: create_waiter_with_client, self