| 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 |
Network.AWS.ECS.DeleteService
Description
Deletes a specified service within a cluster.
See: AWS API Reference for DeleteService.
- deleteService :: Text -> DeleteService
- data DeleteService
- dsCluster :: Lens' DeleteService (Maybe Text)
- dsService :: Lens' DeleteService Text
- deleteServiceResponse :: Int -> DeleteServiceResponse
- data DeleteServiceResponse
- dsrsService :: Lens' DeleteServiceResponse (Maybe ContainerService)
- dsrsResponseStatus :: Lens' DeleteServiceResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DeleteService |
Creates a value of DeleteService with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteService Source
See: deleteService smart constructor.
Instances
Request Lenses
dsCluster :: Lens' DeleteService (Maybe Text) Source
The name of the cluster that hosts the service you want to delete.
dsService :: Lens' DeleteService Text Source
The name of the service you want to delete.
Destructuring the Response
Arguments
| :: Int | |
| -> DeleteServiceResponse |
Creates a value of DeleteServiceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteServiceResponse Source
See: deleteServiceResponse smart constructor.
Response Lenses
dsrsService :: Lens' DeleteServiceResponse (Maybe ContainerService) Source
Undocumented member.
dsrsResponseStatus :: Lens' DeleteServiceResponse Int Source
The response status code.