| 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.MemoryDb.DeleteSubnetGroup
Description
Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.
Synopsis
- data DeleteSubnetGroup = DeleteSubnetGroup' {}
- newDeleteSubnetGroup :: Text -> DeleteSubnetGroup
- deleteSubnetGroup_subnetGroupName :: Lens' DeleteSubnetGroup Text
- data DeleteSubnetGroupResponse = DeleteSubnetGroupResponse' {}
- newDeleteSubnetGroupResponse :: Int -> DeleteSubnetGroupResponse
- deleteSubnetGroupResponse_subnetGroup :: Lens' DeleteSubnetGroupResponse (Maybe SubnetGroup)
- deleteSubnetGroupResponse_httpStatus :: Lens' DeleteSubnetGroupResponse Int
Creating a Request
data DeleteSubnetGroup Source #
See: newDeleteSubnetGroup smart constructor.
Constructors
| DeleteSubnetGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteSubnetGroup |
Create a value of DeleteSubnetGroup 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:
DeleteSubnetGroup, deleteSubnetGroup_subnetGroupName - The name of the subnet group to delete
Request Lenses
deleteSubnetGroup_subnetGroupName :: Lens' DeleteSubnetGroup Text Source #
The name of the subnet group to delete
Destructuring the Response
data DeleteSubnetGroupResponse Source #
See: newDeleteSubnetGroupResponse smart constructor.
Constructors
| DeleteSubnetGroupResponse' | |
Fields
| |
Instances
newDeleteSubnetGroupResponse Source #
Create a value of DeleteSubnetGroupResponse 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:DeleteSubnetGroupResponse', deleteSubnetGroupResponse_subnetGroup - The subnet group object that has been deleted.
$sel:httpStatus:DeleteSubnetGroupResponse', deleteSubnetGroupResponse_httpStatus - The response's http status code.
Response Lenses
deleteSubnetGroupResponse_subnetGroup :: Lens' DeleteSubnetGroupResponse (Maybe SubnetGroup) Source #
The subnet group object that has been deleted.
deleteSubnetGroupResponse_httpStatus :: Lens' DeleteSubnetGroupResponse Int Source #
The response's http status code.