Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the AWS Region.
- 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)
- mdsgrsResponseStatus :: 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:
mdsgDBSubnetGroupDescription
- The description for the DB subnet group.mdsgDBSubnetGroupName
- 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:mySubnetgroup
mdsgSubnetIds
- The EC2 subnet IDs for the DB subnet group.
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. You can't modify the default subnet group. Constraints: Must match the name of an existing DBSubnetGroup. 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:
mdsgrsDBSubnetGroup
- Undocumented member.mdsgrsResponseStatus
- -- | The response status code.
data ModifyDBSubnetGroupResponse Source #
See: modifyDBSubnetGroupResponse
smart constructor.
Response Lenses
mdsgrsDBSubnetGroup :: Lens' ModifyDBSubnetGroupResponse (Maybe DBSubnetGroup) Source #
Undocumented member.
mdsgrsResponseStatus :: Lens' ModifyDBSubnetGroupResponse Int Source #
- - | The response status code.