| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Route53.GetHealthCheck
Description
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.
Constructors
| GetHealthCheck' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetHealthCheck |
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:
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.
Constructors
| GetHealthCheckResponse' | |
Fields
| |
Instances
newGetHealthCheckResponse Source #
Arguments
| :: 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.