| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.RDS.ModifyDBSubnetGroup
Description
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.
Synopsis
- data ModifyDBSubnetGroup = ModifyDBSubnetGroup' {}
- newModifyDBSubnetGroup :: Text -> ModifyDBSubnetGroup
- modifyDBSubnetGroup_dbSubnetGroupDescription :: Lens' ModifyDBSubnetGroup (Maybe Text)
- modifyDBSubnetGroup_dbSubnetGroupName :: Lens' ModifyDBSubnetGroup Text
- modifyDBSubnetGroup_subnetIds :: Lens' ModifyDBSubnetGroup [Text]
- data ModifyDBSubnetGroupResponse = ModifyDBSubnetGroupResponse' {}
- newModifyDBSubnetGroupResponse :: Int -> ModifyDBSubnetGroupResponse
- modifyDBSubnetGroupResponse_dbSubnetGroup :: Lens' ModifyDBSubnetGroupResponse (Maybe DBSubnetGroup)
- modifyDBSubnetGroupResponse_httpStatus :: Lens' ModifyDBSubnetGroupResponse Int
Creating a Request
data ModifyDBSubnetGroup Source #
See: newModifyDBSubnetGroup smart constructor.
Constructors
| ModifyDBSubnetGroup' | |
Fields
| |
Instances
newModifyDBSubnetGroup Source #
Arguments
| :: Text | |
| -> ModifyDBSubnetGroup |
Create a value of ModifyDBSubnetGroup with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ModifyDBSubnetGroup, modifyDBSubnetGroup_dbSubnetGroupDescription - The description for the DB subnet group.
ModifyDBSubnetGroup, modifyDBSubnetGroup_dbSubnetGroupName - 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
$sel:subnetIds:ModifyDBSubnetGroup', modifyDBSubnetGroup_subnetIds - The EC2 subnet IDs for the DB subnet group.
Request Lenses
modifyDBSubnetGroup_dbSubnetGroupDescription :: Lens' ModifyDBSubnetGroup (Maybe Text) Source #
The description for the DB subnet group.
modifyDBSubnetGroup_dbSubnetGroupName :: Lens' ModifyDBSubnetGroup Text Source #
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
modifyDBSubnetGroup_subnetIds :: Lens' ModifyDBSubnetGroup [Text] Source #
The EC2 subnet IDs for the DB subnet group.
Destructuring the Response
data ModifyDBSubnetGroupResponse Source #
See: newModifyDBSubnetGroupResponse smart constructor.
Constructors
| ModifyDBSubnetGroupResponse' | |
Fields
| |
Instances
newModifyDBSubnetGroupResponse Source #
Create a value of ModifyDBSubnetGroupResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ModifyDBSubnetGroupResponse, modifyDBSubnetGroupResponse_dbSubnetGroup - Undocumented member.
$sel:httpStatus:ModifyDBSubnetGroupResponse', modifyDBSubnetGroupResponse_httpStatus - The response's http status code.
Response Lenses
modifyDBSubnetGroupResponse_dbSubnetGroup :: Lens' ModifyDBSubnetGroupResponse (Maybe DBSubnetGroup) Source #
Undocumented member.
modifyDBSubnetGroupResponse_httpStatus :: Lens' ModifyDBSubnetGroupResponse Int Source #
The response's http status code.