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 |
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.
DeleteSubnetGroup' | |
|
Instances
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:
$sel:subnetGroupName: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.
DeleteSubnetGroupResponse' | |
|
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.