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

Contents

Description

To retrieve the health check, send a GET request to the '/Route 53 API version/healthcheck/health check ID' resource.

Synopsis

Creating a Request

getHealthCheck Source #

Creates a value of GetHealthCheck with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetHealthCheck Source #

A complex type that contains information about the request to get a health check.

See: getHealthCheck smart constructor.

Instances

Eq GetHealthCheck Source # 
Data GetHealthCheck Source # 

Methods

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

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

toConstr :: GetHealthCheck -> Constr #

dataTypeOf :: GetHealthCheck -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHealthCheck Source # 
Show GetHealthCheck Source # 
Generic GetHealthCheck Source # 

Associated Types

type Rep GetHealthCheck :: * -> * #

Hashable GetHealthCheck Source # 
NFData GetHealthCheck Source # 

Methods

rnf :: GetHealthCheck -> () #

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

Request Lenses

ghcHealthCheckId :: Lens' GetHealthCheck Text Source #

The ID of the health check to retrieve.

Destructuring the Response

getHealthCheckResponse Source #

Creates a value of GetHealthCheckResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetHealthCheckResponse Source #

A complex type containing information about the specified health check.

See: getHealthCheckResponse smart constructor.

Instances

Eq GetHealthCheckResponse Source # 
Data GetHealthCheckResponse Source # 

Methods

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

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

toConstr :: GetHealthCheckResponse -> Constr #

dataTypeOf :: GetHealthCheckResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHealthCheckResponse Source # 
Show GetHealthCheckResponse Source # 
Generic GetHealthCheckResponse Source # 
NFData GetHealthCheckResponse Source # 

Methods

rnf :: GetHealthCheckResponse -> () #

type Rep GetHealthCheckResponse Source # 
type Rep GetHealthCheckResponse = D1 (MetaData "GetHealthCheckResponse" "Network.AWS.Route53.GetHealthCheck" "amazonka-route53-1.4.1-7tbQwgQHkMc6ifX3UPZcPu" False) (C1 (MetaCons "GetHealthCheckResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ghcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ghcrsHealthCheck") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HealthCheck))))

Response Lenses

ghcrsHealthCheck :: Lens' GetHealthCheckResponse HealthCheck Source #

A complex type that contains the information about the specified health check.