Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets the reason that a specified health check failed most recently.
- 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 #
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 theHealthCheckId
element.
data GetHealthCheckLastFailureReason Source #
A request for the reason that a health check failed most recently.
See: getHealthCheckLastFailureReason
smart constructor.
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:
ghclfrrsResponseStatus
- -- | The response status code.ghclfrrsHealthCheckObservations
- A list that contains oneObservation
element for each Amazon Route 53 health checker that is reporting a last failure reason.
data GetHealthCheckLastFailureReasonResponse Source #
A complex type that contains the response to a GetHealthCheckLastFailureReason
request.
See: getHealthCheckLastFailureReasonResponse
smart constructor.
Response Lenses
ghclfrrsResponseStatus :: Lens' GetHealthCheckLastFailureReasonResponse Int Source #
- - | The response status code.
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.