Copyright | (c) 2013-2016 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 |
Gets information about a specified health check. Send a GET
request to the 2013-04-01healthcheck/health check ID
resource. For more information about using the console to perform this operation, see Amazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide.
- getHealthCheck :: Text -> GetHealthCheck
- data GetHealthCheck
- ghcHealthCheckId :: Lens' GetHealthCheck Text
- getHealthCheckResponse :: Int -> HealthCheck -> GetHealthCheckResponse
- data GetHealthCheckResponse
- ghcrsResponseStatus :: 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:
ghcHealthCheckId
- The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.
data GetHealthCheck Source #
This action gets information about a specified health check.
Send a GET
request to the /Amazon Route 53 API version /gethealthcheckrequest
resource.
For information about getting information about a health check using the Amazon Route 53 console, see Amazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide .
See: getHealthCheck
smart constructor.
Request Lenses
ghcHealthCheckId :: Lens' GetHealthCheck Text Source #
The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.
Destructuring the Response
getHealthCheckResponse Source #
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:
ghcrsResponseStatus
- -- | The response status code.ghcrsHealthCheck
- A complex type that contains information about one health check that is associated with the current AWS account.
data GetHealthCheckResponse Source #
A complex type that contains the response to a GetHealthCheck
request.
See: getHealthCheckResponse
smart constructor.
Response Lenses
ghcrsResponseStatus :: Lens' GetHealthCheckResponse Int Source #
- - | The response status code.
ghcrsHealthCheck :: Lens' GetHealthCheckResponse HealthCheck Source #
A complex type that contains information about one health check that is associated with the current AWS account.