Skip to content

RDS  >  Operations  >  delete_option_group

delete_option_group

Operation

delete_option_group async

delete_option_group(request: DeleteOptionGroupInput | DeleteOptionGroupInputDict, /, *, plugins: list[Plugin] | None = None) -> DeleteOptionGroupOutput
delete_option_group(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteOptionGroupInputDict]) -> DeleteOptionGroupOutput

Deletes an existing option group.

Parameters:

Name Type Description Default
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteOptionGroupOutput

An instance of DeleteOptionGroupOutput.

Input

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

DeleteOptionGroupInput dataclass

Bases: _SerdeShape

Attributes
option_group_name class-attribute instance-attribute
option_group_name: str | None = ...

The name of the option group to be deleted.

Note

You can't delete default option groups.

Dictionaries

DeleteOptionGroupInputDict

Bases: TypedDict

Dictionary form of DeleteOptionGroupInput.

Attributes
option_group_name instance-attribute
option_group_name: Required[str]

The name of the option group to be deleted.

Note

You can't delete default option groups.

Output

DeleteOptionGroupOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteOptionGroupOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.