Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes the specified cluster. You must deregister all container instances from this cluster before you may delete it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.
See: AWS API Reference for DeleteCluster.
Creating a Request
Creates a value of DeleteCluster
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteCluster Source
See: deleteCluster
smart constructor.
Request Lenses
dcCluster :: Lens' DeleteCluster Text Source
The short name or full Amazon Resource Name (ARN) of the cluster that you want to delete.
Destructuring the Response
Creates a value of DeleteClusterResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteClusterResponse Source
See: deleteClusterResponse
smart constructor.
Response Lenses
drsCluster :: Lens' DeleteClusterResponse (Maybe Cluster) Source
The full description of the deleted cluster.
drsResponseStatus :: Lens' DeleteClusterResponse Int Source
The response status code.