RDS / Client / delete_db_parameter_group
delete_db_parameter_group#
- RDS.Client.delete_db_parameter_group(**kwargs)#
Deletes a specified DB parameter group. The DB parameter group to be deleted can’t be associated with any DB instances.
See also: AWS API Documentation
Request Syntax
response = client.delete_db_parameter_group( DBParameterGroupName='string' )
- Parameters:
DBParameterGroupName (string) –
[REQUIRED]
The name of the DB parameter group.
Constraints:
Must be the name of an existing DB parameter group
You can’t delete a default DB parameter group
Can’t be associated with any DB instances
- Returns:
None
Exceptions
RDS.Client.exceptions.InvalidDBParameterGroupStateFault
RDS.Client.exceptions.DBParameterGroupNotFoundFault
Examples
The following example deletes a DB parameter group.
response = client.delete_db_parameter_group( DBParameterGroupName='mydbparamgroup3', ) print(response)
Expected Output:
{ 'ResponseMetadata': { '...': '...', }, }