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 |
This action deletes a health check. To delete a health check, send a
DELETE
request to the '2013-04-01/healthcheck/health check ID'
resource.
You can delete a health check only if there are no resource record sets
associated with this health check. If resource record sets are
associated with this health check, you must disassociate them before you
can delete your health check. If you try to delete a health check that
is associated with resource record sets, Route 53 will deny your request
with a HealthCheckInUse
error. For information about disassociating
the records from your health check, see ChangeResourceRecordSets.
See: AWS API Reference for DeleteHealthCheck.
Creating a Request
Creates a value of DeleteHealthCheck
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteHealthCheck Source
A complex type containing the request information for delete health check.
See: deleteHealthCheck
smart constructor.
Request Lenses
dhcHealthCheckId :: Lens' DeleteHealthCheck Text Source
The ID of the health check to delete.
Destructuring the Response
deleteHealthCheckResponse Source
Creates a value of DeleteHealthCheckResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteHealthCheckResponse Source
Empty response for the request.
See: deleteHealthCheckResponse
smart constructor.
Response Lenses
dhcrsStatus :: Lens' DeleteHealthCheckResponse Int Source
The response status code.