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: List snapshots for a cluster.
  
  .. seealso::
      - :external+boto3:py:meth:`Redshift.Client.describe_cluster_snapshots`
  
  :param cluster_identifier: unique identifier of a cluster
docstr_tok: ["List","snapshots","for","a","cluster",".","..","seealso",":",":","-",":","external+boto3",":","py",":","meth",":","`","Redshift.Client.describe_cluster_snapshots","`",":","param","cluster_identifier",":","unique","identifier","of","a","cluster"]
code: def describe_cluster_snapshots(
      self, cluster_identifier: str
  ) -> list[str] | None:
      """List snapshots for a cluster.
  
      .. seealso::
          - :external+boto3:py:meth:`Redshift.Client.describe_cluster_snapshots`
  
      :param cluster_identifier: unique identifier of a cluster
      """
      response = self.get_conn().describe_cluster_snapshots(
          ClusterIdentifier=cluster_identifier
      )
      if "Snapshots" not in response:
          return None
      snapshots = response["Snapshots"]
      snapshots = [
          snapshot for snapshot in snapshots if snapshot["Status"]
      ]
      snapshots.sort(
          key=lambda x: x["SnapshotCreateTime"], reverse=True
      )
      return snapshots
  
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 5 for calling the RedshiftHook obj's underlying member method code with example usage: obj.describe_cluster_snapshots(cluster_identifier) and returns: snapshots, None