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

Gets information about a specified health check. Send a GET request to the 2013-04-01healthcheck/health check ID resource. For more information about using the console to perform this operation, see Amazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide.

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:

  • ghcHealthCheckId - The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.

data GetHealthCheck Source #

This action gets information about a specified health check.

Send a GET request to the /Amazon Route 53 API version /gethealthcheckrequest resource.

For information about getting information about a health check using the Amazon Route 53 console, see Amazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide .

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 # 
ToPath GetHealthCheck Source # 
ToHeaders GetHealthCheck Source # 
ToQuery GetHealthCheck Source # 
type Rep GetHealthCheck Source # 
type Rep GetHealthCheck = D1 (MetaData "GetHealthCheck" "Network.AWS.Route53.GetHealthCheck" "amazonka-route53-1.4.5-DoQ7bXPvDC1HwWocjSAILy" 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 identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.

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:

  • ghcrsResponseStatus - -- | The response status code.
  • ghcrsHealthCheck - A complex type that contains information about one health check that is associated with the current AWS account.

data GetHealthCheckResponse Source #

A complex type that contains the response to a GetHealthCheck request.

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.5-DoQ7bXPvDC1HwWocjSAILy" False) (C1 (MetaCons "GetHealthCheckResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ghcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ghcrsHealthCheck") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HealthCheck))))

Response Lenses

ghcrsHealthCheck :: Lens' GetHealthCheckResponse HealthCheck Source #

A complex type that contains information about one health check that is associated with the current AWS account.