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 subnet group.
- updateSubnetGroup :: Text -> UpdateSubnetGroup
- data UpdateSubnetGroup
- usgSubnetIds :: Lens' UpdateSubnetGroup [Text]
- usgDescription :: Lens' UpdateSubnetGroup (Maybe Text)
- usgSubnetGroupName :: Lens' UpdateSubnetGroup Text
- updateSubnetGroupResponse :: Int -> UpdateSubnetGroupResponse
- data UpdateSubnetGroupResponse
- usgrsSubnetGroup :: Lens' UpdateSubnetGroupResponse (Maybe SubnetGroup)
- usgrsResponseStatus :: Lens' UpdateSubnetGroupResponse Int
Creating a Request
Creates a value of UpdateSubnetGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usgSubnetIds
- A list of subnet IDs in the subnet group.usgDescription
- A description of the subnet group.usgSubnetGroupName
- The name of the subnet group.
data UpdateSubnetGroup Source #
See: updateSubnetGroup
smart constructor.
Request Lenses
usgSubnetIds :: Lens' UpdateSubnetGroup [Text] Source #
A list of subnet IDs in the subnet group.
usgDescription :: Lens' UpdateSubnetGroup (Maybe Text) Source #
A description of the subnet group.
usgSubnetGroupName :: Lens' UpdateSubnetGroup Text Source #
The name of the subnet group.
Destructuring the Response
updateSubnetGroupResponse Source #
Creates a value of UpdateSubnetGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usgrsSubnetGroup
- The subnet group that has been modified.usgrsResponseStatus
- -- | The response status code.
data UpdateSubnetGroupResponse Source #
See: updateSubnetGroupResponse
smart constructor.
Response Lenses
usgrsSubnetGroup :: Lens' UpdateSubnetGroupResponse (Maybe SubnetGroup) Source #
The subnet group that has been modified.
usgrsResponseStatus :: Lens' UpdateSubnetGroupResponse Int Source #
- - | The response status code.