| Copyright | (c) 2013-2016 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 |
Network.AWS.ECS.DeleteCluster
Description
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.
Creating a Request
Arguments
| :: Text | |
| -> DeleteCluster |
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.
Instances
Request Lenses
dcCluster :: Lens' DeleteCluster Text Source #
The short name or full Amazon Resource Name (ARN) of the cluster to delete.
Destructuring the Response
deleteClusterResponse Source #
Arguments
| :: Int | |
| -> DeleteClusterResponse |
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.