amazonka-route53-1.6.0: Amazon Route 53 SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53.GetHealthCheckStatus

Contents

Description

Gets status of a specified health check.

Synopsis

Creating a Request

getHealthCheckStatus #

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

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

  • ghcsHealthCheckId - The ID for the health check that you want the current status for. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

data GetHealthCheckStatus #

A request to get the status for a health check.

See: getHealthCheckStatus smart constructor.

Instances

Eq GetHealthCheckStatus # 
Data GetHealthCheckStatus # 

Methods

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

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

toConstr :: GetHealthCheckStatus -> Constr #

dataTypeOf :: GetHealthCheckStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHealthCheckStatus # 
Show GetHealthCheckStatus # 
Generic GetHealthCheckStatus # 
Hashable GetHealthCheckStatus # 
NFData GetHealthCheckStatus # 

Methods

rnf :: GetHealthCheckStatus -> () #

AWSRequest GetHealthCheckStatus # 
ToHeaders GetHealthCheckStatus # 
ToPath GetHealthCheckStatus # 
ToQuery GetHealthCheckStatus # 
type Rep GetHealthCheckStatus # 
type Rep GetHealthCheckStatus = D1 * (MetaData "GetHealthCheckStatus" "Network.AWS.Route53.GetHealthCheckStatus" "amazonka-route53-1.6.0-28lvWvW7IwqDT6anWOeWeh" True) (C1 * (MetaCons "GetHealthCheckStatus'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ghcsHealthCheckId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetHealthCheckStatus # 

Request Lenses

ghcsHealthCheckId :: Lens' GetHealthCheckStatus Text #

The ID for the health check that you want the current status for. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

Destructuring the Response

getHealthCheckStatusResponse #

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

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

data GetHealthCheckStatusResponse #

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

See: getHealthCheckStatusResponse smart constructor.

Instances

Eq GetHealthCheckStatusResponse # 
Data GetHealthCheckStatusResponse # 

Methods

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

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

toConstr :: GetHealthCheckStatusResponse -> Constr #

dataTypeOf :: GetHealthCheckStatusResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHealthCheckStatusResponse # 
Show GetHealthCheckStatusResponse # 
Generic GetHealthCheckStatusResponse # 
NFData GetHealthCheckStatusResponse # 
type Rep GetHealthCheckStatusResponse # 
type Rep GetHealthCheckStatusResponse = D1 * (MetaData "GetHealthCheckStatusResponse" "Network.AWS.Route53.GetHealthCheckStatus" "amazonka-route53-1.6.0-28lvWvW7IwqDT6anWOeWeh" False) (C1 * (MetaCons "GetHealthCheckStatusResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ghcsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_ghcsrsHealthCheckObservations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [HealthCheckObservation]))))

Response Lenses

ghcsrsHealthCheckObservations :: Lens' GetHealthCheckStatusResponse [HealthCheckObservation] #

A list that contains one HealthCheckObservation element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.