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 |
Network.AWS.Route53.GetHealthCheckStatus
Description
Gets status of a specified health check.
- 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
Arguments
:: Text | |
-> GetHealthCheckStatus |
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 #
A request to get the status for a health check.
See: getHealthCheckStatus
smart constructor.
Instances
Request Lenses
ghcsHealthCheckId :: Lens' GetHealthCheckStatus Text #
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 #
Arguments
:: Int | |
-> GetHealthCheckStatusResponse |
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 #
A complex type that contains the response to a GetHealthCheck
request.
See: getHealthCheckStatusResponse
smart constructor.
Response Lenses
ghcsrsResponseStatus :: Lens' GetHealthCheckStatusResponse Int #
- - | The response status code.
ghcsrsHealthCheckObservations :: Lens' GetHealthCheckStatusResponse [HealthCheckObservation] #
A list that contains one HealthCheckObservation
element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.