delete_db_subnet_group¶
Operation¶
delete_db_subnet_group
async
¶
delete_db_subnet_group(input: DeleteDBSubnetGroupInput, plugins: list[Plugin] | None = None) -> DeleteDBSubnetGroupOutput
Deletes a DB subnet group.
Note
The specified database subnet group must not be associated with any DB instances.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteDBSubnetGroupInput
|
An instance of |
required |
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 |
|---|---|
DeleteDBSubnetGroupOutput
|
An instance of |
Input¶
DeleteDBSubnetGroupInput
dataclass
¶
Bases: _SerdeShape
Attributes¶
db_subnet_group_name
class-attribute
instance-attribute
¶
db_subnet_group_name: str | None = ...
The name of the database subnet group to delete.
Note
You can't delete the default subnet group.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mydbsubnetgroup
Output¶
DeleteDBSubnetGroupOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteDBSubnetGroupOutput structure.