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, send a GET
request to the
'2013-04-01/healthcheck/health check ID' resource.
See: AWS API Reference for GetHealthCheck.
- getHealthCheck :: Text -> GetHealthCheck
- data GetHealthCheck
- ghcHealthCheckId :: Lens' GetHealthCheck Text
- getHealthCheckResponse :: Int -> HealthCheck -> GetHealthCheckResponse
- data GetHealthCheckResponse
- ghcrsStatus :: Lens' GetHealthCheckResponse Int
- ghcrsHealthCheck :: Lens' GetHealthCheckResponse HealthCheck
Creating a Request
Creates a value of GetHealthCheck
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetHealthCheck Source
A complex type that contains information about the request to get a health check.
See: getHealthCheck
smart constructor.
Request Lenses
ghcHealthCheckId :: Lens' GetHealthCheck Text Source
The ID of the health check to retrieve.
Destructuring the Response
Creates a value of GetHealthCheckResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetHealthCheckResponse Source
A complex type containing information about the specified health check.
See: getHealthCheckResponse
smart constructor.
Response Lenses
ghcrsStatus :: Lens' GetHealthCheckResponse Int Source
The response status code.
ghcrsHealthCheck :: Lens' GetHealthCheckResponse HealthCheck Source
A complex type that contains the information about the specified health check.