class_docstr: Pause an AWS Redshift Cluster if it has status `available`.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:RedshiftPauseClusterOperator`
  
  :param cluster_identifier: id of the AWS Redshift Cluster
  :param aws_conn_id: aws connection to use
  :param deferrable: Run operator in the deferrable mode
  :param poll_interval: Time (in seconds) to wait between two consecutive calls to check cluster state
  :param max_attempts: Maximum number of attempts to poll the cluster
code: def __init__(
      self,
      *,
      cluster_identifier: str,
      aws_conn_id: str = "aws_default",
      deferrable: bool = conf.getboolean(
          "operators", "default_deferrable", fallback=False
      ),
      poll_interval: int = 10,
      max_attempts: int = 15,
      **kwargs,
  ):
      super().__init__(**kwargs)
      self.cluster_identifier = cluster_identifier
      self.aws_conn_id = aws_conn_id
      self.deferrable = deferrable
      self.max_attempts = max_attempts
      self.poll_interval = poll_interval
      # These parameters are used to address an issue with the boto3 API where the API
      # prematurely reports the cluster as available to receive requests. This causes the cluster
      # to reject initial attempts to pause the cluster despite reporting the correct state.
      self._remaining_attempts = 10
      self._attempt_interval = 15
  
imports: from __future__ import annotations
  import time
  from datetime import timedelta
  from typing import TYPE_CHECKING, Any, Sequence
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException
  from airflow.models import BaseOperator
  from airflow.providers.amazon.aws.hooks.redshift_cluster import RedshiftHook
  from airflow.providers.amazon.aws.triggers.redshift_cluster import RedshiftCreateClusterSnapshotTrigger, RedshiftCreateClusterTrigger, RedshiftDeleteClusterTrigger, RedshiftPauseClusterTrigger, RedshiftResumeClusterTrigger
label_desc: Use image node_id 1 to create a new RedshiftPauseClusterOperator object from inherited base classes: BaseOperator with example: obj = RedshiftPauseClusterOperator()