amazonka-route53-2.0: Amazon Route 53 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
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

AWSRequest DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Associated Types

type AWSResponse DeleteHealthCheck #

Generic DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Associated Types

type Rep DeleteHealthCheck :: Type -> Type #

Read DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Show DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

NFData DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Methods

rnf :: DeleteHealthCheck -> () #

Eq DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Hashable DeleteHealthCheck Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

type AWSResponse 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" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "DeleteHealthCheck'" 'PrefixI 'True) (S1 ('MetaSel ('Just "healthCheckId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic DeleteHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Associated Types

type Rep DeleteHealthCheckResponse :: Type -> Type #

Read DeleteHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Show DeleteHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

NFData DeleteHealthCheckResponse Source # 
Instance details

Defined in Amazonka.Route53.DeleteHealthCheck

Eq 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" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" '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