| 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.DeleteSubnetGroup
Description
Deletes a subnet group.
You cannot delete a subnet group if it is associated with any DAX clusters.
Synopsis
- data DeleteSubnetGroup = DeleteSubnetGroup' {}
- newDeleteSubnetGroup :: Text -> DeleteSubnetGroup
- deleteSubnetGroup_subnetGroupName :: Lens' DeleteSubnetGroup Text
- data DeleteSubnetGroupResponse = DeleteSubnetGroupResponse' {}
- newDeleteSubnetGroupResponse :: Int -> DeleteSubnetGroupResponse
- deleteSubnetGroupResponse_deletionMessage :: Lens' DeleteSubnetGroupResponse (Maybe Text)
- 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:deletionMessage:DeleteSubnetGroupResponse', deleteSubnetGroupResponse_deletionMessage - A user-specified message for this action (i.e., a reason for deleting
the subnet group).
$sel:httpStatus:DeleteSubnetGroupResponse', deleteSubnetGroupResponse_httpStatus - The response's http status code.
Response Lenses
deleteSubnetGroupResponse_deletionMessage :: Lens' DeleteSubnetGroupResponse (Maybe Text) Source #
A user-specified message for this action (i.e., a reason for deleting the subnet group).
deleteSubnetGroupResponse_httpStatus :: Lens' DeleteSubnetGroupResponse Int Source #
The response's http status code.