| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DAX.UpdateSubnetGroup
Description
Modifies an existing subnet group.
Synopsis
- data UpdateSubnetGroup = UpdateSubnetGroup' {
- description :: Maybe Text
- subnetIds :: Maybe [Text]
- subnetGroupName :: Text
- newUpdateSubnetGroup :: Text -> UpdateSubnetGroup
- updateSubnetGroup_description :: Lens' UpdateSubnetGroup (Maybe Text)
- updateSubnetGroup_subnetIds :: 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.
Constructors
| UpdateSubnetGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateSubnetGroup |
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:
UpdateSubnetGroup, updateSubnetGroup_description - A description of the subnet group.
$sel:subnetIds:UpdateSubnetGroup', updateSubnetGroup_subnetIds - A list of subnet IDs in the subnet group.
UpdateSubnetGroup, updateSubnetGroup_subnetGroupName - The name of the subnet group.
Request Lenses
updateSubnetGroup_description :: Lens' UpdateSubnetGroup (Maybe Text) Source #
A description of the subnet group.
updateSubnetGroup_subnetIds :: Lens' UpdateSubnetGroup (Maybe [Text]) Source #
A list of subnet IDs in 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.
Constructors
| UpdateSubnetGroupResponse' | |
Fields
| |
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:
UpdateSubnetGroupResponse, updateSubnetGroupResponse_subnetGroup - The subnet group that has been modified.
$sel:httpStatus:UpdateSubnetGroupResponse', updateSubnetGroupResponse_httpStatus - The response's http status code.
Response Lenses
updateSubnetGroupResponse_subnetGroup :: Lens' UpdateSubnetGroupResponse (Maybe SubnetGroup) Source #
The subnet group that has been modified.
updateSubnetGroupResponse_httpStatus :: Lens' UpdateSubnetGroupResponse Int Source #
The response's http status code.