Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the 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 #
Represents the input to ModifyDBSubnetGroup.
See: newModifyDBSubnetGroup
smart constructor.
ModifyDBSubnetGroup' | |
|
Instances
newModifyDBSubnetGroup Source #
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:
$sel:dbSubnetGroupDescription:ModifyDBSubnetGroup'
, modifyDBSubnetGroup_dbSubnetGroupDescription
- The description for the subnet group.
$sel:dbSubnetGroupName:ModifyDBSubnetGroup'
, modifyDBSubnetGroup_dbSubnetGroupName
- The name for the 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: mySubnetgroup
$sel:subnetIds:ModifyDBSubnetGroup'
, modifyDBSubnetGroup_subnetIds
- The Amazon EC2 subnet IDs for the subnet group.
Request Lenses
modifyDBSubnetGroup_dbSubnetGroupDescription :: Lens' ModifyDBSubnetGroup (Maybe Text) Source #
The description for the subnet group.
modifyDBSubnetGroup_dbSubnetGroupName :: Lens' ModifyDBSubnetGroup Text Source #
The name for the 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: mySubnetgroup
modifyDBSubnetGroup_subnetIds :: Lens' ModifyDBSubnetGroup [Text] Source #
The Amazon EC2 subnet IDs for the subnet group.
Destructuring the Response
data ModifyDBSubnetGroupResponse Source #
See: newModifyDBSubnetGroupResponse
smart constructor.
ModifyDBSubnetGroupResponse' | |
|
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:
$sel:dbSubnetGroup: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.