AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Deletes a health check.

Amazon Route 53 does not prevent you from deleting a health check even if the health check is associated with one or more resource record sets. If you delete a health check and you don't update the associated resource record sets, the future status of the health check can't be predicted and may change. This will affect the routing of DNS queries for your DNS failover configuration. For more information, see Replacing and Deleting Health Checks in the Amazon Route 53 Developer Guide.

Note:

For PCL this operation is only available in asynchronous form. Please refer to DeleteHealthCheckAsync.

Namespace: Amazon.Route53
Assembly: AWSSDK.Route53.dll
Version: 3.x.y.z

Syntax

C#
public virtual DeleteHealthCheckResponse DeleteHealthCheck(
         DeleteHealthCheckRequest request
)
Parameters
request
Type: Amazon.Route53.Model.DeleteHealthCheckRequest

Container for the necessary parameters to execute the DeleteHealthCheck service method.

Return Value
The response from the DeleteHealthCheck service method, as returned by Route53.

Exceptions

ExceptionCondition
HealthCheckInUseException This error code is not in use.
InvalidInputException The input is not valid.
NoSuchHealthCheckException No health check exists with the ID that you specified in the DeleteHealthCheck request.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also