Deletes a health check source. Before you delete a health check source, delete or update any health checks that reference it. Otherwise, the request fails with InvalidInput. The request also fails with InvalidInput if the status of the health check source is CREATE_PENDING or CREATE_IN_PROGRESS. Wait until the status is CREATE_COMPLETED or CREATE_FAILED, and then try again.
Route 53 deletes a health check source asynchronously, and the initial HealthCheckSourceStatus is DELETE_PENDING. Call GetHealthCheckSource to track progress. After the deletion completes, GetHealthCheckSource returns NoSuchHealthCheckSource and the health check source no longer appears in the results of ListHealthCheckSources. If you delete a health check source that is already deleted, the request fails with NoSuchHealthCheckSource.
To use this operation, you must have the route53:DeleteHealthCheckSource permission. You must also have permission to create a service-linked role.