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

Amazonka.Route53.DeleteHealthCheck

Description

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.

If you're using Cloud Map and you configured Cloud Map to create a Route 53 health check when you register an instance, you can't use the Route 53 DeleteHealthCheck command to delete the health check. The health check is deleted automatically when you deregister the instance; there can be a delay of several hours before the health check is deleted from Route 53.

Synopsis

Creating a Request

data DeleteHealthCheck Source #

This action deletes a health check.

See: newDeleteHealthCheck smart constructor.

Constructors

DeleteHealthCheck' 

Fields

Instances

Instances details
Eq DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Read DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Show DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Generic DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Associated Types

type Rep DeleteHealthCheck :: Type -> Type #

NFData DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Methods

rnf :: DeleteHealthCheck -> () #

Hashable DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

AWSRequest DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Associated Types

type AWSResponse DeleteHealthCheck #

ToHeaders DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

ToPath DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

ToQuery DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

type Rep DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

type Rep DeleteHealthCheck = D1 ('MetaData "DeleteHealthCheck" "Amazonka.Route53.DeleteHealthCheck" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "DeleteHealthCheck'" 'PrefixI 'True) (S1 ('MetaSel ('Just "healthCheckId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

newDeleteHealthCheck Source #

Create a value of DeleteHealthCheck with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:healthCheckId:DeleteHealthCheck', deleteHealthCheck_healthCheckId - The ID of the health check that you want to delete.

Request Lenses

deleteHealthCheck_healthCheckId :: Lens' DeleteHealthCheck Text Source #

The ID of the health check that you want to delete.

Destructuring the Response

data DeleteHealthCheckResponse Source #

An empty element.

See: newDeleteHealthCheckResponse smart constructor.

Constructors

DeleteHealthCheckResponse' 

Fields

Instances

Instances details
Eq DeleteHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Read DeleteHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Show DeleteHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Generic DeleteHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Associated Types

type Rep DeleteHealthCheckResponse :: Type -> Type #

NFData DeleteHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

type Rep DeleteHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

type Rep DeleteHealthCheckResponse = D1 ('MetaData "DeleteHealthCheckResponse" "Amazonka.Route53.DeleteHealthCheck" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "DeleteHealthCheckResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteHealthCheckResponse Source #

Create a value of DeleteHealthCheckResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteHealthCheckResponse', deleteHealthCheckResponse_httpStatus - The response's http status code.

Response Lenses