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'
)
[REQUIRED]
The name of the DB parameter group.
Constraints:
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': {
'...': '...',
},
}