Creates a new cluster. To create the cluster in virtual private cloud
(VPC), you must provide cluster subnet group name. If you don't provide
a cluster subnet group name or the cluster security group parameter, Amazon Redshift
creates a non-VPC cluster, it associates the default cluster security
group with the cluster. For more information about managing clusters, go
to Amazon
Redshift Clusters in the Amazon Redshift Management Guide.
Declaration Syntax
C# |
CreateClusterResponse CreateCluster( CreateClusterRequest request )
Parameters
- request (CreateClusterRequest)
- Container for the necessary parameters to execute the CreateCluster service method.
Return Value
The response from the CreateCluster service method, as returned by Redshift.
Exceptions
Exception | Condition |
---|---|
ClusterAlreadyExistsException |
The account already has a cluster with the given identifier.
|
ClusterParameterGroupNotFoundException |
The parameter group name does not refer to an existing parameter group.
|
ClusterQuotaExceededException |
The request would exceed the allowed number of cluster instances for this
account. For information about increasing your quota, go to Limits
in Amazon Redshift in the Amazon Redshift Management Guide.
|
ClusterSecurityGroupNotFoundException |
The cluster security group name does not refer to an existing cluster
security group.
|
ClusterSubnetGroupNotFoundException |
The cluster subnet group name does not refer to an existing cluster subnet
group.
|
HsmClientCertificateNotFoundException |
There is no Amazon Redshift HSM client certificate with the specified identifier.
|
HsmConfigurationNotFoundException |
There is no Amazon Redshift HSM configuration with the specified identifier.
|
InsufficientClusterCapacityException |
The number of nodes specified exceeds the allotted capacity of the cluster.
|
InvalidClusterSubnetGroupStateException |
The cluster subnet group cannot be deleted because it is in use.
|
InvalidElasticIpException |
The Elastic IP (EIP) is invalid or cannot be found.
|
InvalidSubnetException |
The requested subnet is not valid, or not all of the subnets are in the same
VPC.
|
InvalidVPCNetworkStateException |
The cluster subnet group does not cover all Availability Zones.
|
NumberOfNodesPerClusterLimitExceededException |
The operation would exceed the number of nodes allowed for a cluster.
|
NumberOfNodesQuotaExceededException |
The operation would exceed the number of nodes allotted to the account. For information
about increasing your quota, go to Limits
in Amazon Redshift in the Amazon Redshift Management Guide.
|
UnauthorizedOperationException |
Your account is not authorized to perform the requested operation.
|