amazonka-route53-1.4.3: 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.GetHealthCheckLastFailureReason

Contents

Description

If you want to learn why a health check is currently failing or why it failed most recently (if at all), you can get the failure reason for the most recent failure. Send a GET request to the '/Route 53 API version/healthcheck/health check ID/lastfailurereason' resource.

Synopsis

Creating a Request

getHealthCheckLastFailureReason Source #

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

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

data GetHealthCheckLastFailureReason Source #

A complex type that contains information about the request to get the most recent failure reason for a health check.

See: getHealthCheckLastFailureReason smart constructor.

Instances

Eq GetHealthCheckLastFailureReason Source # 
Data GetHealthCheckLastFailureReason Source # 

Methods

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

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

toConstr :: GetHealthCheckLastFailureReason -> Constr #

dataTypeOf :: GetHealthCheckLastFailureReason -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHealthCheckLastFailureReason Source # 
Show GetHealthCheckLastFailureReason Source # 
Generic GetHealthCheckLastFailureReason Source # 
Hashable GetHealthCheckLastFailureReason Source # 
NFData GetHealthCheckLastFailureReason Source # 
AWSRequest GetHealthCheckLastFailureReason Source # 
ToPath GetHealthCheckLastFailureReason Source # 
ToHeaders GetHealthCheckLastFailureReason Source # 
ToQuery GetHealthCheckLastFailureReason Source # 
type Rep GetHealthCheckLastFailureReason Source # 
type Rep GetHealthCheckLastFailureReason = D1 (MetaData "GetHealthCheckLastFailureReason" "Network.AWS.Route53.GetHealthCheckLastFailureReason" "amazonka-route53-1.4.3-GVCZrM1VgYbI4WdWSABHKg" True) (C1 (MetaCons "GetHealthCheckLastFailureReason'" PrefixI True) (S1 (MetaSel (Just Symbol "_ghclfrHealthCheckId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetHealthCheckLastFailureReason Source # 

Request Lenses

ghclfrHealthCheckId :: Lens' GetHealthCheckLastFailureReason Text Source #

The ID of the health check for which you want to retrieve the reason for the most recent failure.

Destructuring the Response

getHealthCheckLastFailureReasonResponse Source #

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

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

data GetHealthCheckLastFailureReasonResponse Source #

A complex type that contains information about the most recent failure for the specified health check.

See: getHealthCheckLastFailureReasonResponse smart constructor.

Instances

Eq GetHealthCheckLastFailureReasonResponse Source # 
Data GetHealthCheckLastFailureReasonResponse Source # 

Methods

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

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

toConstr :: GetHealthCheckLastFailureReasonResponse -> Constr #

dataTypeOf :: GetHealthCheckLastFailureReasonResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHealthCheckLastFailureReasonResponse Source # 
Show GetHealthCheckLastFailureReasonResponse Source # 
Generic GetHealthCheckLastFailureReasonResponse Source # 
NFData GetHealthCheckLastFailureReasonResponse Source # 
type Rep GetHealthCheckLastFailureReasonResponse Source # 
type Rep GetHealthCheckLastFailureReasonResponse = D1 (MetaData "GetHealthCheckLastFailureReasonResponse" "Network.AWS.Route53.GetHealthCheckLastFailureReason" "amazonka-route53-1.4.3-GVCZrM1VgYbI4WdWSABHKg" False) (C1 (MetaCons "GetHealthCheckLastFailureReasonResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ghclfrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ghclfrrsHealthCheckObservations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [HealthCheckObservation]))))

Response Lenses

ghclfrrsHealthCheckObservations :: Lens' GetHealthCheckLastFailureReasonResponse [HealthCheckObservation] Source #

A list that contains one HealthCheckObservation element for each Amazon Route 53 health checker.