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 |
To retrieve the health check status, send a GET
request to the
'2013-04-01/healthcheck/health check ID/status' resource. You can use
this call to get a health check's current status.
See: AWS API Reference for GetHealthCheckStatus.
- getHealthCheckStatus :: Text -> GetHealthCheckStatus
- data GetHealthCheckStatus
- ghcsHealthCheckId :: Lens' GetHealthCheckStatus Text
- getHealthCheckStatusResponse :: Int -> GetHealthCheckStatusResponse
- data GetHealthCheckStatusResponse
- ghcsrsResponseStatus :: Lens' GetHealthCheckStatusResponse Int
- ghcsrsHealthCheckObservations :: Lens' GetHealthCheckStatusResponse [HealthCheckObservation]
Creating a Request
Creates a value of GetHealthCheckStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetHealthCheckStatus Source
A complex type that contains information about the request to get health check status for a health check.
See: getHealthCheckStatus
smart constructor.
Request Lenses
ghcsHealthCheckId :: Lens' GetHealthCheckStatus Text Source
The ID of the health check for which you want to retrieve the most recent status.
Destructuring the Response
getHealthCheckStatusResponse Source
Creates a value of GetHealthCheckStatusResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetHealthCheckStatusResponse Source
A complex type that contains information about the status of the specified health check.
See: getHealthCheckStatusResponse
smart constructor.
Response Lenses
ghcsrsResponseStatus :: Lens' GetHealthCheckStatusResponse Int Source
The response status code.
ghcsrsHealthCheckObservations :: Lens' GetHealthCheckStatusResponse [HealthCheckObservation] Source
A list that contains one HealthCheckObservation
element for each Route
53 health checker.