Module Smaws_Client_Redshift.DeleteCluster

Deletes a previously provisioned cluster without its final snapshot being created. A successful response from the web service indicates that the request was received correctly. Use DescribeClusters to monitor the status of the deletion. The delete operation cannot be canceled or reverted once submitted. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

If you want to shut down the cluster and retain it for future use, set SkipFinalClusterSnapshot to false and specify a name for FinalClusterSnapshotIdentifier. You can later restore this snapshot to resume using the cluster. If a final cluster snapshot is requested, the status of the cluster will be "final-snapshot" while the snapshot is being taken, then it's "deleting" once Amazon Redshift begins deleting the cluster.

For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `ClusterNotFoundFault of Types.cluster_not_found_fault | `ClusterSnapshotAlreadyExistsFault of Types.cluster_snapshot_already_exists_fault | `ClusterSnapshotQuotaExceededFault of Types.cluster_snapshot_quota_exceeded_fault | `InvalidClusterStateFault of Types.invalid_cluster_state_fault | `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_cluster_message -> (Types.delete_cluster_result, [> Smaws_Lib.Protocols.AwsQuery.error | `ClusterNotFoundFault of Types.cluster_not_found_fault | `ClusterSnapshotAlreadyExistsFault of Types.cluster_snapshot_already_exists_fault | `ClusterSnapshotQuotaExceededFault of Types.cluster_snapshot_quota_exceeded_fault | `InvalidClusterStateFault of Types.invalid_cluster_state_fault | `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_cluster_message -> (Types.delete_cluster_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `ClusterNotFoundFault of Types.cluster_not_found_fault | `ClusterSnapshotAlreadyExistsFault of Types.cluster_snapshot_already_exists_fault | `ClusterSnapshotQuotaExceededFault of Types.cluster_snapshot_quota_exceeded_fault | `InvalidClusterStateFault of Types.invalid_cluster_state_fault | `InvalidRetentionPeriodFault of Types.invalid_retention_period_fault ] * Smaws_Lib.Response.metadata) Stdlib.result