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 virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
Synopsis
- data DeleteVirtualCluster = DeleteVirtualCluster' {}
- newDeleteVirtualCluster :: Text -> DeleteVirtualCluster
- deleteVirtualCluster_id :: Lens' DeleteVirtualCluster Text
- data DeleteVirtualClusterResponse = DeleteVirtualClusterResponse' {
- id :: Maybe Text
- httpStatus :: Int
- newDeleteVirtualClusterResponse :: Int -> DeleteVirtualClusterResponse
- deleteVirtualClusterResponse_id :: Lens' DeleteVirtualClusterResponse (Maybe Text)
- deleteVirtualClusterResponse_httpStatus :: Lens' DeleteVirtualClusterResponse Int
Creating a Request
data DeleteVirtualCluster Source #
See: newDeleteVirtualCluster
smart constructor.
Instances
newDeleteVirtualCluster Source #
Create a value of DeleteVirtualCluster
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:id:DeleteVirtualCluster'
, deleteVirtualCluster_id
- The ID of the virtual cluster that will be deleted.
Request Lenses
deleteVirtualCluster_id :: Lens' DeleteVirtualCluster Text Source #
The ID of the virtual cluster that will be deleted.
Destructuring the Response
data DeleteVirtualClusterResponse Source #
See: newDeleteVirtualClusterResponse
smart constructor.
DeleteVirtualClusterResponse' | |
|
Instances
newDeleteVirtualClusterResponse Source #
Create a value of DeleteVirtualClusterResponse
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:id:DeleteVirtualCluster'
, deleteVirtualClusterResponse_id
- This output contains the ID of the virtual cluster that will be deleted.
$sel:httpStatus:DeleteVirtualClusterResponse'
, deleteVirtualClusterResponse_httpStatus
- The response's http status code.
Response Lenses
deleteVirtualClusterResponse_id :: Lens' DeleteVirtualClusterResponse (Maybe Text) Source #
This output contains the ID of the virtual cluster that will be deleted.
deleteVirtualClusterResponse_httpStatus :: Lens' DeleteVirtualClusterResponse Int Source #
The response's http status code.