Creates a new cluster from a snapshot. Amazon Redshift creates the resulting
            cluster         with the same configuration as the original cluster from which the
            snapshot was created,         except that the new cluster        is created with the
            default cluster security and parameter group.                 After Amazon Redshift
            creates the cluster you can use the ModifyCluster             API to associate
            a different security group and different parameter group with the            restored
            cluster.        
            
                    
            
If you restore a cluster into a VPC, you must provide a cluster subnet group where you want the cluster restored.
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Management Guide.
 Declaration Syntax
 Declaration Syntax| C# | 
public RestoreFromClusterSnapshotResponse RestoreFromClusterSnapshot( RestoreFromClusterSnapshotRequest request )
 Parameters
 Parameters- request (RestoreFromClusterSnapshotRequest)
- Container for the necessary parameters to execute the RestoreFromClusterSnapshot service method.
 Return Value
 Return ValueThe response from the RestoreFromClusterSnapshot service method, as returned by Redshift.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| AccessToSnapshotDeniedException | The owner of the specified snapshot has not authorized your account to
            access the snapshot. | 
| 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. | 
| ClusterSnapshotNotFoundException | The snapshot identifier does not refer to an existing cluster snapshot. | 
| 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. | 
| InvalidClusterSnapshotStateException | The state of the cluster snapshot is not  CopyC# available | 
| InvalidClusterSubnetGroupStateException | The cluster subnet group cannot be deleted because it is in use. | 
| InvalidElasticIpException | The Elastic IP (EIP) is invalid or cannot be found. | 
| InvalidRestoreException | The restore is invalid. | 
| 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. |