class_docstr: Resume a paused AWS Redshift Cluster.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:RedshiftResumeClusterOperator`
  
  :param cluster_identifier:  Unique identifier of the AWS Redshift cluster
  :param aws_conn_id: The Airflow connection used for AWS credentials.
      The default connection id is ``aws_default``
  :param poll_interval: Time (in seconds) to wait between two consecutive calls to check cluster state
  :param max_attempts: The maximum number of attempts to check the state of the cluster.
  :param wait_for_completion: If True, the operator will wait for the cluster to be in the
      `resumed` state. Default is False.
  :param deferrable: If True, the operator will run as a deferrable operator.
code: def __init__(
      self,
      *,
      cluster_identifier: str,
      aws_conn_id: str = "aws_default",
      wait_for_completion: bool = False,
      deferrable: bool = conf.getboolean(
          "operators", "default_deferrable", fallback=False
      ),
      poll_interval: int = 10,
      max_attempts: int = 10,
      **kwargs,
  ):
      super().__init__(**kwargs)
      self.cluster_identifier = cluster_identifier
      self.aws_conn_id = aws_conn_id
      self.wait_for_completion = wait_for_completion
      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 resume 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 RedshiftResumeClusterOperator object from inherited base classes: BaseOperator with example: obj = RedshiftResumeClusterOperator()