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 an Amazon EKS node group for a cluster.
Synopsis
- data DeleteNodegroup = DeleteNodegroup' {
- clusterName :: Text
- nodegroupName :: Text
- newDeleteNodegroup :: Text -> Text -> DeleteNodegroup
- deleteNodegroup_clusterName :: Lens' DeleteNodegroup Text
- deleteNodegroup_nodegroupName :: Lens' DeleteNodegroup Text
- data DeleteNodegroupResponse = DeleteNodegroupResponse' {
- nodegroup :: Maybe Nodegroup
- httpStatus :: Int
- newDeleteNodegroupResponse :: Int -> DeleteNodegroupResponse
- deleteNodegroupResponse_nodegroup :: Lens' DeleteNodegroupResponse (Maybe Nodegroup)
- deleteNodegroupResponse_httpStatus :: Lens' DeleteNodegroupResponse Int
Creating a Request
data DeleteNodegroup Source #
See: newDeleteNodegroup
smart constructor.
DeleteNodegroup' | |
|
Instances
:: Text | |
-> Text | |
-> DeleteNodegroup |
Create a value of DeleteNodegroup
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:clusterName:DeleteNodegroup'
, deleteNodegroup_clusterName
- The name of the Amazon EKS cluster that is associated with your node
group.
$sel:nodegroupName:DeleteNodegroup'
, deleteNodegroup_nodegroupName
- The name of the node group to delete.
Request Lenses
deleteNodegroup_clusterName :: Lens' DeleteNodegroup Text Source #
The name of the Amazon EKS cluster that is associated with your node group.
deleteNodegroup_nodegroupName :: Lens' DeleteNodegroup Text Source #
The name of the node group to delete.
Destructuring the Response
data DeleteNodegroupResponse Source #
See: newDeleteNodegroupResponse
smart constructor.
DeleteNodegroupResponse' | |
|
Instances
newDeleteNodegroupResponse Source #
Create a value of DeleteNodegroupResponse
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:nodegroup:DeleteNodegroupResponse'
, deleteNodegroupResponse_nodegroup
- The full description of your deleted node group.
$sel:httpStatus:DeleteNodegroupResponse'
, deleteNodegroupResponse_httpStatus
- The response's http status code.
Response Lenses
deleteNodegroupResponse_nodegroup :: Lens' DeleteNodegroupResponse (Maybe Nodegroup) Source #
The full description of your deleted node group.
deleteNodegroupResponse_httpStatus :: Lens' DeleteNodegroupResponse Int Source #
The response's http status code.