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 |
Updates a subnet group. For more information, see Updating a subnet group
Synopsis
- data UpdateSubnetGroup = UpdateSubnetGroup' {
- subnetIds :: Maybe [Text]
- description :: Maybe Text
- subnetGroupName :: Text
- newUpdateSubnetGroup :: Text -> UpdateSubnetGroup
- updateSubnetGroup_subnetIds :: Lens' UpdateSubnetGroup (Maybe [Text])
- updateSubnetGroup_description :: Lens' UpdateSubnetGroup (Maybe Text)
- updateSubnetGroup_subnetGroupName :: Lens' UpdateSubnetGroup Text
- data UpdateSubnetGroupResponse = UpdateSubnetGroupResponse' {}
- newUpdateSubnetGroupResponse :: Int -> UpdateSubnetGroupResponse
- updateSubnetGroupResponse_subnetGroup :: Lens' UpdateSubnetGroupResponse (Maybe SubnetGroup)
- updateSubnetGroupResponse_httpStatus :: Lens' UpdateSubnetGroupResponse Int
Creating a Request
data UpdateSubnetGroup Source #
See: newUpdateSubnetGroup
smart constructor.
UpdateSubnetGroup' | |
|
Instances
Create a value of UpdateSubnetGroup
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:subnetIds:UpdateSubnetGroup'
, updateSubnetGroup_subnetIds
- The EC2 subnet IDs for the subnet group.
$sel:description:UpdateSubnetGroup'
, updateSubnetGroup_description
- A description of the subnet group
$sel:subnetGroupName:UpdateSubnetGroup'
, updateSubnetGroup_subnetGroupName
- The name of the subnet group
Request Lenses
updateSubnetGroup_subnetIds :: Lens' UpdateSubnetGroup (Maybe [Text]) Source #
The EC2 subnet IDs for the subnet group.
updateSubnetGroup_description :: Lens' UpdateSubnetGroup (Maybe Text) Source #
A description of the subnet group
updateSubnetGroup_subnetGroupName :: Lens' UpdateSubnetGroup Text Source #
The name of the subnet group
Destructuring the Response
data UpdateSubnetGroupResponse Source #
See: newUpdateSubnetGroupResponse
smart constructor.
UpdateSubnetGroupResponse' | |
|
Instances
newUpdateSubnetGroupResponse Source #
Create a value of UpdateSubnetGroupResponse
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:subnetGroup:UpdateSubnetGroupResponse'
, updateSubnetGroupResponse_subnetGroup
- The updated subnet group
$sel:httpStatus:UpdateSubnetGroupResponse'
, updateSubnetGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateSubnetGroupResponse_subnetGroup :: Lens' UpdateSubnetGroupResponse (Maybe SubnetGroup) Source #
The updated subnet group
updateSubnetGroupResponse_httpStatus :: Lens' UpdateSubnetGroupResponse Int Source #
The response's http status code.