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: Create a new cluster with the specified parameters.
  
  .. seealso::
      - :external+boto3:py:meth:`Redshift.Client.create_cluster`
  
  :param cluster_identifier: A unique identifier for the cluster.
  :param node_type: The node type to be provisioned for the cluster.
      Valid Values: ``ds2.xlarge``, ``ds2.8xlarge``, ``dc1.large``,
      ``dc1.8xlarge``, ``dc2.large``, ``dc2.8xlarge``, ``ra3.xlplus``,
      ``ra3.4xlarge``, and ``ra3.16xlarge``.
  :param master_username: The username associated with the admin user account
      for the cluster that is being created.
  :param master_user_password: password associated with the admin user account
      for the cluster that is being created.
  :param params: Remaining AWS Create cluster API params.
docstr_tok: ["Create","a","new","cluster","with","the","specified","parameters",".","..","seealso",":",":","-",":","external+boto3",":","py",":","meth",":","`","Redshift.Client.create_cluster","`",":","param","cluster_identifier",":","A","unique","identifier","for","the","cluster",".",":","param","node_type",":","The","node","type","to","be","provisioned","for","the","cluster",".","Valid","Values",":","``","ds2.xlarge","``",",","``","ds2.8xlarge","``",",","``","dc1.large","``",",","``","dc1.8xlarge","``",",","``","dc2.large","``",",","``","dc2.8xlarge","``",",","``","ra3.xlplus","``",",","``","ra3.4xlarge","``",",","and","``","ra3.16xlarge","``",".",":","param","master_username",":","The","username","associated","with","the","admin","user","account","for","the","cluster","that","is","being","created",".",":","param","master_user_password",":","password","associated","with","the","admin","user","account","for","the","cluster","that","is","being","created",".",":","param","params",":","Remaining","AWS","Create","cluster","API","params","."]
code: def create_cluster(
      self,
      cluster_identifier: str,
      node_type: str,
      master_username: str,
      master_user_password: str,
      params: dict[str, Any],
  ) -> dict[str, Any]:
      """Create a new cluster with the specified parameters.
  
      .. seealso::
          - :external+boto3:py:meth:`Redshift.Client.create_cluster`
  
      :param cluster_identifier: A unique identifier for the cluster.
      :param node_type: The node type to be provisioned for the cluster.
          Valid Values: ``ds2.xlarge``, ``ds2.8xlarge``, ``dc1.large``,
          ``dc1.8xlarge``, ``dc2.large``, ``dc2.8xlarge``, ``ra3.xlplus``,
          ``ra3.4xlarge``, and ``ra3.16xlarge``.
      :param master_username: The username associated with the admin user account
          for the cluster that is being created.
      :param master_user_password: password associated with the admin user account
          for the cluster that is being created.
      :param params: Remaining AWS Create cluster API params.
      """
      response = self.get_conn().create_cluster(
          ClusterIdentifier=cluster_identifier,
          NodeType=node_type,
          MasterUsername=master_username,
          MasterUserPassword=master_user_password,
          **params,
      )
      return response
  
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 2 for calling the RedshiftHook obj's underlying member method code with example usage: obj.create_cluster(cluster_identifier, node_type, master_username, master_user_password, params) and returns: response