amazonka-route53-1.4.1: 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:

data DeleteHealthCheck Source #

A complex type containing the request information for delete health check.

See: deleteHealthCheck smart constructor.

Instances

Eq DeleteHealthCheck Source # 
Data DeleteHealthCheck Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteHealthCheck -> c DeleteHealthCheck #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteHealthCheck #

toConstr :: DeleteHealthCheck -> Constr #

dataTypeOf :: DeleteHealthCheck -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteHealthCheck) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteHealthCheck) #

gmapT :: (forall b. Data b => b -> b) -> DeleteHealthCheck -> DeleteHealthCheck #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteHealthCheck -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteHealthCheck -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteHealthCheck -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteHealthCheck -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteHealthCheck -> m DeleteHealthCheck #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteHealthCheck -> m DeleteHealthCheck #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteHealthCheck -> m DeleteHealthCheck #

Read DeleteHealthCheck Source # 
Show DeleteHealthCheck Source # 
Generic DeleteHealthCheck Source # 
Hashable DeleteHealthCheck Source # 
NFData DeleteHealthCheck Source # 

Methods

rnf :: DeleteHealthCheck -> () #

AWSRequest DeleteHealthCheck Source # 
ToQuery DeleteHealthCheck Source # 
ToPath DeleteHealthCheck Source # 
ToHeaders DeleteHealthCheck Source # 
type Rep DeleteHealthCheck Source # 
type Rep DeleteHealthCheck = D1 (MetaData "DeleteHealthCheck" "Network.AWS.Route53.DeleteHealthCheck" "amazonka-route53-1.4.1-7tbQwgQHkMc6ifX3UPZcPu" True) (C1 (MetaCons "DeleteHealthCheck'" PrefixI True) (S1 (MetaSel (Just Symbol "_dhcHealthCheckId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteHealthCheck Source # 

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:

data DeleteHealthCheckResponse Source #

Empty response for the request.

See: deleteHealthCheckResponse smart constructor.

Instances

Eq DeleteHealthCheckResponse Source # 
Data DeleteHealthCheckResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteHealthCheckResponse -> c DeleteHealthCheckResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteHealthCheckResponse #

toConstr :: DeleteHealthCheckResponse -> Constr #

dataTypeOf :: DeleteHealthCheckResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteHealthCheckResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteHealthCheckResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteHealthCheckResponse -> DeleteHealthCheckResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteHealthCheckResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteHealthCheckResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteHealthCheckResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteHealthCheckResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteHealthCheckResponse -> m DeleteHealthCheckResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteHealthCheckResponse -> m DeleteHealthCheckResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteHealthCheckResponse -> m DeleteHealthCheckResponse #

Read DeleteHealthCheckResponse Source # 
Show DeleteHealthCheckResponse Source # 
Generic DeleteHealthCheckResponse Source # 
NFData DeleteHealthCheckResponse Source # 
type Rep DeleteHealthCheckResponse Source # 
type Rep DeleteHealthCheckResponse = D1 (MetaData "DeleteHealthCheckResponse" "Network.AWS.Route53.DeleteHealthCheck" "amazonka-route53-1.4.1-7tbQwgQHkMc6ifX3UPZcPu" True) (C1 (MetaCons "DeleteHealthCheckResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_dhcrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses