Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_option_group

delete_option_group(**kwargs)

Deletes an existing option group.

See also: AWS API Documentation

Request Syntax

response = client.delete_option_group(
    OptionGroupName='string'
)
Parameters
OptionGroupName (string) --

[REQUIRED]

The name of the option group to be deleted.

Note

You can't delete default option groups.

Returns
None

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': {
        '...': '...',
    },
}