| Copyright | (c) 2013-2016 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 |
Network.AWS.Route53.GetHealthCheckLastFailureReason
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.
- getHealthCheckLastFailureReason :: Text -> GetHealthCheckLastFailureReason
- data GetHealthCheckLastFailureReason
- ghclfrHealthCheckId :: Lens' GetHealthCheckLastFailureReason Text
- getHealthCheckLastFailureReasonResponse :: Int -> GetHealthCheckLastFailureReasonResponse
- data GetHealthCheckLastFailureReasonResponse
- ghclfrrsResponseStatus :: Lens' GetHealthCheckLastFailureReasonResponse Int
- ghclfrrsHealthCheckObservations :: Lens' GetHealthCheckLastFailureReasonResponse [HealthCheckObservation]
Creating a Request
getHealthCheckLastFailureReason Source #
Arguments
| :: Text | |
| -> 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:
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
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
Response Lenses
ghclfrrsResponseStatus :: Lens' GetHealthCheckLastFailureReasonResponse Int Source #
The response status code.
ghclfrrsHealthCheckObservations :: Lens' GetHealthCheckLastFailureReasonResponse [HealthCheckObservation] Source #
A list that contains one HealthCheckObservation element for each
Amazon Route 53 health checker.