delete_option_group

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