RDS / Client / delete_db_cluster_parameter_group

delete_db_cluster_parameter_group#

RDS.Client.delete_db_cluster_parameter_group(**kwargs)#

Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can’t be associated with any DB clusters.

For more information on Amazon Aurora, see What is Amazon Aurora? in the Amazon Aurora User Guide.

For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide.

See also: AWS API Documentation

Request Syntax

response = client.delete_db_cluster_parameter_group(
    DBClusterParameterGroupName='string'
)
Parameters:

DBClusterParameterGroupName (string) –

[REQUIRED]

The name of the DB cluster parameter group.

Constraints:

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

  • You can’t delete a default DB cluster parameter group.

  • Can’t be associated with any DB clusters.

Returns:

None

Exceptions

  • RDS.Client.exceptions.InvalidDBParameterGroupStateFault

  • RDS.Client.exceptions.DBParameterGroupNotFoundFault

Examples

This example deletes the specified DB cluster parameter group.

response = client.delete_db_cluster_parameter_group(
    DBClusterParameterGroupName='mydbclusterparametergroup',
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}