Copyright | (c) 2013-2021 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 |
Gets information about a specified health check.
Synopsis
- data GetHealthCheck = GetHealthCheck' {}
- newGetHealthCheck :: Text -> GetHealthCheck
- getHealthCheck_healthCheckId :: Lens' GetHealthCheck Text
- data GetHealthCheckResponse = GetHealthCheckResponse' {}
- newGetHealthCheckResponse :: Int -> HealthCheck -> GetHealthCheckResponse
- getHealthCheckResponse_httpStatus :: Lens' GetHealthCheckResponse Int
- getHealthCheckResponse_healthCheck :: Lens' GetHealthCheckResponse HealthCheck
Creating a Request
data GetHealthCheck Source #
A request to get information about a specified health check.
See: newGetHealthCheck
smart constructor.
GetHealthCheck' | |
|
Instances
Create a value of GetHealthCheck
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:healthCheckId:GetHealthCheck'
, getHealthCheck_healthCheckId
- 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.
Request Lenses
getHealthCheck_healthCheckId :: 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
data GetHealthCheckResponse Source #
A complex type that contains the response to a GetHealthCheck
request.
See: newGetHealthCheckResponse
smart constructor.
GetHealthCheckResponse' | |
|
Instances
newGetHealthCheckResponse Source #
:: Int | |
-> HealthCheck | |
-> GetHealthCheckResponse |
Create a value of GetHealthCheckResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:GetHealthCheckResponse'
, getHealthCheckResponse_httpStatus
- The response's http status code.
$sel:healthCheck:GetHealthCheckResponse'
, getHealthCheckResponse_healthCheck
- A complex type that contains information about one health check that is
associated with the current Amazon Web Services account.
Response Lenses
getHealthCheckResponse_httpStatus :: Lens' GetHealthCheckResponse Int Source #
The response's http status code.
getHealthCheckResponse_healthCheck :: Lens' GetHealthCheckResponse HealthCheck Source #
A complex type that contains information about one health check that is associated with the current Amazon Web Services account.