delete_option_group
(**kwargs)¶Deletes an existing option group.
See also: AWS API Documentation
Request Syntax
response = client.delete_option_group(
OptionGroupName='string'
)
[REQUIRED]
The name of the option group to be deleted.
Note
You can't delete default option groups.
Exceptions
RDS.Client.exceptions.OptionGroupNotFoundFault
RDS.Client.exceptions.InvalidOptionGroupStateFault
Examples
This example deletes the specified option group.
response = client.delete_option_group(
OptionGroupName='mydboptiongroup',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}