Copyright | (c) 2013-2018 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 status of a specified health check.
Synopsis
- 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:
ghcsHealthCheckId
- The ID for the health check that you want the current status for. When you created the health check,CreateHealthCheck
returned the ID in the response, in theHealthCheckId
element.
data GetHealthCheckStatus Source #
A request to get the status for a health check.
See: getHealthCheckStatus
smart constructor.
Instances
Request Lenses
ghcsHealthCheckId :: Lens' GetHealthCheckStatus Text Source #
The ID for the health check that you want the current status for. When you created the health check, CreateHealthCheck
returned the ID in the response, in the HealthCheckId
element.
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:
ghcsrsResponseStatus
- -- | The response status code.ghcsrsHealthCheckObservations
- A list that contains oneHealthCheckObservation
element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.
data GetHealthCheckStatusResponse Source #
A complex type that contains the response to a GetHealthCheck
request.
See: getHealthCheckStatusResponse
smart constructor.
Instances
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 Amazon Route 53 health checker that is reporting a status about the health check endpoint.