modify_db_subnet_group¶
Operation¶
modify_db_subnet_group
async
¶
modify_db_subnet_group(request: ModifyDBSubnetGroupInput | ModifyDBSubnetGroupInputDict, /, *, plugins: list[Plugin] | None = None) -> ModifyDBSubnetGroupOutput
modify_db_subnet_group(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[ModifyDBSubnetGroupInputDict]) -> ModifyDBSubnetGroupOutput
Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the Amazon Web Services Region.
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 |
|---|---|
ModifyDBSubnetGroupOutput
|
An instance of |
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¶
ModifyDBSubnetGroupInput
dataclass
¶
Bases: _SerdeShape
Attributes¶
db_subnet_group_description
class-attribute
instance-attribute
¶
db_subnet_group_description: str | None = ...
The description for the DB subnet group.
db_subnet_group_name
class-attribute
instance-attribute
¶
db_subnet_group_name: str | None = ...
The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mydbsubnetgroup
Dictionaries¶
ModifyDBSubnetGroupInputDict
¶
Bases: TypedDict
Dictionary form of ModifyDBSubnetGroupInput.
Attributes¶
db_subnet_group_description
instance-attribute
¶
db_subnet_group_description: str | None
The description for the DB subnet group.
db_subnet_group_name
instance-attribute
¶
The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mydbsubnetgroup
Output¶
ModifyDBSubnetGroupOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ModifyDBSubnetGroupOutput structure.
Attributes¶
db_subnet_group
class-attribute
instance-attribute
¶
db_subnet_group: DBSubnetGroup | None = ...
Contains the details of an Amazon RDS DB subnet group.
This data type is used as a response element in the
DescribeDBSubnetGroups action.
response_metadata
class-attribute
instance-attribute
¶
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.