Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region.
See: AWS API Reference for ModifyDBSubnetGroup.
- modifyDBSubnetGroup :: Text -> ModifyDBSubnetGroup
- data ModifyDBSubnetGroup
- mdsgDBSubnetGroupDescription :: Lens' ModifyDBSubnetGroup (Maybe Text)
- mdsgDBSubnetGroupName :: Lens' ModifyDBSubnetGroup Text
- mdsgSubnetIds :: Lens' ModifyDBSubnetGroup [Text]
- modifyDBSubnetGroupResponse :: Int -> ModifyDBSubnetGroupResponse
- data ModifyDBSubnetGroupResponse
- mdsgrsDBSubnetGroup :: Lens' ModifyDBSubnetGroupResponse (Maybe DBSubnetGroup)
- mdsgrsStatus :: Lens' ModifyDBSubnetGroupResponse Int
Creating a Request
Creates a value of ModifyDBSubnetGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyDBSubnetGroup Source
See: modifyDBSubnetGroup
smart constructor.
Request Lenses
mdsgDBSubnetGroupDescription :: Lens' ModifyDBSubnetGroup (Maybe Text) Source
The description for the DB subnet group.
mdsgDBSubnetGroupName :: Lens' ModifyDBSubnetGroup Text Source
The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example: mySubnetgroup
mdsgSubnetIds :: Lens' ModifyDBSubnetGroup [Text] Source
The EC2 subnet IDs for the DB subnet group.
Destructuring the Response
modifyDBSubnetGroupResponse Source
Creates a value of ModifyDBSubnetGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyDBSubnetGroupResponse Source
See: modifyDBSubnetGroupResponse
smart constructor.
Response Lenses
mdsgrsDBSubnetGroup :: Lens' ModifyDBSubnetGroupResponse (Maybe DBSubnetGroup) Source
Undocumented member.
mdsgrsStatus :: Lens' ModifyDBSubnetGroupResponse Int Source
The response status code.