Menu
Amazon Redshift
API Reference (API Version 2012-12-01)

DeleteClusterParameterGroup

Deletes a specified Amazon Redshift parameter group.

Note

You cannot delete a parameter group if it is associated with a cluster.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

ParameterGroupName

The name of the parameter group to be deleted.

Constraints:

  • Must be the name of an existing cluster parameter group.

  • Cannot delete a default cluster parameter group.

Type: String

Required: Yes

Errors

For information about the errors that are common to all actions, see Common Errors.

ClusterParameterGroupNotFound

The parameter group name does not refer to an existing parameter group.

HTTP Status Code: 404

InvalidClusterParameterGroupState

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.

HTTP Status Code: 400

Example

Sample Request

https://redshift.us-east-1.amazonaws.com/ ?Action=DeleteClusterParameterGroup &ParameterGroupName=parametergroup1 &Version=2012-12-01 &x-amz-algorithm=AWS4-HMAC-SHA256 &x-amz-credential=AKIAIOSFODNN7EXAMPLE/20121208/us-east-1/redshift/aws4_request &x-amz-date=20121208T015410Z &x-amz-signedheaders=content-type;host;x-amz-date

Sample Response

<DeleteClusterParameterGroupResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/"> <ResponseMetadata> <RequestId>29674ca0-40da-11e2-b679-dba6cf515770</RequestId> </ResponseMetadata> </DeleteClusterParameterGroupResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: