Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
'2013-04-01/healthcheck/health check ID/lastfailurereason' resource.
See: AWS API Reference for GetHealthCheckLastFailureReason.
- getHealthCheckLastFailureReason :: Text -> GetHealthCheckLastFailureReason
- data GetHealthCheckLastFailureReason
- ghclfrHealthCheckId :: Lens' GetHealthCheckLastFailureReason Text
- getHealthCheckLastFailureReasonResponse :: Int -> GetHealthCheckLastFailureReasonResponse
- data GetHealthCheckLastFailureReasonResponse
- ghclfrrsStatus :: Lens' GetHealthCheckLastFailureReasonResponse Int
- ghclfrrsHealthCheckObservations :: Lens' GetHealthCheckLastFailureReasonResponse [HealthCheckObservation]
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.
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.
Response Lenses
ghclfrrsStatus :: Lens' GetHealthCheckLastFailureReasonResponse Int Source
The response status code.
ghclfrrsHealthCheckObservations :: Lens' GetHealthCheckLastFailureReasonResponse [HealthCheckObservation] Source
A list that contains one HealthCheckObservation
element for each Route
53 health checker.