Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Deletes a specified service. If the service still contains one or more registered instances, the request fails.
Synopsis
Creating a Request
:: 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:
dsId
- The ID of the service that you want to delete.
data DeleteService Source #
See: deleteService
smart constructor.
Instances
Request Lenses
Destructuring the Response
deleteServiceResponse Source #
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:
dsrsResponseStatus
- -- | The response status code.
data DeleteServiceResponse Source #
See: deleteServiceResponse
smart constructor.
Instances
Response Lenses
dsrsResponseStatus :: Lens' DeleteServiceResponse Int Source #
- - | The response status code.