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 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
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.
Request Lenses
dsCluster :: Lens' DeleteService (Maybe Text) Source
The name of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.
dsService :: Lens' DeleteService Text Source
The name of the service to delete.
Destructuring the Response
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
The full description of the deleted service.
dsrsResponseStatus :: Lens' DeleteServiceResponse Int Source
The response status code.