Deletes a specified Amazon Redshift parameter group.             
|  Note: | 
|---|
| You cannot delete a parameter group if it is associated with a cluster. | 
 Declaration Syntax
 Declaration Syntax| C# | 
DeleteClusterParameterGroupResponse DeleteClusterParameterGroup( DeleteClusterParameterGroupRequest request )
 Parameters
 Parameters- request (DeleteClusterParameterGroupRequest)
- Container for the necessary parameters to execute the DeleteClusterParameterGroup service method.
 Return Value
 Return ValueThe response from the DeleteClusterParameterGroup service method, as returned by Redshift.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| ClusterParameterGroupNotFoundException | The parameter group name does not refer to an        existing parameter group. | 
| InvalidClusterParameterGroupStateException | The cluster parameter group action can not be completed because         another
            task is in progress that involves the parameter group.         Wait a few moments
            and try the operation again. |