class_docstr: Interact with Amazon Redshift.
  
  This is a thin wrapper around
  :external+boto3:py:class:`boto3.client("redshift") <Redshift.Client>`.
  
  Additional arguments (such as ``aws_conn_id``) may be specified and
  are passed down to the underlying AwsBaseHook.
  
  .. seealso::
      - :class:`airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook`
class_docstr_tok: ["Interact","with","Amazon","Redshift",".","This","is","a","thin","wrapper","around",":","external+boto3",":","py",":","class",":","`","boto3.client","(","``","redshift","''",")","<","Redshift.Client",">","`",".","Additional","arguments","(","such","as","``","aws_conn_id","``",")","may","be","specified","and","are","passed","down","to","the","underlying","AwsBaseHook",".","..","seealso",":",":","-",":","class",":","`","airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook","`"]
docstr: Restore a cluster from its snapshot.
  
  .. seealso::
      - :external+boto3:py:meth:`Redshift.Client.restore_from_cluster_snapshot`
  
  :param cluster_identifier: unique identifier of a cluster
  :param snapshot_identifier: unique identifier for a snapshot of a cluster
docstr_tok: ["Restore","a","cluster","from","its","snapshot",".","..","seealso",":",":","-",":","external+boto3",":","py",":","meth",":","`","Redshift.Client.restore_from_cluster_snapshot","`",":","param","cluster_identifier",":","unique","identifier","of","a","cluster",":","param","snapshot_identifier",":","unique","identifier","for","a","snapshot","of","a","cluster"]
code: def restore_from_cluster_snapshot(
      self, cluster_identifier: str, snapshot_identifier: str
  ) -> str:
      """Restore a cluster from its snapshot.
  
      .. seealso::
          - :external+boto3:py:meth:`Redshift.Client.restore_from_cluster_snapshot`
  
      :param cluster_identifier: unique identifier of a cluster
      :param snapshot_identifier: unique identifier for a snapshot of a cluster
      """
      response = self.get_conn().restore_from_cluster_snapshot(
          ClusterIdentifier=cluster_identifier,
          SnapshotIdentifier=snapshot_identifier,
      )
      return response["Cluster"] if response["Cluster"] else None
  
file_path: airflow/airflow/providers/amazon/aws/hooks/redshift_cluster.py
imports: from __future__ import annotations
  import asyncio
  import warnings
  from typing import Any, Sequence
  import botocore.exceptions
  from airflow.exceptions import AirflowProviderDeprecationWarning
  from airflow.providers.amazon.aws.hooks.base_aws import AwsBaseAsyncHook, AwsBaseHook
label_desc: Use image node_id 6 for calling the RedshiftHook obj's underlying member method code with example usage: obj.restore_from_cluster_snapshot(cluster_identifier, snapshot_identifier) and returns: unknown