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 #

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 #

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 # 
Data GetHealthCheck # 

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 # 
Show GetHealthCheck # 
Generic GetHealthCheck # 

Associated Types

type Rep GetHealthCheck :: * -> * #

Hashable GetHealthCheck # 
NFData GetHealthCheck # 

Methods

rnf :: GetHealthCheck -> () #

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

Request Lenses

ghcHealthCheckId :: Lens' GetHealthCheck Text #

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 #

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 #

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

See: getHealthCheckResponse smart constructor.

Instances

Eq GetHealthCheckResponse # 
Data GetHealthCheckResponse # 

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 # 
Show GetHealthCheckResponse # 
Generic GetHealthCheckResponse # 
NFData GetHealthCheckResponse # 

Methods

rnf :: GetHealthCheckResponse -> () #

type Rep GetHealthCheckResponse # 
type Rep GetHealthCheckResponse = D1 (MetaData "GetHealthCheckResponse" "Network.AWS.Route53.GetHealthCheck" "amazonka-route53-1.4.5-1GBIEWLx4PAkG5NoOOGoJ" 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

ghcrsResponseStatus :: Lens' GetHealthCheckResponse Int #

  • - | The response status code.

ghcrsHealthCheck :: Lens' GetHealthCheckResponse HealthCheck #

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