class_docstr: Waits for an RDS instance or cluster to enter one of a number of states.
  
  .. seealso::
      For more information on how to use this sensor, take a look at the guide:
      :ref:`howto/sensor:RdsDbSensor`
  
  :param db_type: Type of the DB - either "instance" or "cluster" (default: 'instance')
  :param db_identifier: The AWS identifier for the DB
  :param target_statuses: Target status of DB
code: def poke(self, context: Context):
      db_type = RdsDbType(self.db_type)
      self.log.info(
          "Poking for statuses : %s\nfor db instance %s",
          self.target_statuses,
          self.db_identifier,
      )
      try:
          if db_type == RdsDbType.INSTANCE:
              state = self.hook.get_db_instance_state(
                  self.db_identifier
              )
          else:
              state = self.hook.get_db_cluster_state(self.db_identifier)
      except AirflowNotFoundException:
          return False
      return state in self.target_statuses
  
imports: from __future__ import annotations
  from functools import cached_property
  from typing import TYPE_CHECKING, Sequence
  from airflow.exceptions import AirflowNotFoundException
  from airflow.providers.amazon.aws.hooks.rds import RdsHook
  from airflow.providers.amazon.aws.utils.rds import RdsDbType
  from airflow.sensors.base import BaseSensorOperator
label_desc: Use image node_id 2 for calling the RdsDbSensor obj's underlying member method code with example usage: obj.poke(context) and returns: unknown, False