amazonka-route53-1.4.4: 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 '/Amazon 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 #

This action gets the reason that a specified health check failed most recently.

To get the reason for the last failure of a health check, send a GET request to the /2013-04-01/healthcheck/health check ID/lastfailurereason resource.

For information about viewing the last failure reason for a health check using the Amazon Route 53 console, see Viewing Health Check Status and the Reason for Health Check Failures in the Amazon Route 53 Developer Guide.

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.4-KBIXDpJOcpkWbDD9G5tXJ" 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 for the health check for which you want the last failure reason. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

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 the response to a GetHealthCheckLastFailureReason request.

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.4-KBIXDpJOcpkWbDD9G5tXJ" False) (C1 (MetaCons "GetHealthCheckLastFailureReasonResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ghclfrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ghclfrrsHealthCheckObservations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [HealthCheckObservation]))))

Response Lenses

ghclfrrsHealthCheckObservations :: Lens' GetHealthCheckLastFailureReasonResponse [HealthCheckObservation] Source #

A list that contains one Observation element for each Amazon Route 53 health checker that is reporting a last failure reason.