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 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.
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: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.