amazonka-route53-1.5.0: Amazon Route 53 SDK.

Copyright(c) 2013-2017 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.GetHealthCheckLastFailureReason

Contents

Description

Gets the reason that a specified health check failed most recently.

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:

  • ghclfrHealthCheckId - 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.

data GetHealthCheckLastFailureReason Source #

A request for the reason that a health check failed most recently.

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 # 
ToQuery GetHealthCheckLastFailureReason Source # 
ToPath GetHealthCheckLastFailureReason Source # 
ToHeaders GetHealthCheckLastFailureReason Source # 
type Rep GetHealthCheckLastFailureReason Source # 
type Rep GetHealthCheckLastFailureReason = D1 (MetaData "GetHealthCheckLastFailureReason" "Network.AWS.Route53.GetHealthCheckLastFailureReason" "amazonka-route53-1.5.0-A9em4xt2RK07uc01kiXLe0" 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.5.0-A9em4xt2RK07uc01kiXLe0" 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 Observation element for each Amazon Route 53 health checker that is reporting a last failure reason.