*/
public static void deleteCluster(AmazonRedshiftClient client,
String clusterIdentifier,
boolean skipFinalClusterSnapshot) {
if (clusterExists(client, clusterIdentifier)) {
DeleteClusterRequest deleteClusterRequest = new DeleteClusterRequest();
deleteClusterRequest.setClusterIdentifier(clusterIdentifier);
deleteClusterRequest.setSkipFinalClusterSnapshot(skipFinalClusterSnapshot);
client.deleteCluster(deleteClusterRequest);
} else {
LOG.warn("Amazon Redshift cluster " + clusterIdentifier + " does not exist");
}
}