amazonka-route53-1.4.0: Amazon Route 53 SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.DeleteHealthCheck

Contents

Description

This action deletes a health check. To delete a health check, send a DELETE request to the '/Route 53 API version/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, Amazon Route 53 will deny your request with a HealthCheckInUse error. For information about disassociating the records from your health check, see ChangeResourceRecordSets.

Synopsis

Creating a Request

deleteHealthCheck Source

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:

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:

Response Lenses