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 information about a specified health check.
Synopsis
- 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 #
A request to get information about a specified health check.
See: getHealthCheck
smart constructor.
Instances
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.
Instances
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.