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.GetHealthCheckLastFailureReason

Contents

Description

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

Synopsis

Creating a Request

getHealthCheckLastFailureReason #

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 #

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

See: getHealthCheckLastFailureReason smart constructor.

Instances

Eq GetHealthCheckLastFailureReason # 
Data GetHealthCheckLastFailureReason # 

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 # 
Show GetHealthCheckLastFailureReason # 
Generic GetHealthCheckLastFailureReason # 
Hashable GetHealthCheckLastFailureReason # 
NFData GetHealthCheckLastFailureReason # 
AWSRequest GetHealthCheckLastFailureReason # 
ToHeaders GetHealthCheckLastFailureReason # 
ToPath GetHealthCheckLastFailureReason # 
ToQuery GetHealthCheckLastFailureReason # 
type Rep GetHealthCheckLastFailureReason # 
type Rep GetHealthCheckLastFailureReason = D1 * (MetaData "GetHealthCheckLastFailureReason" "Network.AWS.Route53.GetHealthCheckLastFailureReason" "amazonka-route53-1.6.0-28lvWvW7IwqDT6anWOeWeh" True) (C1 * (MetaCons "GetHealthCheckLastFailureReason'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ghclfrHealthCheckId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetHealthCheckLastFailureReason # 

Request Lenses

ghclfrHealthCheckId :: Lens' GetHealthCheckLastFailureReason Text #

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 #

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 #

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

See: getHealthCheckLastFailureReasonResponse smart constructor.

Instances

Eq GetHealthCheckLastFailureReasonResponse # 
Data GetHealthCheckLastFailureReasonResponse # 

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 # 
Show GetHealthCheckLastFailureReasonResponse # 
Generic GetHealthCheckLastFailureReasonResponse # 
NFData GetHealthCheckLastFailureReasonResponse # 
type Rep GetHealthCheckLastFailureReasonResponse # 
type Rep GetHealthCheckLastFailureReasonResponse = D1 * (MetaData "GetHealthCheckLastFailureReasonResponse" "Network.AWS.Route53.GetHealthCheckLastFailureReason" "amazonka-route53-1.6.0-28lvWvW7IwqDT6anWOeWeh" 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] #

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